From 0a9110d1579124f2577531842526af2732321226 Mon Sep 17 00:00:00 2001 From: Arlie Davis Date: Fri, 17 May 2024 12:04:08 -0700 Subject: [PATCH] run tool_windows --- .../src/Windows/AI/MachineLearning/mod.rs | 8 +- .../ApplicationModel/Activation/mod.rs | 122 +-- .../ApplicationModel/Appointments/mod.rs | 2 +- .../ApplicationModel/Background/mod.rs | 18 +- .../src/Windows/ApplicationModel/Chat/mod.rs | 2 +- .../Windows/ApplicationModel/Contacts/mod.rs | 8 +- .../src/Windows/ApplicationModel/Core/mod.rs | 6 +- .../DataTransfer/DragDrop/Core/mod.rs | 2 +- .../Windows/ApplicationModel/Search/mod.rs | 2 +- .../ApplicationModel/UserActivities/mod.rs | 2 +- .../UserDataAccounts/Provider/mod.rs | 2 +- .../src/Windows/ApplicationModel/mod.rs | 12 +- .../libs/windows/src/Windows/Data/Json/mod.rs | 2 +- .../windows/src/Windows/Data/Xml/Dom/mod.rs | 10 +- .../src/Windows/Devices/Adc/Provider/mod.rs | 4 +- .../windows/src/Windows/Devices/Custom/mod.rs | 2 +- .../src/Windows/Devices/Enumeration/mod.rs | 2 +- .../src/Windows/Devices/Geolocation/mod.rs | 2 +- .../src/Windows/Devices/Gpio/Provider/mod.rs | 6 +- .../src/Windows/Devices/I2c/Provider/mod.rs | 6 +- .../windows/src/Windows/Devices/I2c/mod.rs | 2 +- .../src/Windows/Devices/Lights/Effects/mod.rs | 2 +- .../windows/src/Windows/Devices/Midi/mod.rs | 4 +- .../src/Windows/Devices/PointOfService/mod.rs | 12 +- .../src/Windows/Devices/Pwm/Provider/mod.rs | 4 +- .../src/Windows/Devices/Scanners/mod.rs | 4 +- .../src/Windows/Devices/Sensors/mod.rs | 4 +- .../windows/src/Windows/Devices/Sms/mod.rs | 10 +- .../src/Windows/Devices/Spi/Provider/mod.rs | 6 +- .../windows/src/Windows/Devices/Spi/mod.rs | 2 +- .../libs/windows/src/Windows/Devices/mod.rs | 2 +- .../src/Windows/Foundation/Collections/mod.rs | 24 +- .../src/Windows/Foundation/Diagnostics/mod.rs | 10 +- .../windows/src/Windows/Foundation/mod.rs | 28 +- .../src/Windows/Gaming/Input/Custom/mod.rs | 12 +- .../Windows/Gaming/Input/ForceFeedback/mod.rs | 2 +- .../windows/src/Windows/Gaming/Input/mod.rs | 4 +- .../Gaming/Preview/GamesEnumeration/mod.rs | 2 +- .../Globalization/NumberFormatting/mod.rs | 16 +- .../Graphics/DirectX/Direct3D11/mod.rs | 4 +- .../src/Windows/Graphics/Effects/mod.rs | 4 +- .../src/Windows/Graphics/Imaging/mod.rs | 6 +- .../Graphics/Printing/OptionDetails/mod.rs | 10 +- .../src/Windows/Graphics/Printing/mod.rs | 8 +- .../libs/windows/src/Windows/Graphics/mod.rs | 2 +- .../windows/src/Windows/Media/Audio/mod.rs | 8 +- .../windows/src/Windows/Media/Core/mod.rs | 14 +- .../windows/src/Windows/Media/Devices/mod.rs | 4 +- .../windows/src/Windows/Media/Effects/mod.rs | 12 +- .../src/Windows/Media/MediaProperties/mod.rs | 2 +- .../windows/src/Windows/Media/Playback/mod.rs | 4 +- .../Windows/Media/Protection/PlayReady/mod.rs | 46 +- .../src/Windows/Media/Protection/mod.rs | 2 +- .../Windows/Media/SpeechRecognition/mod.rs | 2 +- crates/libs/windows/src/Windows/Media/mod.rs | 8 +- .../Networking/BackgroundTransfer/mod.rs | 8 +- .../src/Windows/Networking/Sockets/mod.rs | 14 +- .../windows/src/Windows/Networking/Vpn/mod.rs | 22 +- .../Phone/Notification/Management/mod.rs | 2 +- .../Windows/Phone/PersonalInformation/mod.rs | 4 +- .../src/Windows/Phone/StartScreen/mod.rs | 2 +- .../Authentication/Web/Provider/mod.rs | 14 +- .../src/Windows/Security/Credentials/mod.rs | 2 +- .../src/Windows/Storage/AccessCache/mod.rs | 2 +- .../src/Windows/Storage/BulkAccess/mod.rs | 2 +- .../src/Windows/Storage/FileProperties/mod.rs | 2 +- .../src/Windows/Storage/Provider/mod.rs | 16 +- .../windows/src/Windows/Storage/Search/mod.rs | 6 +- .../src/Windows/Storage/Streams/mod.rs | 22 +- .../libs/windows/src/Windows/Storage/mod.rs | 22 +- .../System/Implementation/FileExplorer/mod.rs | 6 +- .../src/Windows/System/RemoteSystems/mod.rs | 2 +- crates/libs/windows/src/Windows/System/mod.rs | 2 +- .../UI/Composition/Interactions/mod.rs | 4 +- .../windows/src/Windows/UI/Composition/mod.rs | 14 +- .../Windows/UI/Core/AnimationMetrics/mod.rs | 2 +- .../libs/windows/src/Windows/UI/Core/mod.rs | 16 +- .../Windows/UI/Input/Inking/Analysis/mod.rs | 4 +- .../src/Windows/UI/Input/Inking/mod.rs | 10 +- .../libs/windows/src/Windows/UI/Input/mod.rs | 2 +- .../src/Windows/UI/Notifications/mod.rs | 2 +- .../libs/windows/src/Windows/UI/Popups/mod.rs | 2 +- .../libs/windows/src/Windows/UI/Shell/mod.rs | 4 +- .../libs/windows/src/Windows/UI/Text/mod.rs | 10 +- .../src/Windows/UI/UIAutomation/Core/mod.rs | 4 +- .../windows/src/Windows/UI/WebUI/Core/mod.rs | 4 +- .../libs/windows/src/Windows/UI/WebUI/mod.rs | 6 +- .../src/Windows/Web/Http/Filters/mod.rs | 2 +- .../libs/windows/src/Windows/Web/Http/mod.rs | 2 +- .../src/Windows/Web/Syndication/mod.rs | 6 +- crates/libs/windows/src/Windows/Web/UI/mod.rs | 4 +- crates/libs/windows/src/Windows/Web/mod.rs | 2 +- .../Win32/AI/MachineLearning/DirectML/mod.rs | 34 +- .../Win32/AI/MachineLearning/WinML/mod.rs | 32 +- .../src/Windows/Win32/Data/HtmlHelp/mod.rs | 12 +- .../src/Windows/Win32/Data/Xml/MsXml/mod.rs | 172 +-- .../src/Windows/Win32/Data/Xml/XmlLite/mod.rs | 8 +- .../Windows/Win32/Devices/DeviceAccess/mod.rs | 8 +- .../src/Windows/Win32/Devices/Display/mod.rs | 4 +- .../Win32/Devices/Enumeration/Pnp/mod.rs | 52 +- .../src/Windows/Win32/Devices/Fax/mod.rs | 124 +-- .../Win32/Devices/FunctionDiscovery/mod.rs | 36 +- .../Windows/Win32/Devices/Geolocation/mod.rs | 28 +- .../Win32/Devices/HumanInterfaceDevice/mod.rs | 40 +- .../Win32/Devices/ImageAcquisition/mod.rs | 62 +- .../Win32/Devices/PortableDevices/mod.rs | 68 +- .../src/Windows/Win32/Devices/Sensors/mod.rs | 14 +- .../src/Windows/Win32/Devices/Tapi/mod.rs | 238 ++--- .../Win32/Devices/WebServicesOnDevices/mod.rs | 62 +- .../windows/src/Windows/Win32/Gaming/mod.rs | 16 +- .../src/Windows/Win32/Globalization/mod.rs | 54 +- .../Graphics/CompositionSwapchain/mod.rs | 18 +- .../src/Windows/Win32/Graphics/DXCore/mod.rs | 18 +- .../Win32/Graphics/Direct2D/Common/mod.rs | 2 +- .../Windows/Win32/Graphics/Direct2D/mod.rs | 232 ++-- .../Win32/Graphics/Direct3D/Dxc/mod.rs | 60 +- .../Windows/Win32/Graphics/Direct3D/mod.rs | 4 +- .../Windows/Win32/Graphics/Direct3D10/mod.rs | 96 +- .../Windows/Win32/Graphics/Direct3D11/mod.rs | 178 ++-- .../Win32/Graphics/Direct3D11on12/mod.rs | 10 +- .../Windows/Win32/Graphics/Direct3D12/mod.rs | 238 ++--- .../Windows/Win32/Graphics/Direct3D9/mod.rs | 40 +- .../Win32/Graphics/Direct3D9on12/mod.rs | 2 +- .../Win32/Graphics/DirectComposition/mod.rs | 102 +- .../Windows/Win32/Graphics/DirectDraw/mod.rs | 36 +- .../Win32/Graphics/DirectManipulation/mod.rs | 50 +- .../Windows/Win32/Graphics/DirectWrite/mod.rs | 192 ++-- .../src/Windows/Win32/Graphics/Dxgi/mod.rs | 118 +-- .../src/Windows/Win32/Graphics/GdiPlus/mod.rs | 2 +- .../Windows/Win32/Graphics/Imaging/D2D/mod.rs | 4 +- .../src/Windows/Win32/Graphics/Imaging/mod.rs | 102 +- .../Windows/Win32/Graphics/Printing/mod.rs | 200 ++-- .../src/Windows/Win32/Media/Audio/Apo/mod.rs | 34 +- .../Win32/Media/Audio/DirectMusic/mod.rs | 26 +- .../Win32/Media/Audio/DirectSound/mod.rs | 44 +- .../Win32/Media/Audio/Endpoints/mod.rs | 22 +- .../Windows/Win32/Media/Audio/XAudio2/mod.rs | 16 +- .../src/Windows/Win32/Media/Audio/mod.rs | 160 +-- .../Windows/Win32/Media/DeviceManager/mod.rs | 116 +- .../Windows/Win32/Media/DirectShow/Tv/mod.rs | 574 +++++----- .../Windows/Win32/Media/DirectShow/Xml/mod.rs | 2 +- .../src/Windows/Win32/Media/DirectShow/mod.rs | 568 +++++----- .../Windows/Win32/Media/DxMediaObjects/mod.rs | 12 +- .../Win32/Media/KernelStreaming/mod.rs | 50 +- .../Win32/Media/LibrarySharingServices/mod.rs | 10 +- .../Win32/Media/MediaFoundation/mod.rs | 772 +++++++------- .../Windows/Win32/Media/MediaPlayer/mod.rs | 250 ++--- .../src/Windows/Win32/Media/Multimedia/mod.rs | 12 +- .../Win32/Media/PictureAcquisition/mod.rs | 22 +- .../src/Windows/Win32/Media/Speech/mod.rs | 236 ++--- .../Win32/Media/WindowsMediaFormat/mod.rs | 212 ++-- .../windows/src/Windows/Win32/Media/mod.rs | 6 +- .../NetworkManagement/MobileBroadband/mod.rs | 84 +- .../NetworkManagement/NetManagement/mod.rs | 50 +- .../NetworkDiagnosticsFramework/mod.rs | 12 +- .../NetworkPolicyServer/mod.rs | 14 +- .../Win32/NetworkManagement/WiFi/mod.rs | 20 +- .../WindowsConnectNow/mod.rs | 4 +- .../NetworkManagement/WindowsFirewall/mod.rs | 88 +- .../Win32/Networking/ActiveDirectory/mod.rs | 156 +-- .../mod.rs | 74 +- .../Win32/Networking/Clustering/mod.rs | 114 +- .../Networking/NetworkListManager/mod.rs | 28 +- .../RemoteDifferentialCompression/mod.rs | 34 +- .../Windows/Win32/Networking/WinHttp/mod.rs | 4 +- .../Windows/Win32/Networking/WinInet/mod.rs | 10 +- .../Networking/WindowsWebServices/mod.rs | 2 +- .../Authentication/Identity/Provider/mod.rs | 28 +- .../Security/Authentication/Identity/mod.rs | 2 +- .../Win32/Security/Authorization/UI/mod.rs | 14 +- .../Win32/Security/Authorization/mod.rs | 68 +- .../Win32/Security/ConfigurationSnapin/mod.rs | 4 +- .../Security/Cryptography/Certificates/mod.rs | 294 +++--- .../Win32/Security/Cryptography/mod.rs | 12 +- .../Win32/Security/EnterpriseData/mod.rs | 32 +- .../ExtensibleAuthenticationProtocol/mod.rs | 12 +- .../Windows/Win32/Security/Isolation/mod.rs | 6 +- .../src/Windows/Win32/Security/Tpm/mod.rs | 8 +- .../Win32/Storage/DataDeduplication/mod.rs | 12 +- .../Win32/Storage/EnhancedStorage/mod.rs | 12 +- .../Windows/Win32/Storage/FileHistory/mod.rs | 8 +- .../Storage/FileServerResourceManager/mod.rs | 122 +-- .../Windows/Win32/Storage/FileSystem/mod.rs | 10 +- .../src/Windows/Win32/Storage/Imapi/mod.rs | 116 +- .../Windows/Win32/Storage/IndexServer/mod.rs | 4 +- .../Windows/Win32/Storage/OfflineFiles/mod.rs | 70 +- .../Win32/Storage/Packaging/Appx/mod.rs | 172 +-- .../Win32/Storage/Packaging/Opc/mod.rs | 62 +- .../Win32/Storage/VirtualDiskService/mod.rs | 148 +-- .../src/Windows/Win32/Storage/Vss/mod.rs | 46 +- .../Windows/Win32/Storage/Xps/Printing/mod.rs | 16 +- .../src/Windows/Win32/Storage/Xps/mod.rs | 136 +-- .../Windows/Win32/System/AddressBook/mod.rs | 42 +- .../Windows/Win32/System/Antimalware/mod.rs | 12 +- .../mod.rs | 78 +- .../Win32/System/AssessmentTool/mod.rs | 18 +- .../Windows/Win32/System/ClrHosting/mod.rs | 144 +-- .../Windows/Win32/System/Com/CallObj/mod.rs | 14 +- .../System/Com/ChannelCredentials/mod.rs | 2 +- .../Windows/Win32/System/Com/Events/mod.rs | 32 +- .../Windows/Win32/System/Com/Marshal/mod.rs | 8 +- .../Win32/System/Com/StructuredStorage/mod.rs | 32 +- .../src/Windows/Win32/System/Com/UI/mod.rs | 4 +- .../Windows/Win32/System/Com/Urlmon/mod.rs | 94 +- .../src/Windows/Win32/System/Com/mod.rs | 264 ++--- .../Win32/System/ComponentServices/mod.rs | 252 ++--- .../src/Windows/Win32/System/Contacts/mod.rs | 32 +- .../Win32/System/DeploymentServices/mod.rs | 50 +- .../Win32/System/DesktopSharing/mod.rs | 56 +- .../System/Diagnostics/ClrProfiling/mod.rs | 66 +- .../Diagnostics/Debug/ActiveScript/mod.rs | 250 ++--- .../Diagnostics/Debug/Extensions/mod.rs | 242 ++--- .../Win32/System/Diagnostics/Debug/mod.rs | 22 +- .../Win32/System/Diagnostics/Etw/mod.rs | 6 +- .../DistributedTransactionCoordinator/mod.rs | 134 +-- .../System/EventNotificationService/mod.rs | 8 +- .../Windows/Win32/System/GroupPolicy/mod.rs | 88 +- .../src/Windows/Win32/System/Iis/mod.rs | 44 +- .../Win32/System/MessageQueuing/mod.rs | 86 +- .../src/Windows/Win32/System/Mmc/mod.rs | 138 +-- .../src/Windows/Win32/System/Ole/mod.rs | 196 ++-- .../Win32/System/ParentalControls/mod.rs | 16 +- .../Windows/Win32/System/Performance/mod.rs | 66 +- .../System/RealTimeCommunications/mod.rs | 132 +-- .../Win32/System/RemoteAssistance/mod.rs | 6 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 206 ++-- .../Win32/System/RemoteManagement/mod.rs | 24 +- .../src/Windows/Win32/System/Search/mod.rs | 392 +++---- .../Win32/System/SecurityCenter/mod.rs | 10 +- .../Windows/Win32/System/ServerBackup/mod.rs | 6 +- .../SettingsManagementInfrastructure/mod.rs | 16 +- .../src/Windows/Win32/System/SideShow/mod.rs | 22 +- .../Windows/Win32/System/TaskScheduler/mod.rs | 98 +- .../src/Windows/Win32/System/Threading/mod.rs | 8 +- .../Win32/System/TransactionServer/mod.rs | 10 +- .../Windows/Win32/System/UpdateAgent/mod.rs | 152 +-- .../Win32/System/UpdateAssessment/mod.rs | 2 +- .../Windows/Win32/System/WinRT/AllJoyn/mod.rs | 12 +- .../Win32/System/WinRT/Composition/mod.rs | 22 +- .../Win32/System/WinRT/CoreInputView/mod.rs | 4 +- .../Win32/System/WinRT/Direct3D11/mod.rs | 4 +- .../Windows/Win32/System/WinRT/Display/mod.rs | 4 +- .../System/WinRT/Graphics/Capture/mod.rs | 6 +- .../System/WinRT/Graphics/Direct2D/mod.rs | 4 +- .../System/WinRT/Graphics/Imaging/mod.rs | 10 +- .../Win32/System/WinRT/Holographic/mod.rs | 8 +- .../Win32/System/WinRT/Isolation/mod.rs | 2 +- .../src/Windows/Win32/System/WinRT/ML/mod.rs | 12 +- .../Windows/Win32/System/WinRT/Media/mod.rs | 18 +- .../Win32/System/WinRT/Metadata/mod.rs | 36 +- .../src/Windows/Win32/System/WinRT/Pdf/mod.rs | 2 +- .../Win32/System/WinRT/Printing/mod.rs | 22 +- .../Windows/Win32/System/WinRT/Shell/mod.rs | 2 +- .../Windows/Win32/System/WinRT/Storage/mod.rs | 12 +- .../src/Windows/Win32/System/WinRT/mod.rs | 128 +-- .../Win32/System/WindowsProgramming/mod.rs | 20 +- .../Windows/Win32/System/WindowsSync/mod.rs | 158 +-- .../src/Windows/Win32/System/Wmi/mod.rs | 144 +-- .../src/Windows/Win32/UI/Accessibility/mod.rs | 276 ++--- .../src/Windows/Win32/UI/Animation/mod.rs | 62 +- .../src/Windows/Win32/UI/ColorSystem/mod.rs | 4 +- .../Windows/Win32/UI/Controls/Dialogs/mod.rs | 4 +- .../Windows/Win32/UI/Controls/RichEdit/mod.rs | 48 +- .../src/Windows/Win32/UI/Controls/mod.rs | 6 +- .../src/Windows/Win32/UI/Input/Ime/mod.rs | 34 +- .../src/Windows/Win32/UI/Input/Ink/mod.rs | 16 +- .../src/Windows/Win32/UI/Input/Radial/mod.rs | 12 +- .../src/Windows/Win32/UI/Input/Touch/mod.rs | 6 +- .../LegacyWindowsEnvironmentFeatures/mod.rs | 16 +- .../src/Windows/Win32/UI/Notifications/mod.rs | 2 +- .../src/Windows/Win32/UI/Ribbon/mod.rs | 24 +- .../src/Windows/Win32/UI/Shell/Common/mod.rs | 6 +- .../Win32/UI/Shell/PropertiesSystem/mod.rs | 88 +- .../windows/src/Windows/Win32/UI/Shell/mod.rs | 994 +++++++++--------- .../src/Windows/Win32/UI/TabletPC/mod.rs | 138 +-- .../src/Windows/Win32/UI/TextServices/mod.rs | 314 +++--- .../windows/src/Windows/Win32/UI/Wpf/mod.rs | 40 +- .../Windows/Win32/Web/InternetExplorer/mod.rs | 154 +-- 278 files changed, 7615 insertions(+), 7615 deletions(-) diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index acd456349f..d9dd751094 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -150,7 +150,7 @@ pub struct ILearningModelEvaluationResult_Vtbl { Outputs: usize, } windows_core::imp::define_interface!(ILearningModelFeatureDescriptor, ILearningModelFeatureDescriptor_Vtbl, 0xbc08cf7c_6ed0_4004_97ba_b9a2eecd2b4f); -impl std::ops::Deref for ILearningModelFeatureDescriptor { +impl core::ops::Deref for ILearningModelFeatureDescriptor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -199,7 +199,7 @@ pub struct ILearningModelFeatureDescriptor_Vtbl { pub IsRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILearningModelFeatureValue, ILearningModelFeatureValue_Vtbl, 0xf51005db_4085_4dfe_9fed_95eb0c0cf75c); -impl std::ops::Deref for ILearningModelFeatureValue { +impl core::ops::Deref for ILearningModelFeatureValue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -224,7 +224,7 @@ pub struct ILearningModelFeatureValue_Vtbl { pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LearningModelFeatureKind) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILearningModelOperatorProvider, ILearningModelOperatorProvider_Vtbl, 0x2a222e5d_afb1_47ed_bfad_b5b3a459ec04); -impl std::ops::Deref for ILearningModelOperatorProvider { +impl core::ops::Deref for ILearningModelOperatorProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -365,7 +365,7 @@ pub struct ISequenceFeatureDescriptor_Vtbl { pub ElementDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITensor, ITensor_Vtbl, 0x05489593_a305_4a25_ad09_440119b4b7f6); -impl std::ops::Deref for ITensor { +impl core::ops::Deref for ITensor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index 2832bc37ee..66ede14941 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IActivatedEventArgs, IActivatedEventArgs_Vtbl, 0xcf651713_cd08_4fd8_b697_a281b6544e2e); -impl std::ops::Deref for IActivatedEventArgs { +impl core::ops::Deref for IActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -40,7 +40,7 @@ pub struct IActivatedEventArgs_Vtbl { pub SplashScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActivatedEventArgsWithUser, IActivatedEventArgsWithUser_Vtbl, 0x1cf09b9e_9962_4936_80ff_afc8e8ae5c8c); -impl std::ops::Deref for IActivatedEventArgsWithUser { +impl core::ops::Deref for IActivatedEventArgsWithUser { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -91,7 +91,7 @@ pub struct IActivatedEventArgsWithUser_Vtbl { User: usize, } windows_core::imp::define_interface!(IApplicationViewActivatedEventArgs, IApplicationViewActivatedEventArgs_Vtbl, 0x930cef4b_b829_40fc_88f4_8513e8a64738); -impl std::ops::Deref for IApplicationViewActivatedEventArgs { +impl core::ops::Deref for IApplicationViewActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct IApplicationViewActivatedEventArgs_Vtbl { pub CurrentlyShownApplicationViewId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderActivatedEventArgs_Vtbl, 0x3364c405_933c_4e7d_a034_500fb8dcd9f3); -impl std::ops::Deref for IAppointmentsProviderActivatedEventArgs { +impl core::ops::Deref for IAppointmentsProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -185,7 +185,7 @@ pub struct IAppointmentsProviderActivatedEventArgs_Vtbl { pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentsProviderAddAppointmentActivatedEventArgs, IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl, 0xa2861367_cee5_4e4d_9ed7_41c34ec18b02); -impl std::ops::Deref for IAppointmentsProviderAddAppointmentActivatedEventArgs { +impl core::ops::Deref for IAppointmentsProviderAddAppointmentActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -243,7 +243,7 @@ pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl { AddAppointmentOperation: usize, } windows_core::imp::define_interface!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl, 0x751f3ab8_0b8e_451c_9f15_966e699bac25); -impl std::ops::Deref for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { +impl core::ops::Deref for IAppointmentsProviderRemoveAppointmentActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -301,7 +301,7 @@ pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl { RemoveAppointmentOperation: usize, } windows_core::imp::define_interface!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl, 0x1551b7d4_a981_4067_8a62_0524e4ade121); -impl std::ops::Deref for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { +impl core::ops::Deref for IAppointmentsProviderReplaceAppointmentActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -359,7 +359,7 @@ pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl { ReplaceAppointmentOperation: usize, } windows_core::imp::define_interface!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl, 0x3958f065_9841_4ca5_999b_885198b9ef2a); -impl std::ops::Deref for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { +impl core::ops::Deref for IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -429,7 +429,7 @@ pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { pub RoamingId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl, 0x9baeaba6_0e0b_49aa_babc_12b1dc774986); -impl std::ops::Deref for IAppointmentsProviderShowTimeFrameActivatedEventArgs { +impl core::ops::Deref for IAppointmentsProviderShowTimeFrameActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -491,7 +491,7 @@ pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundActivatedEventArgs, IBackgroundActivatedEventArgs_Vtbl, 0xab14bee0_e760_440e_a91c_44796de3a92d); -impl std::ops::Deref for IBackgroundActivatedEventArgs { +impl core::ops::Deref for IBackgroundActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -520,7 +520,7 @@ pub struct IBackgroundActivatedEventArgs_Vtbl { TaskInstance: usize, } windows_core::imp::define_interface!(IBarcodeScannerPreviewActivatedEventArgs, IBarcodeScannerPreviewActivatedEventArgs_Vtbl, 0x6772797c_99bf_4349_af22_e4123560371c); -impl std::ops::Deref for IBarcodeScannerPreviewActivatedEventArgs { +impl core::ops::Deref for IBarcodeScannerPreviewActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -567,7 +567,7 @@ pub struct IBarcodeScannerPreviewActivatedEventArgs_Vtbl { pub ConnectionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICachedFileUpdaterActivatedEventArgs, ICachedFileUpdaterActivatedEventArgs_Vtbl, 0xd06eb1c7_3805_4ecb_b757_6cf15e26fef3); -impl std::ops::Deref for ICachedFileUpdaterActivatedEventArgs { +impl core::ops::Deref for ICachedFileUpdaterActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -618,7 +618,7 @@ pub struct ICachedFileUpdaterActivatedEventArgs_Vtbl { CachedFileUpdaterUI: usize, } windows_core::imp::define_interface!(ICameraSettingsActivatedEventArgs, ICameraSettingsActivatedEventArgs_Vtbl, 0xfb67a508_2dad_490a_9170_dca036eb114b); -impl std::ops::Deref for ICameraSettingsActivatedEventArgs { +impl core::ops::Deref for ICameraSettingsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -673,7 +673,7 @@ pub struct ICameraSettingsActivatedEventArgs_Vtbl { pub VideoDeviceExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommandLineActivatedEventArgs, ICommandLineActivatedEventArgs_Vtbl, 0x4506472c_006a_48eb_8afb_d07ab25e3366); -impl std::ops::Deref for ICommandLineActivatedEventArgs { +impl core::ops::Deref for ICommandLineActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -733,7 +733,7 @@ pub struct ICommandLineActivationOperation_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactActivatedEventArgs, IContactActivatedEventArgs_Vtbl, 0xd627a1c4_c025_4c41_9def_f1eafad075e7); -impl std::ops::Deref for IContactActivatedEventArgs { +impl core::ops::Deref for IContactActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -780,7 +780,7 @@ pub struct IContactActivatedEventArgs_Vtbl { pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactCallActivatedEventArgs, IContactCallActivatedEventArgs_Vtbl, 0xc2df14c7_30eb_41c6_b3bc_5b1694f9dab3); -impl std::ops::Deref for IContactCallActivatedEventArgs { +impl core::ops::Deref for IContactCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -854,7 +854,7 @@ pub struct IContactCallActivatedEventArgs_Vtbl { Contact: usize, } windows_core::imp::define_interface!(IContactMapActivatedEventArgs, IContactMapActivatedEventArgs_Vtbl, 0xb32bf870_eee7_4ad2_aaf1_a87effcf00a4); -impl std::ops::Deref for IContactMapActivatedEventArgs { +impl core::ops::Deref for IContactMapActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -924,7 +924,7 @@ pub struct IContactMapActivatedEventArgs_Vtbl { Contact: usize, } windows_core::imp::define_interface!(IContactMessageActivatedEventArgs, IContactMessageActivatedEventArgs_Vtbl, 0xde598db2_0e03_43b0_bf56_bcc40b3162df); -impl std::ops::Deref for IContactMessageActivatedEventArgs { +impl core::ops::Deref for IContactMessageActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -998,7 +998,7 @@ pub struct IContactMessageActivatedEventArgs_Vtbl { Contact: usize, } windows_core::imp::define_interface!(IContactPanelActivatedEventArgs, IContactPanelActivatedEventArgs_Vtbl, 0x52bb63e4_d3d4_4b63_8051_4af2082cab80); -impl std::ops::Deref for IContactPanelActivatedEventArgs { +impl core::ops::Deref for IContactPanelActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1039,7 +1039,7 @@ pub struct IContactPanelActivatedEventArgs_Vtbl { Contact: usize, } windows_core::imp::define_interface!(IContactPickerActivatedEventArgs, IContactPickerActivatedEventArgs_Vtbl, 0xce57aae7_6449_45a7_971f_d113be7a8936); -impl std::ops::Deref for IContactPickerActivatedEventArgs { +impl core::ops::Deref for IContactPickerActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1090,7 +1090,7 @@ pub struct IContactPickerActivatedEventArgs_Vtbl { ContactPickerUI: usize, } windows_core::imp::define_interface!(IContactPostActivatedEventArgs, IContactPostActivatedEventArgs_Vtbl, 0xb35a3c67_f1e7_4655_ad6e_4857588f552f); -impl std::ops::Deref for IContactPostActivatedEventArgs { +impl core::ops::Deref for IContactPostActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1164,7 +1164,7 @@ pub struct IContactPostActivatedEventArgs_Vtbl { Contact: usize, } windows_core::imp::define_interface!(IContactVideoCallActivatedEventArgs, IContactVideoCallActivatedEventArgs_Vtbl, 0x61079db8_e3e7_4b4f_858d_5c63a96ef684); -impl std::ops::Deref for IContactVideoCallActivatedEventArgs { +impl core::ops::Deref for IContactVideoCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1238,7 +1238,7 @@ pub struct IContactVideoCallActivatedEventArgs_Vtbl { Contact: usize, } windows_core::imp::define_interface!(IContactsProviderActivatedEventArgs, IContactsProviderActivatedEventArgs_Vtbl, 0x4580dca8_5750_4916_aa52_c0829521eb94); -impl std::ops::Deref for IContactsProviderActivatedEventArgs { +impl core::ops::Deref for IContactsProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1285,7 +1285,7 @@ pub struct IContactsProviderActivatedEventArgs_Vtbl { pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContinuationActivatedEventArgs, IContinuationActivatedEventArgs_Vtbl, 0xe58106b5_155f_4a94_a742_c7e08f4e188c); -impl std::ops::Deref for IContinuationActivatedEventArgs { +impl core::ops::Deref for IContinuationActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1336,7 +1336,7 @@ pub struct IContinuationActivatedEventArgs_Vtbl { ContinuationData: usize, } windows_core::imp::define_interface!(IDeviceActivatedEventArgs, IDeviceActivatedEventArgs_Vtbl, 0xcd50b9a9_ce10_44d2_8234_c355a073ef33); -impl std::ops::Deref for IDeviceActivatedEventArgs { +impl core::ops::Deref for IDeviceActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1391,7 +1391,7 @@ pub struct IDeviceActivatedEventArgs_Vtbl { pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDevicePairingActivatedEventArgs, IDevicePairingActivatedEventArgs_Vtbl, 0xeba0d1e4_ecc6_4148_94ed_f4b37ec05b3e); -impl std::ops::Deref for IDevicePairingActivatedEventArgs { +impl core::ops::Deref for IDevicePairingActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1442,7 +1442,7 @@ pub struct IDevicePairingActivatedEventArgs_Vtbl { DeviceInformation: usize, } windows_core::imp::define_interface!(IDialReceiverActivatedEventArgs, IDialReceiverActivatedEventArgs_Vtbl, 0xfb777ed7_85ee_456e_a44d_85d730e70aed); -impl std::ops::Deref for IDialReceiverActivatedEventArgs { +impl core::ops::Deref for IDialReceiverActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1503,7 +1503,7 @@ pub struct IDialReceiverActivatedEventArgs_Vtbl { pub AppName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileActivatedEventArgs, IFileActivatedEventArgs_Vtbl, 0xbb2afc33_93b1_42ed_8b26_236dd9c78496); -impl std::ops::Deref for IFileActivatedEventArgs { +impl core::ops::Deref for IFileActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1562,7 +1562,7 @@ pub struct IFileActivatedEventArgs_Vtbl { pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileActivatedEventArgsWithCallerPackageFamilyName, IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl, 0x2d60f06b_d25f_4d25_8653_e1c5e1108309); -impl std::ops::Deref for IFileActivatedEventArgsWithCallerPackageFamilyName { +impl core::ops::Deref for IFileActivatedEventArgsWithCallerPackageFamilyName { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1609,7 +1609,7 @@ pub struct IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileActivatedEventArgsWithNeighboringFiles, IFileActivatedEventArgsWithNeighboringFiles_Vtbl, 0x433ba1a4_e1e2_48fd_b7fc_b5d6eee65033); -impl std::ops::Deref for IFileActivatedEventArgsWithNeighboringFiles { +impl core::ops::Deref for IFileActivatedEventArgsWithNeighboringFiles { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1675,7 +1675,7 @@ pub struct IFileActivatedEventArgsWithNeighboringFiles_Vtbl { NeighboringFilesQuery: usize, } windows_core::imp::define_interface!(IFileOpenPickerActivatedEventArgs, IFileOpenPickerActivatedEventArgs_Vtbl, 0x72827082_5525_4bf2_bc09_1f5095d4964d); -impl std::ops::Deref for IFileOpenPickerActivatedEventArgs { +impl core::ops::Deref for IFileOpenPickerActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1726,7 +1726,7 @@ pub struct IFileOpenPickerActivatedEventArgs_Vtbl { FileOpenPickerUI: usize, } windows_core::imp::define_interface!(IFileOpenPickerActivatedEventArgs2, IFileOpenPickerActivatedEventArgs2_Vtbl, 0x5e731f66_8d1f_45fb_af1d_73205c8fc7a1); -impl std::ops::Deref for IFileOpenPickerActivatedEventArgs2 { +impl core::ops::Deref for IFileOpenPickerActivatedEventArgs2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1753,7 +1753,7 @@ pub struct IFileOpenPickerActivatedEventArgs2_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IFileOpenPickerContinuationEventArgs, IFileOpenPickerContinuationEventArgs_Vtbl, 0xf0fa3f3a_d4e8_4ad3_9c34_2308f32fcec9); #[cfg(feature = "deprecated")] -impl std::ops::Deref for IFileOpenPickerContinuationEventArgs { +impl core::ops::Deref for IFileOpenPickerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1817,7 +1817,7 @@ pub struct IFileOpenPickerContinuationEventArgs_Vtbl { Files: usize, } windows_core::imp::define_interface!(IFileSavePickerActivatedEventArgs, IFileSavePickerActivatedEventArgs_Vtbl, 0x81c19cf1_74e6_4387_82eb_bb8fd64b4346); -impl std::ops::Deref for IFileSavePickerActivatedEventArgs { +impl core::ops::Deref for IFileSavePickerActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1868,7 +1868,7 @@ pub struct IFileSavePickerActivatedEventArgs_Vtbl { FileSavePickerUI: usize, } windows_core::imp::define_interface!(IFileSavePickerActivatedEventArgs2, IFileSavePickerActivatedEventArgs2_Vtbl, 0x6b73fe13_2cf2_4d48_8cbc_af67d23f1ce7); -impl std::ops::Deref for IFileSavePickerActivatedEventArgs2 { +impl core::ops::Deref for IFileSavePickerActivatedEventArgs2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1903,7 +1903,7 @@ pub struct IFileSavePickerActivatedEventArgs2_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IFileSavePickerContinuationEventArgs, IFileSavePickerContinuationEventArgs_Vtbl, 0x2c846fe1_3bad_4f33_8c8b_e46fae824b4b); #[cfg(feature = "deprecated")] -impl std::ops::Deref for IFileSavePickerContinuationEventArgs { +impl core::ops::Deref for IFileSavePickerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1969,7 +1969,7 @@ pub struct IFileSavePickerContinuationEventArgs_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IFolderPickerContinuationEventArgs, IFolderPickerContinuationEventArgs_Vtbl, 0x51882366_9f4b_498f_beb0_42684f6e1c29); #[cfg(feature = "deprecated")] -impl std::ops::Deref for IFolderPickerContinuationEventArgs { +impl core::ops::Deref for IFolderPickerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2033,7 +2033,7 @@ pub struct IFolderPickerContinuationEventArgs_Vtbl { Folder: usize, } windows_core::imp::define_interface!(ILaunchActivatedEventArgs, ILaunchActivatedEventArgs_Vtbl, 0xfbc93e26_a14a_4b4f_82b0_33bed920af52); -impl std::ops::Deref for ILaunchActivatedEventArgs { +impl core::ops::Deref for ILaunchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2088,7 +2088,7 @@ pub struct ILaunchActivatedEventArgs_Vtbl { pub TileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchActivatedEventArgs2, ILaunchActivatedEventArgs2_Vtbl, 0x0fd37ebc_9dc9_46b5_9ace_bd95d4565345); -impl std::ops::Deref for ILaunchActivatedEventArgs2 { +impl core::ops::Deref for ILaunchActivatedEventArgs2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2149,7 +2149,7 @@ pub struct ILaunchActivatedEventArgs2_Vtbl { pub TileActivatedInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILockScreenActivatedEventArgs, ILockScreenActivatedEventArgs_Vtbl, 0x3ca77966_6108_4a41_8220_ee7d133c8532); -impl std::ops::Deref for ILockScreenActivatedEventArgs { +impl core::ops::Deref for ILockScreenActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2196,7 +2196,7 @@ pub struct ILockScreenActivatedEventArgs_Vtbl { pub Info: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILockScreenCallActivatedEventArgs, ILockScreenCallActivatedEventArgs_Vtbl, 0x06f37fbe_b5f2_448b_b13e_e328ac1c516a); -impl std::ops::Deref for ILockScreenCallActivatedEventArgs { +impl core::ops::Deref for ILockScreenCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2261,7 +2261,7 @@ pub struct ILockScreenCallActivatedEventArgs_Vtbl { CallUI: usize, } windows_core::imp::define_interface!(IPhoneCallActivatedEventArgs, IPhoneCallActivatedEventArgs_Vtbl, 0x54615221_a3c1_4ced_b62f_8c60523619ad); -impl std::ops::Deref for IPhoneCallActivatedEventArgs { +impl core::ops::Deref for IPhoneCallActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2308,7 +2308,7 @@ pub struct IPhoneCallActivatedEventArgs_Vtbl { pub LineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPickerReturnedActivatedEventArgs, IPickerReturnedActivatedEventArgs_Vtbl, 0x360defb9_a9d3_4984_a4ed_9ec734604921); -impl std::ops::Deref for IPickerReturnedActivatedEventArgs { +impl core::ops::Deref for IPickerReturnedActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2355,7 +2355,7 @@ pub struct IPickerReturnedActivatedEventArgs_Vtbl { pub PickerOperationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrelaunchActivatedEventArgs, IPrelaunchActivatedEventArgs_Vtbl, 0x0c44717b_19f7_48d6_b046_cf22826eaa74); -impl std::ops::Deref for IPrelaunchActivatedEventArgs { +impl core::ops::Deref for IPrelaunchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2402,7 +2402,7 @@ pub struct IPrelaunchActivatedEventArgs_Vtbl { pub PrelaunchActivated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrint3DWorkflowActivatedEventArgs, IPrint3DWorkflowActivatedEventArgs_Vtbl, 0x3f57e78b_f2ac_4619_8302_ef855e1c9b90); -impl std::ops::Deref for IPrint3DWorkflowActivatedEventArgs { +impl core::ops::Deref for IPrint3DWorkflowActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2453,7 +2453,7 @@ pub struct IPrint3DWorkflowActivatedEventArgs_Vtbl { Workflow: usize, } windows_core::imp::define_interface!(IPrintTaskSettingsActivatedEventArgs, IPrintTaskSettingsActivatedEventArgs_Vtbl, 0xee30a0c9_ce56_4865_ba8e_8954ac271107); -impl std::ops::Deref for IPrintTaskSettingsActivatedEventArgs { +impl core::ops::Deref for IPrintTaskSettingsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2504,7 +2504,7 @@ pub struct IPrintTaskSettingsActivatedEventArgs_Vtbl { Configuration: usize, } windows_core::imp::define_interface!(IProtocolActivatedEventArgs, IProtocolActivatedEventArgs_Vtbl, 0x6095f4dd_b7c0_46ab_81fe_d90f36d00d24); -impl std::ops::Deref for IProtocolActivatedEventArgs { +impl core::ops::Deref for IProtocolActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2551,7 +2551,7 @@ pub struct IProtocolActivatedEventArgs_Vtbl { pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl, 0xd84a0c12_5c8f_438c_83cb_c28fcc0b2fdb); -impl std::ops::Deref for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { +impl core::ops::Deref for IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2610,7 +2610,7 @@ pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { Data: usize, } windows_core::imp::define_interface!(IProtocolForResultsActivatedEventArgs, IProtocolForResultsActivatedEventArgs_Vtbl, 0xe75132c2_7ae7_4517_80ac_dbe8d7cc5b9c); -impl std::ops::Deref for IProtocolForResultsActivatedEventArgs { +impl core::ops::Deref for IProtocolForResultsActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2661,7 +2661,7 @@ pub struct IProtocolForResultsActivatedEventArgs_Vtbl { ProtocolForResultsOperation: usize, } windows_core::imp::define_interface!(IRestrictedLaunchActivatedEventArgs, IRestrictedLaunchActivatedEventArgs_Vtbl, 0xe0b7ac81_bfc3_4344_a5da_19fd5a27baae); -impl std::ops::Deref for IRestrictedLaunchActivatedEventArgs { +impl core::ops::Deref for IRestrictedLaunchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2708,7 +2708,7 @@ pub struct IRestrictedLaunchActivatedEventArgs_Vtbl { pub SharedContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchActivatedEventArgs, ISearchActivatedEventArgs_Vtbl, 0x8cb36951_58c8_43e3_94bc_41d33f8b630e); -impl std::ops::Deref for ISearchActivatedEventArgs { +impl core::ops::Deref for ISearchActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2763,7 +2763,7 @@ pub struct ISearchActivatedEventArgs_Vtbl { pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchActivatedEventArgsWithLinguisticDetails, ISearchActivatedEventArgsWithLinguisticDetails_Vtbl, 0xc09f33da_08ab_4931_9b7c_451025f21f81); -impl std::ops::Deref for ISearchActivatedEventArgsWithLinguisticDetails { +impl core::ops::Deref for ISearchActivatedEventArgsWithLinguisticDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2792,7 +2792,7 @@ pub struct ISearchActivatedEventArgsWithLinguisticDetails_Vtbl { LinguisticDetails: usize, } windows_core::imp::define_interface!(IShareTargetActivatedEventArgs, IShareTargetActivatedEventArgs_Vtbl, 0x4bdaf9c8_cdb2_4acb_bfc3_6648563378ec); -impl std::ops::Deref for IShareTargetActivatedEventArgs { +impl core::ops::Deref for IShareTargetActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2854,7 +2854,7 @@ pub struct ISplashScreen_Vtbl { pub RemoveDismissed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStartupTaskActivatedEventArgs, IStartupTaskActivatedEventArgs_Vtbl, 0x03b11a58_5276_4d91_8621_54611864d5fa); -impl std::ops::Deref for IStartupTaskActivatedEventArgs { +impl core::ops::Deref for IStartupTaskActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2913,7 +2913,7 @@ pub struct ITileActivatedInfo_Vtbl { RecentlyShownNotifications: usize, } windows_core::imp::define_interface!(IToastNotificationActivatedEventArgs, IToastNotificationActivatedEventArgs_Vtbl, 0x92a86f82_5290_431d_be85_c4aaeeb8685f); -impl std::ops::Deref for IToastNotificationActivatedEventArgs { +impl core::ops::Deref for IToastNotificationActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2972,7 +2972,7 @@ pub struct IToastNotificationActivatedEventArgs_Vtbl { UserInput: usize, } windows_core::imp::define_interface!(IUserDataAccountProviderActivatedEventArgs, IUserDataAccountProviderActivatedEventArgs_Vtbl, 0x1bc9f723_8ef1_4a51_a63a_fe711eeab607); -impl std::ops::Deref for IUserDataAccountProviderActivatedEventArgs { +impl core::ops::Deref for IUserDataAccountProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3023,7 +3023,7 @@ pub struct IUserDataAccountProviderActivatedEventArgs_Vtbl { Operation: usize, } windows_core::imp::define_interface!(IViewSwitcherProvider, IViewSwitcherProvider_Vtbl, 0x33f288a6_5c2c_4d27_bac7_7536088f1219); -impl std::ops::Deref for IViewSwitcherProvider { +impl core::ops::Deref for IViewSwitcherProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3074,7 +3074,7 @@ pub struct IViewSwitcherProvider_Vtbl { ViewSwitcher: usize, } windows_core::imp::define_interface!(IVoiceCommandActivatedEventArgs, IVoiceCommandActivatedEventArgs_Vtbl, 0xab92dcfd_8d43_4de6_9775_20704b581b00); -impl std::ops::Deref for IVoiceCommandActivatedEventArgs { +impl core::ops::Deref for IVoiceCommandActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3127,7 +3127,7 @@ pub struct IVoiceCommandActivatedEventArgs_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IWalletActionActivatedEventArgs, IWalletActionActivatedEventArgs_Vtbl, 0xfcfc027b_1a1a_4d22_923f_ae6f45fa52d9); #[cfg(feature = "deprecated")] -impl std::ops::Deref for IWalletActionActivatedEventArgs { +impl core::ops::Deref for IWalletActionActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3207,7 +3207,7 @@ pub struct IWalletActionActivatedEventArgs_Vtbl { ActionId: usize, } windows_core::imp::define_interface!(IWebAccountProviderActivatedEventArgs, IWebAccountProviderActivatedEventArgs_Vtbl, 0x72b71774_98ea_4ccf_9752_46d9051004f1); -impl std::ops::Deref for IWebAccountProviderActivatedEventArgs { +impl core::ops::Deref for IWebAccountProviderActivatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3258,7 +3258,7 @@ pub struct IWebAccountProviderActivatedEventArgs_Vtbl { Operation: usize, } windows_core::imp::define_interface!(IWebAuthenticationBrokerContinuationEventArgs, IWebAuthenticationBrokerContinuationEventArgs_Vtbl, 0x75dda3d4_7714_453d_b7ff_b95e3a1709da); -impl std::ops::Deref for IWebAuthenticationBrokerContinuationEventArgs { +impl core::ops::Deref for IWebAuthenticationBrokerContinuationEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 5a5f059faf..1e8102e6bc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -343,7 +343,7 @@ pub struct IAppointmentManagerStatics3_Vtbl { GetForUser: usize, } windows_core::imp::define_interface!(IAppointmentParticipant, IAppointmentParticipant_Vtbl, 0x615e2902_9718_467b_83fb_b293a19121de); -impl std::ops::Deref for IAppointmentParticipant { +impl core::ops::Deref for IAppointmentParticipant { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 86b05e93b3..c7e11d1e20 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -108,7 +108,7 @@ pub struct IAppointmentStoreNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } windows_core::imp::define_interface!(IBackgroundCondition, IBackgroundCondition_Vtbl, 0xae48a1ee_8951_400a_8302_9c9c9a2a3a3b); -impl std::ops::Deref for IBackgroundCondition { +impl core::ops::Deref for IBackgroundCondition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -158,7 +158,7 @@ pub struct IBackgroundExecutionManagerStatics3_Vtbl { pub GetAccessStatusForModernStandbyForApplication: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut BackgroundAccessStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTask, IBackgroundTask_Vtbl, 0x7d13d534_fd12_43ce_8c22_ea1ff13c06df); -impl std::ops::Deref for IBackgroundTask { +impl core::ops::Deref for IBackgroundTask { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -256,7 +256,7 @@ pub struct IBackgroundTaskDeferral_Vtbl { pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskInstance, IBackgroundTaskInstance_Vtbl, 0x865bda7a_21d8_4573_8f32_928a1b0641f6); -impl std::ops::Deref for IBackgroundTaskInstance { +impl core::ops::Deref for IBackgroundTaskInstance { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -342,7 +342,7 @@ pub struct IBackgroundTaskInstance_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskInstance2, IBackgroundTaskInstance2_Vtbl, 0x4f7d0176_0c76_4fb4_896d_5de1864122f6); -impl std::ops::Deref for IBackgroundTaskInstance2 { +impl core::ops::Deref for IBackgroundTaskInstance2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -428,7 +428,7 @@ pub struct IBackgroundTaskInstance2_Vtbl { pub GetThrottleCount: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTaskThrottleCounter, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskInstance4, IBackgroundTaskInstance4_Vtbl, 0x7f29f23c_aa04_4b08_97b0_06d874cdabf5); -impl std::ops::Deref for IBackgroundTaskInstance4 { +impl core::ops::Deref for IBackgroundTaskInstance4 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -528,7 +528,7 @@ pub struct IBackgroundTaskProgressEventArgs_Vtbl { pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskRegistration, IBackgroundTaskRegistration_Vtbl, 0x10654cc2_a26e_43bf_8c12_1fb40dbfbfa0); -impl std::ops::Deref for IBackgroundTaskRegistration { +impl core::ops::Deref for IBackgroundTaskRegistration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -598,7 +598,7 @@ pub struct IBackgroundTaskRegistration_Vtbl { pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskRegistration2, IBackgroundTaskRegistration2_Vtbl, 0x6138c703_bb86_4112_afc3_7f939b166e3b); -impl std::ops::Deref for IBackgroundTaskRegistration2 { +impl core::ops::Deref for IBackgroundTaskRegistration2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -670,7 +670,7 @@ pub struct IBackgroundTaskRegistration2_Vtbl { pub Trigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTaskRegistration3, IBackgroundTaskRegistration3_Vtbl, 0xfe338195_9423_4d8b_830d_b1dd2c7badd5); -impl std::ops::Deref for IBackgroundTaskRegistration3 { +impl core::ops::Deref for IBackgroundTaskRegistration3 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -796,7 +796,7 @@ pub struct IBackgroundTaskRegistrationStatics2_Vtbl { pub GetTaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTrigger, IBackgroundTrigger_Vtbl, 0x84b3a058_6027_4b87_9790_bdf3f757dbd7); -impl std::ops::Deref for IBackgroundTrigger { +impl core::ops::Deref for IBackgroundTrigger { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index ae2d9840fb..31ed700f0c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -107,7 +107,7 @@ pub struct IChatConversationThreadingInfo_Vtbl { pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, ChatConversationThreadingKind) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChatItem, IChatItem_Vtbl, 0x8751d000_ceb1_4243_b803_15d45a1dd428); -impl std::ops::Deref for IChatItem { +impl core::ops::Deref for IChatItem { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index e8eaebcd9e..58347665f0 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -412,7 +412,7 @@ pub struct IContactEmail_Vtbl { pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactField, IContactField_Vtbl, 0xb176486a_d293_492c_a058_db575b3e3c0f); -impl std::ops::Deref for IContactField { +impl core::ops::Deref for IContactField { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -461,7 +461,7 @@ pub struct IContactField_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactFieldFactory, IContactFieldFactory_Vtbl, 0x85e2913f_0e4a_4a3e_8994_406ae7ed646e); -impl std::ops::Deref for IContactFieldFactory { +impl core::ops::Deref for IContactFieldFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -559,7 +559,7 @@ pub struct IContactInstantMessageField_Vtbl { pub LaunchUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactInstantMessageFieldFactory, IContactInstantMessageFieldFactory_Vtbl, 0xba0b6794_91a3_4bb2_b1b9_69a5dff0ba09); -impl std::ops::Deref for IContactInstantMessageFieldFactory { +impl core::ops::Deref for IContactInstantMessageFieldFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -807,7 +807,7 @@ pub struct IContactLocationField_Vtbl { pub PostalCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactLocationFieldFactory, IContactLocationFieldFactory_Vtbl, 0xf79932d7_2fdf_43fe_8f18_41897390bcfe); -impl std::ops::Deref for IContactLocationFieldFactory { +impl core::ops::Deref for IContactLocationFieldFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs index 66dba75e4f..0ecea1a2d7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs @@ -101,7 +101,7 @@ pub struct ICoreApplicationExit_Vtbl { pub RemoveExiting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreApplicationUnhandledError, ICoreApplicationUnhandledError_Vtbl, 0xf0e24ab0_dd09_42e1_b0bc_e0e131f78d7e); -impl std::ops::Deref for ICoreApplicationUnhandledError { +impl core::ops::Deref for ICoreApplicationUnhandledError { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -261,7 +261,7 @@ pub struct ICoreImmersiveApplication3_Vtbl { pub CreateNewViewWithViewSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFrameworkView, IFrameworkView_Vtbl, 0xfaab5cd0_8924_45ac_ad0f_a08fae5d0324); -impl std::ops::Deref for IFrameworkView { +impl core::ops::Deref for IFrameworkView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -313,7 +313,7 @@ pub struct IFrameworkView_Vtbl { pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFrameworkViewSource, IFrameworkViewSource_Vtbl, 0xcd770614_65c4_426c_9494_34fc43554862); -impl std::ops::Deref for IFrameworkViewSource { +impl core::ops::Deref for IFrameworkViewSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs index 4b2d184277..fb9852645f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/mod.rs @@ -96,7 +96,7 @@ pub struct ICoreDragUIOverride_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreDropOperationTarget, ICoreDropOperationTarget_Vtbl, 0xd9126196_4c5b_417d_bb37_76381def8db4); -impl std::ops::Deref for ICoreDropOperationTarget { +impl core::ops::Deref for ICoreDropOperationTarget { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index c9c0255764..fdf0de99b8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -134,7 +134,7 @@ pub struct ISearchPane_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISearchPaneQueryChangedEventArgs, ISearchPaneQueryChangedEventArgs_Vtbl, 0x3c064fe9_2351_4248_a529_7110f464a785); #[cfg(feature = "deprecated")] -impl std::ops::Deref for ISearchPaneQueryChangedEventArgs { +impl core::ops::Deref for ISearchPaneQueryChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index e0dd9cd30b..58b76acc19 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -127,7 +127,7 @@ pub struct IUserActivityChannelStatics3_Vtbl { GetForUser: usize, } windows_core::imp::define_interface!(IUserActivityContentInfo, IUserActivityContentInfo_Vtbl, 0xb399e5ad_137f_409d_822d_e1af27ce08dc); -impl std::ops::Deref for IUserActivityContentInfo { +impl core::ops::Deref for IUserActivityContentInfo { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs index 8eabc55c2b..7d3fcf893a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs @@ -24,7 +24,7 @@ pub struct IUserDataAccountProviderAddAccountOperation_Vtbl { pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDataAccountProviderOperation, IUserDataAccountProviderOperation_Vtbl, 0xa20aad63_888c_4a62_a3dd_34d07a802b2b); -impl std::ops::Deref for IUserDataAccountProviderOperation { +impl core::ops::Deref for IUserDataAccountProviderOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index 208d7ae5c8..5c535ba2eb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -217,7 +217,7 @@ pub struct IDesignModeStatics2_Vtbl { pub DesignMode2Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnteredBackgroundEventArgs, IEnteredBackgroundEventArgs_Vtbl, 0xf722dcc2_9827_403d_aaed_ecca9ac17398); -impl std::ops::Deref for IEnteredBackgroundEventArgs { +impl core::ops::Deref for IEnteredBackgroundEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -301,7 +301,7 @@ pub struct IFullTrustProcessLauncherStatics2_Vtbl { pub LaunchFullTrustProcessForAppWithArgumentsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILeavingBackgroundEventArgs, ILeavingBackgroundEventArgs_Vtbl, 0x39c6ec9a_ae6e_46f9_a07a_cfc23f88733e); -impl std::ops::Deref for ILeavingBackgroundEventArgs { +impl core::ops::Deref for ILeavingBackgroundEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -611,7 +611,7 @@ pub struct IPackageCatalogStatics_Vtbl { pub OpenForCurrentUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageCatalogStatics2, IPackageCatalogStatics2_Vtbl, 0x4c11c159_9a28_598c_b185_55e1899b2be4); -impl std::ops::Deref for IPackageCatalogStatics2 { +impl core::ops::Deref for IPackageCatalogStatics2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -853,7 +853,7 @@ pub struct IStartupTaskStatics_Vtbl { pub GetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISuspendingDeferral, ISuspendingDeferral_Vtbl, 0x59140509_8bc9_4eb4_b636_dabdc4f46f66); -impl std::ops::Deref for ISuspendingDeferral { +impl core::ops::Deref for ISuspendingDeferral { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -875,7 +875,7 @@ pub struct ISuspendingDeferral_Vtbl { pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISuspendingEventArgs, ISuspendingEventArgs_Vtbl, 0x96061c05_2dba_4d08_b0bd_2b30a131c6aa); -impl std::ops::Deref for ISuspendingEventArgs { +impl core::ops::Deref for ISuspendingEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -900,7 +900,7 @@ pub struct ISuspendingEventArgs_Vtbl { pub SuspendingOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISuspendingOperation, ISuspendingOperation_Vtbl, 0x9da4ca41_20e1_4e9b_9f65_a9f435340c3a); -impl std::ops::Deref for ISuspendingOperation { +impl core::ops::Deref for ISuspendingOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index 9ed239ada6..48d3cdc7fd 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -70,7 +70,7 @@ pub struct IJsonObjectWithDefaultValues_Vtbl { pub GetNamedBooleanOrDefault: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, bool, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsonValue, IJsonValue_Vtbl, 0xa3219ecb_f0b3_4dcd_beee_19d48cd3ed1e); -impl std::ops::Deref for IJsonValue { +impl core::ops::Deref for IJsonValue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs index e402bf27e5..ff2bbdf840 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -40,7 +40,7 @@ pub struct IXmlCDataSection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } windows_core::imp::define_interface!(IXmlCharacterData, IXmlCharacterData_Vtbl, 0x132e42ab_4e36_4df6_b1c8_0ce62fd88b26); -impl std::ops::Deref for IXmlCharacterData { +impl core::ops::Deref for IXmlCharacterData { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -503,7 +503,7 @@ pub struct IXmlNamedNodeMap_Vtbl { pub SetNamedItemNS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlNode, IXmlNode_Vtbl, 0x1c741d59_2122_47d5_a856_83f3d4214875); -impl std::ops::Deref for IXmlNode { +impl core::ops::Deref for IXmlNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -778,7 +778,7 @@ pub struct IXmlNodeList_Vtbl { pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlNodeSelector, IXmlNodeSelector_Vtbl, 0x63dbba8b_d0db_4fe1_b745_f9433afdc25b); -impl std::ops::Deref for IXmlNodeSelector { +impl core::ops::Deref for IXmlNodeSelector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -833,7 +833,7 @@ pub struct IXmlNodeSelector_Vtbl { pub SelectNodesNS: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlNodeSerializer, IXmlNodeSerializer_Vtbl, 0x5cc5b382_e6dd_4991_abef_06d8d2e7bd0c); -impl std::ops::Deref for IXmlNodeSerializer { +impl core::ops::Deref for IXmlNodeSerializer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -882,7 +882,7 @@ pub struct IXmlProcessingInstruction_Vtbl { pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlText, IXmlText_Vtbl, 0xf931a4cb_308d_4760_a1d5_43b67450ac7e); -impl std::ops::Deref for IXmlText { +impl core::ops::Deref for IXmlText { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs index c2d31c5d02..4c6a37a206 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IAdcControllerProvider, IAdcControllerProvider_Vtbl, 0xbe545828_816d_4de5_a048_aba06958aaa8); -impl std::ops::Deref for IAdcControllerProvider { +impl core::ops::Deref for IAdcControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -87,7 +87,7 @@ pub struct IAdcControllerProvider_Vtbl { pub ReadValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdcProvider, IAdcProvider_Vtbl, 0x28953668_9359_4c57_bc88_e275e81638c9); -impl std::ops::Deref for IAdcProvider { +impl core::ops::Deref for IAdcProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs index f389e4e628..c95df388b8 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -33,7 +33,7 @@ pub struct ICustomDeviceStatics_Vtbl { pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, DeviceAccessMode, DeviceSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIOControlCode, IIOControlCode_Vtbl, 0x0e9559e7_60c8_4375_a761_7f8808066c60); -impl std::ops::Deref for IIOControlCode { +impl core::ops::Deref for IIOControlCode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index 099fd296b0..d8d18f3d9c 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -265,7 +265,7 @@ pub struct IDevicePairingResult_Vtbl { pub ProtectionLevelUsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DevicePairingProtectionLevel) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDevicePairingSettings, IDevicePairingSettings_Vtbl, 0x482cb27c_83bb_420e_be51_6602b222de54); -impl std::ops::Deref for IDevicePairingSettings { +impl core::ops::Deref for IDevicePairingSettings { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index c7e6f46054..657a6d4dfa 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -303,7 +303,7 @@ pub struct IGeoposition2_Vtbl { pub VenueData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGeoshape, IGeoshape_Vtbl, 0xc99ca2af_c729_43c1_8fab_d6dec914df7e); -impl std::ops::Deref for IGeoshape { +impl core::ops::Deref for IGeoshape { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs index 936a36f2ba..850843cace 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IGpioControllerProvider, IGpioControllerProvider_Vtbl, 0xad11cec7_19ea_4b21_874f_b91aed4a25db); -impl std::ops::Deref for IGpioControllerProvider { +impl core::ops::Deref for IGpioControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -32,7 +32,7 @@ pub struct IGpioControllerProvider_Vtbl { pub OpenPinProvider: unsafe extern "system" fn(*mut core::ffi::c_void, i32, ProviderGpioSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGpioPinProvider, IGpioPinProvider_Vtbl, 0x42344cb7_6abc_40ff_9ce7_73b85301b900); -impl std::ops::Deref for IGpioPinProvider { +impl core::ops::Deref for IGpioPinProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -146,7 +146,7 @@ pub struct IGpioPinProviderValueChangedEventArgsFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, ProviderGpioPinEdge, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGpioProvider, IGpioProvider_Vtbl, 0x44e82707_08ca_434a_afe0_d61580446f7e); -impl std::ops::Deref for IGpioProvider { +impl core::ops::Deref for IGpioProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs index 0d4c6afe6b..a19d96506a 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(II2cControllerProvider, II2cControllerProvider_Vtbl, 0x61c2bb82_4510_4163_a87c_4e15a9558980); -impl std::ops::Deref for II2cControllerProvider { +impl core::ops::Deref for II2cControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -27,7 +27,7 @@ pub struct II2cControllerProvider_Vtbl { pub GetDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(II2cDeviceProvider, II2cDeviceProvider_Vtbl, 0xad342654_57e8_453e_8329_d1e447d103a9); -impl std::ops::Deref for II2cDeviceProvider { +impl core::ops::Deref for II2cDeviceProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -96,7 +96,7 @@ pub struct II2cDeviceProvider_Vtbl { pub WriteReadPartial: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, *mut ProviderI2cTransferResult) -> windows_core::HRESULT, } windows_core::imp::define_interface!(II2cProvider, II2cProvider_Vtbl, 0x6f13083e_bf62_4fe2_a95a_f08999669818); -impl std::ops::Deref for II2cProvider { +impl core::ops::Deref for II2cProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index 41ed8a8467..cef60ca51c 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -62,7 +62,7 @@ pub struct II2cDevice_Vtbl { pub WriteReadPartial: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, *mut I2cTransferResult) -> windows_core::HRESULT, } windows_core::imp::define_interface!(II2cDeviceStatics, II2cDeviceStatics_Vtbl, 0x91a33be3_7334_4512_96bc_fbae9459f5f6); -impl std::ops::Deref for II2cDeviceStatics { +impl core::ops::Deref for II2cDeviceStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs index bfde91355a..fb20467d83 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -131,7 +131,7 @@ pub struct ILampArrayCustomEffectFactory_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILampArrayEffect, ILampArrayEffect_Vtbl, 0x11d45590_57fb_4546_b1ce_863107f740df); -impl std::ops::Deref for ILampArrayEffect { +impl core::ops::Deref for ILampArrayEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index 83ad3ec661..b91f469941 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -59,7 +59,7 @@ pub struct IMidiInPortStatics_Vtbl { pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMidiMessage, IMidiMessage_Vtbl, 0x79767945_1094_4283_9be0_289fc0ee8334); -impl std::ops::Deref for IMidiMessage { +impl core::ops::Deref for IMidiMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -153,7 +153,7 @@ pub struct IMidiNoteOnMessageFactory_Vtbl { pub CreateMidiNoteOnMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMidiOutPort, IMidiOutPort_Vtbl, 0x931d6d9f_57a2_4a3a_adb8_4640886f6693); -impl std::ops::Deref for IMidiOutPort { +impl core::ops::Deref for IMidiOutPort { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index 5c15be9a8d..6e50badbb0 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -357,7 +357,7 @@ pub struct ICashDrawerEventSource_Vtbl { pub RemoveDrawerOpened: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICashDrawerEventSourceEventArgs, ICashDrawerEventSourceEventArgs_Vtbl, 0x69cb3bc1_147f_421c_9c23_090123bb786c); -impl std::ops::Deref for ICashDrawerEventSourceEventArgs { +impl core::ops::Deref for ICashDrawerEventSourceEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -811,7 +811,7 @@ pub struct IClaimedSlipPrinter_Vtbl { pub CreateJob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommonClaimedPosPrinterStation, ICommonClaimedPosPrinterStation_Vtbl, 0xb7eb66a8_fe8a_4cfb_8b42_e35b280cb27c); -impl std::ops::Deref for ICommonClaimedPosPrinterStation { +impl core::ops::Deref for ICommonClaimedPosPrinterStation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -965,7 +965,7 @@ pub struct ICommonClaimedPosPrinterStation_Vtbl { pub ValidateData: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommonPosPrintStationCapabilities, ICommonPosPrintStationCapabilities_Vtbl, 0xde5b52ca_e02e_40e9_9e5e_1b488e6aacfc); -impl std::ops::Deref for ICommonPosPrintStationCapabilities { +impl core::ops::Deref for ICommonPosPrintStationCapabilities { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1090,7 +1090,7 @@ pub struct ICommonPosPrintStationCapabilities_Vtbl { SupportedCharactersPerLine: usize, } windows_core::imp::define_interface!(ICommonReceiptSlipCapabilities, ICommonReceiptSlipCapabilities_Vtbl, 0x09286b8b_9873_4d05_bfbe_4727a6038f69); -impl std::ops::Deref for ICommonReceiptSlipCapabilities { +impl core::ops::Deref for ICommonReceiptSlipCapabilities { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1841,7 +1841,7 @@ pub struct IPosPrinterFontProperty_Vtbl { CharacterSizes: usize, } windows_core::imp::define_interface!(IPosPrinterJob, IPosPrinterJob_Vtbl, 0x9a94005c_0615_4591_a58f_30f87edfe2e4); -impl std::ops::Deref for IPosPrinterJob { +impl core::ops::Deref for IPosPrinterJob { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1962,7 +1962,7 @@ pub struct IPosPrinterStatusUpdatedEventArgs_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReceiptOrSlipJob, IReceiptOrSlipJob_Vtbl, 0x532199be_c8c3_4dc2_89e9_5c4a37b34ddc); -impl std::ops::Deref for IReceiptOrSlipJob { +impl core::ops::Deref for IReceiptOrSlipJob { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs index e71c402ba0..a19d3fe9ac 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IPwmControllerProvider, IPwmControllerProvider_Vtbl, 0x1300593b_e2e3_40a4_b7d9_48dff0377a52); -impl std::ops::Deref for IPwmControllerProvider { +impl core::ops::Deref for IPwmControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -81,7 +81,7 @@ pub struct IPwmControllerProvider_Vtbl { pub SetPulseParameters: unsafe extern "system" fn(*mut core::ffi::c_void, i32, f64, bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPwmProvider, IPwmProvider_Vtbl, 0xa3301228_52f1_47b0_9349_66ba43d25902); -impl std::ops::Deref for IPwmProvider { +impl core::ops::Deref for IPwmProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs index fed7930030..301854d2a1 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -62,7 +62,7 @@ pub struct IImageScannerFeederConfiguration_Vtbl { pub SetScanAhead: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageScannerFormatConfiguration, IImageScannerFormatConfiguration_Vtbl, 0xae275d11_dadf_4010_bf10_cca5c83dcbb0); -impl std::ops::Deref for IImageScannerFormatConfiguration { +impl core::ops::Deref for IImageScannerFormatConfiguration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -130,7 +130,7 @@ pub struct IImageScannerScanResult_Vtbl { ScannedFiles: usize, } windows_core::imp::define_interface!(IImageScannerSourceConfiguration, IImageScannerSourceConfiguration_Vtbl, 0xbfb50055_0b44_4c82_9e89_205f9c234e59); -impl std::ops::Deref for IImageScannerSourceConfiguration { +impl core::ops::Deref for IImageScannerSourceConfiguration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index 64515f8a78..a5d5bd3a53 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -769,7 +769,7 @@ pub struct IHumanPresenceSensor2_Vtbl { pub IsEngagementSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHumanPresenceSensorExtension, IHumanPresenceSensorExtension_Vtbl, 0x3e526a71_2d1d_5d43_8a8e_a434a8242ef0); -impl std::ops::Deref for IHumanPresenceSensorExtension { +impl core::ops::Deref for IHumanPresenceSensorExtension { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1644,7 +1644,7 @@ pub struct IProximitySensorStatics2_Vtbl { GetReadingsFromTriggerDetails: usize, } windows_core::imp::define_interface!(ISensorDataThreshold, ISensorDataThreshold_Vtbl, 0x54daec61_fe4b_4e07_b260_3a4cdfbe396e); -impl std::ops::Deref for ISensorDataThreshold { +impl core::ops::Deref for ISensorDataThreshold { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 29cdce3e74..85c637019f 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -37,7 +37,7 @@ pub struct ISmsAppMessage_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsBinaryMessage, ISmsBinaryMessage_Vtbl, 0x5bf4e813_3b53_4c6e_b61a_d86a63755650); #[cfg(feature = "deprecated")] -impl std::ops::Deref for ISmsBinaryMessage { +impl core::ops::Deref for ISmsBinaryMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -136,7 +136,7 @@ pub struct ISmsBroadcastMessage_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsDevice, ISmsDevice_Vtbl, 0x091791ed_872b_4eec_9c72_ab11627b34ec); #[cfg(feature = "deprecated")] -impl std::ops::Deref for ISmsDevice { +impl core::ops::Deref for ISmsDevice { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -469,7 +469,7 @@ pub struct ISmsFilterRulesFactory_Vtbl { pub CreateFilterRules: unsafe extern "system" fn(*mut core::ffi::c_void, SmsFilterActionType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmsMessage, ISmsMessage_Vtbl, 0xed3c5e28_6984_4b07_811d_8d5906ed3cea); -impl std::ops::Deref for ISmsMessage { +impl core::ops::Deref for ISmsMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -502,7 +502,7 @@ pub struct ISmsMessage_Vtbl { pub MessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsMessageClass) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISmsMessageBase, ISmsMessageBase_Vtbl, 0x2cf0fe30_fe50_4fc6_aa88_4ccfe27a29ea); -impl std::ops::Deref for ISmsMessageBase { +impl core::ops::Deref for ISmsMessageBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -693,7 +693,7 @@ pub struct ISmsStatusMessage_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(ISmsTextMessage, ISmsTextMessage_Vtbl, 0xd61c904c_a495_487f_9a6f_971548c5bc9f); #[cfg(feature = "deprecated")] -impl std::ops::Deref for ISmsTextMessage { +impl core::ops::Deref for ISmsTextMessage { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs index 1fc3e7fe5b..1ab415bd52 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -26,7 +26,7 @@ pub struct IProviderSpiConnectionSettingsFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpiControllerProvider, ISpiControllerProvider_Vtbl, 0xc1686504_02ce_4226_a385_4f11fb04b41b); -impl std::ops::Deref for ISpiControllerProvider { +impl core::ops::Deref for ISpiControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -54,7 +54,7 @@ pub struct ISpiControllerProvider_Vtbl { pub GetDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpiDeviceProvider, ISpiDeviceProvider_Vtbl, 0x0d1c3443_304b_405c_b4f7_f5ab1074461e); -impl std::ops::Deref for ISpiDeviceProvider { +impl core::ops::Deref for ISpiDeviceProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -112,7 +112,7 @@ pub struct ISpiDeviceProvider_Vtbl { pub TransferFullDuplex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpiProvider, ISpiProvider_Vtbl, 0x96b461e2_77d4_48ce_aaa0_75715a8362cf); -impl std::ops::Deref for ISpiProvider { +impl core::ops::Deref for ISpiProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index 9827a93f9e..c6a20a5adc 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -79,7 +79,7 @@ pub struct ISpiDevice_Vtbl { pub TransferFullDuplex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpiDeviceStatics, ISpiDeviceStatics_Vtbl, 0xa278e559_5720_4d3f_bd93_56f5ff5a5879); -impl std::ops::Deref for ISpiDeviceStatics { +impl core::ops::Deref for ISpiDeviceStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index c4b97eac24..a0bfd66fdb 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -57,7 +57,7 @@ pub mod WiFi; #[cfg(feature = "Devices_WiFiDirect")] pub mod WiFiDirect; windows_core::imp::define_interface!(ILowLevelDevicesAggregateProvider, ILowLevelDevicesAggregateProvider_Vtbl, 0xa73e561c_aac1_4ec7_a852_479f7060d01f); -impl std::ops::Deref for ILowLevelDevicesAggregateProvider { +impl core::ops::Deref for ILowLevelDevicesAggregateProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index c5c8e0c19b..72ed4ec1d9 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -3,7 +3,7 @@ pub struct IIterable(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IIterable { +impl core::ops::Deref for IIterable { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -55,7 +55,7 @@ where pub struct IIterator(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IIterator { +impl core::ops::Deref for IIterator { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -128,7 +128,7 @@ pub struct IKeyValuePair(windows_core::IUnknown, core::marker::PhantomData where K: windows_core::RuntimeType + 'static, V: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IKeyValuePair { +impl core::ops::Deref for IKeyValuePair { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -177,7 +177,7 @@ pub struct IMap(windows_core::IUnknown, core::marker::PhantomData, core where K: windows_core::RuntimeType + 'static, V: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IMap { +impl core::ops::Deref for IMap { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -296,7 +296,7 @@ where pub struct IMapChangedEventArgs(windows_core::IUnknown, core::marker::PhantomData) where K: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IMapChangedEventArgs { +impl core::ops::Deref for IMapChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -343,7 +343,7 @@ pub struct IMapView(windows_core::IUnknown, core::marker::PhantomData, where K: windows_core::RuntimeType + 'static, V: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IMapView { +impl core::ops::Deref for IMapView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -435,7 +435,7 @@ pub struct IObservableMap(windows_core::IUnknown, core::marker::PhantomDat where K: windows_core::RuntimeType + 'static, V: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IObservableMap { +impl core::ops::Deref for IObservableMap { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -566,7 +566,7 @@ where pub struct IObservableVector(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IObservableVector { +impl core::ops::Deref for IObservableVector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -710,7 +710,7 @@ where pub T: core::marker::PhantomData, } windows_core::imp::define_interface!(IPropertySet, IPropertySet_Vtbl, 0x8a43ed9f_f4e6_4421_acf9_1dab2986820c); -impl std::ops::Deref for IPropertySet { +impl core::ops::Deref for IPropertySet { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -813,7 +813,7 @@ pub struct IPropertySet_Vtbl { pub struct IVector(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IVector { +impl core::ops::Deref for IVector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -968,7 +968,7 @@ where pub T: core::marker::PhantomData, } windows_core::imp::define_interface!(IVectorChangedEventArgs, IVectorChangedEventArgs_Vtbl, 0x575933df_34fe_4480_af15_07691f3d5d9b); -impl std::ops::Deref for IVectorChangedEventArgs { +impl core::ops::Deref for IVectorChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1005,7 +1005,7 @@ pub struct IVectorChangedEventArgs_Vtbl { pub struct IVectorView(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IVectorView { +impl core::ops::Deref for IVectorView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index 1d100b3c86..e48536454c 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -34,7 +34,7 @@ pub struct IErrorDetailsStatics_Vtbl { pub CreateFromHResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorReportingSettings, IErrorReportingSettings_Vtbl, 0x16369792_b03e_4ba1_8bb8_d28f4ab4d2c0); -impl std::ops::Deref for IErrorReportingSettings { +impl core::ops::Deref for IErrorReportingSettings { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -64,7 +64,7 @@ pub struct IErrorReportingSettings_Vtbl { pub GetErrorOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ErrorOptions) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileLoggingSession, IFileLoggingSession_Vtbl, 0x24c74216_fed2_404c_895f_1f9699cb02f7); -impl std::ops::Deref for IFileLoggingSession { +impl core::ops::Deref for IFileLoggingSession { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -199,7 +199,7 @@ pub struct ILoggingActivityFactory_Vtbl { pub CreateLoggingActivityWithLevel: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void, LoggingLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingChannel, ILoggingChannel_Vtbl, 0xe9a50343_11d7_4f01_b5ca_cf495278c0a8); -impl std::ops::Deref for ILoggingChannel { +impl core::ops::Deref for ILoggingChannel { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -483,7 +483,7 @@ pub struct ILoggingOptionsFactory_Vtbl { pub CreateWithKeywords: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingSession, ILoggingSession_Vtbl, 0x6221f306_9380_4ad7_baf5_41ea9310d768); -impl std::ops::Deref for ILoggingSession { +impl core::ops::Deref for ILoggingSession { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -561,7 +561,7 @@ pub struct ILoggingSessionFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoggingTarget, ILoggingTarget_Vtbl, 0x65f16c35_e388_4e26_b17a_f51cd3a83916); -impl std::ops::Deref for ILoggingTarget { +impl core::ops::Deref for ILoggingTarget { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index a432947fef..dc96cc596b 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -7,7 +7,7 @@ pub mod Metadata; #[cfg(feature = "Foundation_Numerics")] pub mod Numerics; windows_core::imp::define_interface!(IAsyncAction, IAsyncAction_Vtbl, 0x5a648006_843a_4da9_865b_9d26e5dfad7b); -impl std::ops::Deref for IAsyncAction { +impl core::ops::Deref for IAsyncAction { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -110,7 +110,7 @@ pub struct IAsyncAction_Vtbl { pub struct IAsyncActionWithProgress(windows_core::IUnknown, core::marker::PhantomData) where TProgress: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IAsyncActionWithProgress { +impl core::ops::Deref for IAsyncActionWithProgress { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -236,7 +236,7 @@ where pub TProgress: core::marker::PhantomData, } windows_core::imp::define_interface!(IAsyncInfo, IAsyncInfo_Vtbl, 0x00000036_0000_0000_c000_000000000046); -impl std::ops::Deref for IAsyncInfo { +impl core::ops::Deref for IAsyncInfo { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -291,7 +291,7 @@ pub struct IAsyncInfo_Vtbl { pub struct IAsyncOperation(windows_core::IUnknown, core::marker::PhantomData) where TResult: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IAsyncOperation { +impl core::ops::Deref for IAsyncOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -409,7 +409,7 @@ pub struct IAsyncOperationWithProgress(windows_core::IUnknow where TResult: windows_core::RuntimeType + 'static, TProgress: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IAsyncOperationWithProgress { +impl core::ops::Deref for IAsyncOperationWithProgress { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -540,7 +540,7 @@ where pub TProgress: core::marker::PhantomData, } windows_core::imp::define_interface!(IClosable, IClosable_Vtbl, 0x30d5a829_7fa4_4026_83bb_d75bae4ea99e); -impl std::ops::Deref for IClosable { +impl core::ops::Deref for IClosable { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -580,7 +580,7 @@ pub struct IDeferralFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetActivationFactory, IGetActivationFactory_Vtbl, 0x4edb8ee2_96dd_49a7_94f7_4607ddab8e3c); -impl std::ops::Deref for IGetActivationFactory { +impl core::ops::Deref for IGetActivationFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -616,7 +616,7 @@ pub struct IGuidHelperStatics_Vtbl { pub Equals: unsafe extern "system" fn(*mut core::ffi::c_void, &windows_core::GUID, &windows_core::GUID, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemoryBuffer, IMemoryBuffer_Vtbl, 0xfbc4dd2a_245b_11e4_af98_689423260cf8); -impl std::ops::Deref for IMemoryBuffer { +impl core::ops::Deref for IMemoryBuffer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -655,7 +655,7 @@ pub struct IMemoryBufferFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemoryBufferReference, IMemoryBufferReference_Vtbl, 0xfbc4dd29_245b_11e4_af98_689423260cf8); -impl std::ops::Deref for IMemoryBufferReference { +impl core::ops::Deref for IMemoryBufferReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -701,7 +701,7 @@ pub struct IMemoryBufferReference_Vtbl { pub RemoveClosed: unsafe extern "system" fn(*mut core::ffi::c_void, EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyValue, IPropertyValue_Vtbl, 0x4bd682dd_7554_40e9_9a9b_82654ede7e62); -impl std::ops::Deref for IPropertyValue { +impl core::ops::Deref for IPropertyValue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1024,7 +1024,7 @@ pub struct IPropertyValueStatics_Vtbl { pub struct IReference(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IReference { +impl core::ops::Deref for IReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1281,7 +1281,7 @@ where pub struct IReferenceArray(windows_core::IUnknown, core::marker::PhantomData) where T: windows_core::RuntimeType + 'static; -impl std::ops::Deref for IReferenceArray { +impl core::ops::Deref for IReferenceArray { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1534,7 +1534,7 @@ where pub T: core::marker::PhantomData, } windows_core::imp::define_interface!(IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3); -impl std::ops::Deref for IStringable { +impl core::ops::Deref for IStringable { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1614,7 +1614,7 @@ pub struct IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl { pub DisplayIri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWwwFormUrlDecoderEntry, IWwwFormUrlDecoderEntry_Vtbl, 0x125e7431_f678_4e8e_b670_20a9b06c512d); -impl std::ops::Deref for IWwwFormUrlDecoderEntry { +impl core::ops::Deref for IWwwFormUrlDecoderEntry { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs index e4abf328a0..6a674003db 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ICustomGameControllerFactory, ICustomGameControllerFactory_Vtbl, 0x69a0ae5e_758e_4cbe_ace6_62155fe9126f); -impl std::ops::Deref for ICustomGameControllerFactory { +impl core::ops::Deref for ICustomGameControllerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -63,7 +63,7 @@ pub struct IGameControllerFactoryManagerStatics2_Vtbl { pub TryGetFactoryControllerFromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameControllerInputSink, IGameControllerInputSink_Vtbl, 0x1ff6f922_c640_4c78_a820_9a715c558bcb); -impl std::ops::Deref for IGameControllerInputSink { +impl core::ops::Deref for IGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -90,7 +90,7 @@ pub struct IGameControllerInputSink_Vtbl { pub OnInputSuspended: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameControllerProvider, IGameControllerProvider_Vtbl, 0xe6d73982_2996_4559_b16c_3e57d46e58d6); -impl std::ops::Deref for IGameControllerProvider { +impl core::ops::Deref for IGameControllerProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -158,7 +158,7 @@ pub struct IGipFirmwareUpdateResult_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GipFirmwareUpdateStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGipGameControllerInputSink, IGipGameControllerInputSink_Vtbl, 0xa2108abf_09f1_43bc_a140_80f899ec36fb); -impl std::ops::Deref for IGipGameControllerInputSink { +impl core::ops::Deref for IGipGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -208,7 +208,7 @@ pub struct IGipGameControllerProvider_Vtbl { UpdateFirmwareAsync: usize, } windows_core::imp::define_interface!(IHidGameControllerInputSink, IHidGameControllerInputSink_Vtbl, 0xf754c322_182d_40e4_a126_fcee4ffa1e31); -impl std::ops::Deref for IHidGameControllerInputSink { +impl core::ops::Deref for IHidGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -252,7 +252,7 @@ pub struct IHidGameControllerProvider_Vtbl { pub SendOutputReport: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXusbGameControllerInputSink, IXusbGameControllerInputSink_Vtbl, 0xb2ac1d95_6ecb_42b3_8aab_025401ca4712); -impl std::ops::Deref for IXusbGameControllerInputSink { +impl core::ops::Deref for IXusbGameControllerInputSink { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs index 1ee7aca14f..f0febca099 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -37,7 +37,7 @@ pub struct IConstantForceEffect_Vtbl { SetParametersWithEnvelope: usize, } windows_core::imp::define_interface!(IForceFeedbackEffect, IForceFeedbackEffect_Vtbl, 0xa17fba0c_2ae4_48c2_8063_eabd0777cb89); -impl std::ops::Deref for IForceFeedbackEffect { +impl core::ops::Deref for IForceFeedbackEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs index 7c1e4c3b32..d71188bd9e 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs @@ -68,7 +68,7 @@ pub struct IFlightStickStatics_Vtbl { pub FromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameController, IGameController_Vtbl, 0x1baf6522_5f64_42c5_8267_b9fe2215bfbd); -impl std::ops::Deref for IGameController { +impl core::ops::Deref for IGameController { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -165,7 +165,7 @@ pub struct IGameController_Vtbl { User: usize, } windows_core::imp::define_interface!(IGameControllerBatteryInfo, IGameControllerBatteryInfo_Vtbl, 0xdcecc681_3963_4da6_955d_553f3b6f6161); -impl std::ops::Deref for IGameControllerBatteryInfo { +impl core::ops::Deref for IGameControllerBatteryInfo { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } 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 327d1c5e60..7fcae6e32c 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IGameListEntry, IGameListEntry_Vtbl, 0x735924d3_811f_4494_b69c_c641a0c61543); -impl std::ops::Deref for IGameListEntry { +impl core::ops::Deref for IGameListEntry { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index 9478617108..b14fde51bd 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -60,7 +60,7 @@ pub struct IIncrementNumberRounder_Vtbl { pub SetIncrement: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberFormatter, INumberFormatter_Vtbl, 0xa5007c49_7676_4db7_8631_1b6ff265caa9); -impl std::ops::Deref for INumberFormatter { +impl core::ops::Deref for INumberFormatter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -101,7 +101,7 @@ pub struct INumberFormatter_Vtbl { pub FormatDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberFormatter2, INumberFormatter2_Vtbl, 0xd4a8c1f0_80d0_4b0d_a89e_882c1e8f8310); -impl std::ops::Deref for INumberFormatter2 { +impl core::ops::Deref for INumberFormatter2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -142,7 +142,7 @@ pub struct INumberFormatter2_Vtbl { pub FormatDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberFormatterOptions, INumberFormatterOptions_Vtbl, 0x80332d21_aee1_4a39_baa2_07ed8c96daf6); -impl std::ops::Deref for INumberFormatterOptions { +impl core::ops::Deref for INumberFormatterOptions { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -260,7 +260,7 @@ pub struct INumberFormatterOptions_Vtbl { pub ResolvedGeographicRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberParser, INumberParser_Vtbl, 0xe6659412_4a13_4a53_83a1_392fbe4cff9f); -impl std::ops::Deref for INumberParser { +impl core::ops::Deref for INumberParser { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -301,7 +301,7 @@ pub struct INumberParser_Vtbl { pub ParseDouble: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberRounder, INumberRounder_Vtbl, 0x5473c375_38ed_4631_b80c_ef34fc48b7f5); -impl std::ops::Deref for INumberRounder { +impl core::ops::Deref for INumberRounder { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -366,7 +366,7 @@ pub struct INumberRounder_Vtbl { pub RoundDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INumberRounderOption, INumberRounderOption_Vtbl, 0x3b088433_646f_4efe_8d48_66eb2e49e736); -impl std::ops::Deref for INumberRounderOption { +impl core::ops::Deref for INumberRounderOption { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -451,7 +451,7 @@ pub struct IPermilleFormatterFactory_Vtbl { CreatePermilleFormatter: usize, } windows_core::imp::define_interface!(ISignedZeroOption, ISignedZeroOption_Vtbl, 0xfd1cdd31_0a3c_49c4_a642_96a1564f4f30); -impl std::ops::Deref for ISignedZeroOption { +impl core::ops::Deref for ISignedZeroOption { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -493,7 +493,7 @@ pub struct ISignificantDigitsNumberRounder_Vtbl { pub SetSignificantDigits: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISignificantDigitsOption, ISignificantDigitsOption_Vtbl, 0x1d4dfcdd_2d43_4ee8_bbf1_c1b26a711a58); -impl std::ops::Deref for ISignificantDigitsOption { +impl core::ops::Deref for ISignificantDigitsOption { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs index 76d4d9ab20..ff1e460851 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDirect3DDevice, IDirect3DDevice_Vtbl, 0xa37624ab_8d5f_4650_9d3e_9eae3d9bc670); -impl std::ops::Deref for IDirect3DDevice { +impl core::ops::Deref for IDirect3DDevice { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -26,7 +26,7 @@ pub struct IDirect3DDevice_Vtbl { pub Trim: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DSurface, IDirect3DSurface_Vtbl, 0x0bf4a146_13c1_4694_bee3_7abf15eaf586); -impl std::ops::Deref for IDirect3DSurface { +impl core::ops::Deref for IDirect3DSurface { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs index 9f2d9cd1ca..fac9b09cba 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IGraphicsEffect, IGraphicsEffect_Vtbl, 0xcb51c0ce_8fe6_4636_b202_861faa07d8f3); -impl std::ops::Deref for IGraphicsEffect { +impl core::ops::Deref for IGraphicsEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -30,7 +30,7 @@ pub struct IGraphicsEffect_Vtbl { pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGraphicsEffectSource, IGraphicsEffectSource_Vtbl, 0x2d8f9ddc_4339_4eb9_9216_f9deb75658a2); -impl std::ops::Deref for IGraphicsEffectSource { +impl core::ops::Deref for IGraphicsEffectSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index eed5e5400b..05f8655af9 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -154,7 +154,7 @@ pub struct IBitmapEncoderWithSoftwareBitmap_Vtbl { pub SetSoftwareBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBitmapFrame, IBitmapFrame_Vtbl, 0x72a49a1c_8081_438d_91bc_94ecfc8185c6); -impl std::ops::Deref for IBitmapFrame { +impl core::ops::Deref for IBitmapFrame { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -274,7 +274,7 @@ pub struct IBitmapFrame_Vtbl { pub GetPixelDataTransformedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BitmapPixelFormat, BitmapAlphaMode, *mut core::ffi::c_void, ExifOrientationMode, ColorManagementMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBitmapFrameWithSoftwareBitmap, IBitmapFrameWithSoftwareBitmap_Vtbl, 0xfe287c9a_420c_4963_87ad_691436e08383); -impl std::ops::Deref for IBitmapFrameWithSoftwareBitmap { +impl core::ops::Deref for IBitmapFrameWithSoftwareBitmap { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -419,7 +419,7 @@ pub struct IBitmapProperties_Vtbl { SetPropertiesAsync: usize, } windows_core::imp::define_interface!(IBitmapPropertiesView, IBitmapPropertiesView_Vtbl, 0x7e0fe87a_3a70_48f8_9c55_196cf5a545f5); -impl std::ops::Deref for IBitmapPropertiesView { +impl core::ops::Deref for IBitmapPropertiesView { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs index 4a96d1986a..e6b9fbb57d 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -103,7 +103,7 @@ pub struct IPrintCustomItemListOptionDetails3_Vtbl { pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCustomOptionDetails, IPrintCustomOptionDetails_Vtbl, 0xe32bde1c_28af_4b90_95da_a3acf320b929); -impl std::ops::Deref for IPrintCustomOptionDetails { +impl core::ops::Deref for IPrintCustomOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -245,7 +245,7 @@ pub struct IPrintHolePunchOptionDetails_Vtbl { pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintItemListOptionDetails, IPrintItemListOptionDetails_Vtbl, 0x9a2257bf_fe61_43d8_a24f_a3f6ab7320e7); -impl std::ops::Deref for IPrintItemListOptionDetails { +impl core::ops::Deref for IPrintItemListOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -352,7 +352,7 @@ pub struct IPrintMediaTypeOptionDetails_Vtbl { pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintNumberOptionDetails, IPrintNumberOptionDetails_Vtbl, 0x4d01bbaf_645c_4de9_965f_6fc6bbc47cab); -impl std::ops::Deref for IPrintNumberOptionDetails { +impl core::ops::Deref for IPrintNumberOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -439,7 +439,7 @@ pub struct IPrintNumberOptionDetails_Vtbl { pub MaxValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintOptionDetails, IPrintOptionDetails_Vtbl, 0x390686cf_d682_495f_adfe_d7333f5c1808); -impl std::ops::Deref for IPrintOptionDetails { +impl core::ops::Deref for IPrintOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -610,7 +610,7 @@ pub struct IPrintTaskOptionDetailsStatic_Vtbl { pub GetFromPrintTaskOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTextOptionDetails, IPrintTextOptionDetails_Vtbl, 0xad75e563_5ce4_46bc_9918_ab9fad144c5b); -impl std::ops::Deref for IPrintTextOptionDetails { +impl core::ops::Deref for IPrintTextOptionDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index 49e5a863e4..7df644cd25 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -7,7 +7,7 @@ pub mod PrintTicket; #[cfg(feature = "Graphics_Printing_Workflow")] pub mod Workflow; windows_core::imp::define_interface!(IPrintDocumentSource, IPrintDocumentSource_Vtbl, 0xdedc0c30_f1eb_47df_aae6_ed5427511f01); -impl std::ops::Deref for IPrintDocumentSource { +impl core::ops::Deref for IPrintDocumentSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -172,7 +172,7 @@ pub struct IPrintTaskOptions2_Vtbl { CustomPageRanges: usize, } windows_core::imp::define_interface!(IPrintTaskOptionsCore, IPrintTaskOptionsCore_Vtbl, 0x1bdbb474_4ed1_41eb_be3c_72d18ed67337); -impl std::ops::Deref for IPrintTaskOptionsCore { +impl core::ops::Deref for IPrintTaskOptionsCore { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -197,7 +197,7 @@ pub struct IPrintTaskOptionsCore_Vtbl { pub GetPageDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut PrintPageDescription) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskOptionsCoreProperties, IPrintTaskOptionsCoreProperties_Vtbl, 0xc1b71832_9e93_4e55_814b_3326a59efce1); -impl std::ops::Deref for IPrintTaskOptionsCoreProperties { +impl core::ops::Deref for IPrintTaskOptionsCoreProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -373,7 +373,7 @@ pub struct IPrintTaskOptionsCoreProperties_Vtbl { pub NumberOfCopies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskOptionsCoreUIConfiguration, IPrintTaskOptionsCoreUIConfiguration_Vtbl, 0x62e69e23_9a1e_4336_b74f_3cc7f4cff709); -impl std::ops::Deref for IPrintTaskOptionsCoreUIConfiguration { +impl core::ops::Deref for IPrintTaskOptionsCoreUIConfiguration { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Graphics/mod.rs b/crates/libs/windows/src/Windows/Graphics/mod.rs index d6e121143f..7998f99915 100644 --- a/crates/libs/windows/src/Windows/Graphics/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/mod.rs @@ -15,7 +15,7 @@ pub mod Printing; #[cfg(feature = "Graphics_Printing3D")] pub mod Printing3D; windows_core::imp::define_interface!(IGeometrySource2D, IGeometrySource2D_Vtbl, 0xcaff7902_670c_4181_a624_da977203b845); -impl std::ops::Deref for IGeometrySource2D { +impl core::ops::Deref for IGeometrySource2D { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index 8d48a22536..f29fa07a7c 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -302,7 +302,7 @@ pub struct IAudioGraphUnrecoverableErrorOccurredEventArgs_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioGraphUnrecoverableError) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioInputNode, IAudioInputNode_Vtbl, 0xd148005c_8428_4784_b7fd_a99d468c5d20); -impl std::ops::Deref for IAudioInputNode { +impl core::ops::Deref for IAudioInputNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -426,7 +426,7 @@ pub struct IAudioInputNode_Vtbl { pub RemoveOutgoingConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioInputNode2, IAudioInputNode2_Vtbl, 0x905156b7_ca68_4c6d_a8bc_e3ee17fe3fd2); -impl std::ops::Deref for IAudioInputNode2 { +impl core::ops::Deref for IAudioInputNode2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -551,7 +551,7 @@ pub struct IAudioInputNode2_Vtbl { pub Emitter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioNode, IAudioNode_Vtbl, 0x15389d7f_dbd8_4819_bf03_668e9357cd6d); -impl std::ops::Deref for IAudioNode { +impl core::ops::Deref for IAudioNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -819,7 +819,7 @@ pub struct IAudioNodeListener_Vtbl { SetDopplerVelocity: usize, } windows_core::imp::define_interface!(IAudioNodeWithListener, IAudioNodeWithListener_Vtbl, 0x0e0f907c_79ff_4544_9eeb_01257b15105a); -impl std::ops::Deref for IAudioNodeWithListener { +impl core::ops::Deref for IAudioNodeWithListener { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 17c6cd8c6d..473e254648 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -407,7 +407,7 @@ pub struct IMediaBindingEventArgs3_Vtbl { SetDownloadOperation: usize, } windows_core::imp::define_interface!(IMediaCue, IMediaCue_Vtbl, 0xc7d15e5d_59dc_431f_a0ee_27744323b36d); -impl std::ops::Deref for IMediaCue { +impl core::ops::Deref for IMediaCue { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -472,7 +472,7 @@ pub struct IMediaCueEventArgs_Vtbl { pub Cue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaSource, IMediaSource_Vtbl, 0xe7bfb599_a09d_4c21_bcdf_20af4f86b3d9); -impl std::ops::Deref for IMediaSource { +impl core::ops::Deref for IMediaSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -664,7 +664,7 @@ pub struct IMediaSourceStatics4_Vtbl { CreateFromDownloadOperation: usize, } windows_core::imp::define_interface!(IMediaStreamDescriptor, IMediaStreamDescriptor_Vtbl, 0x80f16e6e_92f7_451e_97d2_afd80742da70); -impl std::ops::Deref for IMediaStreamDescriptor { +impl core::ops::Deref for IMediaStreamDescriptor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -715,7 +715,7 @@ pub struct IMediaStreamDescriptor_Vtbl { pub Language: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaStreamDescriptor2, IMediaStreamDescriptor2_Vtbl, 0x5073010f_e8b2_4071_b00b_ebf337a76b58); -impl std::ops::Deref for IMediaStreamDescriptor2 { +impl core::ops::Deref for IMediaStreamDescriptor2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1065,7 +1065,7 @@ pub struct IMediaStreamSourceSwitchStreamsRequestedEventArgs_Vtbl { pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaTrack, IMediaTrack_Vtbl, 0x03e1fafc_c931_491a_b46b_c10ee8c256b7); -impl std::ops::Deref for IMediaTrack { +impl core::ops::Deref for IMediaTrack { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1265,7 +1265,7 @@ pub struct ISceneAnalyzedEventArgs_Vtbl { pub ResultFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISingleSelectMediaTrackList, ISingleSelectMediaTrackList_Vtbl, 0x77206f1f_c34f_494f_8077_2bad9ff4ecf1); -impl std::ops::Deref for ISingleSelectMediaTrackList { +impl core::ops::Deref for ISingleSelectMediaTrackList { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1417,7 +1417,7 @@ pub struct ITimedMetadataTrackFailedEventArgs_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimedMetadataTrackProvider, ITimedMetadataTrackProvider_Vtbl, 0x3b7f2024_f74e_4ade_93c5_219da05b6856); -impl std::ops::Deref for ITimedMetadataTrackProvider { +impl core::ops::Deref for ITimedMetadataTrackProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index 742f21b9e3..e61807ea8e 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -290,7 +290,7 @@ pub struct ICameraOcclusionStateChangedEventArgs_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDefaultAudioDeviceChangedEventArgs, IDefaultAudioDeviceChangedEventArgs_Vtbl, 0x110f882f_1c05_4657_a18e_47c9b69f07ab); -impl std::ops::Deref for IDefaultAudioDeviceChangedEventArgs { +impl core::ops::Deref for IDefaultAudioDeviceChangedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -692,7 +692,7 @@ pub struct IMediaDeviceControlCapabilities_Vtbl { pub AutoModeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaDeviceController, IMediaDeviceController_Vtbl, 0xf6f8f5ce_209a_48fb_86fc_d44578f317e6); -impl std::ops::Deref for IMediaDeviceController { +impl core::ops::Deref for IMediaDeviceController { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index 52fc9cd01a..ff0d05841a 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -22,7 +22,7 @@ pub struct IAudioEffect_Vtbl { pub AudioEffectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioEffectType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEffectDefinition, IAudioEffectDefinition_Vtbl, 0xe4d7f974_7d80_4f73_9089_e31c9db9c294); -impl std::ops::Deref for IAudioEffectDefinition { +impl core::ops::Deref for IAudioEffectDefinition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -133,7 +133,7 @@ pub struct IAudioRenderEffectsManager2_Vtbl { ShowSettingsUI: usize, } windows_core::imp::define_interface!(IBasicAudioEffect, IBasicAudioEffect_Vtbl, 0x8c062c53_6bc0_48b8_a99a_4b41550f1359); -impl std::ops::Deref for IBasicAudioEffect { +impl core::ops::Deref for IBasicAudioEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -209,7 +209,7 @@ pub struct IBasicAudioEffect_Vtbl { pub DiscardQueuedFrames: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBasicVideoEffect, IBasicVideoEffect_Vtbl, 0x8262c7ef_b360_40be_949b_2ff42ff35693); -impl std::ops::Deref for IBasicVideoEffect { +impl core::ops::Deref for IBasicVideoEffect { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -350,7 +350,7 @@ pub struct ISlowMotionEffectDefinition_Vtbl { pub SetTimeStretchRate: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoCompositor, IVideoCompositor_Vtbl, 0x8510b43e_420c_420f_96c7_7c98bba1fc55); -impl std::ops::Deref for IVideoCompositor { +impl core::ops::Deref for IVideoCompositor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -415,7 +415,7 @@ pub struct IVideoCompositor_Vtbl { pub DiscardQueuedFrames: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoCompositorDefinition, IVideoCompositorDefinition_Vtbl, 0x7946b8d0_2010_4ae3_9ab2_2cef42edd4d2); -impl std::ops::Deref for IVideoCompositorDefinition { +impl core::ops::Deref for IVideoCompositorDefinition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -465,7 +465,7 @@ pub struct IVideoCompositorDefinitionFactory_Vtbl { CreateWithProperties: usize, } windows_core::imp::define_interface!(IVideoEffectDefinition, IVideoEffectDefinition_Vtbl, 0x39f38cf0_8d0f_4f3e_84fc_2d46a5297943); -impl std::ops::Deref for IVideoEffectDefinition { +impl core::ops::Deref for IVideoEffectDefinition { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index f62513d21b..0ebeda32af 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -308,7 +308,7 @@ pub struct IMediaEncodingProfileStatics4_Vtbl { pub CreateAv1: unsafe extern "system" fn(*mut core::ffi::c_void, VideoEncodingQuality, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEncodingProperties, IMediaEncodingProperties_Vtbl, 0xb4002af6_acd4_4e5a_a24b_5d7498a8b8c4); -impl std::ops::Deref for IMediaEncodingProperties { +impl core::ops::Deref for IMediaEncodingProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index 4fe369ea0e..443d6e2bf5 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -176,7 +176,7 @@ pub struct IMediaBreakStartedEventArgs_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(IMediaEnginePlaybackSource, IMediaEnginePlaybackSource_Vtbl, 0x5c1d0ba7_3856_48b9_8dc6_244bf107bf8c); #[cfg(feature = "deprecated")] -impl std::ops::Deref for IMediaEnginePlaybackSource { +impl core::ops::Deref for IMediaEnginePlaybackSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -723,7 +723,7 @@ pub struct IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl { pub VideoConstrictionReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlaybackSessionVideoConstrictionReason) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaPlaybackSource, IMediaPlaybackSource_Vtbl, 0xef9dc2bc_9317_4696_b051_2bad643177b5); -impl std::ops::Deref for IMediaPlaybackSource { +impl core::ops::Deref for IMediaPlaybackSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs index 511d961b9e..1860d0f76c 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -83,7 +83,7 @@ pub struct INDClientFactory_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDClosedCaptionDataReceivedEventArgs, INDClosedCaptionDataReceivedEventArgs_Vtbl, 0x4738d29f_c345_4649_8468_b8c5fc357190); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDClosedCaptionDataReceivedEventArgs { +impl core::ops::Deref for INDClosedCaptionDataReceivedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -142,7 +142,7 @@ pub struct INDClosedCaptionDataReceivedEventArgs_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDCustomData, INDCustomData_Vtbl, 0xf5cb0fdc_2d09_4f19_b5e1_76a0b3ee9267); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDCustomData { +impl core::ops::Deref for INDCustomData { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -204,7 +204,7 @@ pub struct INDCustomDataFactory_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDDownloadEngine, INDDownloadEngine_Vtbl, 0x2d223d65_c4b6_4438_8d46_b96e6d0fb21f); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDDownloadEngine { +impl core::ops::Deref for INDDownloadEngine { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -323,7 +323,7 @@ pub struct INDDownloadEngine_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDDownloadEngineNotifier, INDDownloadEngineNotifier_Vtbl, 0xd720b4d4_f4b8_4530_a809_9193a571e7fc); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDDownloadEngineNotifier { +impl core::ops::Deref for INDDownloadEngineNotifier { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -403,7 +403,7 @@ pub struct INDDownloadEngineNotifier_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDLicenseFetchCompletedEventArgs, INDLicenseFetchCompletedEventArgs_Vtbl, 0x1ee30a1a_11b2_4558_8865_e3a516922517); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDLicenseFetchCompletedEventArgs { +impl core::ops::Deref for INDLicenseFetchCompletedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -438,7 +438,7 @@ pub struct INDLicenseFetchCompletedEventArgs_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDLicenseFetchDescriptor, INDLicenseFetchDescriptor_Vtbl, 0x5498d33a_e686_4935_a567_7ca77ad20fa4); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDLicenseFetchDescriptor { +impl core::ops::Deref for INDLicenseFetchDescriptor { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -524,7 +524,7 @@ pub struct INDLicenseFetchDescriptorFactory_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDLicenseFetchResult, INDLicenseFetchResult_Vtbl, 0x21d39698_aa62_45ff_a5ff_8037e5433825); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDLicenseFetchResult { +impl core::ops::Deref for INDLicenseFetchResult { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -559,7 +559,7 @@ pub struct INDLicenseFetchResult_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDMessenger, INDMessenger_Vtbl, 0xd42df95d_a75b_47bf_8249_bc83820da38a); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDMessenger { +impl core::ops::Deref for INDMessenger { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -630,7 +630,7 @@ pub struct INDMessenger_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDProximityDetectionCompletedEventArgs, INDProximityDetectionCompletedEventArgs_Vtbl, 0x2a706328_da25_4f8c_9eb7_5d0fc3658bca); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDProximityDetectionCompletedEventArgs { +impl core::ops::Deref for INDProximityDetectionCompletedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -665,7 +665,7 @@ pub struct INDProximityDetectionCompletedEventArgs_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDRegistrationCompletedEventArgs, INDRegistrationCompletedEventArgs_Vtbl, 0x9e39b64d_ab5b_4905_acdc_787a77c6374d); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDRegistrationCompletedEventArgs { +impl core::ops::Deref for INDRegistrationCompletedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -733,7 +733,7 @@ pub struct INDRegistrationCompletedEventArgs_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDSendResult, INDSendResult_Vtbl, 0xe3685517_a584_479d_90b7_d689c7bf7c80); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDSendResult { +impl core::ops::Deref for INDSendResult { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -768,7 +768,7 @@ pub struct INDSendResult_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDStartResult, INDStartResult_Vtbl, 0x79f6e96e_f50f_4015_8ba4_c2bc344ebd4e); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDStartResult { +impl core::ops::Deref for INDStartResult { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -803,7 +803,7 @@ pub struct INDStartResult_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDStorageFileHelper, INDStorageFileHelper_Vtbl, 0xd8f0bef8_91d2_4d47_a3f9_eaff4edb729f); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDStorageFileHelper { +impl core::ops::Deref for INDStorageFileHelper { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -841,7 +841,7 @@ pub struct INDStorageFileHelper_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDStreamParser, INDStreamParser_Vtbl, 0xe0baa198_9796_41c9_8695_59437e67e66a); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDStreamParser { +impl core::ops::Deref for INDStreamParser { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -918,7 +918,7 @@ pub struct INDStreamParser_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDStreamParserNotifier, INDStreamParserNotifier_Vtbl, 0xc167acd0_2ce6_426c_ace5_5e9275fea715); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDStreamParserNotifier { +impl core::ops::Deref for INDStreamParserNotifier { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1005,7 +1005,7 @@ pub struct INDTCPMessengerFactory_Vtbl { #[cfg(feature = "deprecated")] windows_core::imp::define_interface!(INDTransmitterProperties, INDTransmitterProperties_Vtbl, 0xe536af23_ac4f_4adc_8c66_4ff7c2702dd6); #[cfg(feature = "deprecated")] -impl std::ops::Deref for INDTransmitterProperties { +impl core::ops::Deref for INDTransmitterProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1215,7 +1215,7 @@ pub struct IPlayReadyContentResolver_Vtbl { pub ServiceRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyDomain, IPlayReadyDomain_Vtbl, 0xadcc93ac_97e6_43ef_95e4_d7868f3b16a9); -impl std::ops::Deref for IPlayReadyDomain { +impl core::ops::Deref for IPlayReadyDomain { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1330,7 +1330,7 @@ pub struct IPlayReadyIndividualizationServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } windows_core::imp::define_interface!(IPlayReadyLicense, IPlayReadyLicense_Vtbl, 0xee474c4e_fa3c_414d_a9f2_3ffc1ef832d4); -impl std::ops::Deref for IPlayReadyLicense { +impl core::ops::Deref for IPlayReadyLicense { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1415,7 +1415,7 @@ pub struct IPlayReadyLicense2_Vtbl { pub ExpiresInRealTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyLicenseAcquisitionServiceRequest, IPlayReadyLicenseAcquisitionServiceRequest_Vtbl, 0x5d85ff45_3e9f_4f48_93e1_9530c8d58c3e); -impl std::ops::Deref for IPlayReadyLicenseAcquisitionServiceRequest { +impl core::ops::Deref for IPlayReadyLicenseAcquisitionServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1578,7 +1578,7 @@ pub struct IPlayReadyLicenseManagement_Vtbl { pub DeleteLicenses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyLicenseSession, IPlayReadyLicenseSession_Vtbl, 0xa1723a39_87fa_4fdd_abbb_a9720e845259); -impl std::ops::Deref for IPlayReadyLicenseSession { +impl core::ops::Deref for IPlayReadyLicenseSession { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1611,7 +1611,7 @@ pub struct IPlayReadyLicenseSession_Vtbl { pub ConfigureMediaProtectionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyLicenseSession2, IPlayReadyLicenseSession2_Vtbl, 0x4909be3a_3aed_4656_8ad7_ee0fd7799510); -impl std::ops::Deref for IPlayReadyLicenseSession2 { +impl core::ops::Deref for IPlayReadyLicenseSession2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1700,7 +1700,7 @@ pub struct IPlayReadySecureStopIterableFactory_Vtbl { CreateInstance: usize, } windows_core::imp::define_interface!(IPlayReadySecureStopServiceRequest, IPlayReadySecureStopServiceRequest_Vtbl, 0xb5501ee5_01bf_4401_9677_05630a6a4cc8); -impl std::ops::Deref for IPlayReadySecureStopServiceRequest { +impl core::ops::Deref for IPlayReadySecureStopServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1842,7 +1842,7 @@ pub struct IPlayReadySecureStopServiceRequestFactory_Vtbl { pub CreateInstanceFromSessionID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayReadyServiceRequest, IPlayReadyServiceRequest_Vtbl, 0x8bad2836_a703_45a6_a180_76f3565aa725); -impl std::ops::Deref for IPlayReadyServiceRequest { +impl core::ops::Deref for IPlayReadyServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index f37a5c6b48..4b1f7cdb8e 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -84,7 +84,7 @@ pub struct IMediaProtectionServiceCompletion_Vtbl { pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaProtectionServiceRequest, IMediaProtectionServiceRequest_Vtbl, 0xb1de0ea6_2094_478d_87a4_8b95200f85c6); -impl std::ops::Deref for IMediaProtectionServiceRequest { +impl core::ops::Deref for IMediaProtectionServiceRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index 76be870b28..c48aa05737 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -46,7 +46,7 @@ pub struct ISpeechRecognitionCompilationResult_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionResultStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpeechRecognitionConstraint, ISpeechRecognitionConstraint_Vtbl, 0x79ac1628_4d68_43c4_8911_40dc4101b55b); -impl std::ops::Deref for ISpeechRecognitionConstraint { +impl core::ops::Deref for ISpeechRecognitionConstraint { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 5e126c3dab..4867920af2 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -246,7 +246,7 @@ pub struct IMediaControl_Vtbl { AlbumArt: usize, } windows_core::imp::define_interface!(IMediaExtension, IMediaExtension_Vtbl, 0x07915118_45df_442b_8a3f_f7826a6370ab); -impl std::ops::Deref for IMediaExtension { +impl core::ops::Deref for IMediaExtension { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -325,7 +325,7 @@ pub struct IMediaExtensionManager2_Vtbl { RegisterMediaExtensionForAppService: usize, } windows_core::imp::define_interface!(IMediaFrame, IMediaFrame_Vtbl, 0xbfb52f8c_5943_47d8_8e10_05308aa5fbd0); -impl std::ops::Deref for IMediaFrame { +impl core::ops::Deref for IMediaFrame { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -436,7 +436,7 @@ pub struct IMediaFrame_Vtbl { ExtendedProperties: usize, } windows_core::imp::define_interface!(IMediaMarker, IMediaMarker_Vtbl, 0x1803def8_dca5_4b6f_9c20_e3d3c0643625); -impl std::ops::Deref for IMediaMarker { +impl core::ops::Deref for IMediaMarker { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -486,7 +486,7 @@ pub struct IMediaMarkerTypesStatics_Vtbl { pub Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaMarkers, IMediaMarkers_Vtbl, 0xafeab189_f8dd_466e_aa10_920b52353fdf); -impl std::ops::Deref for IMediaMarkers { +impl core::ops::Deref for IMediaMarkers { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 87f1afbb79..45e07418b1 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -122,7 +122,7 @@ pub struct IBackgroundDownloaderUserConsent_Vtbl { RequestUnconstrainedDownloadsAsync: usize, } windows_core::imp::define_interface!(IBackgroundTransferBase, IBackgroundTransferBase_Vtbl, 0x2a9da250_c769_458c_afe8_feb8d4d3b2ef); -impl std::ops::Deref for IBackgroundTransferBase { +impl core::ops::Deref for IBackgroundTransferBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -283,7 +283,7 @@ pub struct IBackgroundTransferContentPart_Vtbl { SetFile: usize, } windows_core::imp::define_interface!(IBackgroundTransferContentPartFactory, IBackgroundTransferContentPartFactory_Vtbl, 0x90ef98a9_7a01_4a0b_9f80_a0b0bb370f8d); -impl std::ops::Deref for IBackgroundTransferContentPartFactory { +impl core::ops::Deref for IBackgroundTransferContentPartFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -348,7 +348,7 @@ pub struct IBackgroundTransferGroupStatics_Vtbl { pub CreateGroup: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTransferOperation, IBackgroundTransferOperation_Vtbl, 0xded06846_90ca_44fb_8fb1_124154c0d539); -impl std::ops::Deref for IBackgroundTransferOperation { +impl core::ops::Deref for IBackgroundTransferOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -434,7 +434,7 @@ pub struct IBackgroundTransferOperation_Vtbl { pub GetResponseInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundTransferOperationPriority, IBackgroundTransferOperationPriority_Vtbl, 0x04854327_5254_4b3a_915e_0aa49275c0f9); -impl std::ops::Deref for IBackgroundTransferOperationPriority { +impl core::ops::Deref for IBackgroundTransferOperationPriority { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 97c196ba3a..9d49679b11 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -33,7 +33,7 @@ pub struct IControlChannelTrigger2_Vtbl { pub IsWakeFromLowPowerSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IControlChannelTriggerEventDetails, IControlChannelTriggerEventDetails_Vtbl, 0x1b36e047_89bb_4236_96ac_71d012bb4869); -impl std::ops::Deref for IControlChannelTriggerEventDetails { +impl core::ops::Deref for IControlChannelTriggerEventDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -68,7 +68,7 @@ pub struct IControlChannelTriggerFactory_Vtbl { pub CreateControlChannelTriggerEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, ControlChannelTriggerResourceType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IControlChannelTriggerResetEventDetails, IControlChannelTriggerResetEventDetails_Vtbl, 0x6851038e_8ec4_42fe_9bb2_21e91b7bfcb1); -impl std::ops::Deref for IControlChannelTriggerResetEventDetails { +impl core::ops::Deref for IControlChannelTriggerResetEventDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -785,7 +785,7 @@ pub struct IStreamWebSocketControl2_Vtbl { SetClientCertificate: usize, } windows_core::imp::define_interface!(IWebSocket, IWebSocket_Vtbl, 0xf877396f_99b1_4e18_bc08_850c9adf156e); -impl std::ops::Deref for IWebSocket { +impl core::ops::Deref for IWebSocket { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -866,7 +866,7 @@ pub struct IWebSocketClosedEventArgs_Vtbl { pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebSocketControl, IWebSocketControl_Vtbl, 0x2ec4bdc3_d9a5_455a_9811_de24d45337e9); -impl std::ops::Deref for IWebSocketControl { +impl core::ops::Deref for IWebSocketControl { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -956,7 +956,7 @@ pub struct IWebSocketControl_Vtbl { SupportedProtocols: usize, } windows_core::imp::define_interface!(IWebSocketControl2, IWebSocketControl2_Vtbl, 0x79c3be03_f2ca_461e_af4e_9665bc2d0620); -impl std::ops::Deref for IWebSocketControl2 { +impl core::ops::Deref for IWebSocketControl2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1049,7 +1049,7 @@ pub struct IWebSocketErrorStatics_Vtbl { GetStatus: usize, } windows_core::imp::define_interface!(IWebSocketInformation, IWebSocketInformation_Vtbl, 0x5e01e316_c92a_47a5_b25f_07847639d181); -impl std::ops::Deref for IWebSocketInformation { +impl core::ops::Deref for IWebSocketInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1090,7 +1090,7 @@ pub struct IWebSocketInformation_Vtbl { pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebSocketInformation2, IWebSocketInformation2_Vtbl, 0xce1d39ce_a1b7_4d43_8269_8d5b981bd47a); -impl std::ops::Deref for IWebSocketInformation2 { +impl core::ops::Deref for IWebSocketInformation2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index 0b7755fe87..72efd8deac 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -176,7 +176,7 @@ pub struct IVpnChannelConfiguration2_Vtbl { ServerUris: usize, } windows_core::imp::define_interface!(IVpnChannelStatics, IVpnChannelStatics_Vtbl, 0x88eb062d_e818_4ffd_98a6_363e3736c95d); -impl std::ops::Deref for IVpnChannelStatics { +impl core::ops::Deref for IVpnChannelStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -202,7 +202,7 @@ pub struct IVpnChannelStatics_Vtbl { pub ProcessEventAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnCredential, IVpnCredential_Vtbl, 0xb7e78af3_a46d_404b_8729_1832522853ac); -impl std::ops::Deref for IVpnCredential { +impl core::ops::Deref for IVpnCredential { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -312,7 +312,7 @@ pub struct IVpnCustomErrorBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } windows_core::imp::define_interface!(IVpnCustomPrompt, IVpnCustomPrompt_Vtbl, 0x9b2ebe7b_87d5_433c_b4f6_eee6aa68a244); -impl std::ops::Deref for IVpnCustomPrompt { +impl core::ops::Deref for IVpnCustomPrompt { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -379,7 +379,7 @@ pub struct IVpnCustomPromptBooleanInput_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnCustomPromptElement, IVpnCustomPromptElement_Vtbl, 0x73bd5638_6f04_404d_93dd_50a44924a38b); -impl std::ops::Deref for IVpnCustomPromptElement { +impl core::ops::Deref for IVpnCustomPromptElement { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -527,7 +527,7 @@ pub struct IVpnDomainNameInfo2_Vtbl { WebProxyUris: usize, } windows_core::imp::define_interface!(IVpnDomainNameInfoFactory, IVpnDomainNameInfoFactory_Vtbl, 0x2507bb75_028f_4688_8d3a_c4531df37da8); -impl std::ops::Deref for IVpnDomainNameInfoFactory { +impl core::ops::Deref for IVpnDomainNameInfoFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -595,7 +595,7 @@ pub struct IVpnInterfaceId_Vtbl { pub GetAddressInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnInterfaceIdFactory, IVpnInterfaceIdFactory_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d1000); -impl std::ops::Deref for IVpnInterfaceIdFactory { +impl core::ops::Deref for IVpnInterfaceIdFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -687,7 +687,7 @@ pub struct IVpnNamespaceInfo_Vtbl { WebProxyServers: usize, } windows_core::imp::define_interface!(IVpnNamespaceInfoFactory, IVpnNamespaceInfoFactory_Vtbl, 0xcb3e951a_b0ce_442b_acbb_5f99b202c31c); -impl std::ops::Deref for IVpnNamespaceInfoFactory { +impl core::ops::Deref for IVpnNamespaceInfoFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -788,7 +788,7 @@ pub struct IVpnPacketBuffer3_Vtbl { pub TransportContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnPacketBufferFactory, IVpnPacketBufferFactory_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d9999); -impl std::ops::Deref for IVpnPacketBufferFactory { +impl core::ops::Deref for IVpnPacketBufferFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -861,7 +861,7 @@ pub struct IVpnPickedCredential_Vtbl { OldPasswordCredential: usize, } windows_core::imp::define_interface!(IVpnPlugIn, IVpnPlugIn_Vtbl, 0xceb78d07_d0a8_4703_a091_c8c2c0915bc4); -impl std::ops::Deref for IVpnPlugIn { +impl core::ops::Deref for IVpnPlugIn { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -950,7 +950,7 @@ pub struct IVpnPlugInProfile2_Vtbl { pub ConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnManagementConnectionStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnProfile, IVpnProfile_Vtbl, 0x7875b751_b0d7_43db_8a93_d3fe2479e56a); -impl std::ops::Deref for IVpnProfile { +impl core::ops::Deref for IVpnProfile { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1108,7 +1108,7 @@ pub struct IVpnRouteAssignment_Vtbl { pub ExcludeLocalSubnets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVpnRouteFactory, IVpnRouteFactory_Vtbl, 0xbdeab5ff_45cf_4b99_83fb_db3bc2672b02); -impl std::ops::Deref for IVpnRouteFactory { +impl core::ops::Deref for IVpnRouteFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs index 651883e2ae..3a942d569b 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs @@ -107,7 +107,7 @@ pub struct IAccessoryManager3_Vtbl { pub DismissReminderByInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessoryNotificationTriggerDetails, IAccessoryNotificationTriggerDetails_Vtbl, 0x6968a7d4_e3ca_49cb_8c87_2c11cdff9646); -impl std::ops::Deref for IAccessoryNotificationTriggerDetails { +impl core::ops::Deref for IAccessoryNotificationTriggerDetails { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index 1cf1a22c93..680b6fba09 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -31,7 +31,7 @@ pub struct IContactChangeRecord_Vtbl { pub RemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactInformation, IContactInformation_Vtbl, 0xe2b51ffc_e792_4ab7_b15b_f2e078664dea); -impl std::ops::Deref for IContactInformation { +impl core::ops::Deref for IContactInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -188,7 +188,7 @@ pub struct IContactInformation_Vtbl { ToVcardWithOptionsAsync: usize, } windows_core::imp::define_interface!(IContactInformation2, IContactInformation2_Vtbl, 0x3198b20c_621e_4668_ac38_d667b87d06d5); -impl std::ops::Deref for IContactInformation2 { +impl core::ops::Deref for IContactInformation2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index 054178f478..e601f04809 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -47,7 +47,7 @@ pub struct IDualSimTileStatics_Vtbl { CreateToastNotifierForSim2: usize, } windows_core::imp::define_interface!(IToastNotificationManagerStatics3, IToastNotificationManagerStatics3_Vtbl, 0x2717f54b_50df_4455_8e6e_41e0fc8e13ce); -impl std::ops::Deref for IToastNotificationManagerStatics3 { +impl core::ops::Deref for IToastNotificationManagerStatics3 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs index 2361d58e16..d939c15dfe 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/mod.rs @@ -147,7 +147,7 @@ pub struct IWebAccountProviderAddAccountOperation_Vtbl { pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProviderBaseReportOperation, IWebAccountProviderBaseReportOperation_Vtbl, 0xbba4acbb_993b_4d57_bbe4_1421e3668b4c); -impl std::ops::Deref for IWebAccountProviderBaseReportOperation { +impl core::ops::Deref for IWebAccountProviderBaseReportOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -206,7 +206,7 @@ pub struct IWebAccountProviderManageAccountOperation_Vtbl { pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProviderOperation, IWebAccountProviderOperation_Vtbl, 0x6d5d2426_10b1_419a_a44e_f9c5161574e6); -impl std::ops::Deref for IWebAccountProviderOperation { +impl core::ops::Deref for IWebAccountProviderOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -261,7 +261,7 @@ pub struct IWebAccountProviderSignOutAccountOperation_Vtbl { pub ClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProviderSilentReportOperation, IWebAccountProviderSilentReportOperation_Vtbl, 0xe0b545f8_3b0f_44da_924c_7b18baaa62a9); -impl std::ops::Deref for IWebAccountProviderSilentReportOperation { +impl core::ops::Deref for IWebAccountProviderSilentReportOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -308,7 +308,7 @@ pub struct IWebAccountProviderSilentReportOperation_Vtbl { ReportUserInteractionRequiredWithError: usize, } windows_core::imp::define_interface!(IWebAccountProviderTokenObjects, IWebAccountProviderTokenObjects_Vtbl, 0x408f284b_1328_42db_89a4_0bce7a717d8e); -impl std::ops::Deref for IWebAccountProviderTokenObjects { +impl core::ops::Deref for IWebAccountProviderTokenObjects { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -333,7 +333,7 @@ pub struct IWebAccountProviderTokenObjects_Vtbl { pub Operation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProviderTokenObjects2, IWebAccountProviderTokenObjects2_Vtbl, 0x1020b893_5ca5_4fff_95fb_b820273fc395); -impl std::ops::Deref for IWebAccountProviderTokenObjects2 { +impl core::ops::Deref for IWebAccountProviderTokenObjects2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -370,7 +370,7 @@ pub struct IWebAccountProviderTokenObjects2_Vtbl { User: usize, } windows_core::imp::define_interface!(IWebAccountProviderTokenOperation, IWebAccountProviderTokenOperation_Vtbl, 0x95c613be_2034_4c38_9434_d26c14b2b4b2); -impl std::ops::Deref for IWebAccountProviderTokenOperation { +impl core::ops::Deref for IWebAccountProviderTokenOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -428,7 +428,7 @@ pub struct IWebAccountProviderTokenOperation_Vtbl { pub CacheExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAccountProviderUIReportOperation, IWebAccountProviderUIReportOperation_Vtbl, 0x28ff92d3_8f80_42fb_944f_b2107bbd42e6); -impl std::ops::Deref for IWebAccountProviderUIReportOperation { +impl core::ops::Deref for IWebAccountProviderUIReportOperation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index f1999a6b98..697b6cd460 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -127,7 +127,7 @@ pub struct IPasswordVault_Vtbl { RetrieveAll: usize, } windows_core::imp::define_interface!(IWebAccount, IWebAccount_Vtbl, 0x69473eb2_8031_49be_80bb_96cb46d99aba); -impl std::ops::Deref for IWebAccount { +impl core::ops::Deref for IWebAccount { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index f9844f2c2b..a4503cddec 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -34,7 +34,7 @@ pub struct IStorageApplicationPermissionsStatics2_Vtbl { GetMostRecentlyUsedListForUser: usize, } windows_core::imp::define_interface!(IStorageItemAccessList, IStorageItemAccessList_Vtbl, 0x2caff6ad_de90_47f5_b2c3_dd36c9fdd453); -impl std::ops::Deref for IStorageItemAccessList { +impl core::ops::Deref for IStorageItemAccessList { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index 64ead98d69..23bf8b0b29 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -58,7 +58,7 @@ pub struct IFileInformationFactoryFactory_Vtbl { CreateWithModeAndSizeAndOptionsAndFlags: usize, } windows_core::imp::define_interface!(IStorageItemInformation, IStorageItemInformation_Vtbl, 0x87a5cb8b_8972_4f40_8de0_d86fb179d8fa); -impl std::ops::Deref for IStorageItemInformation { +impl core::ops::Deref for IStorageItemInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index 3120df0c9b..97889a5068 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -141,7 +141,7 @@ pub struct IStorageItemContentProperties_Vtbl { pub GetDocumentPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageItemExtraProperties, IStorageItemExtraProperties_Vtbl, 0xc54361b2_54cd_432b_bdbc_4b19c4b470d7); -impl std::ops::Deref for IStorageItemExtraProperties { +impl core::ops::Deref for IStorageItemExtraProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index 207999bc29..cccce5e51e 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -159,7 +159,7 @@ pub struct IStorageProviderItemPropertyDefinition_Vtbl { pub SetDisplayNameResource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderItemPropertySource, IStorageProviderItemPropertySource_Vtbl, 0x8f6f9c3e_f632_4a9b_8d99_d2d7a11df56a); -impl std::ops::Deref for IStorageProviderItemPropertySource { +impl core::ops::Deref for IStorageProviderItemPropertySource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -216,7 +216,7 @@ pub struct IStorageProviderKnownFolderSyncInfo_Vtbl { pub SetSyncRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncInfoSource, IStorageProviderKnownFolderSyncInfoSource_Vtbl, 0x51359342_f7c0_53d0_bbb6_1cdc098ebda9); -impl std::ops::Deref for IStorageProviderKnownFolderSyncInfoSource { +impl core::ops::Deref for IStorageProviderKnownFolderSyncInfoSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -257,7 +257,7 @@ pub struct IStorageProviderKnownFolderSyncInfoSource_Vtbl { pub RemoveKnownFolderSyncInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncInfoSourceFactory, IStorageProviderKnownFolderSyncInfoSourceFactory_Vtbl, 0xaaee03a7_a7f6_50be_a9b0_8e82d0c81082); -impl std::ops::Deref for IStorageProviderKnownFolderSyncInfoSourceFactory { +impl core::ops::Deref for IStorageProviderKnownFolderSyncInfoSourceFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -307,7 +307,7 @@ pub struct IStorageProviderMoreInfoUI_Vtbl { pub SetCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderPropertyCapabilities, IStorageProviderPropertyCapabilities_Vtbl, 0x658d2f0e_63b7_4567_acf9_51abe301dda5); -impl std::ops::Deref for IStorageProviderPropertyCapabilities { +impl core::ops::Deref for IStorageProviderPropertyCapabilities { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -384,7 +384,7 @@ pub struct IStorageProviderStatusUI_Vtbl { SetProviderSecondaryCommands: usize, } windows_core::imp::define_interface!(IStorageProviderStatusUISource, IStorageProviderStatusUISource_Vtbl, 0xa306c249_3d66_5e70_9007_e43df96051ff); -impl std::ops::Deref for IStorageProviderStatusUISource { +impl core::ops::Deref for IStorageProviderStatusUISource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -425,7 +425,7 @@ pub struct IStorageProviderStatusUISource_Vtbl { pub RemoveStatusUIChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderStatusUISourceFactory, IStorageProviderStatusUISourceFactory_Vtbl, 0x12e46b74_4e5a_58d1_a62f_0376e8ee7dd8); -impl std::ops::Deref for IStorageProviderStatusUISourceFactory { +impl core::ops::Deref for IStorageProviderStatusUISourceFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -545,7 +545,7 @@ pub struct IStorageProviderSyncRootManagerStatics2_Vtbl { pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderUICommand, IStorageProviderUICommand_Vtbl, 0x0c3e0760_d846_568f_9484_105cc57b502b); -impl std::ops::Deref for IStorageProviderUICommand { +impl core::ops::Deref for IStorageProviderUICommand { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -599,7 +599,7 @@ pub struct IStorageProviderUICommand_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderUriSource, IStorageProviderUriSource_Vtbl, 0xb29806d1_8be0_4962_8bb6_0d4c2e14d47a); -impl std::ops::Deref for IStorageProviderUriSource { +impl core::ops::Deref for IStorageProviderUriSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index 84bbc2c54f..377e463565 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -76,7 +76,7 @@ pub struct IContentIndexerStatics_Vtbl { pub GetIndexer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIndexableContent, IIndexableContent_Vtbl, 0xccf1a05f_d4b5_483a_b06e_e0db1ec420e4); -impl std::ops::Deref for IIndexableContent { +impl core::ops::Deref for IIndexableContent { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -246,7 +246,7 @@ pub struct IStorageFileQueryResult2_Vtbl { GetMatchingPropertiesWithRanges: usize, } windows_core::imp::define_interface!(IStorageFolderQueryOperations, IStorageFolderQueryOperations_Vtbl, 0xcb43ccc9_446b_4a4f_be97_757771be5203); -impl std::ops::Deref for IStorageFolderQueryOperations { +impl core::ops::Deref for IStorageFolderQueryOperations { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -483,7 +483,7 @@ pub struct IStorageLibraryContentChangedTriggerDetails_Vtbl { pub CreateModifiedSinceQuery: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageQueryResultBase, IStorageQueryResultBase_Vtbl, 0xc297d70d_7353_47ab_ba58_8c61425dc54b); -impl std::ops::Deref for IStorageQueryResultBase { +impl core::ops::Deref for IStorageQueryResultBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index f045e6f94e..08bbddb78b 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IBuffer, IBuffer_Vtbl, 0x905a0fe0_bc53_11df_8c49_001e4fc686da); -impl std::ops::Deref for IBuffer { +impl core::ops::Deref for IBuffer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -56,7 +56,7 @@ pub struct IBufferStatics_Vtbl { pub CreateMemoryBufferOverIBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContentTypeProvider, IContentTypeProvider_Vtbl, 0x97d098a5_3b99_4de9_88a5_e11d2f50c795); -impl std::ops::Deref for IContentTypeProvider { +impl core::ops::Deref for IContentTypeProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -81,7 +81,7 @@ pub struct IContentTypeProvider_Vtbl { pub ContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataReader, IDataReader_Vtbl, 0xe2b50029_b4c1_4314_a4b8_fb813a2f275e); -impl std::ops::Deref for IDataReader { +impl core::ops::Deref for IDataReader { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -312,7 +312,7 @@ pub struct IDataReaderStatics_Vtbl { pub FromBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataWriter, IDataWriter_Vtbl, 0x64b89265_d341_4922_b38a_dd4af8808c4e); -impl std::ops::Deref for IDataWriter { +impl core::ops::Deref for IDataWriter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -534,7 +534,7 @@ pub struct IFileRandomAccessStreamStatics_Vtbl { OpenTransactedWriteForUserWithOptionsAsync: usize, } windows_core::imp::define_interface!(IInputStream, IInputStream_Vtbl, 0x905a0fe2_bc53_11df_8c49_001e4fc686da); -impl std::ops::Deref for IInputStream { +impl core::ops::Deref for IInputStream { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -567,7 +567,7 @@ pub struct IInputStream_Vtbl { pub ReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, InputStreamOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInputStreamReference, IInputStreamReference_Vtbl, 0x43929d18_5ec9_4b5a_919c_4205b0c804b6); -impl std::ops::Deref for IInputStreamReference { +impl core::ops::Deref for IInputStreamReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -592,7 +592,7 @@ pub struct IInputStreamReference_Vtbl { pub OpenSequentialReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOutputStream, IOutputStream_Vtbl, 0x905a0fe6_bc53_11df_8c49_001e4fc686da); -impl std::ops::Deref for IOutputStream { +impl core::ops::Deref for IOutputStream { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -633,7 +633,7 @@ pub struct IOutputStream_Vtbl { pub FlushAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertySetSerializer, IPropertySetSerializer_Vtbl, 0x6e8ebf1c_ef3d_4376_b20e_5be638aeac77); -impl std::ops::Deref for IPropertySetSerializer { +impl core::ops::Deref for IPropertySetSerializer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -678,7 +678,7 @@ pub struct IPropertySetSerializer_Vtbl { Deserialize: usize, } windows_core::imp::define_interface!(IRandomAccessStream, IRandomAccessStream_Vtbl, 0x905a0fe1_bc53_11df_8c49_001e4fc686da); -impl std::ops::Deref for IRandomAccessStream { +impl core::ops::Deref for IRandomAccessStream { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -793,7 +793,7 @@ pub struct IRandomAccessStream_Vtbl { pub CanWrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRandomAccessStreamReference, IRandomAccessStreamReference_Vtbl, 0x33ee3134_1dd6_4e3a_8067_d1c162e8642b); -impl std::ops::Deref for IRandomAccessStreamReference { +impl core::ops::Deref for IRandomAccessStreamReference { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -840,7 +840,7 @@ pub struct IRandomAccessStreamStatics_Vtbl { pub CopyAndCloseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRandomAccessStreamWithContentType, IRandomAccessStreamWithContentType_Vtbl, 0xcc254827_4b3d_438f_9232_10c76bc7e038); -impl std::ops::Deref for IRandomAccessStreamWithContentType { +impl core::ops::Deref for IRandomAccessStreamWithContentType { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index 905661573a..7efe1a0c1a 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -387,7 +387,7 @@ pub struct ISetVersionRequest_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageFile, IStorageFile_Vtbl, 0xfa3f6186_4214_428c_a64c_14c9ac7315ea); -impl std::ops::Deref for IStorageFile { +impl core::ops::Deref for IStorageFile { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -617,7 +617,7 @@ pub struct IStorageFile_Vtbl { pub MoveAndReplaceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageFile2, IStorageFile2_Vtbl, 0x954e4bcf_0a77_42fb_b777_c2ed58a52e44); -impl std::ops::Deref for IStorageFile2 { +impl core::ops::Deref for IStorageFile2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -654,7 +654,7 @@ pub struct IStorageFile2_Vtbl { pub OpenTransactedWriteWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, StorageOpenOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageFilePropertiesWithAvailability, IStorageFilePropertiesWithAvailability_Vtbl, 0xafcbbe9b_582b_4133_9648_e44ca46ee491); -impl std::ops::Deref for IStorageFilePropertiesWithAvailability { +impl core::ops::Deref for IStorageFilePropertiesWithAvailability { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -717,7 +717,7 @@ pub struct IStorageFileStatics2_Vtbl { GetFileFromPathForUserAsync: usize, } windows_core::imp::define_interface!(IStorageFolder, IStorageFolder_Vtbl, 0x72d1cb78_b3ef_4f75_a80b_6fd9dae2944b); -impl std::ops::Deref for IStorageFolder { +impl core::ops::Deref for IStorageFolder { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -898,7 +898,7 @@ pub struct IStorageFolder_Vtbl { GetItemsAsyncOverloadDefaultStartAndCount: usize, } windows_core::imp::define_interface!(IStorageFolder2, IStorageFolder2_Vtbl, 0xe827e8b9_08d9_4a8e_a0ac_fe5ed3cbbbd3); -impl std::ops::Deref for IStorageFolder2 { +impl core::ops::Deref for IStorageFolder2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -953,7 +953,7 @@ pub struct IStorageFolderStatics2_Vtbl { GetFolderFromPathForUserAsync: usize, } windows_core::imp::define_interface!(IStorageItem, IStorageItem_Vtbl, 0x4207a996_ca2f_42f7_bde8_8b10457a7f30); -impl std::ops::Deref for IStorageItem { +impl core::ops::Deref for IStorageItem { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1054,7 +1054,7 @@ pub struct IStorageItem_Vtbl { pub IsOfType: unsafe extern "system" fn(*mut core::ffi::c_void, StorageItemTypes, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageItem2, IStorageItem2_Vtbl, 0x53f926d2_083c_4283_b45b_81c007237e44); -impl std::ops::Deref for IStorageItem2 { +impl core::ops::Deref for IStorageItem2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1162,7 +1162,7 @@ pub struct IStorageItem2_Vtbl { pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageItemProperties, IStorageItemProperties_Vtbl, 0x86664478_8029_46fe_a789_1c2f3e2ffb5c); -impl std::ops::Deref for IStorageItemProperties { +impl core::ops::Deref for IStorageItemProperties { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1251,7 +1251,7 @@ pub struct IStorageItemProperties_Vtbl { Properties: usize, } windows_core::imp::define_interface!(IStorageItemProperties2, IStorageItemProperties2_Vtbl, 0x8e86a951_04b9_4bd2_929d_fef3f71621d0); -impl std::ops::Deref for IStorageItemProperties2 { +impl core::ops::Deref for IStorageItemProperties2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1358,7 +1358,7 @@ pub struct IStorageItemProperties2_Vtbl { GetScaledImageAsThumbnailAsync: usize, } windows_core::imp::define_interface!(IStorageItemPropertiesWithProvider, IStorageItemPropertiesWithProvider_Vtbl, 0x861bf39b_6368_4dee_b40e_74684a5ce714); -impl std::ops::Deref for IStorageItemPropertiesWithProvider { +impl core::ops::Deref for IStorageItemPropertiesWithProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1608,7 +1608,7 @@ pub struct IStorageStreamTransaction_Vtbl { pub CommitAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamedFileDataRequest, IStreamedFileDataRequest_Vtbl, 0x1673fcce_dabd_4d50_beee_180b8a8191b6); -impl std::ops::Deref for IStreamedFileDataRequest { +impl core::ops::Deref for IStreamedFileDataRequest { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs index 33936cecef..d1d9d2e1a0 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs @@ -17,7 +17,7 @@ pub struct ISysStorageProviderEventReceivedEventArgsFactory_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISysStorageProviderEventSource, ISysStorageProviderEventSource_Vtbl, 0x1f36c476_9546_536a_8381_2f9a2c08cedd); -impl std::ops::Deref for ISysStorageProviderEventSource { +impl core::ops::Deref for ISysStorageProviderEventSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -50,7 +50,7 @@ pub struct ISysStorageProviderEventSource_Vtbl { pub RemoveEventReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISysStorageProviderHandlerFactory, ISysStorageProviderHandlerFactory_Vtbl, 0xee798431_8213_5e89_a623_14d8c72b8a61); -impl std::ops::Deref for ISysStorageProviderHandlerFactory { +impl core::ops::Deref for ISysStorageProviderHandlerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -83,7 +83,7 @@ pub struct ISysStorageProviderHandlerFactory_Vtbl { pub GetEventSource: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISysStorageProviderHttpRequestProvider, ISysStorageProviderHttpRequestProvider_Vtbl, 0xcb6fefb6_e76a_5c25_a33e_3e78a6e0e0ce); -impl std::ops::Deref for ISysStorageProviderHttpRequestProvider { +impl core::ops::Deref for ISysStorageProviderHttpRequestProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index 27f8c73ce9..a3acad5c26 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -253,7 +253,7 @@ pub struct IRemoteSystemEnumerationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } windows_core::imp::define_interface!(IRemoteSystemFilter, IRemoteSystemFilter_Vtbl, 0x4a3ba9e4_99eb_45eb_ba16_0367728ff374); -impl std::ops::Deref for IRemoteSystemFilter { +impl core::ops::Deref for IRemoteSystemFilter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 41ec1dbd49..379d2b00a9 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -709,7 +709,7 @@ pub struct ILauncherUIOptions_Vtbl { SetPreferredPlacement: usize, } windows_core::imp::define_interface!(ILauncherViewOptions, ILauncherViewOptions_Vtbl, 0x8a9b29f1_7ca7_49de_9bd3_3c5b7184f616); -impl std::ops::Deref for ILauncherViewOptions { +impl core::ops::Deref for ILauncherViewOptions { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs index 7fbeb05249..6c403d2b18 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -20,7 +20,7 @@ pub struct ICompositionConditionalValueStatics_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionInteractionSource, ICompositionInteractionSource_Vtbl, 0x043b2431_06e3_495a_ba54_409f0017fac0); -impl std::ops::Deref for ICompositionInteractionSource { +impl core::ops::Deref for ICompositionInteractionSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -389,7 +389,7 @@ pub struct IInteractionTrackerInteractingStateEnteredArgs2_Vtbl { pub IsFromBinding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInteractionTrackerOwner, IInteractionTrackerOwner_Vtbl, 0xdb2e8af3_4deb_4e53_b29c_b06c9f96d651); -impl std::ops::Deref for IInteractionTrackerOwner { +impl core::ops::Deref for IInteractionTrackerOwner { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index f4b5ecf06f..3c4367a1ef 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -57,7 +57,7 @@ pub struct IAnimationControllerStatics_Vtbl { pub MinPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAnimationObject, IAnimationObject_Vtbl, 0xe7141e0a_04b8_4fc5_a4dc_195392e57807); -impl std::ops::Deref for IAnimationObject { +impl core::ops::Deref for IAnimationObject { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -258,7 +258,7 @@ pub struct ICompositionAnimation4_Vtbl { pub SetExpressionReferenceParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionAnimationBase, ICompositionAnimationBase_Vtbl, 0x1c2c2999_e818_48d3_a6dd_d78c82f8ace9); -impl std::ops::Deref for ICompositionAnimationBase { +impl core::ops::Deref for ICompositionAnimationBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1400,7 +1400,7 @@ pub struct ICompositionSpriteShape_Vtbl { pub SetStrokeThickness: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionSupportsSystemBackdrop, ICompositionSupportsSystemBackdrop_Vtbl, 0x397dafe4_b6c2_5bb9_951d_f5707de8b7bc); -impl std::ops::Deref for ICompositionSupportsSystemBackdrop { +impl core::ops::Deref for ICompositionSupportsSystemBackdrop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1433,7 +1433,7 @@ pub struct ICompositionSupportsSystemBackdrop_Vtbl { pub SetSystemBackdrop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionSurface, ICompositionSurface_Vtbl, 0x1527540d_42c7_47a6_a408_668f79a90dfb); -impl std::ops::Deref for ICompositionSurface { +impl core::ops::Deref for ICompositionSurface { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1529,7 +1529,7 @@ pub struct ICompositionSurfaceBrush3_Vtbl { pub SetSnapToPixels: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionSurfaceFacade, ICompositionSurfaceFacade_Vtbl, 0xe01622c8_2332_55c7_8868_a7312c5c229d); -impl std::ops::Deref for ICompositionSurfaceFacade { +impl core::ops::Deref for ICompositionSurfaceFacade { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2805,7 +2805,7 @@ pub struct IVisualCollection_Vtbl { pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVisualElement, IVisualElement_Vtbl, 0x01e64612_1d82_42f4_8e3f_a722ded33fc7); -impl std::ops::Deref for IVisualElement { +impl core::ops::Deref for IVisualElement { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2821,7 +2821,7 @@ pub struct IVisualElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } windows_core::imp::define_interface!(IVisualElement2, IVisualElement2_Vtbl, 0x993ae8a0_6057_5e40_918c_e06e0b7e7c64); -impl std::ops::Deref for IVisualElement2 { +impl core::ops::Deref for IVisualElement2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs index c9089a18e1..6843a51c47 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -34,7 +34,7 @@ pub struct IOpacityAnimation_Vtbl { pub FinalOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyAnimation, IPropertyAnimation_Vtbl, 0x3a01b4da_4d8c_411e_b615_1ade683a9903); -impl std::ops::Deref for IPropertyAnimation { +impl core::ops::Deref for IPropertyAnimation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index ddbd378a20..5f6deb1597 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -68,7 +68,7 @@ pub struct IClosestInteractiveBoundsRequestedEventArgs_Vtbl { pub SetClosestInteractiveBounds: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreAcceleratorKeys, ICoreAcceleratorKeys_Vtbl, 0x9ffdf7f5_b8c9_4ef0_b7d2_1de626561fc8); -impl std::ops::Deref for ICoreAcceleratorKeys { +impl core::ops::Deref for ICoreAcceleratorKeys { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -209,7 +209,7 @@ pub struct ICoreIndependentInputSourceControllerStatics_Vtbl { CreateForIVisualElement: usize, } windows_core::imp::define_interface!(ICoreInputSourceBase, ICoreInputSourceBase_Vtbl, 0x9f488807_4580_4be8_be68_92a9311713bb); -impl std::ops::Deref for ICoreInputSourceBase { +impl core::ops::Deref for ICoreInputSourceBase { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -290,7 +290,7 @@ pub struct ICoreKeyboardInputSource2_Vtbl { pub GetCurrentKeyEventDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorePointerInputSource, ICorePointerInputSource_Vtbl, 0xbbf1bb18_e47a_48eb_8807_f8f8d3ea4551); -impl std::ops::Deref for ICorePointerInputSource { +impl core::ops::Deref for ICorePointerInputSource { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -461,7 +461,7 @@ pub struct ICorePointerInputSource_Vtbl { pub RemovePointerWheelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorePointerInputSource2, ICorePointerInputSource2_Vtbl, 0xd703708a_4516_4786_b1e5_2751d563f997); -impl std::ops::Deref for ICorePointerInputSource2 { +impl core::ops::Deref for ICorePointerInputSource2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -625,7 +625,7 @@ pub struct ICorePointerInputSource2_Vtbl { DispatcherQueue: usize, } windows_core::imp::define_interface!(ICorePointerRedirector, ICorePointerRedirector_Vtbl, 0x8f9d0c94_5688_4b0c_a9f1_f931f7fa3dc3); -impl std::ops::Deref for ICorePointerRedirector { +impl core::ops::Deref for ICorePointerRedirector { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -700,7 +700,7 @@ pub struct ICoreTouchHitTesting_Vtbl { pub RemoveTouchHitTesting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindow, ICoreWindow_Vtbl, 0x79b9d5f2_879e_4b89_b798_79e47598030c); -impl std::ops::Deref for ICoreWindow { +impl core::ops::Deref for ICoreWindow { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1217,7 +1217,7 @@ pub struct ICoreWindowDialogFactory_Vtbl { pub CreateWithTitle: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindowEventArgs, ICoreWindowEventArgs_Vtbl, 0x272b1ef3_c633_4da5_a26c_c6d0f56b29da); -impl std::ops::Deref for ICoreWindowEventArgs { +impl core::ops::Deref for ICoreWindowEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1355,7 +1355,7 @@ pub struct IIdleDispatchedHandlerArgs_Vtbl { pub IsDispatcherIdle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInitializeWithCoreWindow, IInitializeWithCoreWindow_Vtbl, 0x188f20d6_9873_464a_ace5_57e010f465e6); -impl std::ops::Deref for IInitializeWithCoreWindow { +impl core::ops::Deref for IInitializeWithCoreWindow { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs index 0b7c52cc43..e15ccc4a7a 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/mod.rs @@ -54,7 +54,7 @@ pub struct IInkAnalysisListItem_Vtbl { pub RecognizedText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkAnalysisNode, IInkAnalysisNode_Vtbl, 0x30831f05_5f64_4a2c_ba37_4f4887879574); -impl std::ops::Deref for IInkAnalysisNode { +impl core::ops::Deref for IInkAnalysisNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -203,7 +203,7 @@ pub struct IInkAnalyzer_Vtbl { pub AnalyzeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkAnalyzerFactory, IInkAnalyzerFactory_Vtbl, 0x29138686_1963_49d8_9589_e14384c769e3); -impl std::ops::Deref for IInkAnalyzerFactory { +impl core::ops::Deref for IInkAnalyzerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs index c55165e643..c2bf0e07a3 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -184,7 +184,7 @@ pub struct IInkPoint2_Vtbl { pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkPointFactory, IInkPointFactory_Vtbl, 0x29e5d51c_c98f_405d_9f3b_e53e31068d4d); -impl std::ops::Deref for IInkPointFactory { +impl core::ops::Deref for IInkPointFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -323,7 +323,7 @@ pub struct IInkPresenterRuler2_Vtbl { pub SetIsCompassVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkPresenterRulerFactory, IInkPresenterRulerFactory_Vtbl, 0x34361beb_9001_4a4b_a690_69dbaf63e501); -impl std::ops::Deref for IInkPresenterRulerFactory { +impl core::ops::Deref for IInkPresenterRulerFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -351,7 +351,7 @@ pub struct IInkPresenterRulerFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkPresenterStencil, IInkPresenterStencil_Vtbl, 0x30d12d6d_3e06_4d02_b116_277fb5d8addc); -impl std::ops::Deref for IInkPresenterStencil { +impl core::ops::Deref for IInkPresenterStencil { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -462,7 +462,7 @@ pub struct IInkRecognizer_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkRecognizerContainer, IInkRecognizerContainer_Vtbl, 0xa74d9a31_8047_4698_a912_f82a5085012f); -impl std::ops::Deref for IInkRecognizerContainer { +impl core::ops::Deref for IInkRecognizerContainer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -615,7 +615,7 @@ pub struct IInkStrokeBuilder3_Vtbl { CreateStrokeFromInkPoints: usize, } windows_core::imp::define_interface!(IInkStrokeContainer, IInkStrokeContainer_Vtbl, 0x22accbc6_faa9_4f14_b68c_f6cee670ae16); -impl std::ops::Deref for IInkStrokeContainer { +impl core::ops::Deref for IInkStrokeContainer { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index b9cdaf884a..6976d96c82 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -460,7 +460,7 @@ pub struct IPointerPointStatics_Vtbl { GetIntermediatePointsTransformed: usize, } windows_core::imp::define_interface!(IPointerPointTransform, IPointerPointTransform_Vtbl, 0x4d5fe14f_b87c_4028_bc9c_59e9947fb056); -impl std::ops::Deref for IPointerPointTransform { +impl core::ops::Deref for IPointerPointTransform { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index 4bce044223..2aec5cc738 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -3,7 +3,7 @@ pub mod Management; #[cfg(feature = "UI_Notifications_Preview")] pub mod Preview; windows_core::imp::define_interface!(IAdaptiveNotificationContent, IAdaptiveNotificationContent_Vtbl, 0xeb0dbe66_7448_448d_9db8_d78acd2abba9); -impl std::ops::Deref for IAdaptiveNotificationContent { +impl core::ops::Deref for IAdaptiveNotificationContent { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index b0a86383ad..b90bd0a5e2 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -47,7 +47,7 @@ pub struct IPopupMenu_Vtbl { pub ShowAsyncWithRectAndPlacement: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUICommand, IUICommand_Vtbl, 0x4ff93a75_4145_47ff_ac7f_dff1c1fa5b0f); -impl std::ops::Deref for IUICommand { +impl core::ops::Deref for IUICommand { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 10adfc9dd6..357341ce1a 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IAdaptiveCard, IAdaptiveCard_Vtbl, 0x72d0568c_a274_41cd_82a8_989d40b9b05e); -impl std::ops::Deref for IAdaptiveCard { +impl core::ops::Deref for IAdaptiveCard { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -24,7 +24,7 @@ pub struct IAdaptiveCard_Vtbl { pub ToJson: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdaptiveCardBuilderStatics, IAdaptiveCardBuilderStatics_Vtbl, 0x766d8f08_d3fe_4347_a0bc_b9ea9a6dc28e); -impl std::ops::Deref for IAdaptiveCardBuilderStatics { +impl core::ops::Deref for IAdaptiveCardBuilderStatics { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index 6f606ae2eb..375f108fa2 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -56,7 +56,7 @@ pub struct IRichEditTextRange_Vtbl { pub SetContentLinkInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextCharacterFormat, ITextCharacterFormat_Vtbl, 0x5adef3db_05fb_442d_8065_642afea02ced); -impl std::ops::Deref for ITextCharacterFormat { +impl core::ops::Deref for ITextCharacterFormat { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -423,7 +423,7 @@ pub struct ITextConstantsStatics_Vtbl { pub UndefinedFontStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FontStyle) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextDocument, ITextDocument_Vtbl, 0xbeee4ddb_90b2_408c_a2f6_0a0ac31e33e4); -impl std::ops::Deref for ITextDocument { +impl core::ops::Deref for ITextDocument { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -669,7 +669,7 @@ pub struct ITextDocument4_Vtbl { pub SetMathMode: unsafe extern "system" fn(*mut core::ffi::c_void, RichEditMathMode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextParagraphFormat, ITextParagraphFormat_Vtbl, 0x2cf8cfa6_4676_498a_93f5_bbdbfc0bd883); -impl std::ops::Deref for ITextParagraphFormat { +impl core::ops::Deref for ITextParagraphFormat { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1004,7 +1004,7 @@ pub struct ITextParagraphFormat_Vtbl { pub SetLineSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, LineSpacingRule, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextRange, ITextRange_Vtbl, 0x5b9e4e57_c072_42a0_8945_af503ee54768); -impl std::ops::Deref for ITextRange { +impl core::ops::Deref for ITextRange { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1395,7 +1395,7 @@ pub struct ITextRange_Vtbl { pub StartOf: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, bool, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextSelection, ITextSelection_Vtbl, 0xa6d36724_f28f_430a_b2cf_c343671ec0e9); -impl std::ops::Deref for ITextSelection { +impl core::ops::Deref for ITextSelection { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs index 05270268fb..b7db3c05b0 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -12,7 +12,7 @@ pub struct IAutomationRemoteOperationResult_Vtbl { pub GetOperand: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreAutomationConnectionBoundObjectProvider, ICoreAutomationConnectionBoundObjectProvider_Vtbl, 0x0620bb64_9616_5593_be3a_eb8e6daeb3fa); -impl std::ops::Deref for ICoreAutomationConnectionBoundObjectProvider { +impl core::ops::Deref for ICoreAutomationConnectionBoundObjectProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -80,7 +80,7 @@ pub struct ICoreAutomationRemoteOperationContext_Vtbl { pub SetOperand2: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId, *mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreAutomationRemoteOperationExtensionProvider, ICoreAutomationRemoteOperationExtensionProvider_Vtbl, 0x88f53e67_dc69_553b_a0aa_70477e724da8); -impl std::ops::Deref for ICoreAutomationRemoteOperationExtensionProvider { +impl core::ops::Deref for ICoreAutomationRemoteOperationExtensionProvider { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } 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 b15051be2e..c0a4923e98 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -65,7 +65,7 @@ pub struct IWebUICommandBarConfirmationButton_Vtbl { pub RemoveItemInvoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebUICommandBarElement, IWebUICommandBarElement_Vtbl, 0xc9069ec2_284a_4633_8aad_637a27e282c3); -impl std::ops::Deref for IWebUICommandBarElement { +impl core::ops::Deref for IWebUICommandBarElement { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -81,7 +81,7 @@ pub struct IWebUICommandBarElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } windows_core::imp::define_interface!(IWebUICommandBarIcon, IWebUICommandBarIcon_Vtbl, 0xd587655d_2014_42be_969a_7d14ca6c8a49); -impl std::ops::Deref for IWebUICommandBarIcon { +impl core::ops::Deref for IWebUICommandBarIcon { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index 4b057e3299..8d2143922e 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -10,7 +10,7 @@ pub struct IActivatedDeferral_Vtbl { pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActivatedEventArgsDeferral, IActivatedEventArgsDeferral_Vtbl, 0xca6d5f74_63c2_44a6_b97b_d9a03c20bc9b); -impl std::ops::Deref for IActivatedEventArgsDeferral { +impl core::ops::Deref for IActivatedEventArgsDeferral { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -157,7 +157,7 @@ pub struct IWebUIActivationStatics4_Vtbl { pub RemoveBackgroundActivated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebUIBackgroundTaskInstance, IWebUIBackgroundTaskInstance_Vtbl, 0x23f12c25_e2f7_4741_bc9c_394595de24dc); -impl std::ops::Deref for IWebUIBackgroundTaskInstance { +impl core::ops::Deref for IWebUIBackgroundTaskInstance { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -205,7 +205,7 @@ pub struct IWebUINavigatedDeferral_Vtbl { pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebUINavigatedEventArgs, IWebUINavigatedEventArgs_Vtbl, 0xa75841b8_2499_4030_a69d_15d2d9cfe524); -impl std::ops::Deref for IWebUINavigatedEventArgs { +impl core::ops::Deref for IWebUINavigatedEventArgs { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs index e73928a460..b571e78d87 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -114,7 +114,7 @@ pub struct IHttpCacheControl_Vtbl { pub SetWriteBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, HttpCacheWriteBehavior) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpFilter, IHttpFilter_Vtbl, 0xa4cb6dd5_0902_439e_bfd7_e12552b165ce); -impl std::ops::Deref for IHttpFilter { +impl core::ops::Deref for IHttpFilter { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index f160fe27ce..dfeb4a7aef 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -89,7 +89,7 @@ pub struct IHttpClientFactory_Vtbl { Create: usize, } windows_core::imp::define_interface!(IHttpContent, IHttpContent_Vtbl, 0x6b14a441_fba7_4bd2_af0a_839de7c295da); -impl std::ops::Deref for IHttpContent { +impl core::ops::Deref for IHttpContent { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index 5c67cbb455..11ef7e7e1b 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -46,7 +46,7 @@ pub struct ISyndicationCategoryFactory_Vtbl { pub CreateSyndicationCategoryEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationClient, ISyndicationClient_Vtbl, 0x9e18a9b7_7249_4b45_b229_7df895a5a1f5); -impl std::ops::Deref for ISyndicationClient { +impl core::ops::Deref for ISyndicationClient { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -383,7 +383,7 @@ pub struct ISyndicationLinkFactory_Vtbl { pub CreateSyndicationLinkEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationNode, ISyndicationNode_Vtbl, 0x753cef78_51f8_45c0_a9f5_f1719dec3fb2); -impl std::ops::Deref for ISyndicationNode { +impl core::ops::Deref for ISyndicationNode { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -537,7 +537,7 @@ pub struct ISyndicationPersonFactory_Vtbl { pub CreateSyndicationPersonEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyndicationText, ISyndicationText_Vtbl, 0xb9cc5e80_313a_4091_a2a6_243e0ee923f9); -impl std::ops::Deref for ISyndicationText { +impl core::ops::Deref for ISyndicationText { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Web/UI/mod.rs b/crates/libs/windows/src/Windows/Web/UI/mod.rs index 4e602a3627..1d2cc7bf52 100644 --- a/crates/libs/windows/src/Windows/Web/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Web_UI_Interop")] pub mod Interop; windows_core::imp::define_interface!(IWebViewControl, IWebViewControl_Vtbl, 0x3f921316_bc70_4bda_9136_c94370899fab); -impl std::ops::Deref for IWebViewControl { +impl core::ops::Deref for IWebViewControl { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -488,7 +488,7 @@ pub struct IWebViewControl_Vtbl { pub RemoveWebResourceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebViewControl2, IWebViewControl2_Vtbl, 0x4d3c06f9_c8df_41cc_8bd5_2a947b204503); -impl std::ops::Deref for IWebViewControl2 { +impl core::ops::Deref for IWebViewControl2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Web/mod.rs b/crates/libs/windows/src/Windows/Web/mod.rs index 4de0d034ef..7f403b0842 100644 --- a/crates/libs/windows/src/Windows/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Web/mod.rs @@ -7,7 +7,7 @@ pub mod Syndication; #[cfg(feature = "Web_UI")] pub mod UI; windows_core::imp::define_interface!(IUriToStreamResolver, IUriToStreamResolver_Vtbl, 0xb0aba86a_9aeb_4d3a_9590_003e3ca7e290); -impl std::ops::Deref for IUriToStreamResolver { +impl core::ops::Deref for IUriToStreamResolver { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs index c977aa3abe..1cd35877bd 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/mod.rs @@ -19,7 +19,7 @@ where DMLCreateDevice1(d3d12device.param().abi(), flags, minimumfeaturelevel, &T::IID, result__ as *mut _ as *mut _).ok() } windows_core::imp::define_interface!(IDMLBindingTable, IDMLBindingTable_Vtbl, 0x29c687dc_de74_4e3b_ab00_1168f2fc3cfc); -impl std::ops::Deref for IDMLBindingTable { +impl core::ops::Deref for IDMLBindingTable { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -57,7 +57,7 @@ pub struct IDMLBindingTable_Vtbl { Reset: usize, } windows_core::imp::define_interface!(IDMLCommandRecorder, IDMLCommandRecorder_Vtbl, 0xe6857a76_2e3e_4fdd_bff4_5d2ba10fb453); -impl std::ops::Deref for IDMLCommandRecorder { +impl core::ops::Deref for IDMLCommandRecorder { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -84,7 +84,7 @@ pub struct IDMLCommandRecorder_Vtbl { RecordDispatch: usize, } windows_core::imp::define_interface!(IDMLCompiledOperator, IDMLCompiledOperator_Vtbl, 0x6b15e56a_bf5c_4902_92d8_da3a650afea4); -impl std::ops::Deref for IDMLCompiledOperator { +impl core::ops::Deref for IDMLCompiledOperator { type Target = IDMLDispatchable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -97,7 +97,7 @@ pub struct IDMLCompiledOperator_Vtbl { pub base__: IDMLDispatchable_Vtbl, } windows_core::imp::define_interface!(IDMLDebugDevice, IDMLDebugDevice_Vtbl, 0x7d6f3ac9_394a_4ac3_92a7_390cc57a8217); -impl std::ops::Deref for IDMLDebugDevice { +impl core::ops::Deref for IDMLDebugDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -118,7 +118,7 @@ pub struct IDMLDebugDevice_Vtbl { pub SetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL), } windows_core::imp::define_interface!(IDMLDevice, IDMLDevice_Vtbl, 0x6dbd6437_96fd_423f_a98c_ae5e7c2a573f); -impl std::ops::Deref for IDMLDevice { +impl core::ops::Deref for IDMLDevice { type Target = IDMLObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -146,14 +146,14 @@ impl IDMLDevice { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateOperatorInitializer)(windows_core::Interface::as_raw(self), operators.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(operators.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCommandRecorder(&self) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCommandRecorder)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -161,7 +161,7 @@ impl IDMLDevice { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateBindingTable)(windows_core::Interface::as_raw(self), core::mem::transmute(desc.unwrap_or(std::ptr::null())), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Evict(&self, ppobjects: &[Option]) -> windows_core::Result<()> { @@ -177,7 +177,7 @@ impl IDMLDevice { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetParentDevice)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -199,7 +199,7 @@ pub struct IDMLDevice_Vtbl { pub GetParentDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDMLDevice1, IDMLDevice1_Vtbl, 0xa0884f9a_d2be_4355_aa5d_5901281ad1d2); -impl std::ops::Deref for IDMLDevice1 { +impl core::ops::Deref for IDMLDevice1 { type Target = IDMLDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -220,7 +220,7 @@ pub struct IDMLDevice1_Vtbl { pub CompileGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *const DML_GRAPH_DESC, DML_EXECUTION_FLAGS, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDMLDeviceChild, IDMLDeviceChild_Vtbl, 0x27e83142_8165_49e3_974e_2fd66e4cb69d); -impl std::ops::Deref for IDMLDeviceChild { +impl core::ops::Deref for IDMLDeviceChild { type Target = IDMLObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -232,7 +232,7 @@ impl IDMLDeviceChild { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -242,7 +242,7 @@ pub struct IDMLDeviceChild_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDMLDispatchable, IDMLDispatchable_Vtbl, 0xdcb821a8_1039_441e_9f1c_b1759c2f3cec); -impl std::ops::Deref for IDMLDispatchable { +impl core::ops::Deref for IDMLDispatchable { type Target = IDMLPageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -262,7 +262,7 @@ pub struct IDMLDispatchable_Vtbl { pub GetBindingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DML_BINDING_PROPERTIES), } windows_core::imp::define_interface!(IDMLObject, IDMLObject_Vtbl, 0xc8263aac_9e0c_4a2d_9b8e_007521a3317c); -impl std::ops::Deref for IDMLObject { +impl core::ops::Deref for IDMLObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -298,7 +298,7 @@ pub struct IDMLObject_Vtbl { pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDMLOperator, IDMLOperator_Vtbl, 0x26caae7a_3081_4633_9581_226fbe57695d); -impl std::ops::Deref for IDMLOperator { +impl core::ops::Deref for IDMLOperator { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -311,7 +311,7 @@ pub struct IDMLOperator_Vtbl { pub base__: IDMLDeviceChild_Vtbl, } windows_core::imp::define_interface!(IDMLOperatorInitializer, IDMLOperatorInitializer_Vtbl, 0x427c1113_435c_469c_8676_4d5dd072f813); -impl std::ops::Deref for IDMLOperatorInitializer { +impl core::ops::Deref for IDMLOperatorInitializer { type Target = IDMLDispatchable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -329,7 +329,7 @@ pub struct IDMLOperatorInitializer_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDMLPageable, IDMLPageable_Vtbl, 0xb1ab0825_4542_4a4b_8617_6dde6e8f6201); -impl std::ops::Deref for IDMLPageable { +impl core::ops::Deref for IDMLPageable { type Target = IDMLDeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs index e785dcb3e1..2a05cf1054 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs @@ -11,7 +11,7 @@ pub unsafe fn WinMLCreateRuntime() -> windows_core::Result { WinMLCreateRuntime(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IMLOperatorAttributes, IMLOperatorAttributes_Vtbl, 0x4b1b1759_ec40_466c_aab4_beb5347fd24c); -impl std::ops::Deref for IMLOperatorAttributes { +impl core::ops::Deref for IMLOperatorAttributes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -55,7 +55,7 @@ pub struct IMLOperatorAttributes_Vtbl { pub GetStringAttributeElement: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, u32, windows_core::PSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorKernel, IMLOperatorKernel_Vtbl, 0x11c4b4a0_b467_4eaa_a1a6_b961d8d0ed79); -impl std::ops::Deref for IMLOperatorKernel { +impl core::ops::Deref for IMLOperatorKernel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -76,7 +76,7 @@ pub struct IMLOperatorKernel_Vtbl { pub Compute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorKernelContext, IMLOperatorKernelContext_Vtbl, 0x82536a28_f022_4769_9d3f_8b278f84c0c3); -impl std::ops::Deref for IMLOperatorKernelContext { +impl core::ops::Deref for IMLOperatorKernelContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -116,7 +116,7 @@ pub struct IMLOperatorKernelContext_Vtbl { pub GetExecutionInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(IMLOperatorKernelCreationContext, IMLOperatorKernelCreationContext_Vtbl, 0x5459b53d_a0fc_4665_addd_70171ef7e631); -impl std::ops::Deref for IMLOperatorKernelCreationContext { +impl core::ops::Deref for IMLOperatorKernelCreationContext { type Target = IMLOperatorAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -171,7 +171,7 @@ pub struct IMLOperatorKernelCreationContext_Vtbl { pub GetExecutionInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(IMLOperatorKernelFactory, IMLOperatorKernelFactory_Vtbl, 0xef15ad6f_0dc9_4908_ab35_a575a30dfbf8); -impl std::ops::Deref for IMLOperatorKernelFactory { +impl core::ops::Deref for IMLOperatorKernelFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -193,7 +193,7 @@ pub struct IMLOperatorKernelFactory_Vtbl { pub CreateKernel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorRegistry, IMLOperatorRegistry_Vtbl, 0x2af9dd2d_b516_4672_9ab5_530c208493ad); -impl std::ops::Deref for IMLOperatorRegistry { +impl core::ops::Deref for IMLOperatorRegistry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -223,7 +223,7 @@ pub struct IMLOperatorRegistry_Vtbl { pub RegisterOperatorKernel: unsafe extern "system" fn(*mut core::ffi::c_void, *const MLOperatorKernelDescription, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorShapeInferenceContext, IMLOperatorShapeInferenceContext_Vtbl, 0x105b6b29_5408_4a68_9959_09b5955a3492); -impl std::ops::Deref for IMLOperatorShapeInferenceContext { +impl core::ops::Deref for IMLOperatorShapeInferenceContext { type Target = IMLOperatorAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -271,7 +271,7 @@ pub struct IMLOperatorShapeInferenceContext_Vtbl { pub SetOutputTensorShape: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorShapeInferrer, IMLOperatorShapeInferrer_Vtbl, 0x540be5be_a6c9_40ee_83f6_d2b8b40a7798); -impl std::ops::Deref for IMLOperatorShapeInferrer { +impl core::ops::Deref for IMLOperatorShapeInferrer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -292,7 +292,7 @@ pub struct IMLOperatorShapeInferrer_Vtbl { pub InferOutputShapes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorTensor, IMLOperatorTensor_Vtbl, 0x7fe41f41_f430_440e_aece_54416dc8b9db); -impl std::ops::Deref for IMLOperatorTensor { +impl core::ops::Deref for IMLOperatorTensor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -336,7 +336,7 @@ pub struct IMLOperatorTensor_Vtbl { pub GetDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(IMLOperatorTensorShapeDescription, IMLOperatorTensorShapeDescription_Vtbl, 0xf20e8cbe_3b28_4248_be95_f96fbc6e4643); -impl std::ops::Deref for IMLOperatorTensorShapeDescription { +impl core::ops::Deref for IMLOperatorTensorShapeDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -372,7 +372,7 @@ pub struct IMLOperatorTensorShapeDescription_Vtbl { pub GetOutputTensorShape: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorTypeInferenceContext, IMLOperatorTypeInferenceContext_Vtbl, 0xec893bb1_f938_427b_8488_c8dcf775f138); -impl std::ops::Deref for IMLOperatorTypeInferenceContext { +impl core::ops::Deref for IMLOperatorTypeInferenceContext { type Target = IMLOperatorAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -411,7 +411,7 @@ pub struct IMLOperatorTypeInferenceContext_Vtbl { pub SetOutputEdgeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const MLOperatorEdgeDescription) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLOperatorTypeInferrer, IMLOperatorTypeInferrer_Vtbl, 0x781aeb48_9bcb_4797_bf77_8bf455217beb); -impl std::ops::Deref for IMLOperatorTypeInferrer { +impl core::ops::Deref for IMLOperatorTypeInferrer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -432,7 +432,7 @@ pub struct IMLOperatorTypeInferrer_Vtbl { pub InferOutputTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinMLEvaluationContext, IWinMLEvaluationContext_Vtbl, 0x95848f9e_583d_4054_af12_916387cd8426); -impl std::ops::Deref for IWinMLEvaluationContext { +impl core::ops::Deref for IWinMLEvaluationContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -470,7 +470,7 @@ pub struct IWinMLEvaluationContext_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinMLModel, IWinMLModel_Vtbl, 0xe2eeb6a9_f31f_4055_a521_e30b5b33664a); -impl std::ops::Deref for IWinMLModel { +impl core::ops::Deref for IWinMLModel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -503,7 +503,7 @@ pub struct IWinMLModel_Vtbl { pub EnumerateModelOutputs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut WINML_VARIABLE_DESC) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinMLRuntime, IWinMLRuntime_Vtbl, 0xa0425329_40ae_48d9_bce3_829ef7b8a41a); -impl std::ops::Deref for IWinMLRuntime { +impl core::ops::Deref for IWinMLRuntime { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -544,7 +544,7 @@ pub struct IWinMLRuntime_Vtbl { pub EvaluateModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinMLRuntimeFactory, IWinMLRuntimeFactory_Vtbl, 0xa807b84d_4ae5_4bc0_a76a_941aa246bd41); -impl std::ops::Deref for IWinMLRuntimeFactory { +impl core::ops::Deref for IWinMLRuntimeFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs index 17931c130f..f786ef25f2 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -17,7 +17,7 @@ where HtmlHelpW(hwndcaller.param().abi(), pszfile.param().abi(), ucommand.0 as _, dwdata) } windows_core::imp::define_interface!(IITDatabase, IITDatabase_Vtbl, 0x8fa0d5a2_dedf_11d0_9a61_00c04fb68bf7); -impl std::ops::Deref for IITDatabase { +impl core::ops::Deref for IITDatabase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -61,7 +61,7 @@ pub struct IITDatabase_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IITPropList, IITPropList_Vtbl, 0x1f403bb1_9997_11d0_a850_00aa006c7d01); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IITPropList { +impl core::ops::Deref for IITPropList { type Target = super::super::System::Com::IPersistStreamInit; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -166,7 +166,7 @@ pub struct IITPropList_Vtbl { pub SaveToMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IITResultSet, IITResultSet_Vtbl, 0x3bb91d41_998b_11d0_a850_00aa006c7d01); -impl std::ops::Deref for IITResultSet { +impl core::ops::Deref for IITResultSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -315,7 +315,7 @@ pub struct IITResultSet_Vtbl { pub GetColumnStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut COLUMNSTATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStemSink, IStemSink_Vtbl, 0xfe77c330_7f42_11ce_be57_00aa0051fe20); -impl std::ops::Deref for IStemSink { +impl core::ops::Deref for IStemSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -343,7 +343,7 @@ pub struct IStemSink_Vtbl { pub PutWord: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStemmerConfig, IStemmerConfig_Vtbl, 0x8fa0d5a7_dedf_11d0_9a61_00c04fb68bf7); -impl std::ops::Deref for IStemmerConfig { +impl core::ops::Deref for IStemmerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -384,7 +384,7 @@ pub struct IStemmerConfig_Vtbl { LoadExternalStemmerData: usize, } windows_core::imp::define_interface!(IWordBreakerConfig, IWordBreakerConfig_Vtbl, 0x8fa0d5a6_dedf_11d0_9a61_00c04fb68bf7); -impl std::ops::Deref for IWordBreakerConfig { +impl core::ops::Deref for IWordBreakerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs index ff913e2ede..5e4537fd5d 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMXAttributes, IMXAttributes_Vtbl, 0xf10d27cc_3ec0_415c_8ed8_77ab1c5e7262); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMXAttributes { +impl core::ops::Deref for IMXAttributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -97,7 +97,7 @@ pub struct IMXAttributes_Vtbl { pub setValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMXNamespaceManager, IMXNamespaceManager_Vtbl, 0xc90352f6_643c_4fbc_bb23_e996eb2d51fd); -impl std::ops::Deref for IMXNamespaceManager { +impl core::ops::Deref for IMXNamespaceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -180,7 +180,7 @@ pub struct IMXNamespaceManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMXNamespacePrefixes, IMXNamespacePrefixes_Vtbl, 0xc90352f4_643c_4fbc_bb23_e996eb2d51fd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMXNamespacePrefixes { +impl core::ops::Deref for IMXNamespacePrefixes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -214,7 +214,7 @@ pub struct IMXNamespacePrefixes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMXReaderControl, IMXReaderControl_Vtbl, 0x808f4e35_8d5a_4fbe_8466_33a41279ed30); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMXReaderControl { +impl core::ops::Deref for IMXReaderControl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -245,7 +245,7 @@ pub struct IMXReaderControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMXSchemaDeclHandler, IMXSchemaDeclHandler_Vtbl, 0xfa4bb38c_faf9_4cca_9302_d1dd0fe520db); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMXSchemaDeclHandler { +impl core::ops::Deref for IMXSchemaDeclHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -275,7 +275,7 @@ pub struct IMXSchemaDeclHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMXWriter, IMXWriter_Vtbl, 0x4d7ff4ba_1565_4ea8_94e1_6e724a46f98d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMXWriter { +impl core::ops::Deref for IMXWriter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -394,7 +394,7 @@ pub struct IMXWriter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMXXMLFilter, IMXXMLFilter_Vtbl, 0xc90352f7_643c_4fbc_bb23_e996eb2d51fd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMXXMLFilter { +impl core::ops::Deref for IMXXMLFilter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -491,7 +491,7 @@ pub struct IMXXMLFilter_Vtbl { pub putref_errorHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXAttributes, ISAXAttributes_Vtbl, 0xf078abe1_45d2_4832_91ea_4466ce2f25c9); -impl std::ops::Deref for ISAXAttributes { +impl core::ops::Deref for ISAXAttributes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -581,7 +581,7 @@ pub struct ISAXAttributes_Vtbl { pub getValueFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut *mut u16, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXContentHandler, ISAXContentHandler_Vtbl, 0x1545cdfa_9e4e_4497_a8a4_2bf7d0112c44); -impl std::ops::Deref for ISAXContentHandler { +impl core::ops::Deref for ISAXContentHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -673,7 +673,7 @@ pub struct ISAXContentHandler_Vtbl { pub skippedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXDTDHandler, ISAXDTDHandler_Vtbl, 0xe15c1baf_afb3_4d60_8c36_19a8c45defed); -impl std::ops::Deref for ISAXDTDHandler { +impl core::ops::Deref for ISAXDTDHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -706,7 +706,7 @@ pub struct ISAXDTDHandler_Vtbl { pub unparsedEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXDeclHandler, ISAXDeclHandler_Vtbl, 0x862629ac_771a_47b2_8337_4e6843c1be90); -impl std::ops::Deref for ISAXDeclHandler { +impl core::ops::Deref for ISAXDeclHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -756,7 +756,7 @@ pub struct ISAXDeclHandler_Vtbl { pub externalEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXEntityResolver, ISAXEntityResolver_Vtbl, 0x99bca7bd_e8c4_4d5f_a0cf_6d907901ff07); -impl std::ops::Deref for ISAXEntityResolver { +impl core::ops::Deref for ISAXEntityResolver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -779,7 +779,7 @@ pub struct ISAXEntityResolver_Vtbl { pub resolveEntity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXErrorHandler, ISAXErrorHandler_Vtbl, 0xa60511c4_ccf5_479e_98a3_dc8dc545b7d0); -impl std::ops::Deref for ISAXErrorHandler { +impl core::ops::Deref for ISAXErrorHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -817,7 +817,7 @@ pub struct ISAXErrorHandler_Vtbl { pub ignorableWarning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXLexicalHandler, ISAXLexicalHandler_Vtbl, 0x7f85d5f5_47a8_4497_bda5_84ba04819ea6); -impl std::ops::Deref for ISAXLexicalHandler { +impl core::ops::Deref for ISAXLexicalHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -873,7 +873,7 @@ pub struct ISAXLexicalHandler_Vtbl { pub comment: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXLocator, ISAXLocator_Vtbl, 0x9b7e472a_0de4_4640_bff3_84d38a051c31); -impl std::ops::Deref for ISAXLocator { +impl core::ops::Deref for ISAXLocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -907,7 +907,7 @@ pub struct ISAXLocator_Vtbl { pub getSystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXXMLFilter, ISAXXMLFilter_Vtbl, 0x70409222_ca09_4475_acb8_40312fe8d145); -impl std::ops::Deref for ISAXXMLFilter { +impl core::ops::Deref for ISAXXMLFilter { type Target = ISAXXMLReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -933,7 +933,7 @@ pub struct ISAXXMLFilter_Vtbl { pub putParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISAXXMLReader, ISAXXMLReader_Vtbl, 0xa4f96ed0_f829_476e_81c0_cdc7bd2a0802); -impl std::ops::Deref for ISAXXMLReader { +impl core::ops::Deref for ISAXXMLReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1067,7 +1067,7 @@ pub struct ISAXXMLReader_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchema, ISchema_Vtbl, 0x50ea08b4_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchema { +impl core::ops::Deref for ISchema { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1159,7 +1159,7 @@ pub struct ISchema_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaAny, ISchemaAny_Vtbl, 0x50ea08bc_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaAny { +impl core::ops::Deref for ISchemaAny { type Target = ISchemaParticle; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1192,7 +1192,7 @@ pub struct ISchemaAny_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaAttribute, ISchemaAttribute_Vtbl, 0x50ea08b6_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaAttribute { +impl core::ops::Deref for ISchemaAttribute { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1249,7 +1249,7 @@ pub struct ISchemaAttribute_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaAttributeGroup, ISchemaAttributeGroup_Vtbl, 0x50ea08ba_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaAttributeGroup { +impl core::ops::Deref for ISchemaAttributeGroup { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1286,7 +1286,7 @@ pub struct ISchemaAttributeGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaComplexType, ISchemaComplexType_Vtbl, 0x50ea08b9_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaComplexType { +impl core::ops::Deref for ISchemaComplexType { type Target = ISchemaType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1347,7 +1347,7 @@ pub struct ISchemaComplexType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaElement, ISchemaElement_Vtbl, 0x50ea08b7_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaElement { +impl core::ops::Deref for ISchemaElement { type Target = ISchemaParticle; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1437,7 +1437,7 @@ pub struct ISchemaElement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaIdentityConstraint, ISchemaIdentityConstraint_Vtbl, 0x50ea08bd_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaIdentityConstraint { +impl core::ops::Deref for ISchemaIdentityConstraint { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1479,7 +1479,7 @@ pub struct ISchemaIdentityConstraint_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaItem, ISchemaItem_Vtbl, 0x50ea08b3_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaItem { +impl core::ops::Deref for ISchemaItem { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1544,7 +1544,7 @@ pub struct ISchemaItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaItemCollection, ISchemaItemCollection_Vtbl, 0x50ea08b2_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaItemCollection { +impl core::ops::Deref for ISchemaItemCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1607,7 +1607,7 @@ pub struct ISchemaItemCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaModelGroup, ISchemaModelGroup_Vtbl, 0x50ea08bb_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaModelGroup { +impl core::ops::Deref for ISchemaModelGroup { type Target = ISchemaParticle; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1635,7 +1635,7 @@ pub struct ISchemaModelGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaNotation, ISchemaNotation_Vtbl, 0x50ea08be_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaNotation { +impl core::ops::Deref for ISchemaNotation { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1664,7 +1664,7 @@ pub struct ISchemaNotation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaParticle, ISchemaParticle_Vtbl, 0x50ea08b5_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaParticle { +impl core::ops::Deref for ISchemaParticle { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1693,7 +1693,7 @@ pub struct ISchemaParticle_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaStringCollection, ISchemaStringCollection_Vtbl, 0x50ea08b1_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaStringCollection { +impl core::ops::Deref for ISchemaStringCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1727,7 +1727,7 @@ pub struct ISchemaStringCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchemaType, ISchemaType_Vtbl, 0x50ea08b8_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchemaType { +impl core::ops::Deref for ISchemaType { type Target = ISchemaItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1846,7 +1846,7 @@ pub struct ISchemaType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IServerXMLHTTPRequest, IServerXMLHTTPRequest_Vtbl, 0x2e9196bf_13ba_4dd4_91ca_6c571f281495); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IServerXMLHTTPRequest { +impl core::ops::Deref for IServerXMLHTTPRequest { type Target = IXMLHTTPRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1889,7 +1889,7 @@ pub struct IServerXMLHTTPRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IServerXMLHTTPRequest2, IServerXMLHTTPRequest2_Vtbl, 0x2e01311b_c322_4b0a_bd77_b90cfdc8dce7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IServerXMLHTTPRequest2 { +impl core::ops::Deref for IServerXMLHTTPRequest2 { type Target = IServerXMLHTTPRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1924,7 +1924,7 @@ pub struct IServerXMLHTTPRequest2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBMXNamespaceManager, IVBMXNamespaceManager_Vtbl, 0xc90352f5_643c_4fbc_bb23_e996eb2d51fd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBMXNamespaceManager { +impl core::ops::Deref for IVBMXNamespaceManager { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2029,7 +2029,7 @@ pub struct IVBMXNamespaceManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXAttributes, IVBSAXAttributes_Vtbl, 0x10dc0586_132b_4cac_8bb3_db00ac8b7ee0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXAttributes { +impl core::ops::Deref for IVBSAXAttributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2129,7 +2129,7 @@ pub struct IVBSAXAttributes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXContentHandler, IVBSAXContentHandler_Vtbl, 0x2ed7290a_4dd5_4b46_bb26_4e4155e77faa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXContentHandler { +impl core::ops::Deref for IVBSAXContentHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2206,7 +2206,7 @@ pub struct IVBSAXContentHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXDTDHandler, IVBSAXDTDHandler_Vtbl, 0x24fb3297_302d_4620_ba39_3a732d850558); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXDTDHandler { +impl core::ops::Deref for IVBSAXDTDHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2233,7 +2233,7 @@ pub struct IVBSAXDTDHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXDeclHandler, IVBSAXDeclHandler_Vtbl, 0xe8917260_7579_4be1_b5dd_7afbfa6f077b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXDeclHandler { +impl core::ops::Deref for IVBSAXDeclHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2268,7 +2268,7 @@ pub struct IVBSAXDeclHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXEntityResolver, IVBSAXEntityResolver_Vtbl, 0x0c05d096_f45b_4aca_ad1a_aa0bc25518dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXEntityResolver { +impl core::ops::Deref for IVBSAXEntityResolver { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2292,7 +2292,7 @@ pub struct IVBSAXEntityResolver_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXErrorHandler, IVBSAXErrorHandler_Vtbl, 0xd963d3fe_173c_4862_9095_b92f66995f52); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXErrorHandler { +impl core::ops::Deref for IVBSAXErrorHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2344,7 +2344,7 @@ pub struct IVBSAXErrorHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXLexicalHandler, IVBSAXLexicalHandler_Vtbl, 0x032aac35_8c0e_4d9d_979f_e3b702935576); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXLexicalHandler { +impl core::ops::Deref for IVBSAXLexicalHandler { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2391,7 +2391,7 @@ pub struct IVBSAXLexicalHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXLocator, IVBSAXLocator_Vtbl, 0x796e7ac5_5aa2_4eff_acad_3faaf01a3288); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXLocator { +impl core::ops::Deref for IVBSAXLocator { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2430,7 +2430,7 @@ pub struct IVBSAXLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXXMLFilter, IVBSAXXMLFilter_Vtbl, 0x1299eb1b_5b88_433e_82de_82ca75ad4e04); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXXMLFilter { +impl core::ops::Deref for IVBSAXXMLFilter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2469,7 +2469,7 @@ pub struct IVBSAXXMLFilter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVBSAXXMLReader, IVBSAXXMLReader_Vtbl, 0x8c033caa_6cd6_4f73_b728_4531af74945f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVBSAXXMLReader { +impl core::ops::Deref for IVBSAXXMLReader { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2638,7 +2638,7 @@ pub struct IVBSAXXMLReader_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLAttribute, IXMLAttribute_Vtbl, 0xd4d4a0fc_3b73_11d1_b2b4_00c04fb92596); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLAttribute { +impl core::ops::Deref for IXMLAttribute { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2667,7 +2667,7 @@ pub struct IXMLAttribute_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMAttribute, IXMLDOMAttribute_Vtbl, 0x2933bf85_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMAttribute { +impl core::ops::Deref for IXMLDOMAttribute { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2703,7 +2703,7 @@ pub struct IXMLDOMAttribute_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMCDATASection, IXMLDOMCDATASection_Vtbl, 0x2933bf8a_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMCDATASection { +impl core::ops::Deref for IXMLDOMCDATASection { type Target = IXMLDOMText; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2721,7 +2721,7 @@ pub struct IXMLDOMCDATASection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMCharacterData, IXMLDOMCharacterData_Vtbl, 0x2933bf84_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMCharacterData { +impl core::ops::Deref for IXMLDOMCharacterData { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2787,7 +2787,7 @@ pub struct IXMLDOMCharacterData_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMComment, IXMLDOMComment_Vtbl, 0x2933bf88_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMComment { +impl core::ops::Deref for IXMLDOMComment { type Target = IXMLDOMCharacterData; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2805,7 +2805,7 @@ pub struct IXMLDOMComment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMDocument, IXMLDOMDocument_Vtbl, 0x2933bf81_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMDocument { +impl core::ops::Deref for IXMLDOMDocument { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3109,7 +3109,7 @@ pub struct IXMLDOMDocument_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMDocument2, IXMLDOMDocument2_Vtbl, 0x2933bf95_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMDocument2 { +impl core::ops::Deref for IXMLDOMDocument2 { type Target = IXMLDOMDocument; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3174,7 +3174,7 @@ pub struct IXMLDOMDocument2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMDocument3, IXMLDOMDocument3_Vtbl, 0x2933bf96_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMDocument3 { +impl core::ops::Deref for IXMLDOMDocument3 { type Target = IXMLDOMDocument2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3218,7 +3218,7 @@ pub struct IXMLDOMDocument3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMDocumentFragment, IXMLDOMDocumentFragment_Vtbl, 0x3efaa413_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMDocumentFragment { +impl core::ops::Deref for IXMLDOMDocumentFragment { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3236,7 +3236,7 @@ pub struct IXMLDOMDocumentFragment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMDocumentType, IXMLDOMDocumentType_Vtbl, 0x2933bf8b_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMDocumentType { +impl core::ops::Deref for IXMLDOMDocumentType { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3278,7 +3278,7 @@ pub struct IXMLDOMDocumentType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMElement, IXMLDOMElement_Vtbl, 0x2933bf86_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMElement { +impl core::ops::Deref for IXMLDOMElement { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3377,7 +3377,7 @@ pub struct IXMLDOMElement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMEntity, IXMLDOMEntity_Vtbl, 0x2933bf8d_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMEntity { +impl core::ops::Deref for IXMLDOMEntity { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3411,7 +3411,7 @@ pub struct IXMLDOMEntity_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMEntityReference, IXMLDOMEntityReference_Vtbl, 0x2933bf8e_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMEntityReference { +impl core::ops::Deref for IXMLDOMEntityReference { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3429,7 +3429,7 @@ pub struct IXMLDOMEntityReference_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMImplementation, IXMLDOMImplementation_Vtbl, 0x2933bf8f_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMImplementation { +impl core::ops::Deref for IXMLDOMImplementation { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3457,7 +3457,7 @@ pub struct IXMLDOMImplementation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMNamedNodeMap, IXMLDOMNamedNodeMap_Vtbl, 0x2933bf83_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMNamedNodeMap { +impl core::ops::Deref for IXMLDOMNamedNodeMap { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3570,7 +3570,7 @@ pub struct IXMLDOMNamedNodeMap_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMNode, IXMLDOMNode_Vtbl, 0x2933bf80_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMNode { +impl core::ops::Deref for IXMLDOMNode { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3878,7 +3878,7 @@ pub struct IXMLDOMNode_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMNodeList, IXMLDOMNodeList_Vtbl, 0x2933bf82_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMNodeList { +impl core::ops::Deref for IXMLDOMNodeList { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3929,7 +3929,7 @@ pub struct IXMLDOMNodeList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMNotation, IXMLDOMNotation_Vtbl, 0x2933bf8c_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMNotation { +impl core::ops::Deref for IXMLDOMNotation { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3958,7 +3958,7 @@ pub struct IXMLDOMNotation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMParseError, IXMLDOMParseError_Vtbl, 0x3efaa426_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMParseError { +impl core::ops::Deref for IXMLDOMParseError { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4012,7 +4012,7 @@ pub struct IXMLDOMParseError_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMParseError2, IXMLDOMParseError2_Vtbl, 0x3efaa428_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMParseError2 { +impl core::ops::Deref for IXMLDOMParseError2 { type Target = IXMLDOMParseError; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4055,7 +4055,7 @@ pub struct IXMLDOMParseError2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMParseErrorCollection, IXMLDOMParseErrorCollection_Vtbl, 0x3efaa429_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMParseErrorCollection { +impl core::ops::Deref for IXMLDOMParseErrorCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4106,7 +4106,7 @@ pub struct IXMLDOMParseErrorCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMProcessingInstruction, IXMLDOMProcessingInstruction_Vtbl, 0x2933bf89_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMProcessingInstruction { +impl core::ops::Deref for IXMLDOMProcessingInstruction { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4142,7 +4142,7 @@ pub struct IXMLDOMProcessingInstruction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMSchemaCollection, IXMLDOMSchemaCollection_Vtbl, 0x373984c8_b845_449b_91e7_45ac83036ade); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMSchemaCollection { +impl core::ops::Deref for IXMLDOMSchemaCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4214,7 +4214,7 @@ pub struct IXMLDOMSchemaCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMSchemaCollection2, IXMLDOMSchemaCollection2_Vtbl, 0x50ea08b0_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMSchemaCollection2 { +impl core::ops::Deref for IXMLDOMSchemaCollection2 { type Target = IXMLDOMSchemaCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4273,7 +4273,7 @@ pub struct IXMLDOMSchemaCollection2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMSelection, IXMLDOMSelection_Vtbl, 0xaa634fc7_5888_44a7_a257_3a47150d3a0e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMSelection { +impl core::ops::Deref for IXMLDOMSelection { type Target = IXMLDOMNodeList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4383,7 +4383,7 @@ pub struct IXMLDOMSelection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDOMText, IXMLDOMText_Vtbl, 0x2933bf87_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDOMText { +impl core::ops::Deref for IXMLDOMText { type Target = IXMLDOMCharacterData; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4411,7 +4411,7 @@ pub struct IXMLDOMText_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDSOControl, IXMLDSOControl_Vtbl, 0x310afa62_0575_11d2_9ca9_0060b0ec3d39); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDSOControl { +impl core::ops::Deref for IXMLDSOControl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4467,7 +4467,7 @@ pub struct IXMLDSOControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDocument, IXMLDocument_Vtbl, 0xf52e2b61_18a1_11d1_b105_00805f49916b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDocument { +impl core::ops::Deref for IXMLDocument { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4572,7 +4572,7 @@ pub struct IXMLDocument_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLDocument2, IXMLDocument2_Vtbl, 0x2b8de2fe_8d2d_11d1_b2fc_00c04fd915a9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLDocument2 { +impl core::ops::Deref for IXMLDocument2 { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4689,7 +4689,7 @@ pub struct IXMLDocument2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLElement, IXMLElement_Vtbl, 0x3f7f31ac_e15f_11d0_9c25_00c04fc99c8e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLElement { +impl core::ops::Deref for IXMLElement { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4800,7 +4800,7 @@ pub struct IXMLElement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLElement2, IXMLElement2_Vtbl, 0x2b8de2ff_8d2d_11d1_b2fc_00c04fd915a9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLElement2 { +impl core::ops::Deref for IXMLElement2 { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4920,7 +4920,7 @@ pub struct IXMLElement2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLElementCollection, IXMLElementCollection_Vtbl, 0x65725580_9b5d_11d0_9bfe_00c04fc99c8e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLElementCollection { +impl core::ops::Deref for IXMLElementCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4964,7 +4964,7 @@ pub struct IXMLElementCollection_Vtbl { item: usize, } windows_core::imp::define_interface!(IXMLError, IXMLError_Vtbl, 0x948c5ad3_c58d_11d0_9c0b_00c04fc99c8e); -impl std::ops::Deref for IXMLError { +impl core::ops::Deref for IXMLError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4984,7 +4984,7 @@ pub struct IXMLError_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXMLHTTPRequest, IXMLHTTPRequest_Vtbl, 0xed8c108d_4349_11d2_91a4_00c04f7969e8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXMLHTTPRequest { +impl core::ops::Deref for IXMLHTTPRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5094,7 +5094,7 @@ pub struct IXMLHTTPRequest_Vtbl { Setonreadystatechange: usize, } windows_core::imp::define_interface!(IXMLHTTPRequest2, IXMLHTTPRequest2_Vtbl, 0xe5d37dc0_552a_4d52_9cc0_a14d546fbd04); -impl std::ops::Deref for IXMLHTTPRequest2 { +impl core::ops::Deref for IXMLHTTPRequest2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5185,7 +5185,7 @@ pub struct IXMLHTTPRequest2_Vtbl { pub GetResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXMLHTTPRequest2Callback, IXMLHTTPRequest2Callback_Vtbl, 0xa44a9299_e321_40de_8866_341b41669162); -impl std::ops::Deref for IXMLHTTPRequest2Callback { +impl core::ops::Deref for IXMLHTTPRequest2Callback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5246,7 +5246,7 @@ pub struct IXMLHTTPRequest2Callback_Vtbl { pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXMLHTTPRequest3, IXMLHTTPRequest3_Vtbl, 0xa1c9feee_0617_4f23_9d58_8961ea43567c); -impl std::ops::Deref for IXMLHTTPRequest3 { +impl core::ops::Deref for IXMLHTTPRequest3 { type Target = IXMLHTTPRequest2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5267,7 +5267,7 @@ pub struct IXMLHTTPRequest3_Vtbl { pub SetClientCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXMLHTTPRequest3Callback, IXMLHTTPRequest3Callback_Vtbl, 0xb9e57830_8c6c_4a6f_9c13_47772bb047bb); -impl std::ops::Deref for IXMLHTTPRequest3Callback { +impl core::ops::Deref for IXMLHTTPRequest3Callback { type Target = IXMLHTTPRequest2Callback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5297,7 +5297,7 @@ pub struct IXMLHTTPRequest3Callback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXSLProcessor, IXSLProcessor_Vtbl, 0x2933bf92_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXSLProcessor { +impl core::ops::Deref for IXSLProcessor { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5411,7 +5411,7 @@ pub struct IXSLProcessor_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXSLTemplate, IXSLTemplate_Vtbl, 0x2933bf93_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXSLTemplate { +impl core::ops::Deref for IXSLTemplate { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5459,7 +5459,7 @@ pub struct IXSLTemplate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXTLRuntime, IXTLRuntime_Vtbl, 0x3efaa425_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXTLRuntime { +impl core::ops::Deref for IXTLRuntime { type Target = IXMLDOMNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5575,7 +5575,7 @@ pub struct IXTLRuntime_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(XMLDOMDocumentEvents, XMLDOMDocumentEvents_Vtbl, 0x3efaa427_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for XMLDOMDocumentEvents { +impl core::ops::Deref for XMLDOMDocumentEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs index ea01474223..0317cecb33 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/mod.rs @@ -67,7 +67,7 @@ where CreateXmlWriterOutputWithEncodingName(poutputstream.param().abi(), pmalloc.param().abi(), pwszencodingname.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IXmlReader, IXmlReader_Vtbl, 0x7279fc81_709d_4095_b63d_69fe4b0d9030); -impl std::ops::Deref for IXmlReader { +impl core::ops::Deref for IXmlReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -186,7 +186,7 @@ pub struct IXmlReader_Vtbl { pub IsEOF: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IXmlResolver, IXmlResolver_Vtbl, 0x7279fc82_709d_4095_b63d_69fe4b0d9030); -impl std::ops::Deref for IXmlResolver { +impl core::ops::Deref for IXmlResolver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -210,7 +210,7 @@ pub struct IXmlResolver_Vtbl { pub ResolveUri: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlWriter, IXmlWriter_Vtbl, 0x7279fc88_709d_4095_b63d_69fe4b0d9030); -impl std::ops::Deref for IXmlWriter { +impl core::ops::Deref for IXmlWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -411,7 +411,7 @@ pub struct IXmlWriter_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXmlWriterLite, IXmlWriterLite_Vtbl, 0x862494c6_1310_4aad_b3cd_2dbeebf670d3); -impl std::ops::Deref for IXmlWriterLite { +impl core::ops::Deref for IXmlWriterLite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs index 948ab93fde..dd4765cdf5 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs @@ -8,7 +8,7 @@ where CreateDeviceAccessInstance(deviceinterfacepath.param().abi(), desiredaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(ICreateDeviceAccessAsync, ICreateDeviceAccessAsync_Vtbl, 0x3474628f_683d_42d2_abcb_db018c6503bc); -impl std::ops::Deref for ICreateDeviceAccessAsync { +impl core::ops::Deref for ICreateDeviceAccessAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -29,7 +29,7 @@ impl ICreateDeviceAccessAsync { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetResult)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -42,7 +42,7 @@ pub struct ICreateDeviceAccessAsync_Vtbl { pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceIoControl, IDeviceIoControl_Vtbl, 0x9eefe161_23ab_4f18_9b49_991b586ae970); -impl std::ops::Deref for IDeviceIoControl { +impl core::ops::Deref for IDeviceIoControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -81,7 +81,7 @@ pub struct IDeviceIoControl_Vtbl { pub CancelOperation: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceRequestCompletionCallback, IDeviceRequestCompletionCallback_Vtbl, 0x999bad24_9acd_45bb_8669_2a2fc0288b04); -impl std::ops::Deref for IDeviceRequestCompletionCallback { +impl core::ops::Deref for IDeviceRequestCompletionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs index 3edf664fd8..652ef998e7 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -768,7 +768,7 @@ pub unsafe fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32 { XLATEOBJ_piVector(pxlo) } windows_core::imp::define_interface!(ICloneViewHelper, ICloneViewHelper_Vtbl, 0xf6a3d4c4_5632_4d83_b0a1_fb88712b1eb7); -impl std::ops::Deref for ICloneViewHelper { +impl core::ops::Deref for ICloneViewHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -810,7 +810,7 @@ pub struct ICloneViewHelper_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewHelper, IViewHelper_Vtbl, 0xe85ccef5_aaaa_47f0_b5e3_61f7aecdc4c1); -impl std::ops::Deref for IViewHelper { +impl core::ops::Deref for IViewHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs index 4fd4dd918b..3bae3cd1b4 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs @@ -81,7 +81,7 @@ pub unsafe fn SwMemFree(pmem: *const core::ffi::c_void) { SwMemFree(pmem) } windows_core::imp::define_interface!(IUPnPAddressFamilyControl, IUPnPAddressFamilyControl_Vtbl, 0xe3bf6178_694e_459f_a5a6_191ea0ffa1c7); -impl std::ops::Deref for IUPnPAddressFamilyControl { +impl core::ops::Deref for IUPnPAddressFamilyControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -104,7 +104,7 @@ pub struct IUPnPAddressFamilyControl_Vtbl { pub GetAddressFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPAsyncResult, IUPnPAsyncResult_Vtbl, 0x4d65fd08_d13e_4274_9c8b_dd8d028c8644); -impl std::ops::Deref for IUPnPAsyncResult { +impl core::ops::Deref for IUPnPAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -124,7 +124,7 @@ pub struct IUPnPAsyncResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPDescriptionDocument, IUPnPDescriptionDocument_Vtbl, 0x11d1c1b2_7daa_4c9e_9595_7f82ed206d1e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUPnPDescriptionDocument { +impl core::ops::Deref for IUPnPDescriptionDocument { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -191,7 +191,7 @@ pub struct IUPnPDescriptionDocument_Vtbl { DeviceByUDN: usize, } windows_core::imp::define_interface!(IUPnPDescriptionDocumentCallback, IUPnPDescriptionDocumentCallback_Vtbl, 0x77394c69_5486_40d6_9bc3_4991983e02da); -impl std::ops::Deref for IUPnPDescriptionDocumentCallback { +impl core::ops::Deref for IUPnPDescriptionDocumentCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -211,7 +211,7 @@ pub struct IUPnPDescriptionDocumentCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPDevice, IUPnPDevice_Vtbl, 0x3d44d0d1_98c9_4889_acd1_f9d674bf2221); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUPnPDevice { +impl core::ops::Deref for IUPnPDevice { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -342,7 +342,7 @@ pub struct IUPnPDevice_Vtbl { Services: usize, } windows_core::imp::define_interface!(IUPnPDeviceControl, IUPnPDeviceControl_Vtbl, 0x204810ba_73b2_11d4_bf42_00b0d0118b56); -impl std::ops::Deref for IUPnPDeviceControl { +impl core::ops::Deref for IUPnPDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -378,7 +378,7 @@ pub struct IUPnPDeviceControl_Vtbl { GetServiceObject: usize, } windows_core::imp::define_interface!(IUPnPDeviceControlHttpHeaders, IUPnPDeviceControlHttpHeaders_Vtbl, 0x204810bb_73b2_11d4_bf42_00b0d0118b56); -impl std::ops::Deref for IUPnPDeviceControlHttpHeaders { +impl core::ops::Deref for IUPnPDeviceControlHttpHeaders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -397,7 +397,7 @@ pub struct IUPnPDeviceControlHttpHeaders_Vtbl { pub GetAdditionalResponseHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPDeviceDocumentAccess, IUPnPDeviceDocumentAccess_Vtbl, 0xe7772804_3287_418e_9072_cf2b47238981); -impl std::ops::Deref for IUPnPDeviceDocumentAccess { +impl core::ops::Deref for IUPnPDeviceDocumentAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -416,7 +416,7 @@ pub struct IUPnPDeviceDocumentAccess_Vtbl { pub GetDocumentURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPDeviceDocumentAccessEx, IUPnPDeviceDocumentAccessEx_Vtbl, 0xc4bc4050_6178_4bd1_a4b8_6398321f3247); -impl std::ops::Deref for IUPnPDeviceDocumentAccessEx { +impl core::ops::Deref for IUPnPDeviceDocumentAccessEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -437,7 +437,7 @@ pub struct IUPnPDeviceDocumentAccessEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPDeviceFinder, IUPnPDeviceFinder_Vtbl, 0xadda3d55_6f72_4319_bff9_18600a539b10); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUPnPDeviceFinder { +impl core::ops::Deref for IUPnPDeviceFinder { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -495,7 +495,7 @@ pub struct IUPnPDeviceFinder_Vtbl { FindByUDN: usize, } windows_core::imp::define_interface!(IUPnPDeviceFinderAddCallbackWithInterface, IUPnPDeviceFinderAddCallbackWithInterface_Vtbl, 0x983dfc0b_1796_44df_8975_ca545b620ee5); -impl std::ops::Deref for IUPnPDeviceFinderAddCallbackWithInterface { +impl core::ops::Deref for IUPnPDeviceFinderAddCallbackWithInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -520,7 +520,7 @@ pub struct IUPnPDeviceFinderAddCallbackWithInterface_Vtbl { DeviceAddedWithInterface: usize, } windows_core::imp::define_interface!(IUPnPDeviceFinderCallback, IUPnPDeviceFinderCallback_Vtbl, 0x415a984a_88b3_49f3_92af_0508bedf0d6c); -impl std::ops::Deref for IUPnPDeviceFinderCallback { +impl core::ops::Deref for IUPnPDeviceFinderCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -556,7 +556,7 @@ pub struct IUPnPDeviceFinderCallback_Vtbl { pub SearchComplete: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPDeviceProvider, IUPnPDeviceProvider_Vtbl, 0x204810b8_73b2_11d4_bf42_00b0d0118b56); -impl std::ops::Deref for IUPnPDeviceProvider { +impl core::ops::Deref for IUPnPDeviceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -583,7 +583,7 @@ pub struct IUPnPDeviceProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPDevices, IUPnPDevices_Vtbl, 0xfdbc0c73_bda3_4c66_ac4f_f2d96fdad68c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUPnPDevices { +impl core::ops::Deref for IUPnPDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -622,7 +622,7 @@ pub struct IUPnPDevices_Vtbl { get_Item: usize, } windows_core::imp::define_interface!(IUPnPEventSink, IUPnPEventSink_Vtbl, 0x204810b4_73b2_11d4_bf42_00b0d0118b56); -impl std::ops::Deref for IUPnPEventSink { +impl core::ops::Deref for IUPnPEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -647,7 +647,7 @@ pub struct IUPnPEventSink_Vtbl { pub OnStateChangedSafe: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPEventSource, IUPnPEventSource_Vtbl, 0x204810b5_73b2_11d4_bf42_00b0d0118b56); -impl std::ops::Deref for IUPnPEventSource { +impl core::ops::Deref for IUPnPEventSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -675,7 +675,7 @@ pub struct IUPnPEventSource_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPHttpHeaderControl, IUPnPHttpHeaderControl_Vtbl, 0x0405af4f_8b5c_447c_80f2_b75984a31f3c); -impl std::ops::Deref for IUPnPHttpHeaderControl { +impl core::ops::Deref for IUPnPHttpHeaderControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -696,7 +696,7 @@ pub struct IUPnPHttpHeaderControl_Vtbl { pub AddRequestHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPRegistrar, IUPnPRegistrar_Vtbl, 0x204810b6_73b2_11d4_bf42_00b0d0118b56); -impl std::ops::Deref for IUPnPRegistrar { +impl core::ops::Deref for IUPnPRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -767,7 +767,7 @@ pub struct IUPnPRegistrar_Vtbl { pub UnregisterDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPRemoteEndpointInfo, IUPnPRemoteEndpointInfo_Vtbl, 0xc92eb863_0269_4aff_9c72_75321bba2952); -impl std::ops::Deref for IUPnPRemoteEndpointInfo { +impl core::ops::Deref for IUPnPRemoteEndpointInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -805,7 +805,7 @@ pub struct IUPnPRemoteEndpointInfo_Vtbl { pub GetGuidValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPReregistrar, IUPnPReregistrar_Vtbl, 0x204810b7_73b2_11d4_bf42_00b0d0118b56); -impl std::ops::Deref for IUPnPReregistrar { +impl core::ops::Deref for IUPnPReregistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -844,7 +844,7 @@ pub struct IUPnPReregistrar_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPService, IUPnPService_Vtbl, 0xa295019c_dc65_47dd_90dc_7fe918a1ab44); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUPnPService { +impl core::ops::Deref for IUPnPService { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -900,7 +900,7 @@ pub struct IUPnPService_Vtbl { pub LastTransportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPServiceAsync, IUPnPServiceAsync_Vtbl, 0x098bdaf5_5ec1_49e7_a260_b3a11dd8680c); -impl std::ops::Deref for IUPnPServiceAsync { +impl core::ops::Deref for IUPnPServiceAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -971,7 +971,7 @@ pub struct IUPnPServiceAsync_Vtbl { pub CancelAsyncOperation: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPServiceCallback, IUPnPServiceCallback_Vtbl, 0x31fadca9_ab73_464b_b67d_5c1d0f83c8b8); -impl std::ops::Deref for IUPnPServiceCallback { +impl core::ops::Deref for IUPnPServiceCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1009,7 +1009,7 @@ pub struct IUPnPServiceCallback_Vtbl { ServiceInstanceDied: usize, } windows_core::imp::define_interface!(IUPnPServiceDocumentAccess, IUPnPServiceDocumentAccess_Vtbl, 0x21905529_0a5e_4589_825d_7e6d87ea6998); -impl std::ops::Deref for IUPnPServiceDocumentAccess { +impl core::ops::Deref for IUPnPServiceDocumentAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1033,7 +1033,7 @@ pub struct IUPnPServiceDocumentAccess_Vtbl { pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUPnPServiceEnumProperty, IUPnPServiceEnumProperty_Vtbl, 0x38873b37_91bb_49f4_b249_2e8efbb8a816); -impl std::ops::Deref for IUPnPServiceEnumProperty { +impl core::ops::Deref for IUPnPServiceEnumProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1053,7 +1053,7 @@ pub struct IUPnPServiceEnumProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPServices, IUPnPServices_Vtbl, 0x3f8c8e9e_9a7a_4dc8_bc41_ff31fa374956); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUPnPServices { +impl core::ops::Deref for IUPnPServices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs index 63a58e7a57..3a6bbe81a3 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -480,7 +480,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccount, IFaxAccount_Vtbl, 0x68535b33_5dc4_4086_be26_b76f9b711006); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccount { +impl core::ops::Deref for IFaxAccount { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -522,7 +522,7 @@ pub struct IFaxAccount_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccountFolders, IFaxAccountFolders_Vtbl, 0x6463f89d_23d8_46a9_8f86_c47b77ca7926); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccountFolders { +impl core::ops::Deref for IFaxAccountFolders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -577,7 +577,7 @@ pub struct IFaxAccountFolders_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccountIncomingArchive, IFaxAccountIncomingArchive_Vtbl, 0xa8a5b6ef_e0d6_4aee_955c_91625bec9db4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccountIncomingArchive { +impl core::ops::Deref for IFaxAccountIncomingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -631,7 +631,7 @@ pub struct IFaxAccountIncomingArchive_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccountIncomingQueue, IFaxAccountIncomingQueue_Vtbl, 0xdd142d92_0186_4a95_a090_cbc3eadba6b4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccountIncomingQueue { +impl core::ops::Deref for IFaxAccountIncomingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -671,7 +671,7 @@ pub struct IFaxAccountIncomingQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccountNotify, IFaxAccountNotify_Vtbl, 0xb9b3bc81_ac1b_46f3_b39d_0adc30e1b788); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccountNotify { +impl core::ops::Deref for IFaxAccountNotify { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -825,7 +825,7 @@ pub struct IFaxAccountNotify_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccountOutgoingArchive, IFaxAccountOutgoingArchive_Vtbl, 0x5463076d_ec14_491f_926e_b3ceda5e5662); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccountOutgoingArchive { +impl core::ops::Deref for IFaxAccountOutgoingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -879,7 +879,7 @@ pub struct IFaxAccountOutgoingArchive_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccountOutgoingQueue, IFaxAccountOutgoingQueue_Vtbl, 0x0f1424e9_f22d_4553_b7a5_0d24bd0d7e46); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccountOutgoingQueue { +impl core::ops::Deref for IFaxAccountOutgoingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -919,7 +919,7 @@ pub struct IFaxAccountOutgoingQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccountSet, IFaxAccountSet_Vtbl, 0x7428fbae_841e_47b8_86f4_2288946dca1b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccountSet { +impl core::ops::Deref for IFaxAccountSet { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -978,7 +978,7 @@ pub struct IFaxAccountSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxAccounts, IFaxAccounts_Vtbl, 0x93ea8162_8be7_42d1_ae7b_ec74e2d989da); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxAccounts { +impl core::ops::Deref for IFaxAccounts { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1019,7 +1019,7 @@ pub struct IFaxAccounts_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxActivity, IFaxActivity_Vtbl, 0x4b106f97_3df5_40f2_bc3c_44cb8115ebdf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxActivity { +impl core::ops::Deref for IFaxActivity { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1062,7 +1062,7 @@ pub struct IFaxActivity_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxActivityLogging, IFaxActivityLogging_Vtbl, 0x1e29078b_5a69_497b_9592_49b7e7faddb5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxActivityLogging { +impl core::ops::Deref for IFaxActivityLogging { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1125,7 +1125,7 @@ pub struct IFaxActivityLogging_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxConfiguration, IFaxConfiguration_Vtbl, 0x10f4d0f7_0994_4543_ab6e_506949128c40); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxConfiguration { +impl core::ops::Deref for IFaxConfiguration { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1366,7 +1366,7 @@ pub struct IFaxConfiguration_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDevice, IFaxDevice_Vtbl, 0x49306c59_b52e_4867_9df4_ca5841c956d0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxDevice { +impl core::ops::Deref for IFaxDevice { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1527,7 +1527,7 @@ pub struct IFaxDevice_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDeviceIds, IFaxDeviceIds_Vtbl, 0x2f0f813f_4ce9_443e_8ca1_738cfaeee149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxDeviceIds { +impl core::ops::Deref for IFaxDeviceIds { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1573,7 +1573,7 @@ pub struct IFaxDeviceIds_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDeviceProvider, IFaxDeviceProvider_Vtbl, 0x290eac63_83ec_449c_8417_f148df8c682a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxDeviceProvider { +impl core::ops::Deref for IFaxDeviceProvider { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1652,7 +1652,7 @@ pub struct IFaxDeviceProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDeviceProviders, IFaxDeviceProviders_Vtbl, 0x9fb76f62_4c7e_43a5_b6fd_502893f7e13e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxDeviceProviders { +impl core::ops::Deref for IFaxDeviceProviders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1693,7 +1693,7 @@ pub struct IFaxDeviceProviders_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDevices, IFaxDevices_Vtbl, 0x9e46783e_f34f_482e_a360_0416becbbd96); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxDevices { +impl core::ops::Deref for IFaxDevices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1743,7 +1743,7 @@ pub struct IFaxDevices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDocument, IFaxDocument_Vtbl, 0xb207a246_09e3_4a4e_a7dc_fea31d29458f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxDocument { +impl core::ops::Deref for IFaxDocument { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1970,7 +1970,7 @@ pub struct IFaxDocument_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxDocument2, IFaxDocument2_Vtbl, 0xe1347661_f9ef_4d6d_b4a5_c0a068b65cff); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxDocument2 { +impl core::ops::Deref for IFaxDocument2 { type Target = IFaxDocument; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2024,7 +2024,7 @@ pub struct IFaxDocument2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxEventLogging, IFaxEventLogging_Vtbl, 0x0880d965_20e8_42e4_8e17_944f192caad4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxEventLogging { +impl core::ops::Deref for IFaxEventLogging { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2087,7 +2087,7 @@ pub struct IFaxEventLogging_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxFolders, IFaxFolders_Vtbl, 0xdce3b2a8_a7ab_42bc_9d0a_3149457261a0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxFolders { +impl core::ops::Deref for IFaxFolders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2142,7 +2142,7 @@ pub struct IFaxFolders_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxInboundRouting, IFaxInboundRouting_Vtbl, 0x8148c20f_9d52_45b1_bf96_38fc12713527); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxInboundRouting { +impl core::ops::Deref for IFaxInboundRouting { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2179,7 +2179,7 @@ pub struct IFaxInboundRouting_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxInboundRoutingExtension, IFaxInboundRoutingExtension_Vtbl, 0x885b5e08_c26c_4ef9_af83_51580a750be1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxInboundRoutingExtension { +impl core::ops::Deref for IFaxInboundRoutingExtension { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2253,7 +2253,7 @@ pub struct IFaxInboundRoutingExtension_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxInboundRoutingExtensions, IFaxInboundRoutingExtensions_Vtbl, 0x2f6c9673_7b26_42de_8eb0_915dcd2a4f4c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxInboundRoutingExtensions { +impl core::ops::Deref for IFaxInboundRoutingExtensions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2294,7 +2294,7 @@ pub struct IFaxInboundRoutingExtensions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxInboundRoutingMethod, IFaxInboundRoutingMethod_Vtbl, 0x45700061_ad9d_4776_a8c4_64065492cf4b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxInboundRoutingMethod { +impl core::ops::Deref for IFaxInboundRoutingMethod { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2355,7 +2355,7 @@ pub struct IFaxInboundRoutingMethod_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxInboundRoutingMethods, IFaxInboundRoutingMethods_Vtbl, 0x783fca10_8908_4473_9d69_f67fbea0c6b9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxInboundRoutingMethods { +impl core::ops::Deref for IFaxInboundRoutingMethods { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2396,7 +2396,7 @@ pub struct IFaxInboundRoutingMethods_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingArchive, IFaxIncomingArchive_Vtbl, 0x76062cc7_f714_4fbd_aa06_ed6e4a4b70f3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxIncomingArchive { +impl core::ops::Deref for IFaxIncomingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2517,7 +2517,7 @@ pub struct IFaxIncomingArchive_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingJob, IFaxIncomingJob_Vtbl, 0x207529e6_654a_4916_9f88_4d232ee8a107); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxIncomingJob { +impl core::ops::Deref for IFaxIncomingJob { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2631,7 +2631,7 @@ pub struct IFaxIncomingJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingJobs, IFaxIncomingJobs_Vtbl, 0x011f04e9_4fd6_4c23_9513_b6b66bb26be9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxIncomingJobs { +impl core::ops::Deref for IFaxIncomingJobs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2672,7 +2672,7 @@ pub struct IFaxIncomingJobs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingMessage, IFaxIncomingMessage_Vtbl, 0x7cab88fa_2ef9_4851_b2f3_1d148fed8447); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxIncomingMessage { +impl core::ops::Deref for IFaxIncomingMessage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2757,7 +2757,7 @@ pub struct IFaxIncomingMessage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingMessage2, IFaxIncomingMessage2_Vtbl, 0xf9208503_e2bc_48f3_9ec0_e6236f9b509a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxIncomingMessage2 { +impl core::ops::Deref for IFaxIncomingMessage2 { type Target = IFaxIncomingMessage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2865,7 +2865,7 @@ pub struct IFaxIncomingMessage2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingMessageIterator, IFaxIncomingMessageIterator_Vtbl, 0xfd73ecc4_6f06_4f52_82a8_f7ba06ae3108); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxIncomingMessageIterator { +impl core::ops::Deref for IFaxIncomingMessageIterator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2915,7 +2915,7 @@ pub struct IFaxIncomingMessageIterator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxIncomingQueue, IFaxIncomingQueue_Vtbl, 0x902e64ef_8fd8_4b75_9725_6014df161545); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxIncomingQueue { +impl core::ops::Deref for IFaxIncomingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2975,7 +2975,7 @@ pub struct IFaxIncomingQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxJobStatus, IFaxJobStatus_Vtbl, 0x8b86f485_fd7f_4824_886b_40c5caa617cc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxJobStatus { +impl core::ops::Deref for IFaxJobStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3079,7 +3079,7 @@ pub struct IFaxJobStatus_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxLoggingOptions, IFaxLoggingOptions_Vtbl, 0x34e64fb9_6b31_4d32_8b27_d286c0c33606); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxLoggingOptions { +impl core::ops::Deref for IFaxLoggingOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3116,7 +3116,7 @@ pub struct IFaxLoggingOptions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutboundRouting, IFaxOutboundRouting_Vtbl, 0x25dc05a4_9909_41bd_a95b_7e5d1dec1d43); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutboundRouting { +impl core::ops::Deref for IFaxOutboundRouting { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3153,7 +3153,7 @@ pub struct IFaxOutboundRouting_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutboundRoutingGroup, IFaxOutboundRoutingGroup_Vtbl, 0xca6289a1_7e25_4f87_9a0b_93365734962c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutboundRoutingGroup { +impl core::ops::Deref for IFaxOutboundRoutingGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3191,7 +3191,7 @@ pub struct IFaxOutboundRoutingGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutboundRoutingGroups, IFaxOutboundRoutingGroups_Vtbl, 0x235cbef7_c2de_4bfd_b8da_75097c82c87f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutboundRoutingGroups { +impl core::ops::Deref for IFaxOutboundRoutingGroups { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3251,7 +3251,7 @@ pub struct IFaxOutboundRoutingGroups_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutboundRoutingRule, IFaxOutboundRoutingRule_Vtbl, 0xe1f795d5_07c2_469f_b027_acacc23219da); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutboundRoutingRule { +impl core::ops::Deref for IFaxOutboundRoutingRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3326,7 +3326,7 @@ pub struct IFaxOutboundRoutingRule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutboundRoutingRules, IFaxOutboundRoutingRules_Vtbl, 0xdcefa1e7_ae7d_4ed6_8521_369edcca5120); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutboundRoutingRules { +impl core::ops::Deref for IFaxOutboundRoutingRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3394,7 +3394,7 @@ pub struct IFaxOutboundRoutingRules_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingArchive, IFaxOutgoingArchive_Vtbl, 0xc9c28f40_8d80_4e53_810f_9a79919b49fd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingArchive { +impl core::ops::Deref for IFaxOutgoingArchive { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3515,7 +3515,7 @@ pub struct IFaxOutgoingArchive_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingJob, IFaxOutgoingJob_Vtbl, 0x6356daad_6614_4583_bf7a_3ad67bbfc71c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingJob { +impl core::ops::Deref for IFaxOutgoingJob { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3694,7 +3694,7 @@ pub struct IFaxOutgoingJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingJob2, IFaxOutgoingJob2_Vtbl, 0x418a8d96_59a0_4789_b176_edf3dc8fa8f7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingJob2 { +impl core::ops::Deref for IFaxOutgoingJob2 { type Target = IFaxOutgoingJob; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3728,7 +3728,7 @@ pub struct IFaxOutgoingJob2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingJobs, IFaxOutgoingJobs_Vtbl, 0x2c56d8e6_8c2f_4573_944c_e505f8f5aeed); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingJobs { +impl core::ops::Deref for IFaxOutgoingJobs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3769,7 +3769,7 @@ pub struct IFaxOutgoingJobs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingMessage, IFaxOutgoingMessage_Vtbl, 0xf0ea35de_caa5_4a7c_82c7_2b60ba5f2be2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingMessage { +impl core::ops::Deref for IFaxOutgoingMessage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3892,7 +3892,7 @@ pub struct IFaxOutgoingMessage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingMessage2, IFaxOutgoingMessage2_Vtbl, 0xb37df687_bc88_4b46_b3be_b458b3ea9e7f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingMessage2 { +impl core::ops::Deref for IFaxOutgoingMessage2 { type Target = IFaxOutgoingMessage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3946,7 +3946,7 @@ pub struct IFaxOutgoingMessage2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingMessageIterator, IFaxOutgoingMessageIterator_Vtbl, 0xf5ec5d4f_b840_432f_9980_112fe42a9b7a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingMessageIterator { +impl core::ops::Deref for IFaxOutgoingMessageIterator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3996,7 +3996,7 @@ pub struct IFaxOutgoingMessageIterator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxOutgoingQueue, IFaxOutgoingQueue_Vtbl, 0x80b1df24_d9ac_4333_b373_487cedc80ce5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxOutgoingQueue { +impl core::ops::Deref for IFaxOutgoingQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4149,7 +4149,7 @@ pub struct IFaxOutgoingQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxReceiptOptions, IFaxReceiptOptions_Vtbl, 0x378efaeb_5fcb_4afb_b2ee_e16e80614487); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxReceiptOptions { +impl core::ops::Deref for IFaxReceiptOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4263,7 +4263,7 @@ pub struct IFaxReceiptOptions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxRecipient, IFaxRecipient_Vtbl, 0x9a3da3a0_538d_42b6_9444_aaa57d0ce2bc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxRecipient { +impl core::ops::Deref for IFaxRecipient { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4306,7 +4306,7 @@ pub struct IFaxRecipient_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxRecipients, IFaxRecipients_Vtbl, 0xb9c9de5a_894e_4492_9fa3_08c627c11d5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxRecipients { +impl core::ops::Deref for IFaxRecipients { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4361,7 +4361,7 @@ pub struct IFaxRecipients_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxSecurity, IFaxSecurity_Vtbl, 0x77b508c1_09c0_47a2_91eb_fce7fdf2690e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxSecurity { +impl core::ops::Deref for IFaxSecurity { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4414,7 +4414,7 @@ pub struct IFaxSecurity_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxSecurity2, IFaxSecurity2_Vtbl, 0x17d851f4_d09b_48fc_99c9_8f24c4db9ab1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxSecurity2 { +impl core::ops::Deref for IFaxSecurity2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4467,7 +4467,7 @@ pub struct IFaxSecurity2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxSender, IFaxSender_Vtbl, 0x0d879d7d_f57a_4cc6_a6f9_3ee5d527b46a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxSender { +impl core::ops::Deref for IFaxSender { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4686,7 +4686,7 @@ pub struct IFaxSender_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxServer, IFaxServer_Vtbl, 0x475b6469_90a5_4878_a577_17a86e8e3462); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxServer { +impl core::ops::Deref for IFaxServer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4891,7 +4891,7 @@ pub struct IFaxServer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxServer2, IFaxServer2_Vtbl, 0x571ced0f_5609_4f40_9176_547e3a72ca7c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxServer2 { +impl core::ops::Deref for IFaxServer2 { type Target = IFaxServer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4946,7 +4946,7 @@ pub struct IFaxServer2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxServerNotify, IFaxServerNotify_Vtbl, 0x2e037b27_cf8a_4abd_b1e0_5704943bea6f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxServerNotify { +impl core::ops::Deref for IFaxServerNotify { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4964,7 +4964,7 @@ pub struct IFaxServerNotify_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFaxServerNotify2, IFaxServerNotify2_Vtbl, 0xec9c69b9_5fe7_4805_9467_82fcd96af903); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFaxServerNotify2 { +impl core::ops::Deref for IFaxServerNotify2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5287,7 +5287,7 @@ pub struct IFaxServerNotify2_Vtbl { OnGeneralServerConfigChanged: usize, } windows_core::imp::define_interface!(IStiDevice, IStiDevice_Vtbl, 0x6cfa5a80_2dc8_11d0_90ea_00aa0060f86c); -impl std::ops::Deref for IStiDevice { +impl core::ops::Deref for IStiDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5390,7 +5390,7 @@ pub struct IStiDevice_Vtbl { pub GetLastErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut _ERROR_INFOW) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStiDeviceControl, IStiDeviceControl_Vtbl, 0x128a9860_52dc_11d0_9edf_444553540000); -impl std::ops::Deref for IStiDeviceControl { +impl core::ops::Deref for IStiDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5470,7 +5470,7 @@ pub struct IStiDeviceControl_Vtbl { pub WriteToErrorLog: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStiUSD, IStiUSD_Vtbl, 0x0c9bb460_51ac_11d0_90ea_00aa0060f86c); -impl std::ops::Deref for IStiUSD { +impl core::ops::Deref for IStiUSD { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5577,7 +5577,7 @@ pub struct IStiUSD_Vtbl { pub GetLastErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut _ERROR_INFOW) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStillImageW, IStillImageW_Vtbl, 0x641bd880_2dc8_11d0_90ea_00aa0060f86c); -impl std::ops::Deref for IStillImageW { +impl core::ops::Deref for IStillImageW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs index 4e3afa200d..f630160eaa 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IFunctionDiscovery, IFunctionDiscovery_Vtbl, 0x4df99b70_e148_4432_b004_4c9eeb535a5e); -impl std::ops::Deref for IFunctionDiscovery { +impl core::ops::Deref for IFunctionDiscovery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -78,7 +78,7 @@ pub struct IFunctionDiscovery_Vtbl { pub RemoveInstance: unsafe extern "system" fn(*mut core::ffi::c_void, SystemVisibilityFlags, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFunctionDiscoveryNotification, IFunctionDiscoveryNotification_Vtbl, 0x5f6c1ba8_5330_422e_a368_572b244d3f87); -impl std::ops::Deref for IFunctionDiscoveryNotification { +impl core::ops::Deref for IFunctionDiscoveryNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -117,7 +117,7 @@ pub struct IFunctionDiscoveryNotification_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFunctionDiscoveryProvider, IFunctionDiscoveryProvider_Vtbl, 0xdcde394f_1478_4813_a402_f6fb10657222); -impl std::ops::Deref for IFunctionDiscoveryProvider { +impl core::ops::Deref for IFunctionDiscoveryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -209,7 +209,7 @@ pub struct IFunctionDiscoveryProvider_Vtbl { InstanceReleased: usize, } windows_core::imp::define_interface!(IFunctionDiscoveryProviderFactory, IFunctionDiscoveryProviderFactory_Vtbl, 0x86443ff0_1ad5_4e68_a45a_40c2c329de3b); -impl std::ops::Deref for IFunctionDiscoveryProviderFactory { +impl core::ops::Deref for IFunctionDiscoveryProviderFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -252,7 +252,7 @@ pub struct IFunctionDiscoveryProviderFactory_Vtbl { pub CreateFunctionInstanceCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFunctionDiscoveryProviderQuery, IFunctionDiscoveryProviderQuery_Vtbl, 0x6876ea98_baec_46db_bc20_75a76e267a3a); -impl std::ops::Deref for IFunctionDiscoveryProviderQuery { +impl core::ops::Deref for IFunctionDiscoveryProviderQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -284,7 +284,7 @@ pub struct IFunctionDiscoveryProviderQuery_Vtbl { pub GetPropertyConstraints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFunctionDiscoveryServiceProvider, IFunctionDiscoveryServiceProvider_Vtbl, 0x4c81ed02_1b04_43f2_a451_69966cbcd1c2); -impl std::ops::Deref for IFunctionDiscoveryServiceProvider { +impl core::ops::Deref for IFunctionDiscoveryServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -298,7 +298,7 @@ impl IFunctionDiscoveryServiceProvider { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Initialize)(windows_core::Interface::as_raw(self), pifunctioninstance.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -313,7 +313,7 @@ pub struct IFunctionDiscoveryServiceProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFunctionInstance, IFunctionInstance_Vtbl, 0x33591c10_0bed_4f02_b0ab_1530d5533ee9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFunctionInstance { +impl core::ops::Deref for IFunctionInstance { type Target = super::super::System::Com::IServiceProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -353,7 +353,7 @@ pub struct IFunctionInstance_Vtbl { pub GetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16, *mut *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFunctionInstanceCollection, IFunctionInstanceCollection_Vtbl, 0xf0a3d895_855c_42a2_948d_2f97d450ecb1); -impl std::ops::Deref for IFunctionInstanceCollection { +impl core::ops::Deref for IFunctionInstanceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -421,7 +421,7 @@ pub struct IFunctionInstanceCollection_Vtbl { pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFunctionInstanceCollectionQuery, IFunctionInstanceCollectionQuery_Vtbl, 0x57cc6fd2_c09a_4289_bb72_25f04142058e); -impl std::ops::Deref for IFunctionInstanceCollectionQuery { +impl core::ops::Deref for IFunctionInstanceCollectionQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -456,7 +456,7 @@ pub struct IFunctionInstanceCollectionQuery_Vtbl { pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFunctionInstanceQuery, IFunctionInstanceQuery_Vtbl, 0x6242bc6b_90ec_4b37_bb46_e229fd84ed95); -impl std::ops::Deref for IFunctionInstanceQuery { +impl core::ops::Deref for IFunctionInstanceQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -479,7 +479,7 @@ pub struct IFunctionInstanceQuery_Vtbl { Execute: usize, } windows_core::imp::define_interface!(IPNPXAssociation, IPNPXAssociation_Vtbl, 0x0bd7e521_4da6_42d5_81ba_1981b6b94075); -impl std::ops::Deref for IPNPXAssociation { +impl core::ops::Deref for IPNPXAssociation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -514,7 +514,7 @@ pub struct IPNPXAssociation_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPNPXDeviceAssociation, IPNPXDeviceAssociation_Vtbl, 0xeed366d0_35b8_4fc5_8d20_7e5bd31f6ded); -impl std::ops::Deref for IPNPXDeviceAssociation { +impl core::ops::Deref for IPNPXDeviceAssociation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -552,7 +552,7 @@ pub struct IPNPXDeviceAssociation_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStoreCollection, IPropertyStoreCollection_Vtbl, 0xd14d9c30_12d2_42d8_bce4_c60c2bb226fa); -impl std::ops::Deref for IPropertyStoreCollection { +impl core::ops::Deref for IPropertyStoreCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -620,7 +620,7 @@ pub struct IPropertyStoreCollection_Vtbl { pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProviderProperties, IProviderProperties_Vtbl, 0xcf986ea6_3b5f_4c5f_b88a_2f8b20ceef17); -impl std::ops::Deref for IProviderProperties { +impl core::ops::Deref for IProviderProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -680,7 +680,7 @@ pub struct IProviderProperties_Vtbl { SetValue: usize, } windows_core::imp::define_interface!(IProviderPropertyConstraintCollection, IProviderPropertyConstraintCollection_Vtbl, 0xf4fae42f_5778_4a13_8540_b5fd8c1398dd); -impl std::ops::Deref for IProviderPropertyConstraintCollection { +impl core::ops::Deref for IProviderPropertyConstraintCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -731,7 +731,7 @@ pub struct IProviderPropertyConstraintCollection_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProviderPublishing, IProviderPublishing_Vtbl, 0xcd1b9a04_206c_4a05_a0c8_1635a21a2b7c); -impl std::ops::Deref for IProviderPublishing { +impl core::ops::Deref for IProviderPublishing { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -766,7 +766,7 @@ pub struct IProviderPublishing_Vtbl { pub RemoveInstance: unsafe extern "system" fn(*mut core::ffi::c_void, SystemVisibilityFlags, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProviderQueryConstraintCollection, IProviderQueryConstraintCollection_Vtbl, 0x9c243e11_3261_4bcd_b922_84a873d460ae); -impl std::ops::Deref for IProviderQueryConstraintCollection { +impl core::ops::Deref for IProviderQueryConstraintCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs index 548c0e576c..62d7aeea8a 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ICivicAddressReport, ICivicAddressReport_Vtbl, 0xc0b19f70_4adf_445d_87f2_cad8fd711792); -impl std::ops::Deref for ICivicAddressReport { +impl core::ops::Deref for ICivicAddressReport { type Target = ILocationReport; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -50,7 +50,7 @@ pub struct ICivicAddressReport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICivicAddressReportFactory, ICivicAddressReportFactory_Vtbl, 0xbf773b93_c64f_4bee_beb2_67c0b8df66e0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICivicAddressReportFactory { +impl core::ops::Deref for ICivicAddressReportFactory { type Target = ILocationReportFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -76,7 +76,7 @@ pub struct ICivicAddressReportFactory_Vtbl { CivicAddressReport: usize, } windows_core::imp::define_interface!(IDefaultLocation, IDefaultLocation_Vtbl, 0xa65af77e_969a_4a2e_8aca_33bb7cbb1235); -impl std::ops::Deref for IDefaultLocation { +impl core::ops::Deref for IDefaultLocation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -104,7 +104,7 @@ pub struct IDefaultLocation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDispCivicAddressReport, IDispCivicAddressReport_Vtbl, 0x16ff1a34_9e30_42c3_b44d_e22513b5767a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDispCivicAddressReport { +impl core::ops::Deref for IDispCivicAddressReport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -163,7 +163,7 @@ pub struct IDispCivicAddressReport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDispLatLongReport, IDispLatLongReport_Vtbl, 0x8ae32723_389b_4a11_9957_5bdd48fc9617); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDispLatLongReport { +impl core::ops::Deref for IDispLatLongReport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -210,7 +210,7 @@ pub struct IDispLatLongReport_Vtbl { pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILatLongReport, ILatLongReport_Vtbl, 0x7fed806d_0ef8_4f07_80ac_36a0beae3134); -impl std::ops::Deref for ILatLongReport { +impl core::ops::Deref for ILatLongReport { type Target = ILocationReport; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -251,7 +251,7 @@ pub struct ILatLongReport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILatLongReportFactory, ILatLongReportFactory_Vtbl, 0x3f0804cb_b114_447d_83dd_390174ebb082); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ILatLongReportFactory { +impl core::ops::Deref for ILatLongReportFactory { type Target = ILocationReportFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -277,7 +277,7 @@ pub struct ILatLongReportFactory_Vtbl { LatLongReport: usize, } windows_core::imp::define_interface!(ILocation, ILocation_Vtbl, 0xab2ece69_56d9_4f28_b525_de1b0ee44237); -impl std::ops::Deref for ILocation { +impl core::ops::Deref for ILocation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -346,7 +346,7 @@ pub struct ILocation_Vtbl { pub RequestPermissions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILocationEvents, ILocationEvents_Vtbl, 0xcae02bbf_798b_4508_a207_35a7906dc73d); -impl std::ops::Deref for ILocationEvents { +impl core::ops::Deref for ILocationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -371,7 +371,7 @@ pub struct ILocationEvents_Vtbl { pub OnStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, LOCATION_REPORT_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILocationPower, ILocationPower_Vtbl, 0x193e7729_ab6b_4b12_8617_7596e1bb191c); -impl std::ops::Deref for ILocationPower { +impl core::ops::Deref for ILocationPower { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -393,7 +393,7 @@ pub struct ILocationPower_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILocationReport, ILocationReport_Vtbl, 0xc8b7f7ee_75d0_4db9_b62d_7a0f369ca456); -impl std::ops::Deref for ILocationReport { +impl core::ops::Deref for ILocationReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -428,7 +428,7 @@ pub struct ILocationReport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILocationReportFactory, ILocationReportFactory_Vtbl, 0x2daec322_90b2_47e4_bb08_0da841935a6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ILocationReportFactory { +impl core::ops::Deref for ILocationReportFactory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -482,7 +482,7 @@ pub struct ILocationReportFactory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_ICivicAddressReportFactoryEvents, _ICivicAddressReportFactoryEvents_Vtbl, 0xc96039ff_72ec_4617_89bd_84d88bedc722); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _ICivicAddressReportFactoryEvents { +impl core::ops::Deref for _ICivicAddressReportFactoryEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -500,7 +500,7 @@ pub struct _ICivicAddressReportFactoryEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_ILatLongReportFactoryEvents, _ILatLongReportFactoryEvents_Vtbl, 0x16ee6cb7_ab3c_424b_849f_269be551fcbc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _ILatLongReportFactoryEvents { +impl core::ops::Deref for _ILatLongReportFactoryEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs index f033f327b5..026c3396de 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -366,7 +366,7 @@ pub unsafe fn joyConfigChanged(dwflags: u32) -> u32 { joyConfigChanged(dwflags) } windows_core::imp::define_interface!(IDirectInput2A, IDirectInput2A_Vtbl, 0x5944e662_aa8a_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInput2A { +impl core::ops::Deref for IDirectInput2A { type Target = IDirectInputA; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -387,7 +387,7 @@ pub struct IDirectInput2A_Vtbl { pub FindDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCSTR, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInput2W, IDirectInput2W_Vtbl, 0x5944e663_aa8a_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInput2W { +impl core::ops::Deref for IDirectInput2W { type Target = IDirectInputW; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -408,7 +408,7 @@ pub struct IDirectInput2W_Vtbl { pub FindDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInput7A, IDirectInput7A_Vtbl, 0x9a4cb684_236d_11d3_8e9d_00c04f6844ae); -impl std::ops::Deref for IDirectInput7A { +impl core::ops::Deref for IDirectInput7A { type Target = IDirectInput2A; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -429,7 +429,7 @@ pub struct IDirectInput7A_Vtbl { pub CreateDeviceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInput7W, IDirectInput7W_Vtbl, 0x9a4cb685_236d_11d3_8e9d_00c04f6844ae); -impl std::ops::Deref for IDirectInput7W { +impl core::ops::Deref for IDirectInput7W { type Target = IDirectInput2W; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -450,7 +450,7 @@ pub struct IDirectInput7W_Vtbl { pub CreateDeviceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInput8A, IDirectInput8A_Vtbl, 0xbf798030_483a_4da2_aa99_5d64ed369700); -impl std::ops::Deref for IDirectInput8A { +impl core::ops::Deref for IDirectInput8A { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -511,7 +511,7 @@ pub struct IDirectInput8A_Vtbl { pub ConfigureDevices: unsafe extern "system" fn(*mut core::ffi::c_void, LPDICONFIGUREDEVICESCALLBACK, *mut DICONFIGUREDEVICESPARAMSA, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInput8W, IDirectInput8W_Vtbl, 0xbf798031_483a_4da2_aa99_5d64ed369700); -impl std::ops::Deref for IDirectInput8W { +impl core::ops::Deref for IDirectInput8W { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -572,7 +572,7 @@ pub struct IDirectInput8W_Vtbl { pub ConfigureDevices: unsafe extern "system" fn(*mut core::ffi::c_void, LPDICONFIGUREDEVICESCALLBACK, *mut DICONFIGUREDEVICESPARAMSW, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputA, IDirectInputA_Vtbl, 0x89521360_aa8a_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInputA { +impl core::ops::Deref for IDirectInputA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -615,7 +615,7 @@ pub struct IDirectInputA_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HINSTANCE, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDevice2A, IDirectInputDevice2A_Vtbl, 0x5944e682_c92e_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInputDevice2A { +impl core::ops::Deref for IDirectInputDevice2A { type Target = IDirectInputDeviceA; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -668,7 +668,7 @@ pub struct IDirectInputDevice2A_Vtbl { pub SendDeviceData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DIDEVICEOBJECTDATA, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDevice2W, IDirectInputDevice2W_Vtbl, 0x5944e683_c92e_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInputDevice2W { +impl core::ops::Deref for IDirectInputDevice2W { type Target = IDirectInputDeviceW; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -721,7 +721,7 @@ pub struct IDirectInputDevice2W_Vtbl { pub SendDeviceData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DIDEVICEOBJECTDATA, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDevice7A, IDirectInputDevice7A_Vtbl, 0x57d7c6bc_2356_11d3_8e9d_00c04f6844ae); -impl std::ops::Deref for IDirectInputDevice7A { +impl core::ops::Deref for IDirectInputDevice7A { type Target = IDirectInputDevice2A; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -749,7 +749,7 @@ pub struct IDirectInputDevice7A_Vtbl { pub WriteEffectToFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, *mut DIFILEEFFECT, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDevice7W, IDirectInputDevice7W_Vtbl, 0x57d7c6bd_2356_11d3_8e9d_00c04f6844ae); -impl std::ops::Deref for IDirectInputDevice7W { +impl core::ops::Deref for IDirectInputDevice7W { type Target = IDirectInputDevice2W; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -777,7 +777,7 @@ pub struct IDirectInputDevice7W_Vtbl { pub WriteEffectToFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut DIFILEEFFECT, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDevice8A, IDirectInputDevice8A_Vtbl, 0x54d41080_dc15_4833_a41b_748f73a38179); -impl std::ops::Deref for IDirectInputDevice8A { +impl core::ops::Deref for IDirectInputDevice8A { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -934,7 +934,7 @@ pub struct IDirectInputDevice8A_Vtbl { pub GetImageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIDEVICEIMAGEINFOHEADERA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDevice8W, IDirectInputDevice8W_Vtbl, 0x54d41081_dc15_4833_a41b_748f73a38179); -impl std::ops::Deref for IDirectInputDevice8W { +impl core::ops::Deref for IDirectInputDevice8W { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1091,7 +1091,7 @@ pub struct IDirectInputDevice8W_Vtbl { pub GetImageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIDEVICEIMAGEINFOHEADERW) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDeviceA, IDirectInputDeviceA_Vtbl, 0x5944e680_c92e_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInputDeviceA { +impl core::ops::Deref for IDirectInputDeviceA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1177,7 +1177,7 @@ pub struct IDirectInputDeviceA_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HINSTANCE, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputDeviceW, IDirectInputDeviceW_Vtbl, 0x5944e681_c92e_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInputDeviceW { +impl core::ops::Deref for IDirectInputDeviceW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1263,7 +1263,7 @@ pub struct IDirectInputDeviceW_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HINSTANCE, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputEffect, IDirectInputEffect_Vtbl, 0xe7e1f7c0_88d2_11d0_9ad0_00a0c9a06e35); -impl std::ops::Deref for IDirectInputEffect { +impl core::ops::Deref for IDirectInputEffect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1320,7 +1320,7 @@ pub struct IDirectInputEffect_Vtbl { pub Escape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIEFFESCAPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputEffectDriver, IDirectInputEffectDriver_Vtbl, 0x02538130_898f_11d0_9ad0_00a0c9a06e35); -impl std::ops::Deref for IDirectInputEffectDriver { +impl core::ops::Deref for IDirectInputEffectDriver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1378,7 +1378,7 @@ pub struct IDirectInputEffectDriver_Vtbl { pub GetEffectStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectInputJoyConfig, IDirectInputJoyConfig_Vtbl, 0x1de12ab1_c9f5_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInputJoyConfig { +impl core::ops::Deref for IDirectInputJoyConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1482,7 +1482,7 @@ pub struct IDirectInputJoyConfig_Vtbl { OpenConfigKey: usize, } windows_core::imp::define_interface!(IDirectInputJoyConfig8, IDirectInputJoyConfig8_Vtbl, 0xeb0d7dfa_1990_4f27_b4d6_edf2eec4a44c); -impl std::ops::Deref for IDirectInputJoyConfig8 { +impl core::ops::Deref for IDirectInputJoyConfig8 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1587,7 +1587,7 @@ pub struct IDirectInputJoyConfig8_Vtbl { OpenAppStatusKey: usize, } windows_core::imp::define_interface!(IDirectInputW, IDirectInputW_Vtbl, 0x89521361_aa8a_11cf_bfc7_444553540000); -impl std::ops::Deref for IDirectInputW { +impl core::ops::Deref for IDirectInputW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs index 980adc757b..374cf83bfb 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IEnumWIA_DEV_CAPS, IEnumWIA_DEV_CAPS_Vtbl, 0x1fcc4287_aca6_11d2_a093_00c04f72dc3c); -impl std::ops::Deref for IEnumWIA_DEV_CAPS { +impl core::ops::Deref for IEnumWIA_DEV_CAPS { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -35,7 +35,7 @@ pub struct IEnumWIA_DEV_CAPS_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumWIA_DEV_INFO, IEnumWIA_DEV_INFO_Vtbl, 0x5e38b83c_8cf1_11d1_bf92_0060081ed811); -impl std::ops::Deref for IEnumWIA_DEV_INFO { +impl core::ops::Deref for IEnumWIA_DEV_INFO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -71,7 +71,7 @@ pub struct IEnumWIA_DEV_INFO_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumWIA_FORMAT_INFO, IEnumWIA_FORMAT_INFO_Vtbl, 0x81befc5b_656d_44f1_b24c_d41d51b4dc81); -impl std::ops::Deref for IEnumWIA_FORMAT_INFO { +impl core::ops::Deref for IEnumWIA_FORMAT_INFO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -107,7 +107,7 @@ pub struct IEnumWIA_FORMAT_INFO_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumWiaItem, IEnumWiaItem_Vtbl, 0x5e8383fc_3391_11d2_9a33_00c04fa36145); -impl std::ops::Deref for IEnumWiaItem { +impl core::ops::Deref for IEnumWiaItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -143,7 +143,7 @@ pub struct IEnumWiaItem_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumWiaItem2, IEnumWiaItem2_Vtbl, 0x59970af4_cd0d_44d9_ab24_52295630e582); -impl std::ops::Deref for IEnumWiaItem2 { +impl core::ops::Deref for IEnumWiaItem2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -179,7 +179,7 @@ pub struct IEnumWiaItem2_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaAppErrorHandler, IWiaAppErrorHandler_Vtbl, 0x6c16186c_d0a6_400c_80f4_d26986a0e734); -impl std::ops::Deref for IWiaAppErrorHandler { +impl core::ops::Deref for IWiaAppErrorHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -205,7 +205,7 @@ pub struct IWiaAppErrorHandler_Vtbl { pub ReportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, windows_core::HRESULT, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaDataCallback, IWiaDataCallback_Vtbl, 0xa558a866_a5b0_11d2_a08f_00c04f72dc3c); -impl std::ops::Deref for IWiaDataCallback { +impl core::ops::Deref for IWiaDataCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -223,7 +223,7 @@ pub struct IWiaDataCallback_Vtbl { pub BandedDataCallback: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, i32, i32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaDataTransfer, IWiaDataTransfer_Vtbl, 0xa6cef998_a5b0_11d2_a08f_00c04f72dc3c); -impl std::ops::Deref for IWiaDataTransfer { +impl core::ops::Deref for IWiaDataTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -268,7 +268,7 @@ pub struct IWiaDataTransfer_Vtbl { pub idtGetExtendedTransferInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WIA_EXTENDED_TRANSFER_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaDevMgr, IWiaDevMgr_Vtbl, 0x5eb2502a_8cf1_11d1_bf92_0060081ed811); -impl std::ops::Deref for IWiaDevMgr { +impl core::ops::Deref for IWiaDevMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -355,7 +355,7 @@ pub struct IWiaDevMgr_Vtbl { pub AddDeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaDevMgr2, IWiaDevMgr2_Vtbl, 0x79c07cf1_cbdd_41ee_8ec3_f00080cada7a); -impl std::ops::Deref for IWiaDevMgr2 { +impl core::ops::Deref for IWiaDevMgr2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -437,7 +437,7 @@ pub struct IWiaDevMgr2_Vtbl { pub GetImageDlg: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32, *mut *mut windows_core::BSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaDrvItem, IWiaDrvItem_Vtbl, 0x1f02b5c5_b00c_11d2_a094_00c04f72dc3c); -impl std::ops::Deref for IWiaDrvItem { +impl core::ops::Deref for IWiaDrvItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -522,7 +522,7 @@ pub struct IWiaDrvItem_Vtbl { pub DumpItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaErrorHandler, IWiaErrorHandler_Vtbl, 0x0e4a51b1_bc1f_443d_a835_72e890759ef3); -impl std::ops::Deref for IWiaErrorHandler { +impl core::ops::Deref for IWiaErrorHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -552,7 +552,7 @@ pub struct IWiaErrorHandler_Vtbl { pub GetStatusDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, windows_core::HRESULT, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaEventCallback, IWiaEventCallback_Vtbl, 0xae6287b0_0084_11d2_973b_00a0c9068f2e); -impl std::ops::Deref for IWiaEventCallback { +impl core::ops::Deref for IWiaEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -576,7 +576,7 @@ pub struct IWiaEventCallback_Vtbl { pub ImageEventCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, core::mem::MaybeUninit, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaImageFilter, IWiaImageFilter_Vtbl, 0xa8a79ffa_450b_41f1_8f87_849ccd94ebf6); -impl std::ops::Deref for IWiaImageFilter { +impl core::ops::Deref for IWiaImageFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -624,7 +624,7 @@ pub struct IWiaImageFilter_Vtbl { pub ApplyProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaItem, IWiaItem_Vtbl, 0x4db1ad10_3391_11d2_9a33_00c04fa36145); -impl std::ops::Deref for IWiaItem { +impl core::ops::Deref for IWiaItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -718,7 +718,7 @@ pub struct IWiaItem_Vtbl { pub Diagnostic: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaItem2, IWiaItem2_Vtbl, 0x6cba0075_1287_407d_9b77_cf0e030435cc); -impl std::ops::Deref for IWiaItem2 { +impl core::ops::Deref for IWiaItem2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -823,7 +823,7 @@ pub struct IWiaItem2_Vtbl { pub Diagnostic: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaItemExtras, IWiaItemExtras_Vtbl, 0x6291ef2c_36ef_4532_876a_8e132593778d); -impl std::ops::Deref for IWiaItemExtras { +impl core::ops::Deref for IWiaItemExtras { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -850,7 +850,7 @@ pub struct IWiaItemExtras_Vtbl { pub CancelPendingIO: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaLog, IWiaLog_Vtbl, 0xa00c10b6_82a1_452f_8b6c_86062aad6890); -impl std::ops::Deref for IWiaLog { +impl core::ops::Deref for IWiaLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -879,7 +879,7 @@ pub struct IWiaLog_Vtbl { pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaLogEx, IWiaLogEx_Vtbl, 0xaf1f22ac_7a40_4787_b421_aeb47a1fbd0b); -impl std::ops::Deref for IWiaLogEx { +impl core::ops::Deref for IWiaLogEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -919,7 +919,7 @@ pub struct IWiaLogEx_Vtbl { pub LogEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaMiniDrv, IWiaMiniDrv_Vtbl, 0xd8cdee14_3c6c_11d2_9a35_00c04fa36145); -impl std::ops::Deref for IWiaMiniDrv { +impl core::ops::Deref for IWiaMiniDrv { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1026,7 +1026,7 @@ pub struct IWiaMiniDrv_Vtbl { pub drvUnInitializeWia: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaMiniDrvCallBack, IWiaMiniDrvCallBack_Vtbl, 0x33a57d5a_3de8_11d2_9a36_00c04fa36145); -impl std::ops::Deref for IWiaMiniDrvCallBack { +impl core::ops::Deref for IWiaMiniDrvCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1044,7 +1044,7 @@ pub struct IWiaMiniDrvCallBack_Vtbl { pub MiniDrvCallback: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, *const MINIDRV_TRANSFER_CONTEXT, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaMiniDrvTransferCallback, IWiaMiniDrvTransferCallback_Vtbl, 0xa9d2ee89_2ce5_4ff0_8adb_c961d1d774ca); -impl std::ops::Deref for IWiaMiniDrvTransferCallback { +impl core::ops::Deref for IWiaMiniDrvTransferCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1075,7 +1075,7 @@ pub struct IWiaMiniDrvTransferCallback_Vtbl { pub SendMessage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const WiaTransferParams) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaNotifyDevMgr, IWiaNotifyDevMgr_Vtbl, 0x70681ea0_e7bf_4291_9fb1_4e8813a3f78e); -impl std::ops::Deref for IWiaNotifyDevMgr { +impl core::ops::Deref for IWiaNotifyDevMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1093,7 +1093,7 @@ pub struct IWiaNotifyDevMgr_Vtbl { pub NewDeviceArrival: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaPreview, IWiaPreview_Vtbl, 0x95c2b4fd_33f2_4d86_ad40_9431f0df08f7); -impl std::ops::Deref for IWiaPreview { +impl core::ops::Deref for IWiaPreview { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1131,7 +1131,7 @@ pub struct IWiaPreview_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaPropertyStorage, IWiaPropertyStorage_Vtbl, 0x98b5e8a0_29cc_491a_aac0_e6db4fdcceb6); -impl std::ops::Deref for IWiaPropertyStorage { +impl core::ops::Deref for IWiaPropertyStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1246,7 +1246,7 @@ pub struct IWiaPropertyStorage_Vtbl { SetPropertyStream: usize, } windows_core::imp::define_interface!(IWiaSegmentationFilter, IWiaSegmentationFilter_Vtbl, 0xec46a697_ac04_4447_8f65_ff63d5154b21); -impl std::ops::Deref for IWiaSegmentationFilter { +impl core::ops::Deref for IWiaSegmentationFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1272,7 +1272,7 @@ pub struct IWiaSegmentationFilter_Vtbl { DetectRegions: usize, } windows_core::imp::define_interface!(IWiaTransfer, IWiaTransfer_Vtbl, 0xc39d6942_2f4e_4d04_92fe_4ef4d3a1de5a); -impl std::ops::Deref for IWiaTransfer { +impl core::ops::Deref for IWiaTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1314,7 +1314,7 @@ pub struct IWiaTransfer_Vtbl { pub EnumWIA_FORMAT_INFO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWiaTransferCallback, IWiaTransferCallback_Vtbl, 0x27d4eaaf_28a6_4ca5_9aab_e678168b9527); -impl std::ops::Deref for IWiaTransferCallback { +impl core::ops::Deref for IWiaTransferCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1345,7 +1345,7 @@ pub struct IWiaTransferCallback_Vtbl { GetNextStream: usize, } windows_core::imp::define_interface!(IWiaUIExtension, IWiaUIExtension_Vtbl, 0xda319113_50ee_4c80_b460_57d005d44a2c); -impl std::ops::Deref for IWiaUIExtension { +impl core::ops::Deref for IWiaUIExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1385,7 +1385,7 @@ pub struct IWiaUIExtension_Vtbl { GetDeviceBitmapLogo: usize, } windows_core::imp::define_interface!(IWiaUIExtension2, IWiaUIExtension2_Vtbl, 0x305600d7_5088_46d7_9a15_b77b09cdba7a); -impl std::ops::Deref for IWiaUIExtension2 { +impl core::ops::Deref for IWiaUIExtension2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1414,7 +1414,7 @@ pub struct IWiaUIExtension2_Vtbl { GetDeviceIcon: usize, } windows_core::imp::define_interface!(IWiaVideo, IWiaVideo_Vtbl, 0xd52920aa_db88_41f0_946c_e00dc0a19cfa); -impl std::ops::Deref for IWiaVideo { +impl core::ops::Deref for IWiaVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs index 73fe6585cd..9ff50a74cf 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -8,7 +8,7 @@ where DMProcessConfigXMLFiltered(pszxmlin.param().abi(), core::mem::transmute(rgszallowedcspnodes.as_ptr()), rgszallowedcspnodes.len().try_into().unwrap(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IConnectionRequestCallback, IConnectionRequestCallback_Vtbl, 0x272c9ae0_7161_4ae0_91bd_9f448ee9c427); -impl std::ops::Deref for IConnectionRequestCallback { +impl core::ops::Deref for IConnectionRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -26,7 +26,7 @@ pub struct IConnectionRequestCallback_Vtbl { pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPortableDeviceConnectors, IEnumPortableDeviceConnectors_Vtbl, 0xbfdef549_9247_454f_bd82_06fe80853faa); -impl std::ops::Deref for IEnumPortableDeviceConnectors { +impl core::ops::Deref for IEnumPortableDeviceConnectors { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -57,7 +57,7 @@ pub struct IEnumPortableDeviceConnectors_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPortableDeviceObjectIDs, IEnumPortableDeviceObjectIDs_Vtbl, 0x10ece955_cf41_4728_bfa0_41eedf1bbf19); -impl std::ops::Deref for IEnumPortableDeviceObjectIDs { +impl core::ops::Deref for IEnumPortableDeviceObjectIDs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -92,7 +92,7 @@ pub struct IEnumPortableDeviceObjectIDs_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaRadioManager, IMediaRadioManager_Vtbl, 0x6cfdcab5_fc47_42a5_9241_074b58830e73); -impl std::ops::Deref for IMediaRadioManager { +impl core::ops::Deref for IMediaRadioManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -115,7 +115,7 @@ pub struct IMediaRadioManager_Vtbl { pub OnSystemRadioStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, SYSTEM_RADIO_STATE, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaRadioManagerNotifySink, IMediaRadioManagerNotifySink_Vtbl, 0x89d81f5f_c147_49ed_a11c_77b20c31e7c9); -impl std::ops::Deref for IMediaRadioManagerNotifySink { +impl core::ops::Deref for IMediaRadioManagerNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -150,7 +150,7 @@ pub struct IMediaRadioManagerNotifySink_Vtbl { pub OnInstanceRadioChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, DEVICE_RADIO_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDevice, IPortableDevice_Vtbl, 0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); -impl std::ops::Deref for IPortableDevice { +impl core::ops::Deref for IPortableDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -219,7 +219,7 @@ pub struct IPortableDevice_Vtbl { pub GetPnPDeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceCapabilities, IPortableDeviceCapabilities_Vtbl, 0x2c8c6dbf_e3dc_4061_becc_8542e810d126); -impl std::ops::Deref for IPortableDeviceCapabilities { +impl core::ops::Deref for IPortableDeviceCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -295,7 +295,7 @@ pub struct IPortableDeviceCapabilities_Vtbl { pub GetEventOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceConnector, IPortableDeviceConnector_Vtbl, 0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); -impl std::ops::Deref for IPortableDeviceConnector { +impl core::ops::Deref for IPortableDeviceConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -351,7 +351,7 @@ pub struct IPortableDeviceConnector_Vtbl { pub GetPnPID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceContent, IPortableDeviceContent_Vtbl, 0x6a96ed84_7c73_4480_9938_bf5af477d426); -impl std::ops::Deref for IPortableDeviceContent { +impl core::ops::Deref for IPortableDeviceContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -437,7 +437,7 @@ pub struct IPortableDeviceContent_Vtbl { pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceContent2, IPortableDeviceContent2_Vtbl, 0x9b4add96_f6bf_4034_8708_eca72bf10554); -impl std::ops::Deref for IPortableDeviceContent2 { +impl core::ops::Deref for IPortableDeviceContent2 { type Target = IPortableDeviceContent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -465,7 +465,7 @@ pub struct IPortableDeviceContent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPortableDeviceDataStream, IPortableDeviceDataStream_Vtbl, 0x88e04db3_1012_4d64_9996_f703a950d3f4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPortableDeviceDataStream { +impl core::ops::Deref for IPortableDeviceDataStream { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -491,7 +491,7 @@ pub struct IPortableDeviceDataStream_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceDispatchFactory, IPortableDeviceDispatchFactory_Vtbl, 0x5e1eafc3_e3d7_4132_96fa_759c0f9d1e0f); -impl std::ops::Deref for IPortableDeviceDispatchFactory { +impl core::ops::Deref for IPortableDeviceDispatchFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -517,7 +517,7 @@ pub struct IPortableDeviceDispatchFactory_Vtbl { GetDeviceDispatch: usize, } windows_core::imp::define_interface!(IPortableDeviceEventCallback, IPortableDeviceEventCallback_Vtbl, 0xa8792a31_f385_493c_a893_40f64eb45f6e); -impl std::ops::Deref for IPortableDeviceEventCallback { +impl core::ops::Deref for IPortableDeviceEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -538,7 +538,7 @@ pub struct IPortableDeviceEventCallback_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceKeyCollection, IPortableDeviceKeyCollection_Vtbl, 0xdada2357_e0ad_492e_98db_dd61c53ba353); -impl std::ops::Deref for IPortableDeviceKeyCollection { +impl core::ops::Deref for IPortableDeviceKeyCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -580,7 +580,7 @@ pub struct IPortableDeviceKeyCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceManager, IPortableDeviceManager_Vtbl, 0xa1567595_4c2f_4574_a6fa_ecef917b9a40); -impl std::ops::Deref for IPortableDeviceManager { +impl core::ops::Deref for IPortableDeviceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -635,7 +635,7 @@ pub struct IPortableDeviceManager_Vtbl { pub GetPrivateDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDevicePropVariantCollection, IPortableDevicePropVariantCollection_Vtbl, 0x89b2e422_4f1b_4316_bcef_a44afea83eb3); -impl std::ops::Deref for IPortableDevicePropVariantCollection { +impl core::ops::Deref for IPortableDevicePropVariantCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -678,7 +678,7 @@ pub struct IPortableDevicePropVariantCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceProperties, IPortableDeviceProperties_Vtbl, 0x7f6d695c_03df_4439_a809_59266beee3a6); -impl std::ops::Deref for IPortableDeviceProperties { +impl core::ops::Deref for IPortableDeviceProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -742,7 +742,7 @@ pub struct IPortableDeviceProperties_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDevicePropertiesBulk, IPortableDevicePropertiesBulk_Vtbl, 0x482b05c0_4056_44ed_9e0f_5e23b009da93); -impl std::ops::Deref for IPortableDevicePropertiesBulk { +impl core::ops::Deref for IPortableDevicePropertiesBulk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -793,7 +793,7 @@ pub struct IPortableDevicePropertiesBulk_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDevicePropertiesBulkCallback, IPortableDevicePropertiesBulkCallback_Vtbl, 0x9deacb80_11e8_40e3_a9f3_f557986a7845); -impl std::ops::Deref for IPortableDevicePropertiesBulkCallback { +impl core::ops::Deref for IPortableDevicePropertiesBulkCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -822,7 +822,7 @@ pub struct IPortableDevicePropertiesBulkCallback_Vtbl { pub OnEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceResources, IPortableDeviceResources_Vtbl, 0xfd8878ac_d841_4d17_891c_e6829cdb6934); -impl std::ops::Deref for IPortableDeviceResources { +impl core::ops::Deref for IPortableDeviceResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -890,7 +890,7 @@ pub struct IPortableDeviceResources_Vtbl { CreateResource: usize, } windows_core::imp::define_interface!(IPortableDeviceService, IPortableDeviceService_Vtbl, 0xd3bd3a44_d7b5_40a9_98b7_2fa4d01dec08); -impl std::ops::Deref for IPortableDeviceService { +impl core::ops::Deref for IPortableDeviceService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -969,7 +969,7 @@ pub struct IPortableDeviceService_Vtbl { pub SendCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceServiceActivation, IPortableDeviceServiceActivation_Vtbl, 0xe56b0534_d9b9_425c_9b99_75f97cb3d7c8); -impl std::ops::Deref for IPortableDeviceServiceActivation { +impl core::ops::Deref for IPortableDeviceServiceActivation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -996,7 +996,7 @@ pub struct IPortableDeviceServiceActivation_Vtbl { pub CancelOpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceServiceCapabilities, IPortableDeviceServiceCapabilities_Vtbl, 0x24dbd89d_413e_43e0_bd5b_197f3c56c886); -impl std::ops::Deref for IPortableDeviceServiceCapabilities { +impl core::ops::Deref for IPortableDeviceServiceCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1105,7 +1105,7 @@ pub struct IPortableDeviceServiceCapabilities_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceServiceManager, IPortableDeviceServiceManager_Vtbl, 0xa8abc4e9_a84a_47a9_80b3_c5d9b172a961); -impl std::ops::Deref for IPortableDeviceServiceManager { +impl core::ops::Deref for IPortableDeviceServiceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1134,7 +1134,7 @@ pub struct IPortableDeviceServiceManager_Vtbl { pub GetDeviceForService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceServiceMethodCallback, IPortableDeviceServiceMethodCallback_Vtbl, 0xc424233c_afce_4828_a756_7ed7a2350083); -impl std::ops::Deref for IPortableDeviceServiceMethodCallback { +impl core::ops::Deref for IPortableDeviceServiceMethodCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1155,7 +1155,7 @@ pub struct IPortableDeviceServiceMethodCallback_Vtbl { pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceServiceMethods, IPortableDeviceServiceMethods_Vtbl, 0xe20333c9_fd34_412d_a381_cc6f2d820df7); -impl std::ops::Deref for IPortableDeviceServiceMethods { +impl core::ops::Deref for IPortableDeviceServiceMethods { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1191,7 +1191,7 @@ pub struct IPortableDeviceServiceMethods_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceServiceOpenCallback, IPortableDeviceServiceOpenCallback_Vtbl, 0xbced49c8_8efe_41ed_960b_61313abd47a9); -impl std::ops::Deref for IPortableDeviceServiceOpenCallback { +impl core::ops::Deref for IPortableDeviceServiceOpenCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1209,7 +1209,7 @@ pub struct IPortableDeviceServiceOpenCallback_Vtbl { pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceUnitsStream, IPortableDeviceUnitsStream_Vtbl, 0x5e98025f_bfc4_47a2_9a5f_bc900a507c67); -impl std::ops::Deref for IPortableDeviceUnitsStream { +impl core::ops::Deref for IPortableDeviceUnitsStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1231,7 +1231,7 @@ pub struct IPortableDeviceUnitsStream_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceValues, IPortableDeviceValues_Vtbl, 0x6848f6f2_3155_4f86_b6f5_263eeeab3143); -impl std::ops::Deref for IPortableDeviceValues { +impl core::ops::Deref for IPortableDeviceValues { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1599,7 +1599,7 @@ pub struct IPortableDeviceValues_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPortableDeviceValuesCollection, IPortableDeviceValuesCollection_Vtbl, 0x6e3f2d79_4e07_48c4_8208_d8c2e5af4a99); -impl std::ops::Deref for IPortableDeviceValuesCollection { +impl core::ops::Deref for IPortableDeviceValuesCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1639,7 +1639,7 @@ pub struct IPortableDeviceValuesCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPortableDeviceWebControl, IPortableDeviceWebControl_Vtbl, 0x94fc7953_5ca1_483a_8aee_df52e7747d00); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPortableDeviceWebControl { +impl core::ops::Deref for IPortableDeviceWebControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1681,7 +1681,7 @@ pub struct IPortableDeviceWebControl_Vtbl { GetDeviceFromIdAsync: usize, } windows_core::imp::define_interface!(IRadioInstance, IRadioInstance_Vtbl, 0x70aa1c9e_f2b4_4c61_86d3_6b9fb75fd1a2); -impl std::ops::Deref for IRadioInstance { +impl core::ops::Deref for IRadioInstance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1727,7 +1727,7 @@ pub struct IRadioInstance_Vtbl { pub IsAssociatingDevice: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IRadioInstanceCollection, IRadioInstanceCollection_Vtbl, 0xe5791fae_5665_4e0c_95be_5fde31644185); -impl std::ops::Deref for IRadioInstanceCollection { +impl core::ops::Deref for IRadioInstanceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1751,7 +1751,7 @@ pub struct IRadioInstanceCollection_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWpdSerializer, IWpdSerializer_Vtbl, 0xb32f4002_bb27_45ff_af4f_06631c1e8dad); -impl std::ops::Deref for IWpdSerializer { +impl core::ops::Deref for IWpdSerializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs index 53dad183d2..99d69d82d2 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -239,7 +239,7 @@ pub unsafe fn SerializationBufferFree(buffer: Option<*const u8>) { SerializationBufferFree(core::mem::transmute(buffer.unwrap_or(std::ptr::null()))) } windows_core::imp::define_interface!(ILocationPermissions, ILocationPermissions_Vtbl, 0xd5fb0a7f_e74e_44f5_8e02_4806863a274f); -impl std::ops::Deref for ILocationPermissions { +impl core::ops::Deref for ILocationPermissions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -262,7 +262,7 @@ pub struct ILocationPermissions_Vtbl { pub CheckLocationCapability: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISensor, ISensor_Vtbl, 0x5fa08f80_2657_458e_af75_46f73fa6ac5c); -impl std::ops::Deref for ISensor { +impl core::ops::Deref for ISensor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -377,7 +377,7 @@ pub struct ISensor_Vtbl { pub SetEventSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISensorCollection, ISensorCollection_Vtbl, 0x23571e11_e545_4dd8_a337_b89bf44b10df); -impl std::ops::Deref for ISensorCollection { +impl core::ops::Deref for ISensorCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -423,7 +423,7 @@ pub struct ISensorCollection_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISensorDataReport, ISensorDataReport_Vtbl, 0x0ab9df9b_c4b5_4796_8898_0470706a2e1d); -impl std::ops::Deref for ISensorDataReport { +impl core::ops::Deref for ISensorDataReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -463,7 +463,7 @@ pub struct ISensorDataReport_Vtbl { GetSensorValues: usize, } windows_core::imp::define_interface!(ISensorEvents, ISensorEvents_Vtbl, 0x5d8dcc91_4641_47e7_b7c3_b74f48a6c391); -impl std::ops::Deref for ISensorEvents { +impl core::ops::Deref for ISensorEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -508,7 +508,7 @@ pub struct ISensorEvents_Vtbl { pub OnLeave: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISensorManager, ISensorManager_Vtbl, 0xbd77db67_45a8_42dc_8d00_6dcf15f8377a); -impl std::ops::Deref for ISensorManager { +impl core::ops::Deref for ISensorManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -553,7 +553,7 @@ pub struct ISensorManager_Vtbl { pub RequestPermissions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISensorManagerEvents, ISensorManagerEvents_Vtbl, 0x9b3b0b86_266a_4aad_b21f_fde5501001b7); -impl std::ops::Deref for ISensorManagerEvents { +impl core::ops::Deref for ISensorManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs index 6cb1fdc28b..be3c4bb7d3 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -1649,7 +1649,7 @@ where tapiRequestMediaCallW(hwnd.param().abi(), wrequestid.param().abi(), lpszdeviceclass.param().abi(), lpdeviceid.param().abi(), dwsize, dwsecure, lpszdestaddress.param().abi(), lpszappname.param().abi(), lpszcalledparty.param().abi(), lpszcomment.param().abi()) } windows_core::imp::define_interface!(IEnumACDGroup, IEnumACDGroup_Vtbl, 0x5afc3157_4bcc_11d1_bf80_00805fc147d3); -impl std::ops::Deref for IEnumACDGroup { +impl core::ops::Deref for IEnumACDGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1684,7 +1684,7 @@ pub struct IEnumACDGroup_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumAddress, IEnumAddress_Vtbl, 0x1666fca1_9363_11d0_835c_00aa003ccabd); -impl std::ops::Deref for IEnumAddress { +impl core::ops::Deref for IEnumAddress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1719,7 +1719,7 @@ pub struct IEnumAddress_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumAgent, IEnumAgent_Vtbl, 0x5afc314d_4bcc_11d1_bf80_00805fc147d3); -impl std::ops::Deref for IEnumAgent { +impl core::ops::Deref for IEnumAgent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1754,7 +1754,7 @@ pub struct IEnumAgent_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumAgentHandler, IEnumAgentHandler_Vtbl, 0x587e8c28_9802_11d1_a0a4_00805fc147d3); -impl std::ops::Deref for IEnumAgentHandler { +impl core::ops::Deref for IEnumAgentHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1789,7 +1789,7 @@ pub struct IEnumAgentHandler_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumAgentSession, IEnumAgentSession_Vtbl, 0x5afc314e_4bcc_11d1_bf80_00805fc147d3); -impl std::ops::Deref for IEnumAgentSession { +impl core::ops::Deref for IEnumAgentSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1824,7 +1824,7 @@ pub struct IEnumAgentSession_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumBstr, IEnumBstr_Vtbl, 0x35372049_0bc6_11d2_a033_00c04fb6809f); -impl std::ops::Deref for IEnumBstr { +impl core::ops::Deref for IEnumBstr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1855,7 +1855,7 @@ pub struct IEnumBstr_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumCall, IEnumCall_Vtbl, 0xae269cf6_935e_11d0_835c_00aa003ccabd); -impl std::ops::Deref for IEnumCall { +impl core::ops::Deref for IEnumCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1890,7 +1890,7 @@ pub struct IEnumCall_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumCallHub, IEnumCallHub_Vtbl, 0xa3c15450_5b92_11d1_8f4e_00c04fb6809f); -impl std::ops::Deref for IEnumCallHub { +impl core::ops::Deref for IEnumCallHub { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1925,7 +1925,7 @@ pub struct IEnumCallHub_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumCallingCard, IEnumCallingCard_Vtbl, 0x0c4d8f02_8ddb_11d1_a09e_00805fc147d3); -impl std::ops::Deref for IEnumCallingCard { +impl core::ops::Deref for IEnumCallingCard { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1960,7 +1960,7 @@ pub struct IEnumCallingCard_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDialableAddrs, IEnumDialableAddrs_Vtbl, 0x34621d70_6cff_11d1_aff7_00c04fc31fee); -impl std::ops::Deref for IEnumDialableAddrs { +impl core::ops::Deref for IEnumDialableAddrs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1991,7 +1991,7 @@ pub struct IEnumDialableAddrs_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDirectory, IEnumDirectory_Vtbl, 0x34621d6d_6cff_11d1_aff7_00c04fc31fee); -impl std::ops::Deref for IEnumDirectory { +impl core::ops::Deref for IEnumDirectory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2026,7 +2026,7 @@ pub struct IEnumDirectory_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDirectoryObject, IEnumDirectoryObject_Vtbl, 0x06c9b64a_306d_11d1_9774_00c04fd91ac0); -impl std::ops::Deref for IEnumDirectoryObject { +impl core::ops::Deref for IEnumDirectoryObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2061,7 +2061,7 @@ pub struct IEnumDirectoryObject_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumLocation, IEnumLocation_Vtbl, 0x0c4d8f01_8ddb_11d1_a09e_00805fc147d3); -impl std::ops::Deref for IEnumLocation { +impl core::ops::Deref for IEnumLocation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2096,7 +2096,7 @@ pub struct IEnumLocation_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumMcastScope, IEnumMcastScope_Vtbl, 0xdf0daf09_a289_11d1_8697_006008b0e5d2); -impl std::ops::Deref for IEnumMcastScope { +impl core::ops::Deref for IEnumMcastScope { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2131,7 +2131,7 @@ pub struct IEnumMcastScope_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPhone, IEnumPhone_Vtbl, 0xf15b7669_4780_4595_8c89_fb369c8cf7aa); -impl std::ops::Deref for IEnumPhone { +impl core::ops::Deref for IEnumPhone { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2166,7 +2166,7 @@ pub struct IEnumPhone_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPluggableSuperclassInfo, IEnumPluggableSuperclassInfo_Vtbl, 0xe9586a80_89e6_4cff_931d_478d5751f4c0); -impl std::ops::Deref for IEnumPluggableSuperclassInfo { +impl core::ops::Deref for IEnumPluggableSuperclassInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2201,7 +2201,7 @@ pub struct IEnumPluggableSuperclassInfo_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPluggableTerminalClassInfo, IEnumPluggableTerminalClassInfo_Vtbl, 0x4567450c_dbee_4e3f_aaf5_37bf9ebf5e29); -impl std::ops::Deref for IEnumPluggableTerminalClassInfo { +impl core::ops::Deref for IEnumPluggableTerminalClassInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2236,7 +2236,7 @@ pub struct IEnumPluggableTerminalClassInfo_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumQueue, IEnumQueue_Vtbl, 0x5afc3158_4bcc_11d1_bf80_00805fc147d3); -impl std::ops::Deref for IEnumQueue { +impl core::ops::Deref for IEnumQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2271,7 +2271,7 @@ pub struct IEnumQueue_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumStream, IEnumStream_Vtbl, 0xee3bd606_3868_11d2_a045_00c04fb6809f); -impl std::ops::Deref for IEnumStream { +impl core::ops::Deref for IEnumStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2306,7 +2306,7 @@ pub struct IEnumStream_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSubStream, IEnumSubStream_Vtbl, 0xee3bd609_3868_11d2_a045_00c04fb6809f); -impl std::ops::Deref for IEnumSubStream { +impl core::ops::Deref for IEnumSubStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2341,7 +2341,7 @@ pub struct IEnumSubStream_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTerminal, IEnumTerminal_Vtbl, 0xae269cf4_935e_11d0_835c_00aa003ccabd); -impl std::ops::Deref for IEnumTerminal { +impl core::ops::Deref for IEnumTerminal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2376,7 +2376,7 @@ pub struct IEnumTerminal_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTerminalClass, IEnumTerminalClass_Vtbl, 0xae269cf5_935e_11d0_835c_00aa003ccabd); -impl std::ops::Deref for IEnumTerminalClass { +impl core::ops::Deref for IEnumTerminalClass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2409,7 +2409,7 @@ pub struct IEnumTerminalClass_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMcastAddressAllocation, IMcastAddressAllocation_Vtbl, 0xdf0daef1_a289_11d1_8697_006008b0e5d2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMcastAddressAllocation { +impl core::ops::Deref for IMcastAddressAllocation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2500,7 +2500,7 @@ pub struct IMcastAddressAllocation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMcastLeaseInfo, IMcastLeaseInfo_Vtbl, 0xdf0daefd_a289_11d1_8697_006008b0e5d2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMcastLeaseInfo { +impl core::ops::Deref for IMcastLeaseInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2567,7 +2567,7 @@ pub struct IMcastLeaseInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMcastScope, IMcastScope_Vtbl, 0xdf0daef4_a289_11d1_8697_006008b0e5d2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMcastScope { +impl core::ops::Deref for IMcastScope { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2611,7 +2611,7 @@ pub struct IMcastScope_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITACDGroup, ITACDGroup_Vtbl, 0x5afc3148_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITACDGroup { +impl core::ops::Deref for ITACDGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2645,7 +2645,7 @@ pub struct ITACDGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITACDGroupEvent, ITACDGroupEvent_Vtbl, 0x297f3032_bd11_11d1_a0a7_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITACDGroupEvent { +impl core::ops::Deref for ITACDGroupEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2676,7 +2676,7 @@ pub struct ITACDGroupEvent_Vtbl { pub Event: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACDGROUP_EVENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITAMMediaFormat, ITAMMediaFormat_Vtbl, 0x0364eb00_4a77_11d1_a671_006097c9a2e8); -impl std::ops::Deref for ITAMMediaFormat { +impl core::ops::Deref for ITAMMediaFormat { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2709,7 +2709,7 @@ pub struct ITAMMediaFormat_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITASRTerminalEvent, ITASRTerminalEvent_Vtbl, 0xee016a02_4fa9_467c_933f_5a15b12377d7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITASRTerminalEvent { +impl core::ops::Deref for ITASRTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2751,7 +2751,7 @@ pub struct ITASRTerminalEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddress, ITAddress_Vtbl, 0xb1efc386_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAddress { +impl core::ops::Deref for ITAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2875,7 +2875,7 @@ pub struct ITAddress_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddress2, ITAddress2_Vtbl, 0xb0ae5d9b_be51_46c9_b0f7_dfa8a22a8bc4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAddress2 { +impl core::ops::Deref for ITAddress2 { type Target = ITAddress; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2966,7 +2966,7 @@ pub struct ITAddress2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddressCapabilities, ITAddressCapabilities_Vtbl, 0x8df232f5_821b_11d1_bb5c_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAddressCapabilities { +impl core::ops::Deref for ITAddressCapabilities { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3025,7 +3025,7 @@ pub struct ITAddressCapabilities_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddressDeviceSpecificEvent, ITAddressDeviceSpecificEvent_Vtbl, 0x3acb216b_40bd_487a_8672_5ce77bd7e3a3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAddressDeviceSpecificEvent { +impl core::ops::Deref for ITAddressDeviceSpecificEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3077,7 +3077,7 @@ pub struct ITAddressDeviceSpecificEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddressEvent, ITAddressEvent_Vtbl, 0x831ce2d1_83b5_11d1_bb5c_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAddressEvent { +impl core::ops::Deref for ITAddressEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3119,7 +3119,7 @@ pub struct ITAddressEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddressTranslation, ITAddressTranslation_Vtbl, 0x0c4d8f03_8ddb_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAddressTranslation { +impl core::ops::Deref for ITAddressTranslation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3177,7 +3177,7 @@ pub struct ITAddressTranslation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAddressTranslationInfo, ITAddressTranslationInfo_Vtbl, 0xafc15945_8d40_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAddressTranslationInfo { +impl core::ops::Deref for ITAddressTranslationInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3221,7 +3221,7 @@ pub struct ITAddressTranslationInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgent, ITAgent_Vtbl, 0x5770ece5_4b27_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAgent { +impl core::ops::Deref for ITAgent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3344,7 +3344,7 @@ pub struct ITAgent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgentEvent, ITAgentEvent_Vtbl, 0x5afc314a_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAgentEvent { +impl core::ops::Deref for ITAgentEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3377,7 +3377,7 @@ pub struct ITAgentEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgentHandler, ITAgentHandler_Vtbl, 0x587e8c22_9802_11d1_a0a4_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAgentHandler { +impl core::ops::Deref for ITAgentHandler { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3443,7 +3443,7 @@ pub struct ITAgentHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgentHandlerEvent, ITAgentHandlerEvent_Vtbl, 0x297f3034_bd11_11d1_a0a7_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAgentHandlerEvent { +impl core::ops::Deref for ITAgentHandlerEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3476,7 +3476,7 @@ pub struct ITAgentHandlerEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgentSession, ITAgentSession_Vtbl, 0x5afc3147_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAgentSession { +impl core::ops::Deref for ITAgentSession { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3595,7 +3595,7 @@ pub struct ITAgentSession_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAgentSessionEvent, ITAgentSessionEvent_Vtbl, 0x5afc314b_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAgentSessionEvent { +impl core::ops::Deref for ITAgentSessionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3626,7 +3626,7 @@ pub struct ITAgentSessionEvent_Vtbl { pub Event: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AGENT_SESSION_EVENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITAllocatorProperties, ITAllocatorProperties_Vtbl, 0xc1bc3c90_bcfe_11d1_9745_00c04fd91ac0); -impl std::ops::Deref for ITAllocatorProperties { +impl core::ops::Deref for ITAllocatorProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3680,7 +3680,7 @@ pub struct ITAllocatorProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITAutomatedPhoneControl, ITAutomatedPhoneControl_Vtbl, 0x1ee1af0e_6159_4a61_b79b_6a4ba3fc9dfc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITAutomatedPhoneControl { +impl core::ops::Deref for ITAutomatedPhoneControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3875,7 +3875,7 @@ pub struct ITAutomatedPhoneControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITBasicAudioTerminal, ITBasicAudioTerminal_Vtbl, 0xb1efc38d_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITBasicAudioTerminal { +impl core::ops::Deref for ITBasicAudioTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3912,7 +3912,7 @@ pub struct ITBasicAudioTerminal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITBasicCallControl, ITBasicCallControl_Vtbl, 0xb1efc389_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITBasicCallControl { +impl core::ops::Deref for ITBasicCallControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4048,7 +4048,7 @@ pub struct ITBasicCallControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITBasicCallControl2, ITBasicCallControl2_Vtbl, 0x161a4a56_1e99_4b3f_a46a_168f38a5ee4c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITBasicCallControl2 { +impl core::ops::Deref for ITBasicCallControl2 { type Target = ITBasicCallControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4101,7 +4101,7 @@ pub struct ITBasicCallControl2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallHub, ITCallHub_Vtbl, 0xa3c1544e_5b92_11d1_8f4e_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallHub { +impl core::ops::Deref for ITCallHub { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4144,7 +4144,7 @@ pub struct ITCallHub_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallHubEvent, ITCallHubEvent_Vtbl, 0xa3c15451_5b92_11d1_8f4e_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallHubEvent { +impl core::ops::Deref for ITCallHubEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4186,7 +4186,7 @@ pub struct ITCallHubEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallInfo, ITCallInfo_Vtbl, 0x350f85d1_1227_11d3_83d4_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallInfo { +impl core::ops::Deref for ITCallInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4278,7 +4278,7 @@ pub struct ITCallInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallInfo2, ITCallInfo2_Vtbl, 0x94d70ca6_7ab0_4daa_81ca_b8f8643faec1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallInfo2 { +impl core::ops::Deref for ITCallInfo2 { type Target = ITCallInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4309,7 +4309,7 @@ pub struct ITCallInfo2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallInfoChangeEvent, ITCallInfoChangeEvent_Vtbl, 0x5d4b65f9_e51c_11d1_a02f_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallInfoChangeEvent { +impl core::ops::Deref for ITCallInfoChangeEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4347,7 +4347,7 @@ pub struct ITCallInfoChangeEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallMediaEvent, ITCallMediaEvent_Vtbl, 0xff36b87f_ec3a_11d0_8ee4_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallMediaEvent { +impl core::ops::Deref for ITCallMediaEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4408,7 +4408,7 @@ pub struct ITCallMediaEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallNotificationEvent, ITCallNotificationEvent_Vtbl, 0x895801df_3dd6_11d1_8f30_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallNotificationEvent { +impl core::ops::Deref for ITCallNotificationEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4446,7 +4446,7 @@ pub struct ITCallNotificationEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallStateEvent, ITCallStateEvent_Vtbl, 0x62f47097_95c9_11d0_835d_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallStateEvent { +impl core::ops::Deref for ITCallStateEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4489,7 +4489,7 @@ pub struct ITCallStateEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCallingCard, ITCallingCard_Vtbl, 0x0c4d8f00_8ddb_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCallingCard { +impl core::ops::Deref for ITCallingCard { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4543,7 +4543,7 @@ pub struct ITCallingCard_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCollection, ITCollection_Vtbl, 0x5ec5acf2_9c02_11d0_8362_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCollection { +impl core::ops::Deref for ITCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4577,7 +4577,7 @@ pub struct ITCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCollection2, ITCollection2_Vtbl, 0xe6dddda5_a6d3_48ff_8737_d32fc4d95477); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCollection2 { +impl core::ops::Deref for ITCollection2 { type Target = ITCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4604,7 +4604,7 @@ pub struct ITCollection2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITCustomTone, ITCustomTone_Vtbl, 0x357ad764_b3c6_4b2a_8fa5_0722827a9254); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITCustomTone { +impl core::ops::Deref for ITCustomTone { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4659,7 +4659,7 @@ pub struct ITCustomTone_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDetectTone, ITDetectTone_Vtbl, 0x961f79bd_3097_49df_a1d6_909b77e89ca0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDetectTone { +impl core::ops::Deref for ITDetectTone { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4705,7 +4705,7 @@ pub struct ITDetectTone_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDigitDetectionEvent, ITDigitDetectionEvent_Vtbl, 0x80d3bfac_57d9_11d2_a04a_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDigitDetectionEvent { +impl core::ops::Deref for ITDigitDetectionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4753,7 +4753,7 @@ pub struct ITDigitDetectionEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDigitGenerationEvent, ITDigitGenerationEvent_Vtbl, 0x80d3bfad_57d9_11d2_a04a_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDigitGenerationEvent { +impl core::ops::Deref for ITDigitGenerationEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4796,7 +4796,7 @@ pub struct ITDigitGenerationEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDigitsGatheredEvent, ITDigitsGatheredEvent_Vtbl, 0xe52ec4c1_cba3_441a_9e6a_93cb909e9724); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDigitsGatheredEvent { +impl core::ops::Deref for ITDigitsGatheredEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4844,7 +4844,7 @@ pub struct ITDigitsGatheredEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDirectory, ITDirectory_Vtbl, 0x34621d6c_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDirectory { +impl core::ops::Deref for ITDirectory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4970,7 +4970,7 @@ pub struct ITDirectory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDirectoryObject, ITDirectoryObject_Vtbl, 0x34621d6e_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDirectoryObject { +impl core::ops::Deref for ITDirectoryObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5036,7 +5036,7 @@ pub struct ITDirectoryObject_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDirectoryObjectConference, ITDirectoryObjectConference_Vtbl, 0xf1029e5d_cb5b_11d0_8d59_00c04fd91ac0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDirectoryObjectConference { +impl core::ops::Deref for ITDirectoryObjectConference { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5135,7 +5135,7 @@ pub struct ITDirectoryObjectConference_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDirectoryObjectUser, ITDirectoryObjectUser_Vtbl, 0x34621d6f_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDirectoryObjectUser { +impl core::ops::Deref for ITDirectoryObjectUser { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5166,7 +5166,7 @@ pub struct ITDirectoryObjectUser_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITDispatchMapper, ITDispatchMapper_Vtbl, 0xe9225295_c759_11d1_a02b_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITDispatchMapper { +impl core::ops::Deref for ITDispatchMapper { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5198,7 +5198,7 @@ pub struct ITDispatchMapper_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITFileTerminalEvent, ITFileTerminalEvent_Vtbl, 0xe4a7fbac_8c17_4427_9f55_9f589ac8af00); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITFileTerminalEvent { +impl core::ops::Deref for ITFileTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5259,7 +5259,7 @@ pub struct ITFileTerminalEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITFileTrack, ITFileTrack_Vtbl, 0x31ca6ea9_c08a_4bea_8811_8e9c1ba3ea3a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITFileTrack { +impl core::ops::Deref for ITFileTrack { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5333,7 +5333,7 @@ pub struct ITFileTrack_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITForwardInformation, ITForwardInformation_Vtbl, 0x449f659e_88a3_11d1_bb5d_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITForwardInformation { +impl core::ops::Deref for ITForwardInformation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5387,7 +5387,7 @@ pub struct ITForwardInformation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITForwardInformation2, ITForwardInformation2_Vtbl, 0x5229b4ed_b260_4382_8e1a_5df3a8a4ccc0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITForwardInformation2 { +impl core::ops::Deref for ITForwardInformation2 { type Target = ITForwardInformation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5428,7 +5428,7 @@ pub struct ITForwardInformation2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITILSConfig, ITILSConfig_Vtbl, 0x34621d72_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITILSConfig { +impl core::ops::Deref for ITILSConfig { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5454,7 +5454,7 @@ pub struct ITILSConfig_Vtbl { pub SetPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITLegacyAddressMediaControl, ITLegacyAddressMediaControl_Vtbl, 0xab493640_4c0b_11d2_a046_00c04fb6809f); -impl std::ops::Deref for ITLegacyAddressMediaControl { +impl core::ops::Deref for ITLegacyAddressMediaControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5489,7 +5489,7 @@ pub struct ITLegacyAddressMediaControl_Vtbl { pub SetDevConfig: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITLegacyAddressMediaControl2, ITLegacyAddressMediaControl2_Vtbl, 0xb0ee512b_a531_409e_9dd9_4099fe86c738); -impl std::ops::Deref for ITLegacyAddressMediaControl2 { +impl core::ops::Deref for ITLegacyAddressMediaControl2 { type Target = ITLegacyAddressMediaControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5521,7 +5521,7 @@ pub struct ITLegacyAddressMediaControl2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITLegacyCallMediaControl, ITLegacyCallMediaControl_Vtbl, 0xd624582f_cc23_4436_b8a5_47c625c8045d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITLegacyCallMediaControl { +impl core::ops::Deref for ITLegacyCallMediaControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5566,7 +5566,7 @@ pub struct ITLegacyCallMediaControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITLegacyCallMediaControl2, ITLegacyCallMediaControl2_Vtbl, 0x57ca332d_7bc2_44f1_a60c_936fe8d7ce73); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITLegacyCallMediaControl2 { +impl core::ops::Deref for ITLegacyCallMediaControl2 { type Target = ITLegacyCallMediaControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5659,7 +5659,7 @@ pub struct ITLegacyCallMediaControl2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITLegacyWaveSupport, ITLegacyWaveSupport_Vtbl, 0x207823ea_e252_11d2_b77e_0080c7135381); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITLegacyWaveSupport { +impl core::ops::Deref for ITLegacyWaveSupport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5683,7 +5683,7 @@ pub struct ITLegacyWaveSupport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITLocationInfo, ITLocationInfo_Vtbl, 0x0c4d8eff_8ddb_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITLocationInfo { +impl core::ops::Deref for ITLocationInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5755,7 +5755,7 @@ pub struct ITLocationInfo_Vtbl { pub CancelCallWaitingCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITMSPAddress, ITMSPAddress_Vtbl, 0xee3bd600_3868_11d2_a045_00c04fb6809f); -impl std::ops::Deref for ITMSPAddress { +impl core::ops::Deref for ITMSPAddress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5805,7 +5805,7 @@ pub struct ITMSPAddress_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITMediaControl, ITMediaControl_Vtbl, 0xc445dde8_5199_4bc7_9807_5ffb92e42e09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITMediaControl { +impl core::ops::Deref for ITMediaControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5841,7 +5841,7 @@ pub struct ITMediaControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITMediaPlayback, ITMediaPlayback_Vtbl, 0x627e8ae6_ae4c_4a69_bb63_2ad625404b77); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITMediaPlayback { +impl core::ops::Deref for ITMediaPlayback { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5872,7 +5872,7 @@ pub struct ITMediaPlayback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITMediaRecord, ITMediaRecord_Vtbl, 0xf5dd4592_5476_4cc1_9d4d_fad3eefe7db2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITMediaRecord { +impl core::ops::Deref for ITMediaRecord { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5903,7 +5903,7 @@ pub struct ITMediaRecord_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITMediaSupport, ITMediaSupport_Vtbl, 0xb1efc384_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITMediaSupport { +impl core::ops::Deref for ITMediaSupport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5932,7 +5932,7 @@ pub struct ITMediaSupport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITMultiTrackTerminal, ITMultiTrackTerminal_Vtbl, 0xfe040091_ade8_4072_95c9_bf7de8c54b44); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITMultiTrackTerminal { +impl core::ops::Deref for ITMultiTrackTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5991,7 +5991,7 @@ pub struct ITMultiTrackTerminal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITPhone, ITPhone_Vtbl, 0x09d48db4_10cc_4388_9de7_a8465618975a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITPhone { +impl core::ops::Deref for ITPhone { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6185,7 +6185,7 @@ pub struct ITPhone_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITPhoneDeviceSpecificEvent, ITPhoneDeviceSpecificEvent_Vtbl, 0x63ffb2a6_872b_4cd3_a501_326e8fb40af7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITPhoneDeviceSpecificEvent { +impl core::ops::Deref for ITPhoneDeviceSpecificEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6228,7 +6228,7 @@ pub struct ITPhoneDeviceSpecificEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITPhoneEvent, ITPhoneEvent_Vtbl, 0x8f942dd8_64ed_4aaf_a77d_b23db0837ead); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITPhoneEvent { +impl core::ops::Deref for ITPhoneEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6300,7 +6300,7 @@ pub struct ITPhoneEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITPluggableTerminalClassInfo, ITPluggableTerminalClassInfo_Vtbl, 0x41757f4a_cf09_4b34_bc96_0a79d2390076); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITPluggableTerminalClassInfo { +impl core::ops::Deref for ITPluggableTerminalClassInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6352,7 +6352,7 @@ pub struct ITPluggableTerminalClassInfo_Vtbl { pub MediaTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITPluggableTerminalEventSink, ITPluggableTerminalEventSink_Vtbl, 0x6e0887be_ba1a_492e_bd10_4020ec5e33e0); -impl std::ops::Deref for ITPluggableTerminalEventSink { +impl core::ops::Deref for ITPluggableTerminalEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6374,7 +6374,7 @@ pub struct ITPluggableTerminalEventSink_Vtbl { FireEvent: usize, } windows_core::imp::define_interface!(ITPluggableTerminalEventSinkRegistration, ITPluggableTerminalEventSinkRegistration_Vtbl, 0xf7115709_a216_4957_a759_060ab32a90d1); -impl std::ops::Deref for ITPluggableTerminalEventSinkRegistration { +impl core::ops::Deref for ITPluggableTerminalEventSinkRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6401,7 +6401,7 @@ pub struct ITPluggableTerminalEventSinkRegistration_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITPluggableTerminalSuperclassInfo, ITPluggableTerminalSuperclassInfo_Vtbl, 0x6d54e42c_4625_4359_a6f7_631999107e05); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITPluggableTerminalSuperclassInfo { +impl core::ops::Deref for ITPluggableTerminalSuperclassInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6430,7 +6430,7 @@ pub struct ITPluggableTerminalSuperclassInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITPrivateEvent, ITPrivateEvent_Vtbl, 0x0e269cd0_10d4_4121_9c22_9c85d625650d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITPrivateEvent { +impl core::ops::Deref for ITPrivateEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6490,7 +6490,7 @@ pub struct ITPrivateEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITQOSEvent, ITQOSEvent_Vtbl, 0xcfa3357c_ad77_11d1_bb68_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITQOSEvent { +impl core::ops::Deref for ITQOSEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6528,7 +6528,7 @@ pub struct ITQOSEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITQueue, ITQueue_Vtbl, 0x5afc3149_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITQueue { +impl core::ops::Deref for ITQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6606,7 +6606,7 @@ pub struct ITQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITQueueEvent, ITQueueEvent_Vtbl, 0x297f3033_bd11_11d1_a0a7_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITQueueEvent { +impl core::ops::Deref for ITQueueEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6639,7 +6639,7 @@ pub struct ITQueueEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITRendezvous, ITRendezvous_Vtbl, 0x34621d6b_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITRendezvous { +impl core::ops::Deref for ITRendezvous { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6692,7 +6692,7 @@ pub struct ITRendezvous_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITRequest, ITRequest_Vtbl, 0xac48ffdf_f8c4_11d1_a030_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITRequest { +impl core::ops::Deref for ITRequest { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6721,7 +6721,7 @@ pub struct ITRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITRequestEvent, ITRequestEvent_Vtbl, 0xac48ffde_f8c4_11d1_a030_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITRequestEvent { +impl core::ops::Deref for ITRequestEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6770,7 +6770,7 @@ pub struct ITRequestEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITScriptableAudioFormat, ITScriptableAudioFormat_Vtbl, 0xb87658bd_3c59_4f64_be74_aede3e86a81e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITScriptableAudioFormat { +impl core::ops::Deref for ITScriptableAudioFormat { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6843,7 +6843,7 @@ pub struct ITScriptableAudioFormat_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITStaticAudioTerminal, ITStaticAudioTerminal_Vtbl, 0xa86b7871_d14c_48e6_922e_a8d15f984800); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITStaticAudioTerminal { +impl core::ops::Deref for ITStaticAudioTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6867,7 +6867,7 @@ pub struct ITStaticAudioTerminal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITStream, ITStream_Vtbl, 0xee3bd605_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITStream { +impl core::ops::Deref for ITStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6945,7 +6945,7 @@ pub struct ITStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITStreamControl, ITStreamControl_Vtbl, 0xee3bd604_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITStreamControl { +impl core::ops::Deref for ITStreamControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6994,7 +6994,7 @@ pub struct ITStreamControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITSubStream, ITSubStream_Vtbl, 0xee3bd608_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITSubStream { +impl core::ops::Deref for ITSubStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7066,7 +7066,7 @@ pub struct ITSubStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITSubStreamControl, ITSubStreamControl_Vtbl, 0xee3bd607_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITSubStreamControl { +impl core::ops::Deref for ITSubStreamControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7115,7 +7115,7 @@ pub struct ITSubStreamControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPI, ITTAPI_Vtbl, 0xb1efc382_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTAPI { +impl core::ops::Deref for ITTAPI { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7234,7 +7234,7 @@ pub struct ITTAPI_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPI2, ITTAPI2_Vtbl, 0x54fbdc8c_d90f_4dad_9695_b373097f094b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTAPI2 { +impl core::ops::Deref for ITTAPI2 { type Target = ITTAPI; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7272,7 +7272,7 @@ pub struct ITTAPI2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPICallCenter, ITTAPICallCenter_Vtbl, 0x5afc3154_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTAPICallCenter { +impl core::ops::Deref for ITTAPICallCenter { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7301,7 +7301,7 @@ pub struct ITTAPICallCenter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPIDispatchEventNotification, ITTAPIDispatchEventNotification_Vtbl, 0x9f34325b_7e62_11d2_9457_00c04f8ec888); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTAPIDispatchEventNotification { +impl core::ops::Deref for ITTAPIDispatchEventNotification { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7317,7 +7317,7 @@ pub struct ITTAPIDispatchEventNotification_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(ITTAPIEventNotification, ITTAPIEventNotification_Vtbl, 0xeddb9426_3b91_11d1_8f30_00c04fb6809f); -impl std::ops::Deref for ITTAPIEventNotification { +impl core::ops::Deref for ITTAPIEventNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7344,7 +7344,7 @@ pub struct ITTAPIEventNotification_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPIObjectEvent, ITTAPIObjectEvent_Vtbl, 0xf4854d48_937a_11d1_bb58_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTAPIObjectEvent { +impl core::ops::Deref for ITTAPIObjectEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7391,7 +7391,7 @@ pub struct ITTAPIObjectEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTAPIObjectEvent2, ITTAPIObjectEvent2_Vtbl, 0x359dda6e_68ce_4383_bf0b_169133c41b46); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTAPIObjectEvent2 { +impl core::ops::Deref for ITTAPIObjectEvent2 { type Target = ITTAPIObjectEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7419,7 +7419,7 @@ pub struct ITTAPIObjectEvent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTTSTerminalEvent, ITTTSTerminalEvent_Vtbl, 0xd964788f_95a5_461d_ab0c_b9900a6c2713); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTTSTerminalEvent { +impl core::ops::Deref for ITTTSTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7461,7 +7461,7 @@ pub struct ITTTSTerminalEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTerminal, ITTerminal_Vtbl, 0xb1efc38a_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTerminal { +impl core::ops::Deref for ITTerminal { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7510,7 +7510,7 @@ pub struct ITTerminal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTerminalSupport, ITTerminalSupport_Vtbl, 0xb1efc385_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTerminalSupport { +impl core::ops::Deref for ITTerminalSupport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7570,7 +7570,7 @@ pub struct ITTerminalSupport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITTerminalSupport2, ITTerminalSupport2_Vtbl, 0xf3eb39bc_1b1f_4e99_a0c0_56305c4dd591); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITTerminalSupport2 { +impl core::ops::Deref for ITTerminalSupport2 { type Target = ITTerminalSupport; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7612,7 +7612,7 @@ pub struct ITTerminalSupport2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITToneDetectionEvent, ITToneDetectionEvent_Vtbl, 0x407e0faf_d047_4753_b0c6_8e060373fecd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITToneDetectionEvent { +impl core::ops::Deref for ITToneDetectionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7655,7 +7655,7 @@ pub struct ITToneDetectionEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITToneTerminalEvent, ITToneTerminalEvent_Vtbl, 0xe6f56009_611f_4945_bbd2_2d0ce5612056); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITToneTerminalEvent { +impl core::ops::Deref for ITToneTerminalEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7695,7 +7695,7 @@ pub struct ITToneTerminalEvent_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITnef, ITnef_Vtbl, 0); -impl std::ops::Deref for ITnef { +impl core::ops::Deref for ITnef { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs index 444f8245ac..ed1e26e233 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -239,7 +239,7 @@ where WSDXMLGetValueFromAny(psznamespace.param().abi(), pszname.param().abi(), pany, ppszvalue).ok() } windows_core::imp::define_interface!(IWSDAddress, IWSDAddress_Vtbl, 0xb9574c6c_12a6_4f74_93a1_3318ff605759); -impl std::ops::Deref for IWSDAddress { +impl core::ops::Deref for IWSDAddress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -267,7 +267,7 @@ pub struct IWSDAddress_Vtbl { pub Deserialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDAsyncCallback, IWSDAsyncCallback_Vtbl, 0xa63e109d_ce72_49e2_ba98_e845f5ee1666); -impl std::ops::Deref for IWSDAsyncCallback { +impl core::ops::Deref for IWSDAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -289,7 +289,7 @@ pub struct IWSDAsyncCallback_Vtbl { pub AsyncOperationComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDAsyncResult, IWSDAsyncResult_Vtbl, 0x11a9852a_8dd8_423e_b537_9356db4fbfb8); -impl std::ops::Deref for IWSDAsyncResult { +impl core::ops::Deref for IWSDAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -340,7 +340,7 @@ pub struct IWSDAsyncResult_Vtbl { pub GetEndpointProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDAttachment, IWSDAttachment_Vtbl, 0x5d55a616_9df8_4b09_b156_9ba351a48b76); -impl std::ops::Deref for IWSDAttachment { +impl core::ops::Deref for IWSDAttachment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -353,7 +353,7 @@ pub struct IWSDAttachment_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IWSDDeviceHost, IWSDDeviceHost_Vtbl, 0x917fe891_3d13_4138_9809_934c8abeb12c); -impl std::ops::Deref for IWSDDeviceHost { +impl core::ops::Deref for IWSDDeviceHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -444,7 +444,7 @@ pub struct IWSDDeviceHost_Vtbl { pub SignalEvent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::ffi::c_void, *const WSD_OPERATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDDeviceHostNotify, IWSDDeviceHostNotify_Vtbl, 0xb5bee9f9_eeda_41fe_96f7_f45e14990fb0); -impl std::ops::Deref for IWSDDeviceHostNotify { +impl core::ops::Deref for IWSDDeviceHostNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -466,7 +466,7 @@ pub struct IWSDDeviceHostNotify_Vtbl { pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDDeviceProxy, IWSDDeviceProxy_Vtbl, 0xeee0c031_c578_4c0e_9a3b_973c35f409db); -impl std::ops::Deref for IWSDDeviceProxy { +impl core::ops::Deref for IWSDDeviceProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -541,7 +541,7 @@ pub struct IWSDDeviceProxy_Vtbl { pub GetEndpointProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDEndpointProxy, IWSDEndpointProxy_Vtbl, 0x1860d430_b24c_4975_9f90_dbb39baa24ec); -impl std::ops::Deref for IWSDEndpointProxy { +impl core::ops::Deref for IWSDEndpointProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -593,7 +593,7 @@ pub struct IWSDEndpointProxy_Vtbl { pub GetFaultInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut WSD_SOAP_FAULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDEventingStatus, IWSDEventingStatus_Vtbl, 0x49b17f52_637a_407a_ae99_fbe82a4d38c0); -impl std::ops::Deref for IWSDEventingStatus { +impl core::ops::Deref for IWSDEventingStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -628,7 +628,7 @@ pub struct IWSDEventingStatus_Vtbl { pub SubscriptionEnded: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR), } windows_core::imp::define_interface!(IWSDHttpAddress, IWSDHttpAddress_Vtbl, 0xd09ac7bd_2a3e_4b85_8605_2737ff3e4ea0); -impl std::ops::Deref for IWSDHttpAddress { +impl core::ops::Deref for IWSDHttpAddress { type Target = IWSDTransportAddress; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -665,7 +665,7 @@ pub struct IWSDHttpAddress_Vtbl { pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDHttpAuthParameters, IWSDHttpAuthParameters_Vtbl, 0x0b476df0_8dac_480d_b05c_99781a5884aa); -impl std::ops::Deref for IWSDHttpAuthParameters { +impl core::ops::Deref for IWSDHttpAuthParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -689,7 +689,7 @@ pub struct IWSDHttpAuthParameters_Vtbl { pub GetAuthType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDHttpMessageParameters, IWSDHttpMessageParameters_Vtbl, 0x540bd122_5c83_4dec_b396_ea62a2697fdf); -impl std::ops::Deref for IWSDHttpMessageParameters { +impl core::ops::Deref for IWSDHttpMessageParameters { type Target = IWSDMessageParameters; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -755,7 +755,7 @@ pub struct IWSDHttpMessageParameters_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDInboundAttachment, IWSDInboundAttachment_Vtbl, 0x5bd6ca65_233c_4fb8_9f7a_2641619655c9); -impl std::ops::Deref for IWSDInboundAttachment { +impl core::ops::Deref for IWSDInboundAttachment { type Target = IWSDAttachment; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -777,7 +777,7 @@ pub struct IWSDInboundAttachment_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDMessageParameters, IWSDMessageParameters_Vtbl, 0x1fafe8a2_e6fc_4b80_b6cf_b7d45c416d7c); -impl std::ops::Deref for IWSDMessageParameters { +impl core::ops::Deref for IWSDMessageParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -820,7 +820,7 @@ pub struct IWSDMessageParameters_Vtbl { pub GetLowerParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDMetadataExchange, IWSDMetadataExchange_Vtbl, 0x06996d57_1d67_4928_9307_3d7833fdb846); -impl std::ops::Deref for IWSDMetadataExchange { +impl core::ops::Deref for IWSDMetadataExchange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -839,7 +839,7 @@ pub struct IWSDMetadataExchange_Vtbl { pub GetMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut WSD_METADATA_SECTION_LIST) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDOutboundAttachment, IWSDOutboundAttachment_Vtbl, 0xaa302f8d_5a22_4ba5_b392_aa8486f4c15d); -impl std::ops::Deref for IWSDOutboundAttachment { +impl core::ops::Deref for IWSDOutboundAttachment { type Target = IWSDAttachment; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -866,7 +866,7 @@ pub struct IWSDOutboundAttachment_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDSSLClientCertificate, IWSDSSLClientCertificate_Vtbl, 0xde105e87_a0da_418e_98ad_27b9eed87bdc); -impl std::ops::Deref for IWSDSSLClientCertificate { +impl core::ops::Deref for IWSDSSLClientCertificate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -894,7 +894,7 @@ pub struct IWSDSSLClientCertificate_Vtbl { pub GetMappedAccessToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDScopeMatchingRule, IWSDScopeMatchingRule_Vtbl, 0xfcafe424_fef5_481a_bd9f_33ce0574256f); -impl std::ops::Deref for IWSDScopeMatchingRule { +impl core::ops::Deref for IWSDScopeMatchingRule { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -922,7 +922,7 @@ pub struct IWSDScopeMatchingRule_Vtbl { pub MatchScopes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDServiceMessaging, IWSDServiceMessaging_Vtbl, 0x94974cf4_0cab_460d_a3f6_7a0ad623c0e6); -impl std::ops::Deref for IWSDServiceMessaging { +impl core::ops::Deref for IWSDServiceMessaging { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -950,7 +950,7 @@ pub struct IWSDServiceMessaging_Vtbl { pub FaultRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSD_SOAP_HEADER, *mut core::ffi::c_void, *const WSD_SOAP_FAULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDServiceProxy, IWSDServiceProxy_Vtbl, 0xd4c7fb9c_03ab_4175_9d67_094fafebf487); -impl std::ops::Deref for IWSDServiceProxy { +impl core::ops::Deref for IWSDServiceProxy { type Target = IWSDMetadataExchange; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1005,7 +1005,7 @@ pub struct IWSDServiceProxy_Vtbl { pub GetEndpointProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDServiceProxyEventing, IWSDServiceProxyEventing_Vtbl, 0xf9279d6d_1012_4a94_b8cc_fd35d2202bfe); -impl std::ops::Deref for IWSDServiceProxyEventing { +impl core::ops::Deref for IWSDServiceProxyEventing { type Target = IWSDServiceProxy; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1103,7 +1103,7 @@ pub struct IWSDServiceProxyEventing_Vtbl { pub EndGetStatusForMultipleOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSD_OPERATION, u32, *mut core::ffi::c_void, *mut *mut WSD_EVENTING_EXPIRES, *mut *mut WSDXML_ELEMENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDSignatureProperty, IWSDSignatureProperty_Vtbl, 0x03ce20aa_71c4_45e2_b32e_3766c61c790f); -impl std::ops::Deref for IWSDSignatureProperty { +impl core::ops::Deref for IWSDSignatureProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1139,7 +1139,7 @@ pub struct IWSDSignatureProperty_Vtbl { pub GetSignedInfoHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDTransportAddress, IWSDTransportAddress_Vtbl, 0x70d23498_4ee6_4340_a3df_d845d2235467); -impl std::ops::Deref for IWSDTransportAddress { +impl core::ops::Deref for IWSDTransportAddress { type Target = IWSDAddress; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1182,7 +1182,7 @@ pub struct IWSDTransportAddress_Vtbl { pub SetTransportAddress: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDUdpAddress, IWSDUdpAddress_Vtbl, 0x74d6124a_a441_4f78_a1eb_97a8d1996893); -impl std::ops::Deref for IWSDUdpAddress { +impl core::ops::Deref for IWSDUdpAddress { type Target = IWSDTransportAddress; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1250,7 +1250,7 @@ pub struct IWSDUdpAddress_Vtbl { pub GetAlias: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDUdpMessageParameters, IWSDUdpMessageParameters_Vtbl, 0x9934149f_8f0c_447b_aa0b_73124b0ca7f0); -impl std::ops::Deref for IWSDUdpMessageParameters { +impl core::ops::Deref for IWSDUdpMessageParameters { type Target = IWSDMessageParameters; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1272,7 +1272,7 @@ pub struct IWSDUdpMessageParameters_Vtbl { pub GetRetransmitParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WSDUdpRetransmitParams) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDXMLContext, IWSDXMLContext_Vtbl, 0x75d8f3ee_3e5a_43b4_a15a_bcf6887460c0); -impl std::ops::Deref for IWSDXMLContext { +impl core::ops::Deref for IWSDXMLContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1310,7 +1310,7 @@ pub struct IWSDXMLContext_Vtbl { pub SetTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const WSDXML_TYPE, u32, u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDiscoveredService, IWSDiscoveredService_Vtbl, 0x4bad8a3b_b374_4420_9632_aac945b374aa); -impl std::ops::Deref for IWSDiscoveredService { +impl core::ops::Deref for IWSDiscoveredService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1378,7 +1378,7 @@ pub struct IWSDiscoveredService_Vtbl { pub GetInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDiscoveryProvider, IWSDiscoveryProvider_Vtbl, 0x8ffc8e55_f0eb_480f_88b7_b435dd281d45); -impl std::ops::Deref for IWSDiscoveryProvider { +impl core::ops::Deref for IWSDiscoveryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1436,7 +1436,7 @@ pub struct IWSDiscoveryProvider_Vtbl { pub GetXMLContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDiscoveryProviderNotify, IWSDiscoveryProviderNotify_Vtbl, 0x73ee3ced_b6e6_4329_a546_3e8ad46563d2); -impl std::ops::Deref for IWSDiscoveryProviderNotify { +impl core::ops::Deref for IWSDiscoveryProviderNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1478,7 +1478,7 @@ pub struct IWSDiscoveryProviderNotify_Vtbl { pub SearchComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDiscoveryPublisher, IWSDiscoveryPublisher_Vtbl, 0xae01e1a8_3ff9_4148_8116_057cc616fe13); -impl std::ops::Deref for IWSDiscoveryPublisher { +impl core::ops::Deref for IWSDiscoveryPublisher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1641,7 +1641,7 @@ pub struct IWSDiscoveryPublisher_Vtbl { pub GetXMLContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSDiscoveryPublisherNotify, IWSDiscoveryPublisherNotify_Vtbl, 0xe67651b0_337a_4b3c_9758_733388568251); -impl std::ops::Deref for IWSDiscoveryPublisherNotify { +impl core::ops::Deref for IWSDiscoveryPublisherNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs index 6a109dc5f6..a520b37f17 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs @@ -193,7 +193,7 @@ pub unsafe fn TryCancelPendingGameUI() -> super::Foundation::BOOL { TryCancelPendingGameUI() } windows_core::imp::define_interface!(IGameExplorer, IGameExplorer_Vtbl, 0xe7b2fb72_d728_49b3_a5f2_18ebf5f1349e); -impl std::ops::Deref for IGameExplorer { +impl core::ops::Deref for IGameExplorer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -231,7 +231,7 @@ pub struct IGameExplorer_Vtbl { pub VerifyAccess: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameExplorer2, IGameExplorer2_Vtbl, 0x86874aa7_a1ed_450d_a7eb_b89e20b2fff3); -impl std::ops::Deref for IGameExplorer2 { +impl core::ops::Deref for IGameExplorer2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -268,7 +268,7 @@ pub struct IGameExplorer2_Vtbl { pub CheckAccess: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameStatistics, IGameStatistics_Vtbl, 0x3887c9ca_04a0_42ae_bc4c_5fa6c7721145); -impl std::ops::Deref for IGameStatistics { +impl core::ops::Deref for IGameStatistics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -347,7 +347,7 @@ pub struct IGameStatistics_Vtbl { pub GetLastPlayedCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGameStatisticsMgr, IGameStatisticsMgr_Vtbl, 0xaff3ea11_e70e_407d_95dd_35e612c41ce2); -impl std::ops::Deref for IGameStatisticsMgr { +impl core::ops::Deref for IGameStatisticsMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -375,7 +375,7 @@ pub struct IGameStatisticsMgr_Vtbl { pub RemoveGameStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXblIdpAuthManager, IXblIdpAuthManager_Vtbl, 0xeb5ddb08_8bbf_449b_ac21_b02ddeb3b136); -impl std::ops::Deref for IXblIdpAuthManager { +impl core::ops::Deref for IXblIdpAuthManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -434,7 +434,7 @@ pub struct IXblIdpAuthManager_Vtbl { pub GetTokenAndSignatureWithTokenResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const u8, u32, super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXblIdpAuthManager2, IXblIdpAuthManager2_Vtbl, 0xbf8c0950_8389_43dd_9a76_a19728ec5dc5); -impl std::ops::Deref for IXblIdpAuthManager2 { +impl core::ops::Deref for IXblIdpAuthManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -462,7 +462,7 @@ pub struct IXblIdpAuthManager2_Vtbl { pub GetUserlessTokenAndSignatureWithTokenResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const u8, u32, super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXblIdpAuthTokenResult, IXblIdpAuthTokenResult_Vtbl, 0x46ce0225_f267_4d68_b299_b2762552dec1); -impl std::ops::Deref for IXblIdpAuthTokenResult { +impl core::ops::Deref for IXblIdpAuthTokenResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -576,7 +576,7 @@ pub struct IXblIdpAuthTokenResult_Vtbl { pub GetTitleRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXblIdpAuthTokenResult2, IXblIdpAuthTokenResult2_Vtbl, 0x75d760b0_60b9_412d_994f_26b2cd5f7812); -impl std::ops::Deref for IXblIdpAuthTokenResult2 { +impl core::ops::Deref for IXblIdpAuthTokenResult2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index 8d00061f33..27c5d9641a 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -7055,7 +7055,7 @@ pub unsafe fn utrans_unregisterID(id: *const u16, idlength: i32) { utrans_unregisterID(id, idlength) } windows_core::imp::define_interface!(IComprehensiveSpellCheckProvider, IComprehensiveSpellCheckProvider_Vtbl, 0x0c58f8de_8e94_479e_9717_70c42c4ad2c3); -impl std::ops::Deref for IComprehensiveSpellCheckProvider { +impl core::ops::Deref for IComprehensiveSpellCheckProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7077,7 +7077,7 @@ pub struct IComprehensiveSpellCheckProvider_Vtbl { pub ComprehensiveCheck: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumCodePage, IEnumCodePage_Vtbl, 0x275c23e3_3747_11d0_9fea_00aa003f8646); -impl std::ops::Deref for IEnumCodePage { +impl core::ops::Deref for IEnumCodePage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7107,7 +7107,7 @@ pub struct IEnumCodePage_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumRfc1766, IEnumRfc1766_Vtbl, 0x3dc39d1d_c030_11d0_b81b_00c04fc9b31f); -impl std::ops::Deref for IEnumRfc1766 { +impl core::ops::Deref for IEnumRfc1766 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7137,7 +7137,7 @@ pub struct IEnumRfc1766_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumScript, IEnumScript_Vtbl, 0xae5f1430_388b_11d2_8380_00c04f8f5da1); -impl std::ops::Deref for IEnumScript { +impl core::ops::Deref for IEnumScript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7167,7 +7167,7 @@ pub struct IEnumScript_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSpellingError, IEnumSpellingError_Vtbl, 0x803e3bd4_2828_4410_8290_418d1d73c762); -impl std::ops::Deref for IEnumSpellingError { +impl core::ops::Deref for IEnumSpellingError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7185,7 +7185,7 @@ pub struct IEnumSpellingError_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangCodePages, IMLangCodePages_Vtbl, 0x359f3443_bd4a_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangCodePages { +impl core::ops::Deref for IMLangCodePages { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7218,7 +7218,7 @@ pub struct IMLangCodePages_Vtbl { pub CodePagesToCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangConvertCharset, IMLangConvertCharset_Vtbl, 0xd66d6f98_cdaa_11d0_b822_00c04fc9b31f); -impl std::ops::Deref for IMLangConvertCharset { +impl core::ops::Deref for IMLangConvertCharset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7269,7 +7269,7 @@ pub struct IMLangConvertCharset_Vtbl { pub DoConversionFromUnicode: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, windows_core::PSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangFontLink, IMLangFontLink_Vtbl, 0x359f3441_bd4a_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangFontLink { +impl core::ops::Deref for IMLangFontLink { type Target = IMLangCodePages; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7322,7 +7322,7 @@ pub struct IMLangFontLink_Vtbl { pub ResetFontMapping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangFontLink2, IMLangFontLink2_Vtbl, 0xdccfc162_2b38_11d2_b7ec_00c04f8f5d9a); -impl std::ops::Deref for IMLangFontLink2 { +impl core::ops::Deref for IMLangFontLink2 { type Target = IMLangCodePages; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7394,7 +7394,7 @@ pub struct IMLangFontLink2_Vtbl { pub CodePageToScriptID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangLineBreakConsole, IMLangLineBreakConsole_Vtbl, 0xf5be2ee1_bfd7_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangLineBreakConsole { +impl core::ops::Deref for IMLangLineBreakConsole { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7423,7 +7423,7 @@ pub struct IMLangLineBreakConsole_Vtbl { pub BreakLineA: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCSTR, i32, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangString, IMLangString_Vtbl, 0xc04d65ce_b70d_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangString { +impl core::ops::Deref for IMLangString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7462,7 +7462,7 @@ pub struct IMLangString_Vtbl { pub GetMLStr: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangStringAStr, IMLangStringAStr_Vtbl, 0xc04d65d2_b70d_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangStringAStr { +impl core::ops::Deref for IMLangStringAStr { type Target = IMLangString; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7511,7 +7511,7 @@ pub struct IMLangStringAStr_Vtbl { pub GetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut u32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangStringBufA, IMLangStringBufA_Vtbl, 0xd24acd23_ba72_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangStringBufA { +impl core::ops::Deref for IMLangStringBufA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7548,7 +7548,7 @@ pub struct IMLangStringBufA_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangStringBufW, IMLangStringBufW_Vtbl, 0xd24acd21_ba72_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangStringBufW { +impl core::ops::Deref for IMLangStringBufW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7585,7 +7585,7 @@ pub struct IMLangStringBufW_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMLangStringWStr, IMLangStringWStr_Vtbl, 0xc04d65d0_b70d_11d0_b188_00aa0038c969); -impl std::ops::Deref for IMLangStringWStr { +impl core::ops::Deref for IMLangStringWStr { type Target = IMLangString; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7634,7 +7634,7 @@ pub struct IMLangStringWStr_Vtbl { pub GetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut u32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultiLanguage, IMultiLanguage_Vtbl, 0x275c23e1_3747_11d0_9fea_00aa003f8646); -impl std::ops::Deref for IMultiLanguage { +impl core::ops::Deref for IMultiLanguage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7726,7 +7726,7 @@ pub struct IMultiLanguage_Vtbl { pub CreateConvertCharset: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultiLanguage2, IMultiLanguage2_Vtbl, 0xdccfc164_2b38_11d2_b7ec_00c04f8f5d9a); -impl std::ops::Deref for IMultiLanguage2 { +impl core::ops::Deref for IMultiLanguage2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7901,7 +7901,7 @@ pub struct IMultiLanguage2_Vtbl { pub ValidateCodePageEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::Foundation::HWND, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultiLanguage3, IMultiLanguage3_Vtbl, 0x4e5868ab_b157_4623_9acc_6a1d9caebe04); -impl std::ops::Deref for IMultiLanguage3 { +impl core::ops::Deref for IMultiLanguage3 { type Target = IMultiLanguage2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7934,7 +7934,7 @@ pub struct IMultiLanguage3_Vtbl { DetectOutboundCodePageInIStream: usize, } windows_core::imp::define_interface!(IOptionDescription, IOptionDescription_Vtbl, 0x432e5f85_35cf_4606_a801_6f70277e1d7a); -impl std::ops::Deref for IOptionDescription { +impl core::ops::Deref for IOptionDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7972,7 +7972,7 @@ pub struct IOptionDescription_Vtbl { Labels: usize, } windows_core::imp::define_interface!(ISpellCheckProvider, ISpellCheckProvider_Vtbl, 0x73e976e0_8ed4_4eb1_80d7_1be0a16b0c38); -impl std::ops::Deref for ISpellCheckProvider { +impl core::ops::Deref for ISpellCheckProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8064,7 +8064,7 @@ pub struct ISpellCheckProvider_Vtbl { InitializeWordlist: usize, } windows_core::imp::define_interface!(ISpellCheckProviderFactory, ISpellCheckProviderFactory_Vtbl, 0x9f671e11_77d6_4c92_aefb_615215e3a4be); -impl std::ops::Deref for ISpellCheckProviderFactory { +impl core::ops::Deref for ISpellCheckProviderFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8103,7 +8103,7 @@ pub struct ISpellCheckProviderFactory_Vtbl { pub CreateSpellCheckProvider: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpellChecker, ISpellChecker_Vtbl, 0xb6fd0b71_e2bc_4653_8d05_f197e412770b); -impl std::ops::Deref for ISpellChecker { +impl core::ops::Deref for ISpellChecker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8219,7 +8219,7 @@ pub struct ISpellChecker_Vtbl { pub ComprehensiveCheck: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpellChecker2, ISpellChecker2_Vtbl, 0xe7ed1c71_87f7_4378_a840_c9200dacee47); -impl std::ops::Deref for ISpellChecker2 { +impl core::ops::Deref for ISpellChecker2 { type Target = ISpellChecker; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8240,7 +8240,7 @@ pub struct ISpellChecker2_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpellCheckerChangedEventHandler, ISpellCheckerChangedEventHandler_Vtbl, 0x0b83a5b0_792f_4eab_9799_acf52c5ed08a); -impl std::ops::Deref for ISpellCheckerChangedEventHandler { +impl core::ops::Deref for ISpellCheckerChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8261,7 +8261,7 @@ pub struct ISpellCheckerChangedEventHandler_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpellCheckerFactory, ISpellCheckerFactory_Vtbl, 0x8e018a9d_2415_4677_bf08_794ea61f94bb); -impl std::ops::Deref for ISpellCheckerFactory { +impl core::ops::Deref for ISpellCheckerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8300,7 +8300,7 @@ pub struct ISpellCheckerFactory_Vtbl { pub CreateSpellChecker: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpellingError, ISpellingError_Vtbl, 0xb7c82d61_fbe8_4b47_9b27_6c0d2e0de0a3); -impl std::ops::Deref for ISpellingError { +impl core::ops::Deref for ISpellingError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8334,7 +8334,7 @@ pub struct ISpellingError_Vtbl { pub Replacement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserDictionariesRegistrar, IUserDictionariesRegistrar_Vtbl, 0xaa176b85_0e12_4844_8e1a_eef1da77f586); -impl std::ops::Deref for IUserDictionariesRegistrar { +impl core::ops::Deref for IUserDictionariesRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs index fe57ec7fe6..eef40213f2 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs @@ -7,7 +7,7 @@ where CreatePresentationFactory(d3ddevice.param().abi(), riid, presentationfactory).ok() } windows_core::imp::define_interface!(ICompositionFramePresentStatistics, ICompositionFramePresentStatistics_Vtbl, 0xab41d127_c101_4c0a_911d_f9f2e9d08e64); -impl std::ops::Deref for ICompositionFramePresentStatistics { +impl core::ops::Deref for ICompositionFramePresentStatistics { type Target = IPresentStatistics; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -37,7 +37,7 @@ pub struct ICompositionFramePresentStatistics_Vtbl { GetDisplayInstanceArray: usize, } windows_core::imp::define_interface!(IIndependentFlipFramePresentStatistics, IIndependentFlipFramePresentStatistics_Vtbl, 0x8c93be27_ad94_4da0_8fd4_2413132d124e); -impl std::ops::Deref for IIndependentFlipFramePresentStatistics { +impl core::ops::Deref for IIndependentFlipFramePresentStatistics { type Target = IPresentStatistics; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -77,7 +77,7 @@ pub struct IIndependentFlipFramePresentStatistics_Vtbl { pub GetPresentDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemInterruptTime), } windows_core::imp::define_interface!(IPresentStatistics, IPresentStatistics_Vtbl, 0xb44b8bda_7282_495d_9dd7_ceadd8b4bb86); -impl std::ops::Deref for IPresentStatistics { +impl core::ops::Deref for IPresentStatistics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -99,7 +99,7 @@ pub struct IPresentStatistics_Vtbl { pub GetKind: unsafe extern "system" fn(*mut core::ffi::c_void) -> PresentStatisticsKind, } windows_core::imp::define_interface!(IPresentStatusPresentStatistics, IPresentStatusPresentStatistics_Vtbl, 0xc9ed2a41_79cb_435e_964e_c8553055420c); -impl std::ops::Deref for IPresentStatusPresentStatistics { +impl core::ops::Deref for IPresentStatusPresentStatistics { type Target = IPresentStatistics; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -121,7 +121,7 @@ pub struct IPresentStatusPresentStatistics_Vtbl { pub GetPresentStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> PresentStatus, } windows_core::imp::define_interface!(IPresentationBuffer, IPresentationBuffer_Vtbl, 0x2e217d3a_5abb_4138_9a13_a775593c89ca); -impl std::ops::Deref for IPresentationBuffer { +impl core::ops::Deref for IPresentationBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -145,7 +145,7 @@ pub struct IPresentationBuffer_Vtbl { pub IsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPresentationContent, IPresentationContent_Vtbl, 0x5668bb79_3d8e_415c_b215_f38020f2d252); -impl std::ops::Deref for IPresentationContent { +impl core::ops::Deref for IPresentationContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -163,7 +163,7 @@ pub struct IPresentationContent_Vtbl { pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, usize), } windows_core::imp::define_interface!(IPresentationFactory, IPresentationFactory_Vtbl, 0x8fb37b58_1d74_4f64_a49c_1f97a80a2ec0); -impl std::ops::Deref for IPresentationFactory { +impl core::ops::Deref for IPresentationFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -190,7 +190,7 @@ pub struct IPresentationFactory_Vtbl { pub CreatePresentationManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPresentationManager, IPresentationManager_Vtbl, 0xfb562f82_6292_470a_88b1_843661e7f20c); -impl std::ops::Deref for IPresentationManager { +impl core::ops::Deref for IPresentationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -268,7 +268,7 @@ pub struct IPresentationManager_Vtbl { pub GetNextPresentStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPresentationSurface, IPresentationSurface_Vtbl, 0x956710fb_ea40_4eba_a3eb_4375a0eb4edc); -impl std::ops::Deref for IPresentationSurface { +impl core::ops::Deref for IPresentationSurface { type Target = IPresentationContent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs index 8d547084ae..c82032991d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs @@ -4,11 +4,11 @@ where T: windows_core::Interface, { windows_targets::link!("dxcore.dll" "system" fn DXCoreCreateAdapterFactory(riid : *const windows_core::GUID, ppvfactory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DXCoreCreateAdapterFactory(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IDXCoreAdapter, IDXCoreAdapter_Vtbl, 0xf0db4c7f_fe5a_42a2_bd62_f2a6cf6fc83e); -impl std::ops::Deref for IDXCoreAdapter { +impl core::ops::Deref for IDXCoreAdapter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -48,7 +48,7 @@ impl IDXCoreAdapter { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFactory)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -67,7 +67,7 @@ pub struct IDXCoreAdapter_Vtbl { pub GetFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXCoreAdapterFactory, IDXCoreAdapterFactory_Vtbl, 0x78ee5945_c36e_4b13_a669_005dd11c0f06); -impl std::ops::Deref for IDXCoreAdapterFactory { +impl core::ops::Deref for IDXCoreAdapterFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -79,14 +79,14 @@ impl IDXCoreAdapterFactory { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateAdapterList)(windows_core::Interface::as_raw(self), filterattributes.len().try_into().unwrap(), core::mem::transmute(filterattributes.as_ptr()), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAdapterByLuid(&self, adapterluid: *const super::super::Foundation::LUID) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAdapterByLuid)(windows_core::Interface::as_raw(self), adapterluid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsNotificationTypeSupported(&self, notificationtype: DXCoreNotificationType) -> bool { @@ -113,7 +113,7 @@ pub struct IDXCoreAdapterFactory_Vtbl { pub UnregisterEventNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXCoreAdapterList, IDXCoreAdapterList_Vtbl, 0x526c7776_40e9_459b_b711_f32ad76dfc28); -impl std::ops::Deref for IDXCoreAdapterList { +impl core::ops::Deref for IDXCoreAdapterList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -125,7 +125,7 @@ impl IDXCoreAdapterList { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAdapter)(windows_core::Interface::as_raw(self), index, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAdapterCount(&self) -> u32 { @@ -138,7 +138,7 @@ impl IDXCoreAdapterList { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFactory)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Sort(&self, preferences: &[DXCoreAdapterPreference]) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs index 25ffcf654b..ea67f04ba1 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ID2D1SimplifiedGeometrySink, ID2D1SimplifiedGeometrySink_Vtbl, 0x2cd9069e_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1SimplifiedGeometrySink { +impl core::ops::Deref for ID2D1SimplifiedGeometrySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs index e5eedc9f4f..5c19837ea5 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -38,7 +38,7 @@ where T: windows_core::Interface, { windows_targets::link!("d2d1.dll" "system" fn D2D1CreateFactory(factorytype : D2D1_FACTORY_TYPE, riid : *const windows_core::GUID, pfactoryoptions : *const D2D1_FACTORY_OPTIONS, ppifactory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); D2D1CreateFactory(factorytype, &T::IID, core::mem::transmute(pfactoryoptions.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -87,7 +87,7 @@ pub unsafe fn D2D1Vec3Length(x: f32, y: f32, z: f32) -> f32 { D2D1Vec3Length(x, y, z) } windows_core::imp::define_interface!(ID2D1AnalysisTransform, ID2D1AnalysisTransform_Vtbl, 0x0359dc30_95e6_4568_9055_27720d130e93); -impl std::ops::Deref for ID2D1AnalysisTransform { +impl core::ops::Deref for ID2D1AnalysisTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -107,7 +107,7 @@ pub struct ID2D1AnalysisTransform_Vtbl { pub ProcessAnalysisResults: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Bitmap, ID2D1Bitmap_Vtbl, 0xa2296057_ea42_4099_983b_539fb6505426); -impl std::ops::Deref for ID2D1Bitmap { +impl core::ops::Deref for ID2D1Bitmap { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -187,7 +187,7 @@ pub struct ID2D1Bitmap_Vtbl { CopyFromMemory: usize, } windows_core::imp::define_interface!(ID2D1Bitmap1, ID2D1Bitmap1_Vtbl, 0xa898a84c_3873_4588_b08b_ebbf978df041); -impl std::ops::Deref for ID2D1Bitmap1 { +impl core::ops::Deref for ID2D1Bitmap1 { type Target = ID2D1Bitmap; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -231,7 +231,7 @@ pub struct ID2D1Bitmap1_Vtbl { pub Unmap: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1BitmapBrush, ID2D1BitmapBrush_Vtbl, 0x2cd906aa_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1BitmapBrush { +impl core::ops::Deref for ID2D1BitmapBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -284,7 +284,7 @@ pub struct ID2D1BitmapBrush_Vtbl { pub GetBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1BitmapBrush1, ID2D1BitmapBrush1_Vtbl, 0x41343a53_e41a_49a2_91cd_21793bbb62e5); -impl std::ops::Deref for ID2D1BitmapBrush1 { +impl core::ops::Deref for ID2D1BitmapBrush1 { type Target = ID2D1BitmapBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -308,7 +308,7 @@ pub struct ID2D1BitmapBrush1_Vtbl { pub GetInterpolationMode1: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_INTERPOLATION_MODE, } windows_core::imp::define_interface!(ID2D1BitmapRenderTarget, ID2D1BitmapRenderTarget_Vtbl, 0x2cd90695_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1BitmapRenderTarget { +impl core::ops::Deref for ID2D1BitmapRenderTarget { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -329,7 +329,7 @@ pub struct ID2D1BitmapRenderTarget_Vtbl { pub GetBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1BlendTransform, ID2D1BlendTransform_Vtbl, 0x63ac0b32_ba44_450f_8806_7f4ca1ff2f1b); -impl std::ops::Deref for ID2D1BlendTransform { +impl core::ops::Deref for ID2D1BlendTransform { type Target = ID2D1ConcreteTransform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -353,7 +353,7 @@ pub struct ID2D1BlendTransform_Vtbl { pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D2D1_BLEND_DESCRIPTION), } windows_core::imp::define_interface!(ID2D1BorderTransform, ID2D1BorderTransform_Vtbl, 0x4998735c_3a19_473c_9781_656847e3a347); -impl std::ops::Deref for ID2D1BorderTransform { +impl core::ops::Deref for ID2D1BorderTransform { type Target = ID2D1ConcreteTransform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -385,7 +385,7 @@ pub struct ID2D1BorderTransform_Vtbl { pub GetExtendModeY: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_EXTEND_MODE, } windows_core::imp::define_interface!(ID2D1BoundsAdjustmentTransform, ID2D1BoundsAdjustmentTransform_Vtbl, 0x90f732e2_5092_4606_a819_8651970baccd); -impl std::ops::Deref for ID2D1BoundsAdjustmentTransform { +impl core::ops::Deref for ID2D1BoundsAdjustmentTransform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -411,7 +411,7 @@ pub struct ID2D1BoundsAdjustmentTransform_Vtbl { pub GetOutputBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT), } windows_core::imp::define_interface!(ID2D1Brush, ID2D1Brush_Vtbl, 0x2cd906a8_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1Brush { +impl core::ops::Deref for ID2D1Brush { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -451,7 +451,7 @@ pub struct ID2D1Brush_Vtbl { GetTransform: usize, } windows_core::imp::define_interface!(ID2D1ColorContext, ID2D1ColorContext_Vtbl, 0x1c4820bb_5771_4518_a581_2fe4dd0ec657); -impl std::ops::Deref for ID2D1ColorContext { +impl core::ops::Deref for ID2D1ColorContext { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -479,7 +479,7 @@ pub struct ID2D1ColorContext_Vtbl { pub GetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1ColorContext1, ID2D1ColorContext1_Vtbl, 0x1ab42875_c57f_4be9_bd85_9cd78d6f55ee); -impl std::ops::Deref for ID2D1ColorContext1 { +impl core::ops::Deref for ID2D1ColorContext1 { type Target = ID2D1ColorContext; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -515,7 +515,7 @@ pub struct ID2D1ColorContext1_Vtbl { GetSimpleColorProfile: usize, } windows_core::imp::define_interface!(ID2D1CommandList, ID2D1CommandList_Vtbl, 0xb4f34a19_2383_4d76_94f6_ec343657c3dc); -impl std::ops::Deref for ID2D1CommandList { +impl core::ops::Deref for ID2D1CommandList { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -542,7 +542,7 @@ pub struct ID2D1CommandList_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1CommandSink, ID2D1CommandSink_Vtbl, 0x54d7898a_a061_40a7_bec7_e465bcba2c4f); -impl std::ops::Deref for ID2D1CommandSink { +impl core::ops::Deref for ID2D1CommandSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -757,7 +757,7 @@ pub struct ID2D1CommandSink_Vtbl { pub PopLayer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1CommandSink1, ID2D1CommandSink1_Vtbl, 0x9eb767fd_4269_4467_b8c2_eb30cb305743); -impl std::ops::Deref for ID2D1CommandSink1 { +impl core::ops::Deref for ID2D1CommandSink1 { type Target = ID2D1CommandSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -777,7 +777,7 @@ pub struct ID2D1CommandSink1_Vtbl { pub SetPrimitiveBlend1: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_PRIMITIVE_BLEND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1CommandSink2, ID2D1CommandSink2_Vtbl, 0x3bab440e_417e_47df_a2e2_bc0be6a00916); -impl std::ops::Deref for ID2D1CommandSink2 { +impl core::ops::Deref for ID2D1CommandSink2 { type Target = ID2D1CommandSink1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -820,7 +820,7 @@ pub struct ID2D1CommandSink2_Vtbl { DrawGdiMetafile: usize, } windows_core::imp::define_interface!(ID2D1CommandSink3, ID2D1CommandSink3_Vtbl, 0x18079135_4cf3_4868_bc8e_06067e6d242d); -impl std::ops::Deref for ID2D1CommandSink3 { +impl core::ops::Deref for ID2D1CommandSink3 { type Target = ID2D1CommandSink2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -844,7 +844,7 @@ pub struct ID2D1CommandSink3_Vtbl { pub DrawSpriteBatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, D2D1_BITMAP_INTERPOLATION_MODE, D2D1_SPRITE_OPTIONS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1CommandSink4, ID2D1CommandSink4_Vtbl, 0xc78a6519_40d6_4218_b2de_beeeb744bb3e); -impl std::ops::Deref for ID2D1CommandSink4 { +impl core::ops::Deref for ID2D1CommandSink4 { type Target = ID2D1CommandSink3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -864,7 +864,7 @@ pub struct ID2D1CommandSink4_Vtbl { pub SetPrimitiveBlend2: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_PRIMITIVE_BLEND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1CommandSink5, ID2D1CommandSink5_Vtbl, 0x7047dd26_b1e7_44a7_959a_8349e2144fa8); -impl std::ops::Deref for ID2D1CommandSink5 { +impl core::ops::Deref for ID2D1CommandSink5 { type Target = ID2D1CommandSink4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -891,7 +891,7 @@ pub struct ID2D1CommandSink5_Vtbl { BlendImage: usize, } windows_core::imp::define_interface!(ID2D1ComputeInfo, ID2D1ComputeInfo_Vtbl, 0x5598b14b_9fd7_48b7_9bdb_8f0964eb38bc); -impl std::ops::Deref for ID2D1ComputeInfo { +impl core::ops::Deref for ID2D1ComputeInfo { type Target = ID2D1RenderInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -922,7 +922,7 @@ pub struct ID2D1ComputeInfo_Vtbl { pub SetResourceTexture: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1ComputeTransform, ID2D1ComputeTransform_Vtbl, 0x0d85573c_01e3_4f7d_bfd9_0d60608bf3c3); -impl std::ops::Deref for ID2D1ComputeTransform { +impl core::ops::Deref for ID2D1ComputeTransform { type Target = ID2D1Transform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -949,7 +949,7 @@ pub struct ID2D1ComputeTransform_Vtbl { pub CalculateThreadgroups: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1ConcreteTransform, ID2D1ConcreteTransform_Vtbl, 0x1a799d8a_69f7_4e4c_9fed_437ccc6684cc); -impl std::ops::Deref for ID2D1ConcreteTransform { +impl core::ops::Deref for ID2D1ConcreteTransform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -976,7 +976,7 @@ pub struct ID2D1ConcreteTransform_Vtbl { pub SetCached: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } windows_core::imp::define_interface!(ID2D1DCRenderTarget, ID2D1DCRenderTarget_Vtbl, 0x1c51bc64_de61_46fd_9899_63a5d8f03950); -impl std::ops::Deref for ID2D1DCRenderTarget { +impl core::ops::Deref for ID2D1DCRenderTarget { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1003,7 +1003,7 @@ pub struct ID2D1DCRenderTarget_Vtbl { BindDC: usize, } windows_core::imp::define_interface!(ID2D1Device, ID2D1Device_Vtbl, 0x47dd575d_ac05_4cdd_8049_9b02cd16f44c); -impl std::ops::Deref for ID2D1Device { +impl core::ops::Deref for ID2D1Device { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1049,7 +1049,7 @@ pub struct ID2D1Device_Vtbl { pub ClearResources: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(ID2D1Device1, ID2D1Device1_Vtbl, 0xd21768e1_23a4_4823_a14b_7c3eba85d658); -impl std::ops::Deref for ID2D1Device1 { +impl core::ops::Deref for ID2D1Device1 { type Target = ID2D1Device; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1078,7 +1078,7 @@ pub struct ID2D1Device1_Vtbl { pub CreateDeviceContext: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Device2, ID2D1Device2_Vtbl, 0xa44472e1_8dfb_4e60_8492_6e2861c9ca8b); -impl std::ops::Deref for ID2D1Device2 { +impl core::ops::Deref for ID2D1Device2 { type Target = ID2D1Device1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1115,7 +1115,7 @@ pub struct ID2D1Device2_Vtbl { GetDxgiDevice: usize, } windows_core::imp::define_interface!(ID2D1Device3, ID2D1Device3_Vtbl, 0x852f2087_802c_4037_ab60_ff2e7ee6fc01); -impl std::ops::Deref for ID2D1Device3 { +impl core::ops::Deref for ID2D1Device3 { type Target = ID2D1Device2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1136,7 +1136,7 @@ pub struct ID2D1Device3_Vtbl { pub CreateDeviceContext: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Device4, ID2D1Device4_Vtbl, 0xd7bdb159_5683_4a46_bc9c_72dc720b858b); -impl std::ops::Deref for ID2D1Device4 { +impl core::ops::Deref for ID2D1Device4 { type Target = ID2D1Device3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1165,7 +1165,7 @@ pub struct ID2D1Device4_Vtbl { pub GetMaximumColorGlyphCacheMemory: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } windows_core::imp::define_interface!(ID2D1Device5, ID2D1Device5_Vtbl, 0xd55ba0a4_6405_4694_aef5_08ee1a4358b4); -impl std::ops::Deref for ID2D1Device5 { +impl core::ops::Deref for ID2D1Device5 { type Target = ID2D1Device4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1186,7 +1186,7 @@ pub struct ID2D1Device5_Vtbl { pub CreateDeviceContext: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Device6, ID2D1Device6_Vtbl, 0x7bfef914_2d75_4bad_be87_e18ddb077b6d); -impl std::ops::Deref for ID2D1Device6 { +impl core::ops::Deref for ID2D1Device6 { type Target = ID2D1Device5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1207,7 +1207,7 @@ pub struct ID2D1Device6_Vtbl { pub CreateDeviceContext: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Device7, ID2D1Device7_Vtbl, 0xf07c8968_dd4e_4ba6_9cbd_eb6d3752dcbb); -impl std::ops::Deref for ID2D1Device7 { +impl core::ops::Deref for ID2D1Device7 { type Target = ID2D1Device6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1228,7 +1228,7 @@ pub struct ID2D1Device7_Vtbl { pub CreateDeviceContext: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1DeviceContext, ID2D1DeviceContext_Vtbl, 0xe8f7fe7a_191c_466d_ad95_975678bda998); -impl std::ops::Deref for ID2D1DeviceContext { +impl core::ops::Deref for ID2D1DeviceContext { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1551,7 +1551,7 @@ pub struct ID2D1DeviceContext_Vtbl { FillOpacityMask: usize, } windows_core::imp::define_interface!(ID2D1DeviceContext1, ID2D1DeviceContext1_Vtbl, 0xd37f57e4_6908_459f_a199_e72f24f79987); -impl std::ops::Deref for ID2D1DeviceContext1 { +impl core::ops::Deref for ID2D1DeviceContext1 { type Target = ID2D1DeviceContext; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1592,7 +1592,7 @@ pub struct ID2D1DeviceContext1_Vtbl { pub DrawGeometryRealization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1DeviceContext2, ID2D1DeviceContext2_Vtbl, 0x394ea6a3_0c34_4321_950b_6ca20f0be6c7); -impl std::ops::Deref for ID2D1DeviceContext2 { +impl core::ops::Deref for ID2D1DeviceContext2 { type Target = ID2D1DeviceContext1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1704,7 +1704,7 @@ pub struct ID2D1DeviceContext2_Vtbl { pub CreateTransformedImageSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1DeviceContext3, ID2D1DeviceContext3_Vtbl, 0x235a7496_8351_414c_bcd4_6672ab2d8e00); -impl std::ops::Deref for ID2D1DeviceContext3 { +impl core::ops::Deref for ID2D1DeviceContext3 { type Target = ID2D1DeviceContext2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1733,7 +1733,7 @@ pub struct ID2D1DeviceContext3_Vtbl { pub DrawSpriteBatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, D2D1_BITMAP_INTERPOLATION_MODE, D2D1_SPRITE_OPTIONS), } windows_core::imp::define_interface!(ID2D1DeviceContext4, ID2D1DeviceContext4_Vtbl, 0x8c427831_3d90_4476_b647_c4fae349e4db); -impl std::ops::Deref for ID2D1DeviceContext4 { +impl core::ops::Deref for ID2D1DeviceContext4 { type Target = ID2D1DeviceContext3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1826,7 +1826,7 @@ pub struct ID2D1DeviceContext4_Vtbl { GetSvgGlyphImage: usize, } windows_core::imp::define_interface!(ID2D1DeviceContext5, ID2D1DeviceContext5_Vtbl, 0x7836d248_68cc_4df6_b9e8_de991bf62eb7); -impl std::ops::Deref for ID2D1DeviceContext5 { +impl core::ops::Deref for ID2D1DeviceContext5 { type Target = ID2D1DeviceContext4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1879,7 +1879,7 @@ pub struct ID2D1DeviceContext5_Vtbl { CreateColorContextFromSimpleColorProfile: usize, } windows_core::imp::define_interface!(ID2D1DeviceContext6, ID2D1DeviceContext6_Vtbl, 0x985f7e37_4ed0_4a19_98a3_15b0edfde306); -impl std::ops::Deref for ID2D1DeviceContext6 { +impl core::ops::Deref for ID2D1DeviceContext6 { type Target = ID2D1DeviceContext5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1906,7 +1906,7 @@ pub struct ID2D1DeviceContext6_Vtbl { BlendImage: usize, } windows_core::imp::define_interface!(ID2D1DeviceContext7, ID2D1DeviceContext7_Vtbl, 0xec891cf7_9b69_4851_9def_4e0915771e62); -impl std::ops::Deref for ID2D1DeviceContext7 { +impl core::ops::Deref for ID2D1DeviceContext7 { type Target = ID2D1DeviceContext6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1949,7 +1949,7 @@ pub struct ID2D1DeviceContext7_Vtbl { DrawGlyphRunWithColorSupport: usize, } windows_core::imp::define_interface!(ID2D1DrawInfo, ID2D1DrawInfo_Vtbl, 0x693ce632_7f2f_45de_93fe_18d88b37aa21); -impl std::ops::Deref for ID2D1DrawInfo { +impl core::ops::Deref for ID2D1DrawInfo { type Target = ID2D1RenderInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1991,7 +1991,7 @@ pub struct ID2D1DrawInfo_Vtbl { pub SetVertexProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, D2D1_VERTEX_OPTIONS, *const D2D1_BLEND_DESCRIPTION, *const D2D1_VERTEX_RANGE, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1DrawTransform, ID2D1DrawTransform_Vtbl, 0x36bfdcb6_9739_435d_a30d_a653beff6a6f); -impl std::ops::Deref for ID2D1DrawTransform { +impl core::ops::Deref for ID2D1DrawTransform { type Target = ID2D1Transform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2014,7 +2014,7 @@ pub struct ID2D1DrawTransform_Vtbl { pub SetDrawInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1DrawingStateBlock, ID2D1DrawingStateBlock_Vtbl, 0x28506e39_ebf6_46a1_bb47_fd85565ab957); -impl std::ops::Deref for ID2D1DrawingStateBlock { +impl core::ops::Deref for ID2D1DrawingStateBlock { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2067,7 +2067,7 @@ pub struct ID2D1DrawingStateBlock_Vtbl { GetTextRenderingParams: usize, } windows_core::imp::define_interface!(ID2D1DrawingStateBlock1, ID2D1DrawingStateBlock1_Vtbl, 0x689f1f85_c72e_4e33_8f19_85754efd5ace); -impl std::ops::Deref for ID2D1DrawingStateBlock1 { +impl core::ops::Deref for ID2D1DrawingStateBlock1 { type Target = ID2D1DrawingStateBlock; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2099,7 +2099,7 @@ pub struct ID2D1DrawingStateBlock1_Vtbl { SetDescription: usize, } windows_core::imp::define_interface!(ID2D1Effect, ID2D1Effect_Vtbl, 0x28211a43_7d89_476f_8181_2d6159b220ad); -impl std::ops::Deref for ID2D1Effect { +impl core::ops::Deref for ID2D1Effect { type Target = ID2D1Properties; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2143,7 +2143,7 @@ pub struct ID2D1Effect_Vtbl { pub GetOutput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1EffectContext, ID2D1EffectContext_Vtbl, 0x3d9f916b_27dc_4ad7_b4f1_64945340f563); -impl std::ops::Deref for ID2D1EffectContext { +impl core::ops::Deref for ID2D1EffectContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2278,7 +2278,7 @@ pub struct ID2D1EffectContext_Vtbl { pub IsBufferPrecisionSupported: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_BUFFER_PRECISION) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID2D1EffectContext1, ID2D1EffectContext1_Vtbl, 0x84ab595a_fc81_4546_bacd_e8ef4d8abe7a); -impl std::ops::Deref for ID2D1EffectContext1 { +impl core::ops::Deref for ID2D1EffectContext1 { type Target = ID2D1EffectContext; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2299,7 +2299,7 @@ pub struct ID2D1EffectContext1_Vtbl { pub CreateLookupTable3D: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_BUFFER_PRECISION, *const u32, *const u8, u32, *const u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1EffectContext2, ID2D1EffectContext2_Vtbl, 0x577ad2a0_9fc7_4dda_8b18_dab810140052); -impl std::ops::Deref for ID2D1EffectContext2 { +impl core::ops::Deref for ID2D1EffectContext2 { type Target = ID2D1EffectContext1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2333,7 +2333,7 @@ pub struct ID2D1EffectContext2_Vtbl { CreateColorContextFromSimpleColorProfile: usize, } windows_core::imp::define_interface!(ID2D1EffectImpl, ID2D1EffectImpl_Vtbl, 0xa248fd3f_3e6c_4e63_9f03_7f68ecc91db9); -impl std::ops::Deref for ID2D1EffectImpl { +impl core::ops::Deref for ID2D1EffectImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2368,7 +2368,7 @@ pub struct ID2D1EffectImpl_Vtbl { pub SetGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1EllipseGeometry, ID2D1EllipseGeometry_Vtbl, 0x2cd906a4_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1EllipseGeometry { +impl core::ops::Deref for ID2D1EllipseGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2394,7 +2394,7 @@ pub struct ID2D1EllipseGeometry_Vtbl { GetEllipse: usize, } windows_core::imp::define_interface!(ID2D1Factory, ID2D1Factory_Vtbl, 0x06152247_6f50_465a_9245_118bfd3b6007); -impl std::ops::Deref for ID2D1Factory { +impl core::ops::Deref for ID2D1Factory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2530,7 +2530,7 @@ pub struct ID2D1Factory_Vtbl { CreateDCRenderTarget: usize, } windows_core::imp::define_interface!(ID2D1Factory1, ID2D1Factory1_Vtbl, 0xbb12d362_daee_4b9a_aa1d_14ba401cfa1f); -impl std::ops::Deref for ID2D1Factory1 { +impl core::ops::Deref for ID2D1Factory1 { type Target = ID2D1Factory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2623,7 +2623,7 @@ pub struct ID2D1Factory1_Vtbl { pub GetEffectProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Factory2, ID2D1Factory2_Vtbl, 0x94f81a73_9212_4376_9c58_b16a3a0d3992); -impl std::ops::Deref for ID2D1Factory2 { +impl core::ops::Deref for ID2D1Factory2 { type Target = ID2D1Factory1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2651,7 +2651,7 @@ pub struct ID2D1Factory2_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID2D1Factory3, ID2D1Factory3_Vtbl, 0x0869759f_4f00_413f_b03e_2bda45404d0f); -impl std::ops::Deref for ID2D1Factory3 { +impl core::ops::Deref for ID2D1Factory3 { type Target = ID2D1Factory2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2679,7 +2679,7 @@ pub struct ID2D1Factory3_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID2D1Factory4, ID2D1Factory4_Vtbl, 0xbd4ec2d2_0662_4bee_ba8e_6f29f032e096); -impl std::ops::Deref for ID2D1Factory4 { +impl core::ops::Deref for ID2D1Factory4 { type Target = ID2D1Factory3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2707,7 +2707,7 @@ pub struct ID2D1Factory4_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID2D1Factory5, ID2D1Factory5_Vtbl, 0xc4349994_838e_4b0f_8cab_44997d9eeacc); -impl std::ops::Deref for ID2D1Factory5 { +impl core::ops::Deref for ID2D1Factory5 { type Target = ID2D1Factory4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2735,7 +2735,7 @@ pub struct ID2D1Factory5_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID2D1Factory6, ID2D1Factory6_Vtbl, 0xf9976f46_f642_44c1_97ca_da32ea2a2635); -impl std::ops::Deref for ID2D1Factory6 { +impl core::ops::Deref for ID2D1Factory6 { type Target = ID2D1Factory5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2763,7 +2763,7 @@ pub struct ID2D1Factory6_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID2D1Factory7, ID2D1Factory7_Vtbl, 0xbdc2bdd3_b96c_4de6_bdf7_99d4745454de); -impl std::ops::Deref for ID2D1Factory7 { +impl core::ops::Deref for ID2D1Factory7 { type Target = ID2D1Factory6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2791,7 +2791,7 @@ pub struct ID2D1Factory7_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID2D1Factory8, ID2D1Factory8_Vtbl, 0x677c9311_f36d_4b1f_ae86_86d1223ffd3a); -impl std::ops::Deref for ID2D1Factory8 { +impl core::ops::Deref for ID2D1Factory8 { type Target = ID2D1Factory7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2819,7 +2819,7 @@ pub struct ID2D1Factory8_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID2D1GdiInteropRenderTarget, ID2D1GdiInteropRenderTarget_Vtbl, 0xe0db51c3_6f77_4bae_b3d5_e47509b35838); -impl std::ops::Deref for ID2D1GdiInteropRenderTarget { +impl core::ops::Deref for ID2D1GdiInteropRenderTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2848,7 +2848,7 @@ pub struct ID2D1GdiInteropRenderTarget_Vtbl { pub ReleaseDC: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1GdiMetafile, ID2D1GdiMetafile_Vtbl, 0x2f543dc3_cfc1_4211_864f_cfd91c6f3395); -impl std::ops::Deref for ID2D1GdiMetafile { +impl core::ops::Deref for ID2D1GdiMetafile { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2880,7 +2880,7 @@ pub struct ID2D1GdiMetafile_Vtbl { GetBounds: usize, } windows_core::imp::define_interface!(ID2D1GdiMetafile1, ID2D1GdiMetafile1_Vtbl, 0x2e69f9e8_dd3f_4bf9_95ba_c04f49d788df); -impl std::ops::Deref for ID2D1GdiMetafile1 { +impl core::ops::Deref for ID2D1GdiMetafile1 { type Target = ID2D1GdiMetafile; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2909,7 +2909,7 @@ pub struct ID2D1GdiMetafile1_Vtbl { GetSourceBounds: usize, } windows_core::imp::define_interface!(ID2D1GdiMetafileSink, ID2D1GdiMetafileSink_Vtbl, 0x82237326_8111_4f7c_bcf4_b5c1175564fe); -impl std::ops::Deref for ID2D1GdiMetafileSink { +impl core::ops::Deref for ID2D1GdiMetafileSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2929,7 +2929,7 @@ pub struct ID2D1GdiMetafileSink_Vtbl { pub ProcessRecord: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1GdiMetafileSink1, ID2D1GdiMetafileSink1_Vtbl, 0xfd0ecb6b_91e6_411e_8655_395e760f91b4); -impl std::ops::Deref for ID2D1GdiMetafileSink1 { +impl core::ops::Deref for ID2D1GdiMetafileSink1 { type Target = ID2D1GdiMetafileSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2949,7 +2949,7 @@ pub struct ID2D1GdiMetafileSink1_Vtbl { pub ProcessRecord: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Geometry, ID2D1Geometry_Vtbl, 0x2cd906a1_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1Geometry { +impl core::ops::Deref for ID2D1Geometry { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3102,7 +3102,7 @@ pub struct ID2D1Geometry_Vtbl { Widen: usize, } windows_core::imp::define_interface!(ID2D1GeometryGroup, ID2D1GeometryGroup_Vtbl, 0x2cd906a6_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1GeometryGroup { +impl core::ops::Deref for ID2D1GeometryGroup { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3134,7 +3134,7 @@ pub struct ID2D1GeometryGroup_Vtbl { pub GetSourceGeometries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(ID2D1GeometryRealization, ID2D1GeometryRealization_Vtbl, 0xa16907d7_bc02_4801_99e8_8cf7f485f774); -impl std::ops::Deref for ID2D1GeometryRealization { +impl core::ops::Deref for ID2D1GeometryRealization { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3151,7 +3151,7 @@ pub struct ID2D1GeometryRealization_Vtbl { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] windows_core::imp::define_interface!(ID2D1GeometrySink, ID2D1GeometrySink_Vtbl, 0x2cd9069f_12e2_11dc_9fed_001143a055f9); #[cfg(feature = "Win32_Graphics_Direct2D_Common")] -impl std::ops::Deref for ID2D1GeometrySink { +impl core::ops::Deref for ID2D1GeometrySink { type Target = Common::ID2D1SimplifiedGeometrySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3212,7 +3212,7 @@ pub struct ID2D1GeometrySink_Vtbl { AddArc: usize, } windows_core::imp::define_interface!(ID2D1GradientMesh, ID2D1GradientMesh_Vtbl, 0xf292e401_c050_4cde_83d7_04962d3b23c2); -impl std::ops::Deref for ID2D1GradientMesh { +impl core::ops::Deref for ID2D1GradientMesh { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3240,7 +3240,7 @@ pub struct ID2D1GradientMesh_Vtbl { GetPatches: usize, } windows_core::imp::define_interface!(ID2D1GradientStopCollection, ID2D1GradientStopCollection_Vtbl, 0x2cd906a7_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1GradientStopCollection { +impl core::ops::Deref for ID2D1GradientStopCollection { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3276,7 +3276,7 @@ pub struct ID2D1GradientStopCollection_Vtbl { pub GetExtendMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_EXTEND_MODE, } windows_core::imp::define_interface!(ID2D1GradientStopCollection1, ID2D1GradientStopCollection1_Vtbl, 0xae1572f4_5dd0_4777_998b_9279472ae63b); -impl std::ops::Deref for ID2D1GradientStopCollection1 { +impl core::ops::Deref for ID2D1GradientStopCollection1 { type Target = ID2D1GradientStopCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3316,7 +3316,7 @@ pub struct ID2D1GradientStopCollection1_Vtbl { pub GetColorInterpolationMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_COLOR_INTERPOLATION_MODE, } windows_core::imp::define_interface!(ID2D1HwndRenderTarget, ID2D1HwndRenderTarget_Vtbl, 0x2cd90698_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1HwndRenderTarget { +impl core::ops::Deref for ID2D1HwndRenderTarget { type Target = ID2D1RenderTarget; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3348,7 +3348,7 @@ pub struct ID2D1HwndRenderTarget_Vtbl { pub GetHwnd: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HWND, } windows_core::imp::define_interface!(ID2D1Image, ID2D1Image_Vtbl, 0x65019f75_8da2_497c_b32c_dfa34e48ede6); -impl std::ops::Deref for ID2D1Image { +impl core::ops::Deref for ID2D1Image { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3363,7 +3363,7 @@ pub struct ID2D1Image_Vtbl { pub base__: ID2D1Resource_Vtbl, } windows_core::imp::define_interface!(ID2D1ImageBrush, ID2D1ImageBrush_Vtbl, 0xfe9e984d_3f95_407c_b5db_cb94d4e8f87c); -impl std::ops::Deref for ID2D1ImageBrush { +impl core::ops::Deref for ID2D1ImageBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3434,7 +3434,7 @@ pub struct ID2D1ImageBrush_Vtbl { GetSourceRectangle: usize, } windows_core::imp::define_interface!(ID2D1ImageSource, ID2D1ImageSource_Vtbl, 0xc9b664e5_74a1_4378_9ac2_eefc37a3f4d8); -impl std::ops::Deref for ID2D1ImageSource { +impl core::ops::Deref for ID2D1ImageSource { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3459,7 +3459,7 @@ pub struct ID2D1ImageSource_Vtbl { pub TryReclaimResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1ImageSourceFromWic, ID2D1ImageSourceFromWic_Vtbl, 0x77395441_1c8f_4555_8683_f50dab0fe792); -impl std::ops::Deref for ID2D1ImageSourceFromWic { +impl core::ops::Deref for ID2D1ImageSourceFromWic { type Target = ID2D1ImageSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3501,7 +3501,7 @@ pub struct ID2D1ImageSourceFromWic_Vtbl { GetSource: usize, } windows_core::imp::define_interface!(ID2D1Ink, ID2D1Ink_Vtbl, 0xb499923b_7029_478f_a8b3_432c7c5f5312); -impl std::ops::Deref for ID2D1Ink { +impl core::ops::Deref for ID2D1Ink { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3575,7 +3575,7 @@ pub struct ID2D1Ink_Vtbl { GetBounds: usize, } windows_core::imp::define_interface!(ID2D1InkStyle, ID2D1InkStyle_Vtbl, 0xbae8b344_23fc_4071_8cb5_d05d6f073848); -impl std::ops::Deref for ID2D1InkStyle { +impl core::ops::Deref for ID2D1InkStyle { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3615,7 +3615,7 @@ pub struct ID2D1InkStyle_Vtbl { pub GetNibShape: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_INK_NIB_SHAPE, } windows_core::imp::define_interface!(ID2D1Layer, ID2D1Layer_Vtbl, 0x2cd9069b_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1Layer { +impl core::ops::Deref for ID2D1Layer { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3641,7 +3641,7 @@ pub struct ID2D1Layer_Vtbl { GetSize: usize, } windows_core::imp::define_interface!(ID2D1LinearGradientBrush, ID2D1LinearGradientBrush_Vtbl, 0x2cd906ab_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1LinearGradientBrush { +impl core::ops::Deref for ID2D1LinearGradientBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3699,7 +3699,7 @@ pub struct ID2D1LinearGradientBrush_Vtbl { pub GetGradientStopCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1LookupTable3D, ID2D1LookupTable3D_Vtbl, 0x53dd9855_a3b0_4d5b_82e1_26e25c5e5797); -impl std::ops::Deref for ID2D1LookupTable3D { +impl core::ops::Deref for ID2D1LookupTable3D { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3714,7 +3714,7 @@ pub struct ID2D1LookupTable3D_Vtbl { pub base__: ID2D1Resource_Vtbl, } windows_core::imp::define_interface!(ID2D1Mesh, ID2D1Mesh_Vtbl, 0x2cd906c2_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1Mesh { +impl core::ops::Deref for ID2D1Mesh { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3735,7 +3735,7 @@ pub struct ID2D1Mesh_Vtbl { pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Multithread, ID2D1Multithread_Vtbl, 0x31e6e7bc_e0ff_4d46_8c64_a0a8c41c15d3); -impl std::ops::Deref for ID2D1Multithread { +impl core::ops::Deref for ID2D1Multithread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3763,7 +3763,7 @@ pub struct ID2D1Multithread_Vtbl { pub Leave: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1OffsetTransform, ID2D1OffsetTransform_Vtbl, 0x3fe6adea_7643_4f53_bd14_a0ce63f24042); -impl std::ops::Deref for ID2D1OffsetTransform { +impl core::ops::Deref for ID2D1OffsetTransform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3789,7 +3789,7 @@ pub struct ID2D1OffsetTransform_Vtbl { pub GetOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::POINT), } windows_core::imp::define_interface!(ID2D1PathGeometry, ID2D1PathGeometry_Vtbl, 0x2cd906a5_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1PathGeometry { +impl core::ops::Deref for ID2D1PathGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3835,7 +3835,7 @@ pub struct ID2D1PathGeometry_Vtbl { pub GetFigureCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1PathGeometry1, ID2D1PathGeometry1_Vtbl, 0x62baa2d2_ab54_41b7_b872_787e0106a421); -impl std::ops::Deref for ID2D1PathGeometry1 { +impl core::ops::Deref for ID2D1PathGeometry1 { type Target = ID2D1PathGeometry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3859,7 +3859,7 @@ pub struct ID2D1PathGeometry1_Vtbl { ComputePointAndSegmentAtLength: usize, } windows_core::imp::define_interface!(ID2D1PrintControl, ID2D1PrintControl_Vtbl, 0x2c1d867d_c290_41c8_ae7e_34a98702e9a5); -impl std::ops::Deref for ID2D1PrintControl { +impl core::ops::Deref for ID2D1PrintControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3891,7 +3891,7 @@ pub struct ID2D1PrintControl_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Properties, ID2D1Properties_Vtbl, 0x483473d7_cd46_4f9d_9d3a_3112aa80159d); -impl std::ops::Deref for ID2D1Properties { +impl core::ops::Deref for ID2D1Properties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3961,7 +3961,7 @@ pub struct ID2D1Properties_Vtbl { pub GetSubProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1RadialGradientBrush, ID2D1RadialGradientBrush_Vtbl, 0x2cd906ac_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1RadialGradientBrush { +impl core::ops::Deref for ID2D1RadialGradientBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4035,7 +4035,7 @@ pub struct ID2D1RadialGradientBrush_Vtbl { pub GetGradientStopCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1RectangleGeometry, ID2D1RectangleGeometry_Vtbl, 0x2cd906a2_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1RectangleGeometry { +impl core::ops::Deref for ID2D1RectangleGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4061,7 +4061,7 @@ pub struct ID2D1RectangleGeometry_Vtbl { GetRect: usize, } windows_core::imp::define_interface!(ID2D1RenderInfo, ID2D1RenderInfo_Vtbl, 0x519ae1bd_d19a_420d_b849_364f594776b7); -impl std::ops::Deref for ID2D1RenderInfo { +impl core::ops::Deref for ID2D1RenderInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4096,7 +4096,7 @@ pub struct ID2D1RenderInfo_Vtbl { pub SetInstructionCountHint: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(ID2D1RenderTarget, ID2D1RenderTarget_Vtbl, 0x2cd90694_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1RenderTarget { +impl core::ops::Deref for ID2D1RenderTarget { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4555,7 +4555,7 @@ pub struct ID2D1RenderTarget_Vtbl { IsSupported: usize, } windows_core::imp::define_interface!(ID2D1Resource, ID2D1Resource_Vtbl, 0x2cd90691_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1Resource { +impl core::ops::Deref for ID2D1Resource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4577,7 +4577,7 @@ pub struct ID2D1Resource_Vtbl { pub GetFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1ResourceTexture, ID2D1ResourceTexture_Vtbl, 0x688d15c3_02b0_438d_b13a_d1b44c32c39a); -impl std::ops::Deref for ID2D1ResourceTexture { +impl core::ops::Deref for ID2D1ResourceTexture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4597,7 +4597,7 @@ pub struct ID2D1ResourceTexture_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32, *const u32, *const u32, u32, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1RoundedRectangleGeometry, ID2D1RoundedRectangleGeometry_Vtbl, 0x2cd906a3_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1RoundedRectangleGeometry { +impl core::ops::Deref for ID2D1RoundedRectangleGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4621,7 +4621,7 @@ pub struct ID2D1RoundedRectangleGeometry_Vtbl { GetRoundedRect: usize, } windows_core::imp::define_interface!(ID2D1SolidColorBrush, ID2D1SolidColorBrush_Vtbl, 0x2cd906a9_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1SolidColorBrush { +impl core::ops::Deref for ID2D1SolidColorBrush { type Target = ID2D1Brush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4655,7 +4655,7 @@ pub struct ID2D1SolidColorBrush_Vtbl { GetColor: usize, } windows_core::imp::define_interface!(ID2D1SourceTransform, ID2D1SourceTransform_Vtbl, 0xdb1800dd_0c34_4cf9_be90_31cc0a5653e1); -impl std::ops::Deref for ID2D1SourceTransform { +impl core::ops::Deref for ID2D1SourceTransform { type Target = ID2D1Transform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4689,7 +4689,7 @@ pub struct ID2D1SourceTransform_Vtbl { Draw: usize, } windows_core::imp::define_interface!(ID2D1SpriteBatch, ID2D1SpriteBatch_Vtbl, 0x4dc583bf_3a10_438a_8722_e9765224f1f1); -impl std::ops::Deref for ID2D1SpriteBatch { +impl core::ops::Deref for ID2D1SpriteBatch { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4737,7 +4737,7 @@ pub struct ID2D1SpriteBatch_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(ID2D1StrokeStyle, ID2D1StrokeStyle_Vtbl, 0x2cd9069d_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1StrokeStyle { +impl core::ops::Deref for ID2D1StrokeStyle { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4789,7 +4789,7 @@ pub struct ID2D1StrokeStyle_Vtbl { pub GetDashes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32), } windows_core::imp::define_interface!(ID2D1StrokeStyle1, ID2D1StrokeStyle1_Vtbl, 0x10a72a66_e91c_43f4_993f_ddf4b82b0b4a); -impl std::ops::Deref for ID2D1StrokeStyle1 { +impl core::ops::Deref for ID2D1StrokeStyle1 { type Target = ID2D1StrokeStyle; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4809,7 +4809,7 @@ pub struct ID2D1StrokeStyle1_Vtbl { pub GetStrokeTransformType: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_STROKE_TRANSFORM_TYPE, } windows_core::imp::define_interface!(ID2D1SvgAttribute, ID2D1SvgAttribute_Vtbl, 0xc9cdb0dd_f8c9_4e70_b7c2_301c80292c5e); -impl std::ops::Deref for ID2D1SvgAttribute { +impl core::ops::Deref for ID2D1SvgAttribute { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4836,7 +4836,7 @@ pub struct ID2D1SvgAttribute_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1SvgDocument, ID2D1SvgDocument_Vtbl, 0x86b88e4d_afa4_4d7b_88e4_68a51c4a0aec); -impl std::ops::Deref for ID2D1SvgDocument { +impl core::ops::Deref for ID2D1SvgDocument { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4946,7 +4946,7 @@ pub struct ID2D1SvgDocument_Vtbl { pub CreatePathData: unsafe extern "system" fn(*mut core::ffi::c_void, *const f32, u32, *const D2D1_SVG_PATH_COMMAND, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1SvgElement, ID2D1SvgElement_Vtbl, 0xac7b67a6_183e_49c1_a823_0ebe40b0db29); -impl std::ops::Deref for ID2D1SvgElement { +impl core::ops::Deref for ID2D1SvgElement { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5088,7 +5088,7 @@ impl ID2D1SvgElement { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAttributeValue)(windows_core::Interface::as_raw(self), name.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAttributeValue2(&self, name: P0, r#type: D2D1_SVG_ATTRIBUTE_POD_TYPE, value: *mut core::ffi::c_void, valuesizeinbytes: u32) -> windows_core::Result<()> @@ -5148,7 +5148,7 @@ pub struct ID2D1SvgElement_Vtbl { pub GetAttributeValueLength: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, D2D1_SVG_ATTRIBUTE_STRING_TYPE, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1SvgGlyphStyle, ID2D1SvgGlyphStyle_Vtbl, 0xaf671749_d241_4db8_8e41_dcc2e5c1a438); -impl std::ops::Deref for ID2D1SvgGlyphStyle { +impl core::ops::Deref for ID2D1SvgGlyphStyle { type Target = ID2D1Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5192,7 +5192,7 @@ pub struct ID2D1SvgGlyphStyle_Vtbl { pub GetStroke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut f32, *mut f32, u32, *mut f32), } windows_core::imp::define_interface!(ID2D1SvgPaint, ID2D1SvgPaint_Vtbl, 0xd59bab0a_68a2_455b_a5dc_9eb2854e2490); -impl std::ops::Deref for ID2D1SvgPaint { +impl core::ops::Deref for ID2D1SvgPaint { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5249,7 +5249,7 @@ pub struct ID2D1SvgPaint_Vtbl { pub GetIdLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID2D1SvgPathData, ID2D1SvgPathData_Vtbl, 0xc095e4f4_bb98_43d6_9745_4d1b84ec9888); -impl std::ops::Deref for ID2D1SvgPathData { +impl core::ops::Deref for ID2D1SvgPathData { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5306,7 +5306,7 @@ pub struct ID2D1SvgPathData_Vtbl { CreatePathGeometry: usize, } windows_core::imp::define_interface!(ID2D1SvgPointCollection, ID2D1SvgPointCollection_Vtbl, 0x9dbe4c0d_3572_4dd9_9825_5530813bb712); -impl std::ops::Deref for ID2D1SvgPointCollection { +impl core::ops::Deref for ID2D1SvgPointCollection { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5346,7 +5346,7 @@ pub struct ID2D1SvgPointCollection_Vtbl { pub GetPointsCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID2D1SvgStrokeDashArray, ID2D1SvgStrokeDashArray_Vtbl, 0xf1c0ca52_92a3_4f00_b4ce_f35691efd9d9); -impl std::ops::Deref for ID2D1SvgStrokeDashArray { +impl core::ops::Deref for ID2D1SvgStrokeDashArray { type Target = ID2D1SvgAttribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5386,7 +5386,7 @@ pub struct ID2D1SvgStrokeDashArray_Vtbl { pub GetDashesCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID2D1TessellationSink, ID2D1TessellationSink_Vtbl, 0x2cd906c1_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1TessellationSink { +impl core::ops::Deref for ID2D1TessellationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5414,7 +5414,7 @@ pub struct ID2D1TessellationSink_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1Transform, ID2D1Transform_Vtbl, 0xef1a287d_342a_4f76_8fdb_da0d6ea9f92b); -impl std::ops::Deref for ID2D1Transform { +impl core::ops::Deref for ID2D1Transform { type Target = ID2D1TransformNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5443,7 +5443,7 @@ pub struct ID2D1Transform_Vtbl { pub MapInvalidRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::RECT, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1TransformGraph, ID2D1TransformGraph_Vtbl, 0x13d29038_c3e6_4034_9081_13b53a417992); -impl std::ops::Deref for ID2D1TransformGraph { +impl core::ops::Deref for ID2D1TransformGraph { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5514,7 +5514,7 @@ pub struct ID2D1TransformGraph_Vtbl { pub SetPassthroughGraph: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID2D1TransformNode, ID2D1TransformNode_Vtbl, 0xb2efe1e7_729f_4102_949f_505fa21bf666); -impl std::ops::Deref for ID2D1TransformNode { +impl core::ops::Deref for ID2D1TransformNode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5534,7 +5534,7 @@ pub struct ID2D1TransformNode_Vtbl { pub GetInputCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID2D1TransformedGeometry, ID2D1TransformedGeometry_Vtbl, 0x2cd906bb_12e2_11dc_9fed_001143a055f9); -impl std::ops::Deref for ID2D1TransformedGeometry { +impl core::ops::Deref for ID2D1TransformedGeometry { type Target = ID2D1Geometry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5564,7 +5564,7 @@ pub struct ID2D1TransformedGeometry_Vtbl { GetTransform: usize, } windows_core::imp::define_interface!(ID2D1TransformedImageSource, ID2D1TransformedImageSource_Vtbl, 0x7f1f79e5_2796_416c_8f55_700f911445e5); -impl std::ops::Deref for ID2D1TransformedImageSource { +impl core::ops::Deref for ID2D1TransformedImageSource { type Target = ID2D1Image; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5590,7 +5590,7 @@ pub struct ID2D1TransformedImageSource_Vtbl { pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES), } windows_core::imp::define_interface!(ID2D1VertexBuffer, ID2D1VertexBuffer_Vtbl, 0x9b8b1336_00a5_4668_92b7_ced5d8bf9b7b); -impl std::ops::Deref for ID2D1VertexBuffer { +impl core::ops::Deref for ID2D1VertexBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs index c3a2d8c127..041dc9a94a 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/mod.rs @@ -4,7 +4,7 @@ where T: windows_core::Interface, { windows_targets::link!("dxcompiler.dll" "system" fn DxcCreateInstance(rclsid : *const windows_core::GUID, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DxcCreateInstance(rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -15,11 +15,11 @@ where T: windows_core::Interface, { windows_targets::link!("dxcompiler.dll" "system" fn DxcCreateInstance2(pmalloc : * mut core::ffi::c_void, rclsid : *const windows_core::GUID, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DxcCreateInstance2(pmalloc.param().abi(), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IDxcAssembler, IDxcAssembler_Vtbl, 0x091f7a26_1c1f_4948_904b_e6e3a8a771d5); -impl std::ops::Deref for IDxcAssembler { +impl core::ops::Deref for IDxcAssembler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -41,7 +41,7 @@ pub struct IDxcAssembler_Vtbl { pub AssembleToContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcBlob, IDxcBlob_Vtbl, 0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); -impl std::ops::Deref for IDxcBlob { +impl core::ops::Deref for IDxcBlob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -63,7 +63,7 @@ pub struct IDxcBlob_Vtbl { pub GetBufferSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } windows_core::imp::define_interface!(IDxcBlobEncoding, IDxcBlobEncoding_Vtbl, 0x7241d424_2646_4191_97c0_98e96e42fc68); -impl std::ops::Deref for IDxcBlobEncoding { +impl core::ops::Deref for IDxcBlobEncoding { type Target = IDxcBlob; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -81,7 +81,7 @@ pub struct IDxcBlobEncoding_Vtbl { pub GetEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL, *mut DXC_CP) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcBlobUtf16, IDxcBlobUtf16_Vtbl, 0xa3f84eab_0faa_497e_a39c_ee6ed60b2d84); -impl std::ops::Deref for IDxcBlobUtf16 { +impl core::ops::Deref for IDxcBlobUtf16 { type Target = IDxcBlobEncoding; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -103,7 +103,7 @@ pub struct IDxcBlobUtf16_Vtbl { pub GetStringLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } windows_core::imp::define_interface!(IDxcBlobUtf8, IDxcBlobUtf8_Vtbl, 0x3da636c9_ba71_4024_a301_30cbf125305b); -impl std::ops::Deref for IDxcBlobUtf8 { +impl core::ops::Deref for IDxcBlobUtf8 { type Target = IDxcBlobEncoding; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -125,7 +125,7 @@ pub struct IDxcBlobUtf8_Vtbl { pub GetStringLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } windows_core::imp::define_interface!(IDxcCompiler, IDxcCompiler_Vtbl, 0x8c210bf3_011f_4422_8d70_6f9acb8db617); -impl std::ops::Deref for IDxcCompiler { +impl core::ops::Deref for IDxcCompiler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct IDxcCompiler_Vtbl { pub Disassemble: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcCompiler2, IDxcCompiler2_Vtbl, 0xa005a9d9_b8bb_4594_b5c9_0e633bec4d37); -impl std::ops::Deref for IDxcCompiler2 { +impl core::ops::Deref for IDxcCompiler2 { type Target = IDxcCompiler; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -209,7 +209,7 @@ pub struct IDxcCompiler2_Vtbl { pub CompileWithDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *const DxcDefine, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut windows_core::PWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcCompiler3, IDxcCompiler3_Vtbl, 0x228b4687_5a6a_4730_900c_9702b2203f54); -impl std::ops::Deref for IDxcCompiler3 { +impl core::ops::Deref for IDxcCompiler3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -222,14 +222,14 @@ impl IDxcCompiler3 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Compile)(windows_core::Interface::as_raw(self), psource, core::mem::transmute(parguments.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), parguments.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pincludehandler.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Disassemble(&self, pobject: *const DxcBuffer) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Disassemble)(windows_core::Interface::as_raw(self), pobject, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -240,7 +240,7 @@ pub struct IDxcCompiler3_Vtbl { pub Disassemble: unsafe extern "system" fn(*mut core::ffi::c_void, *const DxcBuffer, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcCompilerArgs, IDxcCompilerArgs_Vtbl, 0x73effe2a_70dc_45f8_9690_eff64c02429d); -impl std::ops::Deref for IDxcCompilerArgs { +impl core::ops::Deref for IDxcCompilerArgs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -274,7 +274,7 @@ pub struct IDxcCompilerArgs_Vtbl { pub AddDefines: unsafe extern "system" fn(*mut core::ffi::c_void, *const DxcDefine, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcContainerBuilder, IDxcContainerBuilder_Vtbl, 0x334b1f50_2292_4b35_99a1_25588d8c17fe); -impl std::ops::Deref for IDxcContainerBuilder { +impl core::ops::Deref for IDxcContainerBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -311,7 +311,7 @@ pub struct IDxcContainerBuilder_Vtbl { pub SerializeContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcContainerReflection, IDxcContainerReflection_Vtbl, 0xd2c21b26_8350_4bdc_976a_331ce6f4c54c); -impl std::ops::Deref for IDxcContainerReflection { +impl core::ops::Deref for IDxcContainerReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -356,7 +356,7 @@ pub struct IDxcContainerReflection_Vtbl { pub GetPartReflection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcExtraOutputs, IDxcExtraOutputs_Vtbl, 0x319b37a2_a5c2_494a_a5de_4801b2faf989); -impl std::ops::Deref for IDxcExtraOutputs { +impl core::ops::Deref for IDxcExtraOutputs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -381,7 +381,7 @@ pub struct IDxcExtraOutputs_Vtbl { pub GetOutput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcIncludeHandler, IDxcIncludeHandler_Vtbl, 0x7f61fc7d_950d_467f_b3e3_3c02fb49187c); -impl std::ops::Deref for IDxcIncludeHandler { +impl core::ops::Deref for IDxcIncludeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -403,7 +403,7 @@ pub struct IDxcIncludeHandler_Vtbl { pub LoadSource: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcLibrary, IDxcLibrary_Vtbl, 0xe5204dc7_d18c_4c3c_bdfb_851673980fe7); -impl std::ops::Deref for IDxcLibrary { +impl core::ops::Deref for IDxcLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -499,7 +499,7 @@ pub struct IDxcLibrary_Vtbl { pub GetBlobAsUtf16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcLinker, IDxcLinker_Vtbl, 0xf1b5be2a_62dd_4327_a1c2_42ac1e1e78e6); -impl std::ops::Deref for IDxcLinker { +impl core::ops::Deref for IDxcLinker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -530,7 +530,7 @@ pub struct IDxcLinker_Vtbl { pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *const windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcOperationResult, IDxcOperationResult_Vtbl, 0xcedb484a_d4e9_445a_b991_ca21ca157dc2); -impl std::ops::Deref for IDxcOperationResult { +impl core::ops::Deref for IDxcOperationResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -559,7 +559,7 @@ pub struct IDxcOperationResult_Vtbl { pub GetErrorBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcOptimizer, IDxcOptimizer_Vtbl, 0x25740e2e_9cba_401b_9119_4fb42f39f270); -impl std::ops::Deref for IDxcOptimizer { +impl core::ops::Deref for IDxcOptimizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -590,7 +590,7 @@ pub struct IDxcOptimizer_Vtbl { pub RunOptimizer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcOptimizerPass, IDxcOptimizerPass_Vtbl, 0xae2cd79f_cc22_453f_9b6b_b124e7a5204c); -impl std::ops::Deref for IDxcOptimizerPass { +impl core::ops::Deref for IDxcOptimizerPass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -629,7 +629,7 @@ pub struct IDxcOptimizerPass_Vtbl { pub GetOptionArgDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcPdbUtils, IDxcPdbUtils_Vtbl, 0xe6c9647e_9d6a_4c3b_b94c_524b5a6c343d); -impl std::ops::Deref for IDxcPdbUtils { +impl core::ops::Deref for IDxcPdbUtils { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -766,7 +766,7 @@ pub struct IDxcPdbUtils_Vtbl { pub OverrideRootSignature: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcResult, IDxcResult_Vtbl, 0x58346cda_dde7_4497_9461_6f87af5e0659); -impl std::ops::Deref for IDxcResult { +impl core::ops::Deref for IDxcResult { type Target = IDxcOperationResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -803,7 +803,7 @@ pub struct IDxcResult_Vtbl { pub PrimaryOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> DXC_OUT_KIND, } windows_core::imp::define_interface!(IDxcUtils, IDxcUtils_Vtbl, 0x4605c4cb_2019_492a_ada4_65f20bb7d67f); -impl std::ops::Deref for IDxcUtils { +impl core::ops::Deref for IDxcUtils { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -913,7 +913,7 @@ pub struct IDxcUtils_Vtbl { pub GetPDBContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcValidator, IDxcValidator_Vtbl, 0xa6e82bd2_1fd7_4826_9811_2857e797f49a); -impl std::ops::Deref for IDxcValidator { +impl core::ops::Deref for IDxcValidator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -935,7 +935,7 @@ pub struct IDxcValidator_Vtbl { pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcValidator2, IDxcValidator2_Vtbl, 0x458e1fd1_b1b2_4750_a6e1_9c10f03bed92); -impl std::ops::Deref for IDxcValidator2 { +impl core::ops::Deref for IDxcValidator2 { type Target = IDxcValidator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -957,7 +957,7 @@ pub struct IDxcValidator2_Vtbl { pub ValidateWithDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const DxcBuffer, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcVersionInfo, IDxcVersionInfo_Vtbl, 0xb04f5b50_2059_4f12_a8ff_a1e0cde1cc7e); -impl std::ops::Deref for IDxcVersionInfo { +impl core::ops::Deref for IDxcVersionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -980,7 +980,7 @@ pub struct IDxcVersionInfo_Vtbl { pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcVersionInfo2, IDxcVersionInfo2_Vtbl, 0xfb6904c4_42f0_4b62_9c46_983af7da7c83); -impl std::ops::Deref for IDxcVersionInfo2 { +impl core::ops::Deref for IDxcVersionInfo2 { type Target = IDxcVersionInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -998,7 +998,7 @@ pub struct IDxcVersionInfo2_Vtbl { pub GetCommitInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut i8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDxcVersionInfo3, IDxcVersionInfo3_Vtbl, 0x5e13e843_9d25_473c_9ad2_03b2d0b44b1e); -impl std::ops::Deref for IDxcVersionInfo3 { +impl core::ops::Deref for IDxcVersionInfo3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs index dec38e40fb..047ec7f004 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs @@ -3,7 +3,7 @@ pub mod Dxc; #[cfg(feature = "Win32_Graphics_Direct3D_Fxc")] pub mod Fxc; windows_core::imp::define_interface!(ID3DBlob, ID3DBlob_Vtbl, 0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); -impl std::ops::Deref for ID3DBlob { +impl core::ops::Deref for ID3DBlob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -27,7 +27,7 @@ pub struct ID3DBlob_Vtbl { pub GetBufferSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } windows_core::imp::define_interface!(ID3DDestructionNotifier, ID3DDestructionNotifier_Vtbl, 0xa06eb39a_50da_425b_8c31_4eecd6c270f3); -impl std::ops::Deref for ID3DDestructionNotifier { +impl core::ops::Deref for ID3DDestructionNotifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs index 78962a6e5b..2fe453ad13 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -226,7 +226,7 @@ pub unsafe fn D3D10StateBlockMaskUnion(pa: *const D3D10_STATE_BLOCK_MASK, pb: *c D3D10StateBlockMaskUnion(pa, pb, presult).ok() } windows_core::imp::define_interface!(ID3D10Asynchronous, ID3D10Asynchronous_Vtbl, 0x9b7e4c0d_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Asynchronous { +impl core::ops::Deref for ID3D10Asynchronous { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -258,7 +258,7 @@ pub struct ID3D10Asynchronous_Vtbl { pub GetDataSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID3D10BlendState, ID3D10BlendState_Vtbl, 0xedad8d19_8a35_4d6d_8566_2ea276cde161); -impl std::ops::Deref for ID3D10BlendState { +impl core::ops::Deref for ID3D10BlendState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -278,7 +278,7 @@ pub struct ID3D10BlendState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_BLEND_DESC), } windows_core::imp::define_interface!(ID3D10BlendState1, ID3D10BlendState1_Vtbl, 0xedad8d99_8a35_4d6d_8566_2ea276cde161); -impl std::ops::Deref for ID3D10BlendState1 { +impl core::ops::Deref for ID3D10BlendState1 { type Target = ID3D10BlendState; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -298,7 +298,7 @@ pub struct ID3D10BlendState1_Vtbl { pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_BLEND_DESC1), } windows_core::imp::define_interface!(ID3D10Buffer, ID3D10Buffer_Vtbl, 0x9b7e4c02_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Buffer { +impl core::ops::Deref for ID3D10Buffer { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -326,7 +326,7 @@ pub struct ID3D10Buffer_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_BUFFER_DESC), } windows_core::imp::define_interface!(ID3D10Counter, ID3D10Counter_Vtbl, 0x9b7e4c11_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Counter { +impl core::ops::Deref for ID3D10Counter { type Target = ID3D10Asynchronous; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -348,7 +348,7 @@ pub struct ID3D10Counter_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_COUNTER_DESC), } windows_core::imp::define_interface!(ID3D10Debug, ID3D10Debug_Vtbl, 0x9b7e4e01_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Debug { +impl core::ops::Deref for ID3D10Debug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -404,7 +404,7 @@ pub struct ID3D10Debug_Vtbl { pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10DepthStencilState, ID3D10DepthStencilState_Vtbl, 0x2b4b1cc8_a4ad_41f8_8322_ca86fc3ec675); -impl std::ops::Deref for ID3D10DepthStencilState { +impl core::ops::Deref for ID3D10DepthStencilState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -424,7 +424,7 @@ pub struct ID3D10DepthStencilState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_DEPTH_STENCIL_DESC), } windows_core::imp::define_interface!(ID3D10DepthStencilView, ID3D10DepthStencilView_Vtbl, 0x9b7e4c09_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10DepthStencilView { +impl core::ops::Deref for ID3D10DepthStencilView { type Target = ID3D10View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -448,7 +448,7 @@ pub struct ID3D10DepthStencilView_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D10Device, ID3D10Device_Vtbl, 0x9b7e4c0f_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Device { +impl core::ops::Deref for ID3D10Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -989,7 +989,7 @@ pub struct ID3D10Device_Vtbl { pub GetTextFilterSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32), } windows_core::imp::define_interface!(ID3D10Device1, ID3D10Device1_Vtbl, 0x9b7e4c8f_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Device1 { +impl core::ops::Deref for ID3D10Device1 { type Target = ID3D10Device; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1024,7 +1024,7 @@ pub struct ID3D10Device1_Vtbl { pub GetFeatureLevel: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D10_FEATURE_LEVEL1, } windows_core::imp::define_interface!(ID3D10DeviceChild, ID3D10DeviceChild_Vtbl, 0x9b7e4c00_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10DeviceChild { +impl core::ops::Deref for ID3D10DeviceChild { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1061,7 +1061,7 @@ pub struct ID3D10DeviceChild_Vtbl { pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10Effect, ID3D10Effect_Vtbl, 0x51b0ca8b_ec0b_4519_870d_8ee1cb5017c7); -impl std::ops::Deref for ID3D10Effect { +impl core::ops::Deref for ID3D10Effect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1142,7 +1142,7 @@ pub struct ID3D10Effect_Vtbl { pub IsOptimized: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D10EffectBlendVariable, ID3D10EffectBlendVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectBlendVariable { +impl core::ops::Deref for ID3D10EffectBlendVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1167,7 +1167,7 @@ pub struct ID3D10EffectBlendVariable_Vtbl { pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_BLEND_DESC) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectConstantBuffer, ID3D10EffectConstantBuffer_Vtbl); -impl std::ops::Deref for ID3D10EffectConstantBuffer { +impl core::ops::Deref for ID3D10EffectConstantBuffer { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1207,7 +1207,7 @@ pub struct ID3D10EffectConstantBuffer_Vtbl { pub GetTextureBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectDepthStencilVariable, ID3D10EffectDepthStencilVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectDepthStencilVariable { +impl core::ops::Deref for ID3D10EffectDepthStencilVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1232,7 +1232,7 @@ pub struct ID3D10EffectDepthStencilVariable_Vtbl { pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_DEPTH_STENCIL_DESC) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectDepthStencilViewVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectDepthStencilViewVariable { +impl core::ops::Deref for ID3D10EffectDepthStencilViewVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1268,7 +1268,7 @@ pub struct ID3D10EffectDepthStencilViewVariable_Vtbl { pub GetDepthStencilArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectMatrixVariable, ID3D10EffectMatrixVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectMatrixVariable { +impl core::ops::Deref for ID3D10EffectMatrixVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1363,7 +1363,7 @@ pub struct ID3D10EffectPass_Vtbl { pub ComputeStateBlockMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_STATE_BLOCK_MASK) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectPool, ID3D10EffectPool_Vtbl, 0x9537ab04_3250_412e_8213_fcd2f8677933); -impl std::ops::Deref for ID3D10EffectPool { +impl core::ops::Deref for ID3D10EffectPool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1383,7 +1383,7 @@ pub struct ID3D10EffectPool_Vtbl { pub AsEffect: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } windows_core::imp::define_interface!(ID3D10EffectRasterizerVariable, ID3D10EffectRasterizerVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectRasterizerVariable { +impl core::ops::Deref for ID3D10EffectRasterizerVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1408,7 +1408,7 @@ pub struct ID3D10EffectRasterizerVariable_Vtbl { pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_RASTERIZER_DESC) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectRenderTargetViewVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectRenderTargetViewVariable { +impl core::ops::Deref for ID3D10EffectRenderTargetViewVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1444,7 +1444,7 @@ pub struct ID3D10EffectRenderTargetViewVariable_Vtbl { pub GetRenderTargetArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectSamplerVariable, ID3D10EffectSamplerVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectSamplerVariable { +impl core::ops::Deref for ID3D10EffectSamplerVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1469,7 +1469,7 @@ pub struct ID3D10EffectSamplerVariable_Vtbl { pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_SAMPLER_DESC) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectScalarVariable, ID3D10EffectScalarVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectScalarVariable { +impl core::ops::Deref for ID3D10EffectScalarVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1539,7 +1539,7 @@ pub struct ID3D10EffectScalarVariable_Vtbl { pub GetBoolArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectShaderResourceVariable, ID3D10EffectShaderResourceVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectShaderResourceVariable { +impl core::ops::Deref for ID3D10EffectShaderResourceVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1575,7 +1575,7 @@ pub struct ID3D10EffectShaderResourceVariable_Vtbl { pub GetResourceArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectShaderVariable, ID3D10EffectShaderVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectShaderVariable { +impl core::ops::Deref for ID3D10EffectShaderVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1626,7 +1626,7 @@ pub struct ID3D10EffectShaderVariable_Vtbl { GetOutputSignatureElementDesc: usize, } windows_core::imp::define_interface!(ID3D10EffectStringVariable, ID3D10EffectStringVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectStringVariable { +impl core::ops::Deref for ID3D10EffectStringVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1856,7 +1856,7 @@ pub struct ID3D10EffectVariable_Vtbl { pub GetRawValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10EffectVectorVariable, ID3D10EffectVectorVariable_Vtbl); -impl std::ops::Deref for ID3D10EffectVectorVariable { +impl core::ops::Deref for ID3D10EffectVectorVariable { type Target = ID3D10EffectVariable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1920,7 +1920,7 @@ pub struct ID3D10EffectVectorVariable_Vtbl { pub GetFloatVectorArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10GeometryShader, ID3D10GeometryShader_Vtbl, 0x6316be88_54cd_4040_ab44_20461bc81f68); -impl std::ops::Deref for ID3D10GeometryShader { +impl core::ops::Deref for ID3D10GeometryShader { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1935,7 +1935,7 @@ pub struct ID3D10GeometryShader_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D10InfoQueue, ID3D10InfoQueue_Vtbl, 0x1b940b17_2642_4d1f_ab1f_b99bad0c395f); -impl std::ops::Deref for ID3D10InfoQueue { +impl core::ops::Deref for ID3D10InfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2109,7 +2109,7 @@ pub struct ID3D10InfoQueue_Vtbl { pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D10InputLayout, ID3D10InputLayout_Vtbl, 0x9b7e4c0b_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10InputLayout { +impl core::ops::Deref for ID3D10InputLayout { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2124,7 +2124,7 @@ pub struct ID3D10InputLayout_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D10Multithread, ID3D10Multithread_Vtbl, 0x9b7e4e00_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Multithread { +impl core::ops::Deref for ID3D10Multithread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2159,7 +2159,7 @@ pub struct ID3D10Multithread_Vtbl { pub GetMultithreadProtected: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D10PixelShader, ID3D10PixelShader_Vtbl, 0x4968b601_9d00_4cde_8346_8e7f675819b6); -impl std::ops::Deref for ID3D10PixelShader { +impl core::ops::Deref for ID3D10PixelShader { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2174,7 +2174,7 @@ pub struct ID3D10PixelShader_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D10Predicate, ID3D10Predicate_Vtbl, 0x9b7e4c10_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Predicate { +impl core::ops::Deref for ID3D10Predicate { type Target = ID3D10Query; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2189,7 +2189,7 @@ pub struct ID3D10Predicate_Vtbl { pub base__: ID3D10Query_Vtbl, } windows_core::imp::define_interface!(ID3D10Query, ID3D10Query_Vtbl, 0x9b7e4c0e_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Query { +impl core::ops::Deref for ID3D10Query { type Target = ID3D10Asynchronous; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2211,7 +2211,7 @@ pub struct ID3D10Query_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_QUERY_DESC), } windows_core::imp::define_interface!(ID3D10RasterizerState, ID3D10RasterizerState_Vtbl, 0xa2a07292_89af_4345_be2e_c53d9fbb6e9f); -impl std::ops::Deref for ID3D10RasterizerState { +impl core::ops::Deref for ID3D10RasterizerState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2231,7 +2231,7 @@ pub struct ID3D10RasterizerState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_RASTERIZER_DESC), } windows_core::imp::define_interface!(ID3D10RenderTargetView, ID3D10RenderTargetView_Vtbl, 0x9b7e4c08_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10RenderTargetView { +impl core::ops::Deref for ID3D10RenderTargetView { type Target = ID3D10View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2255,7 +2255,7 @@ pub struct ID3D10RenderTargetView_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D10Resource, ID3D10Resource_Vtbl, 0x9b7e4c01_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Resource { +impl core::ops::Deref for ID3D10Resource { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2285,7 +2285,7 @@ pub struct ID3D10Resource_Vtbl { pub GetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID3D10SamplerState, ID3D10SamplerState_Vtbl, 0x9b7e4c0c_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10SamplerState { +impl core::ops::Deref for ID3D10SamplerState { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2305,7 +2305,7 @@ pub struct ID3D10SamplerState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_SAMPLER_DESC), } windows_core::imp::define_interface!(ID3D10ShaderReflection, ID3D10ShaderReflection_Vtbl, 0xd40e20b6_f8f7_42ad_ab20_4baf8f15dfaa); -impl std::ops::Deref for ID3D10ShaderReflection { +impl core::ops::Deref for ID3D10ShaderReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2364,7 +2364,7 @@ pub struct ID3D10ShaderReflection_Vtbl { GetOutputParameterDesc: usize, } windows_core::imp::define_interface!(ID3D10ShaderReflection1, ID3D10ShaderReflection1_Vtbl, 0xc3457783_a846_47ce_9520_cea6f66e7447); -impl std::ops::Deref for ID3D10ShaderReflection1 { +impl core::ops::Deref for ID3D10ShaderReflection1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2554,7 +2554,7 @@ pub struct ID3D10ShaderReflectionVariable_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } windows_core::imp::define_interface!(ID3D10ShaderResourceView, ID3D10ShaderResourceView_Vtbl, 0x9b7e4c07_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10ShaderResourceView { +impl core::ops::Deref for ID3D10ShaderResourceView { type Target = ID3D10View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2578,7 +2578,7 @@ pub struct ID3D10ShaderResourceView_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D10ShaderResourceView1, ID3D10ShaderResourceView1_Vtbl, 0x9b7e4c87_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10ShaderResourceView1 { +impl core::ops::Deref for ID3D10ShaderResourceView1 { type Target = ID3D10ShaderResourceView; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2602,7 +2602,7 @@ pub struct ID3D10ShaderResourceView1_Vtbl { GetDesc1: usize, } windows_core::imp::define_interface!(ID3D10StateBlock, ID3D10StateBlock_Vtbl, 0x0803425a_57f5_4dd6_9465_a87570834a08); -impl std::ops::Deref for ID3D10StateBlock { +impl core::ops::Deref for ID3D10StateBlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2635,7 +2635,7 @@ pub struct ID3D10StateBlock_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D10SwitchToRef, ID3D10SwitchToRef_Vtbl, 0x9b7e4e02_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10SwitchToRef { +impl core::ops::Deref for ID3D10SwitchToRef { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2662,7 +2662,7 @@ pub struct ID3D10SwitchToRef_Vtbl { pub GetUseRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D10Texture1D, ID3D10Texture1D_Vtbl, 0x9b7e4c03_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Texture1D { +impl core::ops::Deref for ID3D10Texture1D { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2694,7 +2694,7 @@ pub struct ID3D10Texture1D_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D10Texture2D, ID3D10Texture2D_Vtbl, 0x9b7e4c04_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Texture2D { +impl core::ops::Deref for ID3D10Texture2D { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2727,7 +2727,7 @@ pub struct ID3D10Texture2D_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D10Texture3D, ID3D10Texture3D_Vtbl, 0x9b7e4c05_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10Texture3D { +impl core::ops::Deref for ID3D10Texture3D { type Target = ID3D10Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2760,7 +2760,7 @@ pub struct ID3D10Texture3D_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D10VertexShader, ID3D10VertexShader_Vtbl, 0x9b7e4c0a_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D10VertexShader { +impl core::ops::Deref for ID3D10VertexShader { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2775,7 +2775,7 @@ pub struct ID3D10VertexShader_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D10View, ID3D10View_Vtbl, 0xc902b03f_60a7_49ba_9936_2a3ab37a7e33); -impl std::ops::Deref for ID3D10View { +impl core::ops::Deref for ID3D10View { type Target = ID3D10DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs index 2abde74d34..fc39796a47 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -117,7 +117,7 @@ where D3DX11CreateSegmentedScan(pdevicecontext.param().abi(), maxelementscansize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(ID3D11Asynchronous, ID3D11Asynchronous_Vtbl, 0x4b35d0cd_1e15_4258_9c98_1b1333f6dd3b); -impl std::ops::Deref for ID3D11Asynchronous { +impl core::ops::Deref for ID3D11Asynchronous { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -137,7 +137,7 @@ pub struct ID3D11Asynchronous_Vtbl { pub GetDataSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID3D11AuthenticatedChannel, ID3D11AuthenticatedChannel_Vtbl, 0x3015a308_dcbd_47aa_a747_192486d14d4a); -impl std::ops::Deref for ID3D11AuthenticatedChannel { +impl core::ops::Deref for ID3D11AuthenticatedChannel { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -168,7 +168,7 @@ pub struct ID3D11AuthenticatedChannel_Vtbl { pub GetChannelHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE), } windows_core::imp::define_interface!(ID3D11BlendState, ID3D11BlendState_Vtbl, 0x75b68faa_347d_4159_8f45_a0640f01cd9a); -impl std::ops::Deref for ID3D11BlendState { +impl core::ops::Deref for ID3D11BlendState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -188,7 +188,7 @@ pub struct ID3D11BlendState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_BLEND_DESC), } windows_core::imp::define_interface!(ID3D11BlendState1, ID3D11BlendState1_Vtbl, 0xcc86fabe_da55_401d_85e7_e3c9de2877e9); -impl std::ops::Deref for ID3D11BlendState1 { +impl core::ops::Deref for ID3D11BlendState1 { type Target = ID3D11BlendState; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -208,7 +208,7 @@ pub struct ID3D11BlendState1_Vtbl { pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_BLEND_DESC1), } windows_core::imp::define_interface!(ID3D11Buffer, ID3D11Buffer_Vtbl, 0x48570b85_d1ee_4fcd_a250_eb350722b037); -impl std::ops::Deref for ID3D11Buffer { +impl core::ops::Deref for ID3D11Buffer { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -228,7 +228,7 @@ pub struct ID3D11Buffer_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_BUFFER_DESC), } windows_core::imp::define_interface!(ID3D11ClassInstance, ID3D11ClassInstance_Vtbl, 0xa6cd7faa_b0b7_4a2f_9436_8662a65797cb); -impl std::ops::Deref for ID3D11ClassInstance { +impl core::ops::Deref for ID3D11ClassInstance { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -262,7 +262,7 @@ pub struct ID3D11ClassInstance_Vtbl { pub GetTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, *mut usize), } windows_core::imp::define_interface!(ID3D11ClassLinkage, ID3D11ClassLinkage_Vtbl, 0xddf57cba_9543_46e4_a12b_f207a0fe7fed); -impl std::ops::Deref for ID3D11ClassLinkage { +impl core::ops::Deref for ID3D11ClassLinkage { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -294,7 +294,7 @@ pub struct ID3D11ClassLinkage_Vtbl { pub CreateClassInstance: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11CommandList, ID3D11CommandList_Vtbl, 0xa24bc4d1_769e_43f7_8013_98ff566c18e2); -impl std::ops::Deref for ID3D11CommandList { +impl core::ops::Deref for ID3D11CommandList { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -314,7 +314,7 @@ pub struct ID3D11CommandList_Vtbl { pub GetContextFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID3D11ComputeShader, ID3D11ComputeShader_Vtbl, 0x4f5b196e_c2bd_495e_bd01_1fded38e4969); -impl std::ops::Deref for ID3D11ComputeShader { +impl core::ops::Deref for ID3D11ComputeShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -329,7 +329,7 @@ pub struct ID3D11ComputeShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D11Counter, ID3D11Counter_Vtbl, 0x6e8c49fb_a371_4770_b440_29086022b741); -impl std::ops::Deref for ID3D11Counter { +impl core::ops::Deref for ID3D11Counter { type Target = ID3D11Asynchronous; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -351,7 +351,7 @@ pub struct ID3D11Counter_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_COUNTER_DESC), } windows_core::imp::define_interface!(ID3D11CryptoSession, ID3D11CryptoSession_Vtbl, 0x9b32f9ad_bdcc_40a6_a39d_d5c865845720); -impl std::ops::Deref for ID3D11CryptoSession { +impl core::ops::Deref for ID3D11CryptoSession { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -394,7 +394,7 @@ pub struct ID3D11CryptoSession_Vtbl { pub GetCryptoSessionHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE), } windows_core::imp::define_interface!(ID3D11Debug, ID3D11Debug_Vtbl, 0x79cf2233_7536_4948_9d36_1e4692dc5760); -impl std::ops::Deref for ID3D11Debug { +impl core::ops::Deref for ID3D11Debug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -464,7 +464,7 @@ pub struct ID3D11Debug_Vtbl { pub ValidateContextForDispatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11DepthStencilState, ID3D11DepthStencilState_Vtbl, 0x03823efb_8d8f_4e1c_9aa2_f64bb2cbfdf1); -impl std::ops::Deref for ID3D11DepthStencilState { +impl core::ops::Deref for ID3D11DepthStencilState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -484,7 +484,7 @@ pub struct ID3D11DepthStencilState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_DEPTH_STENCIL_DESC), } windows_core::imp::define_interface!(ID3D11DepthStencilView, ID3D11DepthStencilView_Vtbl, 0x9fdac92a_1876_48c3_afad_25b94f84a9b6); -impl std::ops::Deref for ID3D11DepthStencilView { +impl core::ops::Deref for ID3D11DepthStencilView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -508,7 +508,7 @@ pub struct ID3D11DepthStencilView_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D11Device, ID3D11Device_Vtbl, 0xdb6f6ddb_ac77_4e88_8253_819df9bbf140); -impl std::ops::Deref for ID3D11Device { +impl core::ops::Deref for ID3D11Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -787,7 +787,7 @@ pub struct ID3D11Device_Vtbl { pub GetExceptionMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID3D11Device1, ID3D11Device1_Vtbl, 0xa04bfb29_08ef_43d6_a49c_a9bdbdcbe686); -impl std::ops::Deref for ID3D11Device1 { +impl core::ops::Deref for ID3D11Device1 { type Target = ID3D11Device; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -818,7 +818,7 @@ impl ID3D11Device1 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenSharedResource1)(windows_core::Interface::as_raw(self), hresource.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenSharedResourceByName(&self, lpname: P0, dwdesiredaccess: u32) -> windows_core::Result @@ -826,7 +826,7 @@ impl ID3D11Device1 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenSharedResourceByName)(windows_core::Interface::as_raw(self), lpname.param().abi(), dwdesiredaccess, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -847,7 +847,7 @@ pub struct ID3D11Device1_Vtbl { pub OpenSharedResourceByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11Device2, ID3D11Device2_Vtbl, 0x9d06dffa_d1e5_4d07_83a8_1bb123f2f841); -impl std::ops::Deref for ID3D11Device2 { +impl core::ops::Deref for ID3D11Device2 { type Target = ID3D11Device1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -889,7 +889,7 @@ pub struct ID3D11Device2_Vtbl { CheckMultisampleQualityLevels1: usize, } windows_core::imp::define_interface!(ID3D11Device3, ID3D11Device3_Vtbl, 0xa05c8c37_d2c6_4732_b3a0_9ce0b0dc9ae6); -impl std::ops::Deref for ID3D11Device3 { +impl core::ops::Deref for ID3D11Device3 { type Target = ID3D11Device2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -986,7 +986,7 @@ pub struct ID3D11Device3_Vtbl { pub ReadFromSubresource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, u32, *const D3D11_BOX), } windows_core::imp::define_interface!(ID3D11Device4, ID3D11Device4_Vtbl, 0x8992ab71_02e6_4b8d_ba48_b056dcda42c4); -impl std::ops::Deref for ID3D11Device4 { +impl core::ops::Deref for ID3D11Device4 { type Target = ID3D11Device3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1014,7 +1014,7 @@ pub struct ID3D11Device4_Vtbl { pub UnregisterDeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(ID3D11Device5, ID3D11Device5_Vtbl, 0x8ffde202_a0e7_45df_9e01_e837801b5ea0); -impl std::ops::Deref for ID3D11Device5 { +impl core::ops::Deref for ID3D11Device5 { type Target = ID3D11Device4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1045,7 +1045,7 @@ pub struct ID3D11Device5_Vtbl { pub CreateFence: unsafe extern "system" fn(*mut core::ffi::c_void, u64, D3D11_FENCE_FLAG, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11DeviceChild, ID3D11DeviceChild_Vtbl, 0x1841e5c8_16b0_489b_bcc8_44cfb0d5deae); -impl std::ops::Deref for ID3D11DeviceChild { +impl core::ops::Deref for ID3D11DeviceChild { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1082,7 +1082,7 @@ pub struct ID3D11DeviceChild_Vtbl { pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11DeviceContext, ID3D11DeviceContext_Vtbl, 0xc0bfa96c_e089_44fb_8eaf_26f8796190da); -impl std::ops::Deref for ID3D11DeviceContext { +impl core::ops::Deref for ID3D11DeviceContext { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1678,7 +1678,7 @@ pub struct ID3D11DeviceContext_Vtbl { pub FinishCommandList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11DeviceContext1, ID3D11DeviceContext1_Vtbl, 0xbb2c6faa_b5fb_4082_8e6b_388b8cfa90e1); -impl std::ops::Deref for ID3D11DeviceContext1 { +impl core::ops::Deref for ID3D11DeviceContext1 { type Target = ID3D11DeviceContext; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1792,7 +1792,7 @@ pub struct ID3D11DeviceContext1_Vtbl { pub DiscardView1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Foundation::RECT, u32), } windows_core::imp::define_interface!(ID3D11DeviceContext2, ID3D11DeviceContext2_Vtbl, 0x420d5b32_b90c_4da4_bef0_359f6a24a83a); -impl std::ops::Deref for ID3D11DeviceContext2 { +impl core::ops::Deref for ID3D11DeviceContext2 { type Target = ID3D11DeviceContext1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1889,7 +1889,7 @@ pub struct ID3D11DeviceContext2_Vtbl { pub EndEvent: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(ID3D11DeviceContext3, ID3D11DeviceContext3_Vtbl, 0xb4e3c01d_e79e_4637_91b2_510e9f4c9b8f); -impl std::ops::Deref for ID3D11DeviceContext3 { +impl core::ops::Deref for ID3D11DeviceContext3 { type Target = ID3D11DeviceContext2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1925,7 +1925,7 @@ pub struct ID3D11DeviceContext3_Vtbl { pub GetHardwareProtectionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL), } windows_core::imp::define_interface!(ID3D11DeviceContext4, ID3D11DeviceContext4_Vtbl, 0x917600da_f58c_4c33_98d8_3e15b390fa24); -impl std::ops::Deref for ID3D11DeviceContext4 { +impl core::ops::Deref for ID3D11DeviceContext4 { type Target = ID3D11DeviceContext3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1955,7 +1955,7 @@ pub struct ID3D11DeviceContext4_Vtbl { pub Wait: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11DomainShader, ID3D11DomainShader_Vtbl, 0xf582c508_0f36_490c_9977_31eece268cfa); -impl std::ops::Deref for ID3D11DomainShader { +impl core::ops::Deref for ID3D11DomainShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1970,7 +1970,7 @@ pub struct ID3D11DomainShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D11Fence, ID3D11Fence_Vtbl, 0xaffde9d1_1df7_4bb7_8a34_0f46251dab80); -impl std::ops::Deref for ID3D11Fence { +impl core::ops::Deref for ID3D11Fence { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2009,7 +2009,7 @@ pub struct ID3D11Fence_Vtbl { pub SetEventOnCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, u64, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11FunctionLinkingGraph, ID3D11FunctionLinkingGraph_Vtbl, 0x54133220_1ce8_43d3_8236_9855c5ceecff); -impl std::ops::Deref for ID3D11FunctionLinkingGraph { +impl core::ops::Deref for ID3D11FunctionLinkingGraph { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2169,7 +2169,7 @@ pub struct ID3D11FunctionReflection_Vtbl { pub GetFunctionParameter: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } windows_core::imp::define_interface!(ID3D11GeometryShader, ID3D11GeometryShader_Vtbl, 0x38325b96_effb_4022_ba02_2e795b70275c); -impl std::ops::Deref for ID3D11GeometryShader { +impl core::ops::Deref for ID3D11GeometryShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2184,7 +2184,7 @@ pub struct ID3D11GeometryShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D11HullShader, ID3D11HullShader_Vtbl, 0x8e5c6061_628a_4c8e_8264_bbe45cb3d5dd); -impl std::ops::Deref for ID3D11HullShader { +impl core::ops::Deref for ID3D11HullShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2199,7 +2199,7 @@ pub struct ID3D11HullShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D11InfoQueue, ID3D11InfoQueue_Vtbl, 0x6543dbb6_1b48_42f5_ab82_e97ec74326f6); -impl std::ops::Deref for ID3D11InfoQueue { +impl core::ops::Deref for ID3D11InfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2373,7 +2373,7 @@ pub struct ID3D11InfoQueue_Vtbl { pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D11InputLayout, ID3D11InputLayout_Vtbl, 0xe4819ddc_4cf0_4025_bd26_5de82a3e07b7); -impl std::ops::Deref for ID3D11InputLayout { +impl core::ops::Deref for ID3D11InputLayout { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2388,7 +2388,7 @@ pub struct ID3D11InputLayout_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D11LibraryReflection, ID3D11LibraryReflection_Vtbl, 0x54384f1b_5b3e_4bb7_ae01_60ba3097cbb6); -impl std::ops::Deref for ID3D11LibraryReflection { +impl core::ops::Deref for ID3D11LibraryReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2413,7 +2413,7 @@ pub struct ID3D11LibraryReflection_Vtbl { pub GetFunctionByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } windows_core::imp::define_interface!(ID3D11Linker, ID3D11Linker_Vtbl, 0x59a6cd0e_e10d_4c1f_88c0_63aba1daf30e); -impl std::ops::Deref for ID3D11Linker { +impl core::ops::Deref for ID3D11Linker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2453,7 +2453,7 @@ pub struct ID3D11Linker_Vtbl { pub AddClipPlaneFromCBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11LinkingNode, ID3D11LinkingNode_Vtbl, 0xd80dd70c_8d2f_4751_94a1_03c79b3556db); -impl std::ops::Deref for ID3D11LinkingNode { +impl core::ops::Deref for ID3D11LinkingNode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2468,7 +2468,7 @@ pub struct ID3D11LinkingNode_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(ID3D11Module, ID3D11Module_Vtbl, 0xcac701ee_80fc_4122_8242_10b39c8cec34); -impl std::ops::Deref for ID3D11Module { +impl core::ops::Deref for ID3D11Module { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2492,7 +2492,7 @@ pub struct ID3D11Module_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11ModuleInstance, ID3D11ModuleInstance_Vtbl, 0x469e07f7_045a_48d5_aa12_68a478cdf75d); -impl std::ops::Deref for ID3D11ModuleInstance { +impl core::ops::Deref for ID3D11ModuleInstance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2563,7 +2563,7 @@ pub struct ID3D11ModuleInstance_Vtbl { pub BindResourceAsUnorderedAccessViewByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11Multithread, ID3D11Multithread_Vtbl, 0x9b7e4e00_342c_4106_a19f_4f2704f689f0); -impl std::ops::Deref for ID3D11Multithread { +impl core::ops::Deref for ID3D11Multithread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2598,7 +2598,7 @@ pub struct ID3D11Multithread_Vtbl { pub GetMultithreadProtected: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D11PixelShader, ID3D11PixelShader_Vtbl, 0xea82e40d_51dc_4f33_93d4_db7c9125ae8c); -impl std::ops::Deref for ID3D11PixelShader { +impl core::ops::Deref for ID3D11PixelShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2613,7 +2613,7 @@ pub struct ID3D11PixelShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D11Predicate, ID3D11Predicate_Vtbl, 0x9eb576dd_9f77_4d86_81aa_8bab5fe490e2); -impl std::ops::Deref for ID3D11Predicate { +impl core::ops::Deref for ID3D11Predicate { type Target = ID3D11Query; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2628,7 +2628,7 @@ pub struct ID3D11Predicate_Vtbl { pub base__: ID3D11Query_Vtbl, } windows_core::imp::define_interface!(ID3D11Query, ID3D11Query_Vtbl, 0xd6c00747_87b7_425e_b84d_44d108560afd); -impl std::ops::Deref for ID3D11Query { +impl core::ops::Deref for ID3D11Query { type Target = ID3D11Asynchronous; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2650,7 +2650,7 @@ pub struct ID3D11Query_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_QUERY_DESC), } windows_core::imp::define_interface!(ID3D11Query1, ID3D11Query1_Vtbl, 0x631b4766_36dc_461d_8db6_c47e13e60916); -impl std::ops::Deref for ID3D11Query1 { +impl core::ops::Deref for ID3D11Query1 { type Target = ID3D11Query; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2672,7 +2672,7 @@ pub struct ID3D11Query1_Vtbl { pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_QUERY_DESC1), } windows_core::imp::define_interface!(ID3D11RasterizerState, ID3D11RasterizerState_Vtbl, 0x9bb4ab81_ab1a_4d8f_b506_fc04200b6ee7); -impl std::ops::Deref for ID3D11RasterizerState { +impl core::ops::Deref for ID3D11RasterizerState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2692,7 +2692,7 @@ pub struct ID3D11RasterizerState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_RASTERIZER_DESC), } windows_core::imp::define_interface!(ID3D11RasterizerState1, ID3D11RasterizerState1_Vtbl, 0x1217d7a6_5039_418c_b042_9cbe256afd6e); -impl std::ops::Deref for ID3D11RasterizerState1 { +impl core::ops::Deref for ID3D11RasterizerState1 { type Target = ID3D11RasterizerState; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2712,7 +2712,7 @@ pub struct ID3D11RasterizerState1_Vtbl { pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_RASTERIZER_DESC1), } windows_core::imp::define_interface!(ID3D11RasterizerState2, ID3D11RasterizerState2_Vtbl, 0x6fbd02fb_209f_46c4_b059_2ed15586a6ac); -impl std::ops::Deref for ID3D11RasterizerState2 { +impl core::ops::Deref for ID3D11RasterizerState2 { type Target = ID3D11RasterizerState1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2732,7 +2732,7 @@ pub struct ID3D11RasterizerState2_Vtbl { pub GetDesc2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_RASTERIZER_DESC2), } windows_core::imp::define_interface!(ID3D11RefDefaultTrackingOptions, ID3D11RefDefaultTrackingOptions_Vtbl, 0x03916615_c644_418c_9bf4_75db5be63ca0); -impl std::ops::Deref for ID3D11RefDefaultTrackingOptions { +impl core::ops::Deref for ID3D11RefDefaultTrackingOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2752,7 +2752,7 @@ pub struct ID3D11RefDefaultTrackingOptions_Vtbl { pub SetTrackingOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11RefTrackingOptions, ID3D11RefTrackingOptions_Vtbl, 0x193dacdf_0db2_4c05_a55c_ef06cac56fd9); -impl std::ops::Deref for ID3D11RefTrackingOptions { +impl core::ops::Deref for ID3D11RefTrackingOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2772,7 +2772,7 @@ pub struct ID3D11RefTrackingOptions_Vtbl { pub SetTrackingOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11RenderTargetView, ID3D11RenderTargetView_Vtbl, 0xdfdba067_0b8d_4865_875b_d7b4516cc164); -impl std::ops::Deref for ID3D11RenderTargetView { +impl core::ops::Deref for ID3D11RenderTargetView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2796,7 +2796,7 @@ pub struct ID3D11RenderTargetView_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D11RenderTargetView1, ID3D11RenderTargetView1_Vtbl, 0xffbe2e23_f011_418a_ac56_5ceed7c5b94b); -impl std::ops::Deref for ID3D11RenderTargetView1 { +impl core::ops::Deref for ID3D11RenderTargetView1 { type Target = ID3D11RenderTargetView; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2820,7 +2820,7 @@ pub struct ID3D11RenderTargetView1_Vtbl { GetDesc1: usize, } windows_core::imp::define_interface!(ID3D11Resource, ID3D11Resource_Vtbl, 0xdc8e63f3_d12b_4952_b47b_5e45026a862d); -impl std::ops::Deref for ID3D11Resource { +impl core::ops::Deref for ID3D11Resource { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2850,7 +2850,7 @@ pub struct ID3D11Resource_Vtbl { pub GetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(ID3D11SamplerState, ID3D11SamplerState_Vtbl, 0xda6fea51_564c_4487_9810_f0d0f9b4e3a5); -impl std::ops::Deref for ID3D11SamplerState { +impl core::ops::Deref for ID3D11SamplerState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2870,7 +2870,7 @@ pub struct ID3D11SamplerState_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_SAMPLER_DESC), } windows_core::imp::define_interface!(ID3D11ShaderReflection, ID3D11ShaderReflection_Vtbl, 0x8d536ca1_0cca_4956_a837_786963755584); -impl std::ops::Deref for ID3D11ShaderReflection { +impl core::ops::Deref for ID3D11ShaderReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3123,7 +3123,7 @@ pub struct ID3D11ShaderReflectionVariable_Vtbl { pub GetInterfaceSlot: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } windows_core::imp::define_interface!(ID3D11ShaderResourceView, ID3D11ShaderResourceView_Vtbl, 0xb0e06fe0_8192_4e1a_b1ca_36d7414710b2); -impl std::ops::Deref for ID3D11ShaderResourceView { +impl core::ops::Deref for ID3D11ShaderResourceView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3147,7 +3147,7 @@ pub struct ID3D11ShaderResourceView_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D11ShaderResourceView1, ID3D11ShaderResourceView1_Vtbl, 0x91308b87_9040_411d_8c67_c39253ce3802); -impl std::ops::Deref for ID3D11ShaderResourceView1 { +impl core::ops::Deref for ID3D11ShaderResourceView1 { type Target = ID3D11ShaderResourceView; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3171,7 +3171,7 @@ pub struct ID3D11ShaderResourceView1_Vtbl { GetDesc1: usize, } windows_core::imp::define_interface!(ID3D11ShaderTrace, ID3D11ShaderTrace_Vtbl, 0x36b013e6_2811_4845_baa7_d623fe0df104); -impl std::ops::Deref for ID3D11ShaderTrace { +impl core::ops::Deref for ID3D11ShaderTrace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3219,7 +3219,7 @@ pub struct ID3D11ShaderTrace_Vtbl { pub GetReadRegister: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut D3D11_TRACE_REGISTER, *mut D3D11_TRACE_VALUE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11ShaderTraceFactory, ID3D11ShaderTraceFactory_Vtbl, 0x1fbad429_66ab_41cc_9617_667ac10e4459); -impl std::ops::Deref for ID3D11ShaderTraceFactory { +impl core::ops::Deref for ID3D11ShaderTraceFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3243,7 +3243,7 @@ pub struct ID3D11ShaderTraceFactory_Vtbl { pub CreateShaderTrace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D11_SHADER_TRACE_DESC, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11SwitchToRef, ID3D11SwitchToRef_Vtbl, 0x1ef337e3_58e7_4f83_a692_db221f5ed47e); -impl std::ops::Deref for ID3D11SwitchToRef { +impl core::ops::Deref for ID3D11SwitchToRef { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3270,7 +3270,7 @@ pub struct ID3D11SwitchToRef_Vtbl { pub GetUseRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D11Texture1D, ID3D11Texture1D_Vtbl, 0xf8fb5c27_c6b3_4f75_a4c8_439af2ef564c); -impl std::ops::Deref for ID3D11Texture1D { +impl core::ops::Deref for ID3D11Texture1D { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3294,7 +3294,7 @@ pub struct ID3D11Texture1D_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D11Texture2D, ID3D11Texture2D_Vtbl, 0x6f15aaf2_d208_4e89_9ab4_489535d34f9c); -impl std::ops::Deref for ID3D11Texture2D { +impl core::ops::Deref for ID3D11Texture2D { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3318,7 +3318,7 @@ pub struct ID3D11Texture2D_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D11Texture2D1, ID3D11Texture2D1_Vtbl, 0x51218251_1e33_4617_9ccb_4d3a4367e7bb); -impl std::ops::Deref for ID3D11Texture2D1 { +impl core::ops::Deref for ID3D11Texture2D1 { type Target = ID3D11Texture2D; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3342,7 +3342,7 @@ pub struct ID3D11Texture2D1_Vtbl { GetDesc1: usize, } windows_core::imp::define_interface!(ID3D11Texture3D, ID3D11Texture3D_Vtbl, 0x037e866e_f56d_4357_a8af_9dabbe6e250e); -impl std::ops::Deref for ID3D11Texture3D { +impl core::ops::Deref for ID3D11Texture3D { type Target = ID3D11Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3366,7 +3366,7 @@ pub struct ID3D11Texture3D_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D11Texture3D1, ID3D11Texture3D1_Vtbl, 0x0c711683_2853_4846_9bb0_f3e60639e46a); -impl std::ops::Deref for ID3D11Texture3D1 { +impl core::ops::Deref for ID3D11Texture3D1 { type Target = ID3D11Texture3D; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3390,7 +3390,7 @@ pub struct ID3D11Texture3D1_Vtbl { GetDesc1: usize, } windows_core::imp::define_interface!(ID3D11TracingDevice, ID3D11TracingDevice_Vtbl, 0x1911c771_1587_413e_a7e0_fb26c3de0268); -impl std::ops::Deref for ID3D11TracingDevice { +impl core::ops::Deref for ID3D11TracingDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3417,7 +3417,7 @@ pub struct ID3D11TracingDevice_Vtbl { pub SetShaderTrackingOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11UnorderedAccessView, ID3D11UnorderedAccessView_Vtbl, 0x28acf509_7f5c_48f6_8611_f316010a6380); -impl std::ops::Deref for ID3D11UnorderedAccessView { +impl core::ops::Deref for ID3D11UnorderedAccessView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3441,7 +3441,7 @@ pub struct ID3D11UnorderedAccessView_Vtbl { GetDesc: usize, } windows_core::imp::define_interface!(ID3D11UnorderedAccessView1, ID3D11UnorderedAccessView1_Vtbl, 0x7b3b6153_a886_4544_ab37_6537c8500403); -impl std::ops::Deref for ID3D11UnorderedAccessView1 { +impl core::ops::Deref for ID3D11UnorderedAccessView1 { type Target = ID3D11UnorderedAccessView; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3465,7 +3465,7 @@ pub struct ID3D11UnorderedAccessView1_Vtbl { GetDesc1: usize, } windows_core::imp::define_interface!(ID3D11VertexShader, ID3D11VertexShader_Vtbl, 0x3b301d64_d678_4289_8897_22f8928b72f3); -impl std::ops::Deref for ID3D11VertexShader { +impl core::ops::Deref for ID3D11VertexShader { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3480,7 +3480,7 @@ pub struct ID3D11VertexShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D11VideoContext, ID3D11VideoContext_Vtbl, 0x61f21c45_3c0e_4a74_9cea_67100d9ad5e4); -impl std::ops::Deref for ID3D11VideoContext { +impl core::ops::Deref for ID3D11VideoContext { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3950,7 +3950,7 @@ pub struct ID3D11VideoContext_Vtbl { pub VideoProcessorGetStreamRotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL, *mut D3D11_VIDEO_PROCESSOR_ROTATION), } windows_core::imp::define_interface!(ID3D11VideoContext1, ID3D11VideoContext1_Vtbl, 0xa7f026da_a5f8_4487_a564_15e34357651e); -impl std::ops::Deref for ID3D11VideoContext1 { +impl core::ops::Deref for ID3D11VideoContext1 { type Target = ID3D11VideoContext; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4105,7 +4105,7 @@ pub struct ID3D11VideoContext1_Vtbl { VideoProcessorGetBehaviorHints: usize, } windows_core::imp::define_interface!(ID3D11VideoContext2, ID3D11VideoContext2_Vtbl, 0xc4e7374c_6243_4d1b_ae87_52b4f740e261); -impl std::ops::Deref for ID3D11VideoContext2 { +impl core::ops::Deref for ID3D11VideoContext2 { type Target = ID3D11VideoContext1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4165,7 +4165,7 @@ pub struct ID3D11VideoContext2_Vtbl { VideoProcessorGetStreamHDRMetaData: usize, } windows_core::imp::define_interface!(ID3D11VideoContext3, ID3D11VideoContext3_Vtbl, 0xa9e2faa0_cb39_418f_a0b7_d8aad4de672e); -impl std::ops::Deref for ID3D11VideoContext3 { +impl core::ops::Deref for ID3D11VideoContext3 { type Target = ID3D11VideoContext2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4196,7 +4196,7 @@ pub struct ID3D11VideoContext3_Vtbl { pub SubmitDecoderBuffers2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const D3D11_VIDEO_DECODER_BUFFER_DESC2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11VideoDecoder, ID3D11VideoDecoder_Vtbl, 0x3c9c5b51_995d_48d1_9b8d_fa5caeded65c); -impl std::ops::Deref for ID3D11VideoDecoder { +impl core::ops::Deref for ID3D11VideoDecoder { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4225,7 +4225,7 @@ pub struct ID3D11VideoDecoder_Vtbl { pub GetDriverHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11VideoDecoderOutputView, ID3D11VideoDecoderOutputView_Vtbl, 0xc2931aea_2a85_4f20_860f_fba1fd256e18); -impl std::ops::Deref for ID3D11VideoDecoderOutputView { +impl core::ops::Deref for ID3D11VideoDecoderOutputView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4245,7 +4245,7 @@ pub struct ID3D11VideoDecoderOutputView_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC), } windows_core::imp::define_interface!(ID3D11VideoDevice, ID3D11VideoDevice_Vtbl, 0x10ec4d5b_975a_4689_b9e4_d0aac30fe333); -impl std::ops::Deref for ID3D11VideoDevice { +impl core::ops::Deref for ID3D11VideoDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4375,7 +4375,7 @@ pub struct ID3D11VideoDevice_Vtbl { pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11VideoDevice1, ID3D11VideoDevice1_Vtbl, 0x29da1d51_1321_4454_804b_f5fc9f861f0f); -impl std::ops::Deref for ID3D11VideoDevice1 { +impl core::ops::Deref for ID3D11VideoDevice1 { type Target = ID3D11VideoDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4421,7 +4421,7 @@ pub struct ID3D11VideoDevice1_Vtbl { RecommendVideoDecoderDownsampleParameters: usize, } windows_core::imp::define_interface!(ID3D11VideoDevice2, ID3D11VideoDevice2_Vtbl, 0x59c0cb01_35f0_4a70_8f67_87905c906a53); -impl std::ops::Deref for ID3D11VideoDevice2 { +impl core::ops::Deref for ID3D11VideoDevice2 { type Target = ID3D11VideoDevice1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4448,7 +4448,7 @@ pub struct ID3D11VideoDevice2_Vtbl { pub NegotiateCryptoSessionKeyExchangeMT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11VideoProcessor, ID3D11VideoProcessor_Vtbl, 0x1d7b0652_185f_41c6_85ce_0c5be3d4ae6c); -impl std::ops::Deref for ID3D11VideoProcessor { +impl core::ops::Deref for ID3D11VideoProcessor { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4476,7 +4476,7 @@ pub struct ID3D11VideoProcessor_Vtbl { pub GetRateConversionCaps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS), } windows_core::imp::define_interface!(ID3D11VideoProcessorEnumerator, ID3D11VideoProcessorEnumerator_Vtbl, 0x31627037_53ab_4200_9061_05faa9ab45f9); -impl std::ops::Deref for ID3D11VideoProcessorEnumerator { +impl core::ops::Deref for ID3D11VideoProcessorEnumerator { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4530,7 +4530,7 @@ pub struct ID3D11VideoProcessorEnumerator_Vtbl { pub GetVideoProcessorFilterRange: unsafe extern "system" fn(*mut core::ffi::c_void, D3D11_VIDEO_PROCESSOR_FILTER, *mut D3D11_VIDEO_PROCESSOR_FILTER_RANGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11VideoProcessorEnumerator1, ID3D11VideoProcessorEnumerator1_Vtbl, 0x465217f2_5568_43cf_b5b9_f61d54531ca1); -impl std::ops::Deref for ID3D11VideoProcessorEnumerator1 { +impl core::ops::Deref for ID3D11VideoProcessorEnumerator1 { type Target = ID3D11VideoProcessorEnumerator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4555,7 +4555,7 @@ pub struct ID3D11VideoProcessorEnumerator1_Vtbl { CheckVideoProcessorFormatConversion: usize, } windows_core::imp::define_interface!(ID3D11VideoProcessorInputView, ID3D11VideoProcessorInputView_Vtbl, 0x11ec5a5f_51dc_4945_ab34_6e8c21300ea5); -impl std::ops::Deref for ID3D11VideoProcessorInputView { +impl core::ops::Deref for ID3D11VideoProcessorInputView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4577,7 +4577,7 @@ pub struct ID3D11VideoProcessorInputView_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC), } windows_core::imp::define_interface!(ID3D11VideoProcessorOutputView, ID3D11VideoProcessorOutputView_Vtbl, 0xa048285e_25a9_4527_bd93_d68b68c44254); -impl std::ops::Deref for ID3D11VideoProcessorOutputView { +impl core::ops::Deref for ID3D11VideoProcessorOutputView { type Target = ID3D11View; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4599,7 +4599,7 @@ pub struct ID3D11VideoProcessorOutputView_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC), } windows_core::imp::define_interface!(ID3D11View, ID3D11View_Vtbl, 0x839d1216_bb2e_412b_b7f4_a9dbebe08ed1); -impl std::ops::Deref for ID3D11View { +impl core::ops::Deref for ID3D11View { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4621,7 +4621,7 @@ pub struct ID3D11View_Vtbl { pub GetResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID3DDeviceContextState, ID3DDeviceContextState_Vtbl, 0x5c1e0d8a_7c23_48f9_8c59_a92958ceff11); -impl std::ops::Deref for ID3DDeviceContextState { +impl core::ops::Deref for ID3DDeviceContextState { type Target = ID3D11DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4636,7 +4636,7 @@ pub struct ID3DDeviceContextState_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3DUserDefinedAnnotation, ID3DUserDefinedAnnotation_Vtbl, 0xb2daad8b_03d4_4dbf_95eb_32ab4b63d0ab); -impl std::ops::Deref for ID3DUserDefinedAnnotation { +impl core::ops::Deref for ID3DUserDefinedAnnotation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4674,7 +4674,7 @@ pub struct ID3DUserDefinedAnnotation_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3DX11FFT, ID3DX11FFT_Vtbl, 0xb3f7a938_4c93_4310_a675_b30d6de50553); -impl std::ops::Deref for ID3DX11FFT { +impl core::ops::Deref for ID3DX11FFT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4724,7 +4724,7 @@ pub struct ID3DX11FFT_Vtbl { pub InverseTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3DX11Scan, ID3DX11Scan_Vtbl, 0x5089b68f_e71d_4d38_be8e_f363b95a9405); -impl std::ops::Deref for ID3DX11Scan { +impl core::ops::Deref for ID3DX11Scan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4760,7 +4760,7 @@ pub struct ID3DX11Scan_Vtbl { pub Multiscan: unsafe extern "system" fn(*mut core::ffi::c_void, D3DX11_SCAN_DATA_TYPE, D3DX11_SCAN_OPCODE, u32, u32, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3DX11SegmentedScan, ID3DX11SegmentedScan_Vtbl, 0xa915128c_d954_4c79_bfe1_64db923194d6); -impl std::ops::Deref for ID3DX11SegmentedScan { +impl core::ops::Deref for ID3DX11SegmentedScan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs index 7c98c13e4c..6978d43772 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs @@ -20,7 +20,7 @@ where .ok() } windows_core::imp::define_interface!(ID3D11On12Device, ID3D11On12Device_Vtbl, 0x85611e73_70a9_490e_9614_a9e302777904); -impl std::ops::Deref for ID3D11On12Device { +impl core::ops::Deref for ID3D11On12Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -64,7 +64,7 @@ pub struct ID3D11On12Device_Vtbl { AcquireWrappedResources: usize, } windows_core::imp::define_interface!(ID3D11On12Device1, ID3D11On12Device1_Vtbl, 0xbdb64df4_ea2f_4c70_b861_aaab1258bb5d); -impl std::ops::Deref for ID3D11On12Device1 { +impl core::ops::Deref for ID3D11On12Device1 { type Target = ID3D11On12Device; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -76,7 +76,7 @@ impl ID3D11On12Device1 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetD3D12Device)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -88,7 +88,7 @@ pub struct ID3D11On12Device1_Vtbl { pub GetD3D12Device: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D11On12Device2, ID3D11On12Device2_Vtbl, 0xdc90f331_4740_43fa_866e_67f12cb58223); -impl std::ops::Deref for ID3D11On12Device2 { +impl core::ops::Deref for ID3D11On12Device2 { type Target = ID3D11On12Device1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -103,7 +103,7 @@ impl ID3D11On12Device2 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).UnwrapUnderlyingResource)(windows_core::Interface::as_raw(self), presource11.param().abi(), pcommandqueue.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct3D11", feature = "Win32_Graphics_Direct3D12"))] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs index f01b431897..c643278532 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -52,7 +52,7 @@ pub unsafe fn D3D12SerializeVersionedRootSignature(prootsignature: *const D3D12_ D3D12SerializeVersionedRootSignature(prootsignature, core::mem::transmute(ppblob), core::mem::transmute(pperrorblob.unwrap_or(std::ptr::null_mut()))).ok() } windows_core::imp::define_interface!(ID3D12CommandAllocator, ID3D12CommandAllocator_Vtbl, 0x6102dee4_af59_4b09_b999_b44d73f09b24); -impl std::ops::Deref for ID3D12CommandAllocator { +impl core::ops::Deref for ID3D12CommandAllocator { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -72,7 +72,7 @@ pub struct ID3D12CommandAllocator_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12CommandList, ID3D12CommandList_Vtbl, 0x7116d91c_e7e4_47ce_b8c6_ec8168f437e5); -impl std::ops::Deref for ID3D12CommandList { +impl core::ops::Deref for ID3D12CommandList { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -92,7 +92,7 @@ pub struct ID3D12CommandList_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_COMMAND_LIST_TYPE, } windows_core::imp::define_interface!(ID3D12CommandQueue, ID3D12CommandQueue_Vtbl, 0x0ec870a6_5d7e_4c22_8cfc_5baae07616ed); -impl std::ops::Deref for ID3D12CommandQueue { +impl core::ops::Deref for ID3D12CommandQueue { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -181,7 +181,7 @@ pub struct ID3D12CommandQueue_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_COMMAND_QUEUE_DESC), } windows_core::imp::define_interface!(ID3D12CommandSignature, ID3D12CommandSignature_Vtbl, 0xc36a797c_ec80_4f0a_8985_a7b2475082d1); -impl std::ops::Deref for ID3D12CommandSignature { +impl core::ops::Deref for ID3D12CommandSignature { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -196,7 +196,7 @@ pub struct ID3D12CommandSignature_Vtbl { pub base__: ID3D12Pageable_Vtbl, } windows_core::imp::define_interface!(ID3D12Debug, ID3D12Debug_Vtbl, 0x344488b7_6846_474b_b989_f027448245e0); -impl std::ops::Deref for ID3D12Debug { +impl core::ops::Deref for ID3D12Debug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -216,7 +216,7 @@ pub struct ID3D12Debug_Vtbl { pub EnableDebugLayer: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(ID3D12Debug1, ID3D12Debug1_Vtbl, 0xaffaa4ca_63fe_4d8e_b8ad_159000af4304); -impl std::ops::Deref for ID3D12Debug1 { +impl core::ops::Deref for ID3D12Debug1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -250,7 +250,7 @@ pub struct ID3D12Debug1_Vtbl { pub SetEnableSynchronizedCommandQueueValidation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } windows_core::imp::define_interface!(ID3D12Debug2, ID3D12Debug2_Vtbl, 0x93a665c4_a3b2_4e5d_b692_a26ae14e3374); -impl std::ops::Deref for ID3D12Debug2 { +impl core::ops::Deref for ID3D12Debug2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -270,7 +270,7 @@ pub struct ID3D12Debug2_Vtbl { pub SetGPUBasedValidationFlags: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_GPU_BASED_VALIDATION_FLAGS), } windows_core::imp::define_interface!(ID3D12Debug3, ID3D12Debug3_Vtbl, 0x5cf4e58f_f671_4ff1_a542_3686e3d153d1); -impl std::ops::Deref for ID3D12Debug3 { +impl core::ops::Deref for ID3D12Debug3 { type Target = ID3D12Debug; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -304,7 +304,7 @@ pub struct ID3D12Debug3_Vtbl { pub SetGPUBasedValidationFlags: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_GPU_BASED_VALIDATION_FLAGS), } windows_core::imp::define_interface!(ID3D12Debug4, ID3D12Debug4_Vtbl, 0x014b816e_9ec5_4a2f_a845_ffbe441ce13a); -impl std::ops::Deref for ID3D12Debug4 { +impl core::ops::Deref for ID3D12Debug4 { type Target = ID3D12Debug3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -324,7 +324,7 @@ pub struct ID3D12Debug4_Vtbl { pub DisableDebugLayer: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(ID3D12Debug5, ID3D12Debug5_Vtbl, 0x548d6b12_09fa_40e0_9069_5dcd589a52c9); -impl std::ops::Deref for ID3D12Debug5 { +impl core::ops::Deref for ID3D12Debug5 { type Target = ID3D12Debug4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -347,7 +347,7 @@ pub struct ID3D12Debug5_Vtbl { pub SetEnableAutoName: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } windows_core::imp::define_interface!(ID3D12Debug6, ID3D12Debug6_Vtbl, 0x82a816d6_5d01_4157_97d0_4975463fd1ed); -impl std::ops::Deref for ID3D12Debug6 { +impl core::ops::Deref for ID3D12Debug6 { type Target = ID3D12Debug5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -370,7 +370,7 @@ pub struct ID3D12Debug6_Vtbl { pub SetForceLegacyBarrierValidation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } windows_core::imp::define_interface!(ID3D12DebugCommandList, ID3D12DebugCommandList_Vtbl, 0x09e0bf36_54ac_484f_8847_4baeeab6053f); -impl std::ops::Deref for ID3D12DebugCommandList { +impl core::ops::Deref for ID3D12DebugCommandList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -401,7 +401,7 @@ pub struct ID3D12DebugCommandList_Vtbl { pub GetFeatureMask: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_DEBUG_FEATURE, } windows_core::imp::define_interface!(ID3D12DebugCommandList1, ID3D12DebugCommandList1_Vtbl, 0x102ca951_311b_4b01_b11f_ecb83e061b37); -impl std::ops::Deref for ID3D12DebugCommandList1 { +impl core::ops::Deref for ID3D12DebugCommandList1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -432,7 +432,7 @@ pub struct ID3D12DebugCommandList1_Vtbl { pub GetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DebugCommandList2, ID3D12DebugCommandList2_Vtbl, 0xaeb575cf_4e06_48be_ba3b_c450fc96652e); -impl std::ops::Deref for ID3D12DebugCommandList2 { +impl core::ops::Deref for ID3D12DebugCommandList2 { type Target = ID3D12DebugCommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -456,7 +456,7 @@ pub struct ID3D12DebugCommandList2_Vtbl { pub GetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DebugCommandList3, ID3D12DebugCommandList3_Vtbl, 0x197d5e15_4d37_4d34_af78_724cd70fdb1f); -impl std::ops::Deref for ID3D12DebugCommandList3 { +impl core::ops::Deref for ID3D12DebugCommandList3 { type Target = ID3D12DebugCommandList2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -486,7 +486,7 @@ pub struct ID3D12DebugCommandList3_Vtbl { pub AssertTextureLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, D3D12_BARRIER_LAYOUT), } windows_core::imp::define_interface!(ID3D12DebugCommandQueue, ID3D12DebugCommandQueue_Vtbl, 0x09e0bf36_54ac_484f_8847_4baeeab6053a); -impl std::ops::Deref for ID3D12DebugCommandQueue { +impl core::ops::Deref for ID3D12DebugCommandQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -509,7 +509,7 @@ pub struct ID3D12DebugCommandQueue_Vtbl { pub AssertResourceState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D12DebugCommandQueue1, ID3D12DebugCommandQueue1_Vtbl, 0x16be35a2_bfd6_49f2_bcae_eaae4aff862d); -impl std::ops::Deref for ID3D12DebugCommandQueue1 { +impl core::ops::Deref for ID3D12DebugCommandQueue1 { type Target = ID3D12DebugCommandQueue; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -539,7 +539,7 @@ pub struct ID3D12DebugCommandQueue1_Vtbl { pub AssertTextureLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, D3D12_BARRIER_LAYOUT), } windows_core::imp::define_interface!(ID3D12DebugDevice, ID3D12DebugDevice_Vtbl, 0x3febd6dd_4973_4787_8194_e45f9e28923e); -impl std::ops::Deref for ID3D12DebugDevice { +impl core::ops::Deref for ID3D12DebugDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -567,7 +567,7 @@ pub struct ID3D12DebugDevice_Vtbl { pub ReportLiveDeviceObjects: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_RLDO_FLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DebugDevice1, ID3D12DebugDevice1_Vtbl, 0xa9b71770_d099_4a65_a698_3dee10020f88); -impl std::ops::Deref for ID3D12DebugDevice1 { +impl core::ops::Deref for ID3D12DebugDevice1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -595,7 +595,7 @@ pub struct ID3D12DebugDevice1_Vtbl { pub ReportLiveDeviceObjects: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_RLDO_FLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DebugDevice2, ID3D12DebugDevice2_Vtbl, 0x60eccbc1_378d_4df1_894c_f8ac5ce4d7dd); -impl std::ops::Deref for ID3D12DebugDevice2 { +impl core::ops::Deref for ID3D12DebugDevice2 { type Target = ID3D12DebugDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -619,7 +619,7 @@ pub struct ID3D12DebugDevice2_Vtbl { pub GetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_DEVICE_PARAMETER_TYPE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DescriptorHeap, ID3D12DescriptorHeap_Vtbl, 0x8efb471d_616c_4f49_90f7_127bb763fa51); -impl std::ops::Deref for ID3D12DescriptorHeap { +impl core::ops::Deref for ID3D12DescriptorHeap { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -653,7 +653,7 @@ pub struct ID3D12DescriptorHeap_Vtbl { pub GetGPUDescriptorHandleForHeapStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_GPU_DESCRIPTOR_HANDLE), } windows_core::imp::define_interface!(ID3D12Device, ID3D12Device_Vtbl, 0x189819f1_1db6_4b57_be54_1821339b85f7); -impl std::ops::Deref for ID3D12Device { +impl core::ops::Deref for ID3D12Device { type Target = ID3D12Object; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -668,14 +668,14 @@ impl ID3D12Device { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCommandQueue)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCommandAllocator(&self, r#type: D3D12_COMMAND_LIST_TYPE) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCommandAllocator)(windows_core::Interface::as_raw(self), r#type, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -683,14 +683,14 @@ impl ID3D12Device { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateGraphicsPipelineState)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateComputePipelineState(&self, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateComputePipelineState)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateCommandList(&self, nodemask: u32, r#type: D3D12_COMMAND_LIST_TYPE, pcommandallocator: P0, pinitialstate: P1) -> windows_core::Result @@ -699,7 +699,7 @@ impl ID3D12Device { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCommandList)(windows_core::Interface::as_raw(self), nodemask, r#type, pcommandallocator.param().abi(), pinitialstate.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CheckFeatureSupport(&self, feature: D3D12_FEATURE, pfeaturesupportdata: *mut core::ffi::c_void, featuresupportdatasize: u32) -> windows_core::Result<()> { @@ -709,7 +709,7 @@ impl ID3D12Device { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateDescriptorHeap)(windows_core::Interface::as_raw(self), pdescriptorheapdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDescriptorHandleIncrementSize(&self, descriptorheaptype: D3D12_DESCRIPTOR_HEAP_TYPE) -> u32 { @@ -719,7 +719,7 @@ impl ID3D12Device { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateRootSignature)(windows_core::Interface::as_raw(self), nodemask, core::mem::transmute(pblobwithrootsignature.as_ptr()), pblobwithrootsignature.len().try_into().unwrap(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateConstantBufferView(&self, pdesc: Option<*const D3D12_CONSTANT_BUFFER_VIEW_DESC>, destdescriptor: D3D12_CPU_DESCRIPTOR_HANDLE) { @@ -835,7 +835,7 @@ impl ID3D12Device { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFence)(windows_core::Interface::as_raw(self), initialvalue, flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDeviceRemovedReason(&self) -> windows_core::Result<()> { @@ -953,7 +953,7 @@ pub struct ID3D12Device_Vtbl { pub GetAdapterLuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::LUID), } windows_core::imp::define_interface!(ID3D12Device1, ID3D12Device1_Vtbl, 0x77acce80_638e_4e65_8895_c1f23386863e); -impl std::ops::Deref for ID3D12Device1 { +impl core::ops::Deref for ID3D12Device1 { type Target = ID3D12Device; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -965,7 +965,7 @@ impl ID3D12Device1 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreatePipelineLibrary)(windows_core::Interface::as_raw(self), core::mem::transmute(plibraryblob.as_ptr()), plibraryblob.len().try_into().unwrap(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetEventOnMultipleFenceCompletion(&self, ppfences: *const Option, pfencevalues: *const u64, numfences: u32, flags: D3D12_MULTIPLE_FENCE_WAIT_FLAGS, hevent: P0) -> windows_core::Result<()> @@ -988,7 +988,7 @@ pub struct ID3D12Device1_Vtbl { pub SetResidencyPriority: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *const D3D12_RESIDENCY_PRIORITY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Device10, ID3D12Device10_Vtbl, 0x517f8718_aa66_49f9_b02b_a7ab89c06031); -impl std::ops::Deref for ID3D12Device10 { +impl core::ops::Deref for ID3D12Device10 { type Target = ID3D12Device9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1040,7 +1040,7 @@ pub struct ID3D12Device10_Vtbl { CreateReservedResource2: usize, } windows_core::imp::define_interface!(ID3D12Device11, ID3D12Device11_Vtbl, 0x5405c344_d457_444e_b4dd_2366e45aee39); -impl std::ops::Deref for ID3D12Device11 { +impl core::ops::Deref for ID3D12Device11 { type Target = ID3D12Device10; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1060,7 +1060,7 @@ pub struct ID3D12Device11_Vtbl { pub CreateSampler2: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_SAMPLER_DESC2, D3D12_CPU_DESCRIPTOR_HANDLE), } windows_core::imp::define_interface!(ID3D12Device12, ID3D12Device12_Vtbl, 0x5af5c532_4c91_4cd0_b541_15a405395fc5); -impl std::ops::Deref for ID3D12Device12 { +impl core::ops::Deref for ID3D12Device12 { type Target = ID3D12Device11; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1086,7 +1086,7 @@ pub struct ID3D12Device12_Vtbl { GetResourceAllocationInfo3: usize, } windows_core::imp::define_interface!(ID3D12Device13, ID3D12Device13_Vtbl, 0x14eecffc_4df8_40f7_a118_5c816f45695e); -impl std::ops::Deref for ID3D12Device13 { +impl core::ops::Deref for ID3D12Device13 { type Target = ID3D12Device12; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1098,7 +1098,7 @@ impl ID3D12Device13 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenExistingHeapFromAddress1)(windows_core::Interface::as_raw(self), paddress, size, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1110,7 +1110,7 @@ pub struct ID3D12Device13_Vtbl { pub OpenExistingHeapFromAddress1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Device2, ID3D12Device2_Vtbl, 0x30baa41e_b15b_475c_a0bb_1af5c5b64328); -impl std::ops::Deref for ID3D12Device2 { +impl core::ops::Deref for ID3D12Device2 { type Target = ID3D12Device1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1122,7 +1122,7 @@ impl ID3D12Device2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreatePipelineState)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1134,7 +1134,7 @@ pub struct ID3D12Device2_Vtbl { pub CreatePipelineState: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_PIPELINE_STATE_STREAM_DESC, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Device3, ID3D12Device3_Vtbl, 0x81dadc15_2bad_4392_93c5_101345c4aa98); -impl std::ops::Deref for ID3D12Device3 { +impl core::ops::Deref for ID3D12Device3 { type Target = ID3D12Device2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1146,7 +1146,7 @@ impl ID3D12Device3 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenExistingHeapFromAddress)(windows_core::Interface::as_raw(self), paddress, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenExistingHeapFromFileMapping(&self, hfilemapping: P0) -> windows_core::Result @@ -1154,7 +1154,7 @@ impl ID3D12Device3 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenExistingHeapFromFileMapping)(windows_core::Interface::as_raw(self), hfilemapping.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnqueueMakeResident(&self, flags: D3D12_RESIDENCY_FLAGS, ppobjects: &[Option], pfencetosignal: P0, fencevaluetosignal: u64) -> windows_core::Result<()> @@ -1174,7 +1174,7 @@ pub struct ID3D12Device3_Vtbl { pub EnqueueMakeResident: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_RESIDENCY_FLAGS, u32, *const *mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Device4, ID3D12Device4_Vtbl, 0xe865df17_a9ee_46f9_a463_3098315aa2e5); -impl std::ops::Deref for ID3D12Device4 { +impl core::ops::Deref for ID3D12Device4 { type Target = ID3D12Device3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1186,14 +1186,14 @@ impl ID3D12Device4 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCommandList1)(windows_core::Interface::as_raw(self), nodemask, r#type, flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateProtectedResourceSession(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateProtectedResourceSession)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1248,7 +1248,7 @@ pub struct ID3D12Device4_Vtbl { GetResourceAllocationInfo1: usize, } windows_core::imp::define_interface!(ID3D12Device5, ID3D12Device5_Vtbl, 0x8b4f173b_2fea_4b80_8f58_4307191ab95d); -impl std::ops::Deref for ID3D12Device5 { +impl core::ops::Deref for ID3D12Device5 { type Target = ID3D12Device4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1261,7 +1261,7 @@ impl ID3D12Device5 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateLifetimeTracker)(windows_core::Interface::as_raw(self), powner.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RemoveDevice(&self) { @@ -1277,14 +1277,14 @@ impl ID3D12Device5 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateMetaCommand)(windows_core::Interface::as_raw(self), commandid, nodemask, core::mem::transmute(pcreationparametersdata.unwrap_or(std::ptr::null())), creationparametersdatasizeinbytes, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateStateObject(&self, pdesc: *const D3D12_STATE_OBJECT_DESC) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateStateObject)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1313,7 +1313,7 @@ pub struct ID3D12Device5_Vtbl { pub CheckDriverMatchingIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_SERIALIZED_DATA_TYPE, *const D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER) -> D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS, } windows_core::imp::define_interface!(ID3D12Device6, ID3D12Device6_Vtbl, 0xc70b221b_40e4_4a17_89af_025a0727a6dc); -impl std::ops::Deref for ID3D12Device6 { +impl core::ops::Deref for ID3D12Device6 { type Target = ID3D12Device5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1336,7 +1336,7 @@ pub struct ID3D12Device6_Vtbl { pub SetBackgroundProcessingMode: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_BACKGROUND_PROCESSING_MODE, D3D12_MEASUREMENTS_ACTION, super::super::Foundation::HANDLE, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Device7, ID3D12Device7_Vtbl, 0x5c014b53_68a1_4b9b_8bd1_dd6046b9358b); -impl std::ops::Deref for ID3D12Device7 { +impl core::ops::Deref for ID3D12Device7 { type Target = ID3D12Device6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1349,14 +1349,14 @@ impl ID3D12Device7 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).AddToStateObject)(windows_core::Interface::as_raw(self), paddition, pstateobjecttogrowfrom.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateProtectedResourceSession1(&self, pdesc: *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateProtectedResourceSession1)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1369,7 +1369,7 @@ pub struct ID3D12Device7_Vtbl { pub CreateProtectedResourceSession1: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Device8, ID3D12Device8_Vtbl, 0x9218e6bb_f944_4f7e_a75c_b1b2c7b701f3); -impl std::ops::Deref for ID3D12Device8 { +impl core::ops::Deref for ID3D12Device8 { type Target = ID3D12Device7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1435,7 +1435,7 @@ pub struct ID3D12Device8_Vtbl { GetCopyableFootprints1: usize, } windows_core::imp::define_interface!(ID3D12Device9, ID3D12Device9_Vtbl, 0x4c80e962_f032_4f60_bc9e_ebc2cfa1d83c); -impl std::ops::Deref for ID3D12Device9 { +impl core::ops::Deref for ID3D12Device9 { type Target = ID3D12Device8; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1456,7 +1456,7 @@ impl ID3D12Device9 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCommandQueue1)(windows_core::Interface::as_raw(self), pdesc, creatorid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1470,7 +1470,7 @@ pub struct ID3D12Device9_Vtbl { pub CreateCommandQueue1: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_COMMAND_QUEUE_DESC, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DeviceChild, ID3D12DeviceChild_Vtbl, 0x905db94b_a00c_4140_9df5_2b64ca9ea357); -impl std::ops::Deref for ID3D12DeviceChild { +impl core::ops::Deref for ID3D12DeviceChild { type Target = ID3D12Object; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1493,7 +1493,7 @@ pub struct ID3D12DeviceChild_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DeviceConfiguration, ID3D12DeviceConfiguration_Vtbl, 0x78dbf87b_f766_422b_a61c_c8c446bdb9ad); -impl std::ops::Deref for ID3D12DeviceConfiguration { +impl core::ops::Deref for ID3D12DeviceConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1517,7 +1517,7 @@ impl ID3D12DeviceConfiguration { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVersionedRootSignatureDeserializer)(windows_core::Interface::as_raw(self), pblob, size, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1535,7 +1535,7 @@ pub struct ID3D12DeviceConfiguration_Vtbl { pub CreateVersionedRootSignatureDeserializer: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DeviceFactory, ID3D12DeviceFactory_Vtbl, 0x61f307d3_d34e_4e7c_8374_3ba4de23cccb); -impl std::ops::Deref for ID3D12DeviceFactory { +impl core::ops::Deref for ID3D12DeviceFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1559,7 +1559,7 @@ impl ID3D12DeviceFactory { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetConfigurationInterface)(windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnableExperimentalFeatures(&self, numfeatures: u32, piids: *const windows_core::GUID, pconfigurationstructs: Option<*const core::ffi::c_void>, pconfigurationstructsizes: Option<*const u32>) -> windows_core::Result<()> { @@ -1591,7 +1591,7 @@ pub struct ID3D12DeviceFactory_Vtbl { CreateDevice: usize, } windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData_Vtbl, 0x98931d33_5ae8_4791_aa3c_1a73a2934e71); -impl std::ops::Deref for ID3D12DeviceRemovedExtendedData { +impl core::ops::Deref for ID3D12DeviceRemovedExtendedData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1617,7 +1617,7 @@ pub struct ID3D12DeviceRemovedExtendedData_Vtbl { pub GetPageFaultAllocationOutput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_DRED_PAGE_FAULT_OUTPUT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData1, ID3D12DeviceRemovedExtendedData1_Vtbl, 0x9727a022_cf1d_4dda_9eba_effa653fc506); -impl std::ops::Deref for ID3D12DeviceRemovedExtendedData1 { +impl core::ops::Deref for ID3D12DeviceRemovedExtendedData1 { type Target = ID3D12DeviceRemovedExtendedData; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1643,7 +1643,7 @@ pub struct ID3D12DeviceRemovedExtendedData1_Vtbl { pub GetPageFaultAllocationOutput1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_DRED_PAGE_FAULT_OUTPUT1) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData2, ID3D12DeviceRemovedExtendedData2_Vtbl, 0x67fc5816_e4ca_4915_bf18_42541272da54); -impl std::ops::Deref for ID3D12DeviceRemovedExtendedData2 { +impl core::ops::Deref for ID3D12DeviceRemovedExtendedData2 { type Target = ID3D12DeviceRemovedExtendedData1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1667,7 +1667,7 @@ pub struct ID3D12DeviceRemovedExtendedData2_Vtbl { pub GetDeviceState: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_DRED_DEVICE_STATE, } windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings_Vtbl, 0x82bc481c_6b9b_4030_aedb_7ee3d1df1e63); -impl std::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings { +impl core::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1695,7 +1695,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings_Vtbl { pub SetWatsonDumpEnablement: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DRED_ENABLEMENT), } windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings1, ID3D12DeviceRemovedExtendedDataSettings1_Vtbl, 0xdbd5ae51_3317_4f0a_adf9_1d7cedcaae0b); -impl std::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings1 { +impl core::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings1 { type Target = ID3D12DeviceRemovedExtendedDataSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1715,7 +1715,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings1_Vtbl { pub SetBreadcrumbContextEnablement: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DRED_ENABLEMENT), } windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings2, ID3D12DeviceRemovedExtendedDataSettings2_Vtbl, 0x61552388_01ab_4008_a436_83db189566ea); -impl std::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings2 { +impl core::ops::Deref for ID3D12DeviceRemovedExtendedDataSettings2 { type Target = ID3D12DeviceRemovedExtendedDataSettings1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1738,7 +1738,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings2_Vtbl { pub UseMarkersOnlyAutoBreadcrumbs: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } windows_core::imp::define_interface!(ID3D12Fence, ID3D12Fence_Vtbl, 0x0a753dcf_c4d8_4b91_adf6_be5a60d95a76); -impl std::ops::Deref for ID3D12Fence { +impl core::ops::Deref for ID3D12Fence { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1769,7 +1769,7 @@ pub struct ID3D12Fence_Vtbl { pub Signal: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Fence1, ID3D12Fence1_Vtbl, 0x433685fe_e22b_4ca0_a8db_b5b4f4dd0e4a); -impl std::ops::Deref for ID3D12Fence1 { +impl core::ops::Deref for ID3D12Fence1 { type Target = ID3D12Fence; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1862,7 +1862,7 @@ pub struct ID3D12FunctionReflection_Vtbl { pub GetFunctionParameter: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } windows_core::imp::define_interface!(ID3D12GraphicsCommandList, ID3D12GraphicsCommandList_Vtbl, 0x5b160d0f_ac1b_4185_8ba8_b3ae42a5a455); -impl std::ops::Deref for ID3D12GraphicsCommandList { +impl core::ops::Deref for ID3D12GraphicsCommandList { type Target = ID3D12CommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2163,7 +2163,7 @@ pub struct ID3D12GraphicsCommandList_Vtbl { pub ExecuteIndirect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, u64, *mut core::ffi::c_void, u64), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList1_Vtbl, 0x553103fb_1fe7_4557_bb38_946d7d0e7ca7); -impl std::ops::Deref for ID3D12GraphicsCommandList1 { +impl core::ops::Deref for ID3D12GraphicsCommandList1 { type Target = ID3D12GraphicsCommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2219,7 +2219,7 @@ pub struct ID3D12GraphicsCommandList1_Vtbl { pub SetViewInstanceMask: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList2_Vtbl, 0x38c3e585_ff17_412c_9150_4fc6f9d72a28); -impl std::ops::Deref for ID3D12GraphicsCommandList2 { +impl core::ops::Deref for ID3D12GraphicsCommandList2 { type Target = ID3D12GraphicsCommandList1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2239,7 +2239,7 @@ pub struct ID3D12GraphicsCommandList2_Vtbl { pub WriteBufferImmediate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, *const D3D12_WRITEBUFFERIMMEDIATE_MODE), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList3_Vtbl, 0x6fda83a7_b84c_4e38_9ac8_c7bd22016b3d); -impl std::ops::Deref for ID3D12GraphicsCommandList3 { +impl core::ops::Deref for ID3D12GraphicsCommandList3 { type Target = ID3D12GraphicsCommandList2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2262,7 +2262,7 @@ pub struct ID3D12GraphicsCommandList3_Vtbl { pub SetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList4_Vtbl, 0x8754318e_d3a9_4541_98cf_645b50dc4874); -impl std::ops::Deref for ID3D12GraphicsCommandList4 { +impl core::ops::Deref for ID3D12GraphicsCommandList4 { type Target = ID3D12GraphicsCommandList3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2331,7 +2331,7 @@ pub struct ID3D12GraphicsCommandList4_Vtbl { pub DispatchRays: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_DISPATCH_RAYS_DESC), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList5_Vtbl, 0x55050859_4024_474c_87f5_6472eaee44ea); -impl std::ops::Deref for ID3D12GraphicsCommandList5 { +impl core::ops::Deref for ID3D12GraphicsCommandList5 { type Target = ID3D12GraphicsCommandList4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2358,7 +2358,7 @@ pub struct ID3D12GraphicsCommandList5_Vtbl { pub RSSetShadingRateImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList6_Vtbl, 0xc3827890_e548_4cfa_96cf_5689a9370f80); -impl std::ops::Deref for ID3D12GraphicsCommandList6 { +impl core::ops::Deref for ID3D12GraphicsCommandList6 { type Target = ID3D12GraphicsCommandList5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2378,7 +2378,7 @@ pub struct ID3D12GraphicsCommandList6_Vtbl { pub DispatchMesh: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList7_Vtbl, 0xdd171223_8b61_4769_90e3_160ccde4e2c1); -impl std::ops::Deref for ID3D12GraphicsCommandList7 { +impl core::ops::Deref for ID3D12GraphicsCommandList7 { type Target = ID3D12GraphicsCommandList6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2398,7 +2398,7 @@ pub struct ID3D12GraphicsCommandList7_Vtbl { pub Barrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const D3D12_BARRIER_GROUP), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList8, ID3D12GraphicsCommandList8_Vtbl, 0xee936ef9_599d_4d28_938e_23c4ad05ce51); -impl std::ops::Deref for ID3D12GraphicsCommandList8 { +impl core::ops::Deref for ID3D12GraphicsCommandList8 { type Target = ID3D12GraphicsCommandList7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2418,7 +2418,7 @@ pub struct ID3D12GraphicsCommandList8_Vtbl { pub OMSetFrontAndBackStencilRef: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32), } windows_core::imp::define_interface!(ID3D12GraphicsCommandList9, ID3D12GraphicsCommandList9_Vtbl, 0x34ed2808_ffe6_4c2b_b11a_cabd2b0c59e1); -impl std::ops::Deref for ID3D12GraphicsCommandList9 { +impl core::ops::Deref for ID3D12GraphicsCommandList9 { type Target = ID3D12GraphicsCommandList8; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2442,7 +2442,7 @@ pub struct ID3D12GraphicsCommandList9_Vtbl { pub IASetIndexBufferStripCutValue: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_INDEX_BUFFER_STRIP_CUT_VALUE), } windows_core::imp::define_interface!(ID3D12Heap, ID3D12Heap_Vtbl, 0x6b3b2502_6e51_45b3_90ee_9884265e8df3); -impl std::ops::Deref for ID3D12Heap { +impl core::ops::Deref for ID3D12Heap { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2464,7 +2464,7 @@ pub struct ID3D12Heap_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_HEAP_DESC), } windows_core::imp::define_interface!(ID3D12Heap1, ID3D12Heap1_Vtbl, 0x572f7389_2168_49e3_9693_d6df5871bf6d); -impl std::ops::Deref for ID3D12Heap1 { +impl core::ops::Deref for ID3D12Heap1 { type Target = ID3D12Heap; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2487,7 +2487,7 @@ pub struct ID3D12Heap1_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12InfoQueue, ID3D12InfoQueue_Vtbl, 0x0742a90b_c387_483f_b946_30a7e4e61458); -impl std::ops::Deref for ID3D12InfoQueue { +impl core::ops::Deref for ID3D12InfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2661,7 +2661,7 @@ pub struct ID3D12InfoQueue_Vtbl { pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D12InfoQueue1, ID3D12InfoQueue1_Vtbl, 0x2852dd88_b484_4c0c_b6b1_67168500e600); -impl std::ops::Deref for ID3D12InfoQueue1 { +impl core::ops::Deref for ID3D12InfoQueue1 { type Target = ID3D12InfoQueue; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2685,7 +2685,7 @@ pub struct ID3D12InfoQueue1_Vtbl { pub UnregisterMessageCallback: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12LibraryReflection, ID3D12LibraryReflection_Vtbl, 0x8e349d19_54db_4a56_9dc9_119d87bdb804); -impl std::ops::Deref for ID3D12LibraryReflection { +impl core::ops::Deref for ID3D12LibraryReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2710,7 +2710,7 @@ pub struct ID3D12LibraryReflection_Vtbl { pub GetFunctionByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } windows_core::imp::define_interface!(ID3D12LifetimeOwner, ID3D12LifetimeOwner_Vtbl, 0xe667af9f_cd56_4f46_83ce_032e595d70a8); -impl std::ops::Deref for ID3D12LifetimeOwner { +impl core::ops::Deref for ID3D12LifetimeOwner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2730,7 +2730,7 @@ pub struct ID3D12LifetimeOwner_Vtbl { pub LifetimeStateUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_LIFETIME_STATE), } windows_core::imp::define_interface!(ID3D12LifetimeTracker, ID3D12LifetimeTracker_Vtbl, 0x3fd03d36_4eb1_424a_a582_494ecb8ba813); -impl std::ops::Deref for ID3D12LifetimeTracker { +impl core::ops::Deref for ID3D12LifetimeTracker { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2753,7 +2753,7 @@ pub struct ID3D12LifetimeTracker_Vtbl { pub DestroyOwnedObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12ManualWriteTrackingResource, ID3D12ManualWriteTrackingResource_Vtbl, 0x86ca3b85_49ad_4b6e_aed5_eddb18540f41); -impl std::ops::Deref for ID3D12ManualWriteTrackingResource { +impl core::ops::Deref for ID3D12ManualWriteTrackingResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2773,7 +2773,7 @@ pub struct ID3D12ManualWriteTrackingResource_Vtbl { pub TrackWrite: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const D3D12_RANGE), } windows_core::imp::define_interface!(ID3D12MetaCommand, ID3D12MetaCommand_Vtbl, 0xdbb84c27_36ce_4fc9_b801_f048c46ac570); -impl std::ops::Deref for ID3D12MetaCommand { +impl core::ops::Deref for ID3D12MetaCommand { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2793,7 +2793,7 @@ pub struct ID3D12MetaCommand_Vtbl { pub GetRequiredParameterResourceSize: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_META_COMMAND_PARAMETER_STAGE, u32) -> u64, } windows_core::imp::define_interface!(ID3D12Object, ID3D12Object_Vtbl, 0xc4fec28f_7966_4e95_9f94_f431cb56c3b8); -impl std::ops::Deref for ID3D12Object { +impl core::ops::Deref for ID3D12Object { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2831,7 +2831,7 @@ pub struct ID3D12Object_Vtbl { pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Pageable, ID3D12Pageable_Vtbl, 0x63ee58fb_1268_4835_86da_f008ce62f0d6); -impl std::ops::Deref for ID3D12Pageable { +impl core::ops::Deref for ID3D12Pageable { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2846,7 +2846,7 @@ pub struct ID3D12Pageable_Vtbl { pub base__: ID3D12DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D12PipelineLibrary, ID3D12PipelineLibrary_Vtbl, 0xc64226a8_9201_46af_b4cc_53fb9ff7414f); -impl std::ops::Deref for ID3D12PipelineLibrary { +impl core::ops::Deref for ID3D12PipelineLibrary { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2867,7 +2867,7 @@ impl ID3D12PipelineLibrary { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).LoadGraphicsPipeline)(windows_core::Interface::as_raw(self), pname.param().abi(), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadComputePipeline(&self, pname: P0, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC) -> windows_core::Result @@ -2875,7 +2875,7 @@ impl ID3D12PipelineLibrary { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).LoadComputePipeline)(windows_core::Interface::as_raw(self), pname.param().abi(), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSerializedSize(&self) -> usize { @@ -2900,7 +2900,7 @@ pub struct ID3D12PipelineLibrary_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12PipelineLibrary1, ID3D12PipelineLibrary1_Vtbl, 0x80eabf42_2568_4e5e_bd82_c37f86961dc3); -impl std::ops::Deref for ID3D12PipelineLibrary1 { +impl core::ops::Deref for ID3D12PipelineLibrary1 { type Target = ID3D12PipelineLibrary; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2913,7 +2913,7 @@ impl ID3D12PipelineLibrary1 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).LoadPipeline)(windows_core::Interface::as_raw(self), pname.param().abi(), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2925,7 +2925,7 @@ pub struct ID3D12PipelineLibrary1_Vtbl { pub LoadPipeline: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const D3D12_PIPELINE_STATE_STREAM_DESC, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12PipelineState, ID3D12PipelineState_Vtbl, 0x765a30f3_f624_4c6f_a828_ace948622445); -impl std::ops::Deref for ID3D12PipelineState { +impl core::ops::Deref for ID3D12PipelineState { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2950,7 +2950,7 @@ pub struct ID3D12PipelineState_Vtbl { GetCachedBlob: usize, } windows_core::imp::define_interface!(ID3D12ProtectedResourceSession, ID3D12ProtectedResourceSession_Vtbl, 0x6cd696f4_f289_40cc_8091_5a6c0a099c3d); -impl std::ops::Deref for ID3D12ProtectedResourceSession { +impl core::ops::Deref for ID3D12ProtectedResourceSession { type Target = ID3D12ProtectedSession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2972,7 +2972,7 @@ pub struct ID3D12ProtectedResourceSession_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_PROTECTED_RESOURCE_SESSION_DESC), } windows_core::imp::define_interface!(ID3D12ProtectedResourceSession1, ID3D12ProtectedResourceSession1_Vtbl, 0xd6f12dd6_76fb_406e_8961_4296eefc0409); -impl std::ops::Deref for ID3D12ProtectedResourceSession1 { +impl core::ops::Deref for ID3D12ProtectedResourceSession1 { type Target = ID3D12ProtectedResourceSession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2994,7 +2994,7 @@ pub struct ID3D12ProtectedResourceSession1_Vtbl { pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_PROTECTED_RESOURCE_SESSION_DESC1), } windows_core::imp::define_interface!(ID3D12ProtectedSession, ID3D12ProtectedSession_Vtbl, 0xa1533d18_0ac1_4084_85b9_89a96116806b); -impl std::ops::Deref for ID3D12ProtectedSession { +impl core::ops::Deref for ID3D12ProtectedSession { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3021,7 +3021,7 @@ pub struct ID3D12ProtectedSession_Vtbl { pub GetSessionStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_PROTECTED_SESSION_STATUS, } windows_core::imp::define_interface!(ID3D12QueryHeap, ID3D12QueryHeap_Vtbl, 0x0d9658ae_ed45_469e_a61d_970ec583cab4); -impl std::ops::Deref for ID3D12QueryHeap { +impl core::ops::Deref for ID3D12QueryHeap { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3036,7 +3036,7 @@ pub struct ID3D12QueryHeap_Vtbl { pub base__: ID3D12Pageable_Vtbl, } windows_core::imp::define_interface!(ID3D12Resource, ID3D12Resource_Vtbl, 0x696442be_a72e_4059_bc79_5b5c98040fad); -impl std::ops::Deref for ID3D12Resource { +impl core::ops::Deref for ID3D12Resource { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3086,7 +3086,7 @@ pub struct ID3D12Resource_Vtbl { pub GetHeapProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_HEAP_PROPERTIES, *mut D3D12_HEAP_FLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Resource1, ID3D12Resource1_Vtbl, 0x9d5e227a_4430_4161_88b3_3eca6bb16e19); -impl std::ops::Deref for ID3D12Resource1 { +impl core::ops::Deref for ID3D12Resource1 { type Target = ID3D12Resource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3109,7 +3109,7 @@ pub struct ID3D12Resource1_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Resource2, ID3D12Resource2_Vtbl, 0xbe36ec3b_ea85_4aeb_a45a_e9d76404a495); -impl std::ops::Deref for ID3D12Resource2 { +impl core::ops::Deref for ID3D12Resource2 { type Target = ID3D12Resource1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3135,7 +3135,7 @@ pub struct ID3D12Resource2_Vtbl { GetDesc1: usize, } windows_core::imp::define_interface!(ID3D12RootSignature, ID3D12RootSignature_Vtbl, 0xc54a6b66_72df_4ee8_8be5_a946a1429214); -impl std::ops::Deref for ID3D12RootSignature { +impl core::ops::Deref for ID3D12RootSignature { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3150,7 +3150,7 @@ pub struct ID3D12RootSignature_Vtbl { pub base__: ID3D12DeviceChild_Vtbl, } windows_core::imp::define_interface!(ID3D12RootSignatureDeserializer, ID3D12RootSignatureDeserializer_Vtbl, 0x34ab647b_3cc8_46ac_841b_c0965645c046); -impl std::ops::Deref for ID3D12RootSignatureDeserializer { +impl core::ops::Deref for ID3D12RootSignatureDeserializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3170,7 +3170,7 @@ pub struct ID3D12RootSignatureDeserializer_Vtbl { pub GetRootSignatureDesc: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut D3D12_ROOT_SIGNATURE_DESC, } windows_core::imp::define_interface!(ID3D12SDKConfiguration, ID3D12SDKConfiguration_Vtbl, 0xe9eb5314_33aa_42b2_a718_d77f58b1f1c7); -impl std::ops::Deref for ID3D12SDKConfiguration { +impl core::ops::Deref for ID3D12SDKConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3193,7 +3193,7 @@ pub struct ID3D12SDKConfiguration_Vtbl { pub SetSDKVersion: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12SDKConfiguration1, ID3D12SDKConfiguration1_Vtbl, 0x8aaf9303_ad25_48b9_9a57_d9c37e009d9f); -impl std::ops::Deref for ID3D12SDKConfiguration1 { +impl core::ops::Deref for ID3D12SDKConfiguration1 { type Target = ID3D12SDKConfiguration; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3206,7 +3206,7 @@ impl ID3D12SDKConfiguration1 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateDeviceFactory)(windows_core::Interface::as_raw(self), sdkversion, sdkpath.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FreeUnusedSDKs(&self) { @@ -3222,7 +3222,7 @@ pub struct ID3D12SDKConfiguration1_Vtbl { pub FreeUnusedSDKs: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(ID3D12ShaderCacheSession, ID3D12ShaderCacheSession_Vtbl, 0x28e2495d_0f64_4ae4_a6ec_129255dc49a8); -impl std::ops::Deref for ID3D12ShaderCacheSession { +impl core::ops::Deref for ID3D12ShaderCacheSession { type Target = ID3D12DeviceChild; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3256,7 +3256,7 @@ pub struct ID3D12ShaderCacheSession_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_SHADER_CACHE_SESSION_DESC), } windows_core::imp::define_interface!(ID3D12ShaderReflection, ID3D12ShaderReflection_Vtbl, 0x5a58797d_a72c_478d_8ba2_efc6b0efe88e); -impl std::ops::Deref for ID3D12ShaderReflection { +impl core::ops::Deref for ID3D12ShaderReflection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3509,7 +3509,7 @@ pub struct ID3D12ShaderReflectionVariable_Vtbl { pub GetInterfaceSlot: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } windows_core::imp::define_interface!(ID3D12SharingContract, ID3D12SharingContract_Vtbl, 0x0adf7d52_929c_4e61_addb_ffed30de66ef); -impl std::ops::Deref for ID3D12SharingContract { +impl core::ops::Deref for ID3D12SharingContract { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3548,7 +3548,7 @@ pub struct ID3D12SharingContract_Vtbl { pub EndCapturableWork: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID), } windows_core::imp::define_interface!(ID3D12StateObject, ID3D12StateObject_Vtbl, 0x47016943_fca8_4594_93ea_af258b55346d); -impl std::ops::Deref for ID3D12StateObject { +impl core::ops::Deref for ID3D12StateObject { type Target = ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3563,7 +3563,7 @@ pub struct ID3D12StateObject_Vtbl { pub base__: ID3D12Pageable_Vtbl, } windows_core::imp::define_interface!(ID3D12StateObjectProperties, ID3D12StateObjectProperties_Vtbl, 0xde5fa827_9bf9_4f26_89ff_d7f56fde3860); -impl std::ops::Deref for ID3D12StateObjectProperties { +impl core::ops::Deref for ID3D12StateObjectProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3601,7 +3601,7 @@ pub struct ID3D12StateObjectProperties_Vtbl { pub SetPipelineStackSize: unsafe extern "system" fn(*mut core::ffi::c_void, u64), } windows_core::imp::define_interface!(ID3D12SwapChainAssistant, ID3D12SwapChainAssistant_Vtbl, 0xf1df64b6_57fd_49cd_8807_c0eb88b45c8f); -impl std::ops::Deref for ID3D12SwapChainAssistant { +impl core::ops::Deref for ID3D12SwapChainAssistant { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3618,14 +3618,14 @@ impl ID3D12SwapChainAssistant { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetSwapChainObject)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentResourceAndCommandQueue(&self, riidresource: *const windows_core::GUID, ppvresource: *mut *mut core::ffi::c_void) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCurrentResourceAndCommandQueue)(windows_core::Interface::as_raw(self), riidresource, ppvresource, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertImplicitSync(&self) -> windows_core::Result<()> { @@ -3643,7 +3643,7 @@ pub struct ID3D12SwapChainAssistant_Vtbl { pub InsertImplicitSync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12Tools, ID3D12Tools_Vtbl, 0x7071e1f0_e84b_4b33_974f_12fa49de65c5); -impl std::ops::Deref for ID3D12Tools { +impl core::ops::Deref for ID3D12Tools { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3670,7 +3670,7 @@ pub struct ID3D12Tools_Vtbl { pub ShaderInstrumentationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(ID3D12VersionedRootSignatureDeserializer, ID3D12VersionedRootSignatureDeserializer_Vtbl, 0x7f91ce67_090c_4bb7_b78e_ed8ff2e31da0); -impl std::ops::Deref for ID3D12VersionedRootSignatureDeserializer { +impl core::ops::Deref for ID3D12VersionedRootSignatureDeserializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3695,7 +3695,7 @@ pub struct ID3D12VersionedRootSignatureDeserializer_Vtbl { pub GetUnconvertedRootSignatureDesc: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC, } windows_core::imp::define_interface!(ID3D12VirtualizationGuestDevice, ID3D12VirtualizationGuestDevice_Vtbl, 0xbc66d368_7373_4943_8757_fc87dc79e476); -impl std::ops::Deref for ID3D12VirtualizationGuestDevice { +impl core::ops::Deref for ID3D12VirtualizationGuestDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs index 5f0ce6dbe9..d2f225df60 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -54,7 +54,7 @@ pub unsafe fn Direct3DCreate9Ex(sdkversion: u32) -> windows_core::Result &Self::Target { unsafe { core::mem::transmute(self) } @@ -137,7 +137,7 @@ pub struct IDirect3D9_Vtbl { pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, u32, D3DDEVTYPE, super::super::Foundation::HWND, u32, *mut D3DPRESENT_PARAMETERS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3D9Ex, IDirect3D9Ex_Vtbl, 0x02177241_69fc_400c_8ff1_93a44df6861d); -impl std::ops::Deref for IDirect3D9Ex { +impl core::ops::Deref for IDirect3D9Ex { type Target = IDirect3D9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -174,7 +174,7 @@ pub struct IDirect3D9Ex_Vtbl { pub GetAdapterLUID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::LUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DBaseTexture9, IDirect3DBaseTexture9_Vtbl, 0x580ca87e_1d3c_4d54_991d_b7d3e3c298ce); -impl std::ops::Deref for IDirect3DBaseTexture9 { +impl core::ops::Deref for IDirect3DBaseTexture9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -212,7 +212,7 @@ pub struct IDirect3DBaseTexture9_Vtbl { pub GenerateMipSubLevels: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IDirect3DCubeTexture9, IDirect3DCubeTexture9_Vtbl, 0xfff32f81_d953_473a_9223_93d652aba93f); -impl std::ops::Deref for IDirect3DCubeTexture9 { +impl core::ops::Deref for IDirect3DCubeTexture9 { type Target = IDirect3DBaseTexture9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -247,7 +247,7 @@ pub struct IDirect3DCubeTexture9_Vtbl { pub AddDirtyRect: unsafe extern "system" fn(*mut core::ffi::c_void, D3DCUBEMAP_FACES, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DDevice9, IDirect3DDevice9_Vtbl, 0xd0223b96_bf7a_43fd_92bd_a43b0d82b9eb); -impl std::ops::Deref for IDirect3DDevice9 { +impl core::ops::Deref for IDirect3DDevice9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -847,7 +847,7 @@ pub struct IDirect3DDevice9_Vtbl { pub CreateQuery: unsafe extern "system" fn(*mut core::ffi::c_void, D3DQUERYTYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DDevice9Ex, IDirect3DDevice9Ex_Vtbl, 0xb18b10ce_2649_405a_870f_95f777d4313a); -impl std::ops::Deref for IDirect3DDevice9Ex { +impl core::ops::Deref for IDirect3DDevice9Ex { type Target = IDirect3DDevice9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -943,7 +943,7 @@ pub struct IDirect3DDevice9Ex_Vtbl { pub GetDisplayModeEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3DDISPLAYMODEEX, *mut D3DDISPLAYROTATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DIndexBuffer9, IDirect3DIndexBuffer9_Vtbl, 0x7c9dd65e_d3f7_4529_acee_785830acde35); -impl std::ops::Deref for IDirect3DIndexBuffer9 { +impl core::ops::Deref for IDirect3DIndexBuffer9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -969,7 +969,7 @@ pub struct IDirect3DIndexBuffer9_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DINDEXBUFFER_DESC) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DPixelShader9, IDirect3DPixelShader9_Vtbl, 0x6d3bdbdc_5b02_4415_b852_ce5e8bccb289); -impl std::ops::Deref for IDirect3DPixelShader9 { +impl core::ops::Deref for IDirect3DPixelShader9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -992,7 +992,7 @@ pub struct IDirect3DPixelShader9_Vtbl { pub GetFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DQuery9, IDirect3DQuery9_Vtbl, 0xd9771460_a695_4f26_bbd3_27b840b541cc); -impl std::ops::Deref for IDirect3DQuery9 { +impl core::ops::Deref for IDirect3DQuery9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1027,7 +1027,7 @@ pub struct IDirect3DQuery9_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DResource9, IDirect3DResource9_Vtbl, 0x05eec05d_8f7d_4362_b999_d1baf357c704); -impl std::ops::Deref for IDirect3DResource9 { +impl core::ops::Deref for IDirect3DResource9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1074,7 +1074,7 @@ pub struct IDirect3DResource9_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3DRESOURCETYPE, } windows_core::imp::define_interface!(IDirect3DStateBlock9, IDirect3DStateBlock9_Vtbl, 0xb07c4fe5_310d_4ba8_a23c_4f0f206f218b); -impl std::ops::Deref for IDirect3DStateBlock9 { +impl core::ops::Deref for IDirect3DStateBlock9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1101,7 +1101,7 @@ pub struct IDirect3DStateBlock9_Vtbl { pub Apply: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DSurface9, IDirect3DSurface9_Vtbl, 0x0cfbaf3a_9ff6_429a_99b3_a2796af8b89b); -impl std::ops::Deref for IDirect3DSurface9 { +impl core::ops::Deref for IDirect3DSurface9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1150,7 +1150,7 @@ pub struct IDirect3DSurface9_Vtbl { ReleaseDC: usize, } windows_core::imp::define_interface!(IDirect3DSwapChain9, IDirect3DSwapChain9_Vtbl, 0x794950f2_adfc_458a_905e_10a10b0b503b); -impl std::ops::Deref for IDirect3DSwapChain9 { +impl core::ops::Deref for IDirect3DSwapChain9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1204,7 +1204,7 @@ pub struct IDirect3DSwapChain9_Vtbl { pub GetPresentParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DPRESENT_PARAMETERS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DSwapChain9Ex, IDirect3DSwapChain9Ex_Vtbl, 0x91886caf_1c3d_4d2e_a0ab_3e4c7d8d3303); -impl std::ops::Deref for IDirect3DSwapChain9Ex { +impl core::ops::Deref for IDirect3DSwapChain9Ex { type Target = IDirect3DSwapChain9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1230,7 +1230,7 @@ pub struct IDirect3DSwapChain9Ex_Vtbl { pub GetDisplayModeEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DDISPLAYMODEEX, *mut D3DDISPLAYROTATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DTexture9, IDirect3DTexture9_Vtbl, 0x85c31227_3de5_4f00_9b3a_f11ac38c18b5); -impl std::ops::Deref for IDirect3DTexture9 { +impl core::ops::Deref for IDirect3DTexture9 { type Target = IDirect3DBaseTexture9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1265,7 +1265,7 @@ pub struct IDirect3DTexture9_Vtbl { pub AddDirtyRect: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DVertexBuffer9, IDirect3DVertexBuffer9_Vtbl, 0xb64bb1b5_fd70_4df6_bf91_19d0a12455e3); -impl std::ops::Deref for IDirect3DVertexBuffer9 { +impl core::ops::Deref for IDirect3DVertexBuffer9 { type Target = IDirect3DResource9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1291,7 +1291,7 @@ pub struct IDirect3DVertexBuffer9_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DVERTEXBUFFER_DESC) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DVertexDeclaration9, IDirect3DVertexDeclaration9_Vtbl, 0xdd13c59c_36fa_4098_a8fb_c7ed39dc8546); -impl std::ops::Deref for IDirect3DVertexDeclaration9 { +impl core::ops::Deref for IDirect3DVertexDeclaration9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1314,7 +1314,7 @@ pub struct IDirect3DVertexDeclaration9_Vtbl { pub GetDeclaration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DVERTEXELEMENT9, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DVertexShader9, IDirect3DVertexShader9_Vtbl, 0xefc5557e_6265_4613_8a94_43857889eb36); -impl std::ops::Deref for IDirect3DVertexShader9 { +impl core::ops::Deref for IDirect3DVertexShader9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1337,7 +1337,7 @@ pub struct IDirect3DVertexShader9_Vtbl { pub GetFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DVolume9, IDirect3DVolume9_Vtbl, 0x24f416e6_1f67_4aa7_b88e_d33f6f3128a1); -impl std::ops::Deref for IDirect3DVolume9 { +impl core::ops::Deref for IDirect3DVolume9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1384,7 +1384,7 @@ pub struct IDirect3DVolume9_Vtbl { pub UnlockBox: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DVolumeTexture9, IDirect3DVolumeTexture9_Vtbl, 0x2518526c_e789_4111_a7b9_47ef328d13e6); -impl std::ops::Deref for IDirect3DVolumeTexture9 { +impl core::ops::Deref for IDirect3DVolumeTexture9 { type Target = IDirect3DBaseTexture9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs index 4925c44060..47a78e9af0 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs @@ -11,7 +11,7 @@ pub unsafe fn Direct3DCreate9On12Ex(sdkversion: u32, poverridelist: *mut D3D9ON1 Direct3DCreate9On12Ex(sdkversion, poverridelist, numoverrideentries, core::mem::transmute(ppoutputinterface)).ok() } windows_core::imp::define_interface!(IDirect3DDevice9On12, IDirect3DDevice9On12_Vtbl, 0xe7fda234_b589_4049_940d_8878977531c8); -impl std::ops::Deref for IDirect3DDevice9On12 { +impl core::ops::Deref for IDirect3DDevice9On12 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs index 359f7ac734..9e0f070ac3 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -34,7 +34,7 @@ where T: windows_core::Interface, { windows_targets::link!("dcomp.dll" "system" fn DCompositionCreateDevice(dxgidevice : * mut core::ffi::c_void, iid : *const windows_core::GUID, dcompositiondevice : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DCompositionCreateDevice(dxgidevice.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -44,7 +44,7 @@ where T: windows_core::Interface, { windows_targets::link!("dcomp.dll" "system" fn DCompositionCreateDevice2(renderingdevice : * mut core::ffi::c_void, iid : *const windows_core::GUID, dcompositiondevice : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DCompositionCreateDevice2(renderingdevice.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -54,7 +54,7 @@ where T: windows_core::Interface, { windows_targets::link!("dcomp.dll" "system" fn DCompositionCreateDevice3(renderingdevice : * mut core::ffi::c_void, iid : *const windows_core::GUID, dcompositiondevice : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DCompositionCreateDevice3(renderingdevice.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Security")] @@ -86,7 +86,7 @@ pub unsafe fn DCompositionWaitForCompositorClock(handles: Option<&[super::super: DCompositionWaitForCompositorClock(handles.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(handles.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), timeoutinms) } windows_core::imp::define_interface!(IDCompositionAffineTransform2DEffect, IDCompositionAffineTransform2DEffect_Vtbl, 0x0b74b9e8_cdd6_492f_bbbc_5ed32157026d); -impl std::ops::Deref for IDCompositionAffineTransform2DEffect { +impl core::ops::Deref for IDCompositionAffineTransform2DEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -146,7 +146,7 @@ pub struct IDCompositionAffineTransform2DEffect_Vtbl { pub SetSharpness2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionAnimation, IDCompositionAnimation_Vtbl, 0xcbfd91d9_51b2_45e4_b3de_d19ccfb863c5); -impl std::ops::Deref for IDCompositionAnimation { +impl core::ops::Deref for IDCompositionAnimation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -184,7 +184,7 @@ pub struct IDCompositionAnimation_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionArithmeticCompositeEffect, IDCompositionArithmeticCompositeEffect_Vtbl, 0x3b67dfa8_e3dd_4e61_b640_46c2f3d739dc); -impl std::ops::Deref for IDCompositionArithmeticCompositeEffect { +impl core::ops::Deref for IDCompositionArithmeticCompositeEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -257,7 +257,7 @@ pub struct IDCompositionArithmeticCompositeEffect_Vtbl { pub SetCoefficient42: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionBlendEffect, IDCompositionBlendEffect_Vtbl, 0x33ecdc0a_578a_4a11_9c14_0cb90517f9c5); -impl std::ops::Deref for IDCompositionBlendEffect { +impl core::ops::Deref for IDCompositionBlendEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -279,7 +279,7 @@ pub struct IDCompositionBlendEffect_Vtbl { SetMode: usize, } windows_core::imp::define_interface!(IDCompositionBrightnessEffect, IDCompositionBrightnessEffect_Vtbl, 0x6027496e_cb3a_49ab_934f_d798da4f7da6); -impl std::ops::Deref for IDCompositionBrightnessEffect { +impl core::ops::Deref for IDCompositionBrightnessEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -353,7 +353,7 @@ pub struct IDCompositionBrightnessEffect_Vtbl { pub SetBlackPointY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionClip, IDCompositionClip_Vtbl, 0x64ac3703_9d3f_45ec_a109_7cac0e7a13a7); -impl std::ops::Deref for IDCompositionClip { +impl core::ops::Deref for IDCompositionClip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -366,7 +366,7 @@ pub struct IDCompositionClip_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IDCompositionColorMatrixEffect, IDCompositionColorMatrixEffect_Vtbl, 0xc1170a22_3ce2_4966_90d4_55408bfc84c4); -impl std::ops::Deref for IDCompositionColorMatrixEffect { +impl core::ops::Deref for IDCompositionColorMatrixEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -414,7 +414,7 @@ pub struct IDCompositionColorMatrixEffect_Vtbl { pub SetClampOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionCompositeEffect, IDCompositionCompositeEffect_Vtbl, 0x576616c0_a231_494d_a38d_00fd5ec4db46); -impl std::ops::Deref for IDCompositionCompositeEffect { +impl core::ops::Deref for IDCompositionCompositeEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -436,7 +436,7 @@ pub struct IDCompositionCompositeEffect_Vtbl { SetMode: usize, } windows_core::imp::define_interface!(IDCompositionDelegatedInkTrail, IDCompositionDelegatedInkTrail_Vtbl, 0xc2448e9b_547d_4057_8cf5_8144ede1c2da); -impl std::ops::Deref for IDCompositionDelegatedInkTrail { +impl core::ops::Deref for IDCompositionDelegatedInkTrail { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -472,7 +472,7 @@ pub struct IDCompositionDelegatedInkTrail_Vtbl { StartNewTrail: usize, } windows_core::imp::define_interface!(IDCompositionDesktopDevice, IDCompositionDesktopDevice_Vtbl, 0x5f4633fe_1e08_4cb8_8c75_ce24333f5602); -impl std::ops::Deref for IDCompositionDesktopDevice { +impl core::ops::Deref for IDCompositionDesktopDevice { type Target = IDCompositionDevice2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -511,7 +511,7 @@ pub struct IDCompositionDesktopDevice_Vtbl { pub CreateSurfaceFromHwnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionDevice, IDCompositionDevice_Vtbl, 0xc37ea93a_e7aa_450d_b16f_9746cb0407f3); -impl std::ops::Deref for IDCompositionDevice { +impl core::ops::Deref for IDCompositionDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -664,7 +664,7 @@ pub struct IDCompositionDevice_Vtbl { pub CheckDeviceState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionDevice2, IDCompositionDevice2_Vtbl, 0x75f6468d_1b8e_447c_9bc6_75fea80b5b25); -impl std::ops::Deref for IDCompositionDevice2 { +impl core::ops::Deref for IDCompositionDevice2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -795,7 +795,7 @@ pub struct IDCompositionDevice2_Vtbl { pub CreateAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionDevice3, IDCompositionDevice3_Vtbl, 0x0987cb06_f916_48bf_8d35_ce7641781bd9); -impl std::ops::Deref for IDCompositionDevice3 { +impl core::ops::Deref for IDCompositionDevice3 { type Target = IDCompositionDevice2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -874,7 +874,7 @@ pub struct IDCompositionDevice3_Vtbl { pub CreateAffineTransform2DEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionDevice4, IDCompositionDevice4_Vtbl, 0x85fc5cca_2da6_494c_86b6_4a775c049b8a); -impl std::ops::Deref for IDCompositionDevice4 { +impl core::ops::Deref for IDCompositionDevice4 { type Target = IDCompositionDevice3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -904,7 +904,7 @@ pub struct IDCompositionDevice4_Vtbl { pub CreateCompositionTexture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionDeviceDebug, IDCompositionDeviceDebug_Vtbl, 0xa1a3c64a_224f_4a81_9773_4f03a89d3c6c); -impl std::ops::Deref for IDCompositionDeviceDebug { +impl core::ops::Deref for IDCompositionDeviceDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -926,7 +926,7 @@ pub struct IDCompositionDeviceDebug_Vtbl { pub DisableDebugCounters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionEffect, IDCompositionEffect_Vtbl, 0xec81b08f_bfcb_4e8d_b193_a915587999e8); -impl std::ops::Deref for IDCompositionEffect { +impl core::ops::Deref for IDCompositionEffect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -939,7 +939,7 @@ pub struct IDCompositionEffect_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IDCompositionEffectGroup, IDCompositionEffectGroup_Vtbl, 0xa7929a74_e6b2_4bd6_8b95_4040119ca34d); -impl std::ops::Deref for IDCompositionEffectGroup { +impl core::ops::Deref for IDCompositionEffectGroup { type Target = IDCompositionEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -971,7 +971,7 @@ pub struct IDCompositionEffectGroup_Vtbl { pub SetTransform3D: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionFilterEffect, IDCompositionFilterEffect_Vtbl, 0x30c421d5_8cb2_4e9f_b133_37be270d4ac2); -impl std::ops::Deref for IDCompositionFilterEffect { +impl core::ops::Deref for IDCompositionFilterEffect { type Target = IDCompositionEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -992,7 +992,7 @@ pub struct IDCompositionFilterEffect_Vtbl { pub SetInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionGaussianBlurEffect, IDCompositionGaussianBlurEffect_Vtbl, 0x45d4d0b7_1bd4_454e_8894_2bfa68443033); -impl std::ops::Deref for IDCompositionGaussianBlurEffect { +impl core::ops::Deref for IDCompositionGaussianBlurEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1025,7 +1025,7 @@ pub struct IDCompositionGaussianBlurEffect_Vtbl { SetBorderMode: usize, } windows_core::imp::define_interface!(IDCompositionHueRotationEffect, IDCompositionHueRotationEffect_Vtbl, 0x6db9f920_0770_4781_b0c6_381912f9d167); -impl std::ops::Deref for IDCompositionHueRotationEffect { +impl core::ops::Deref for IDCompositionHueRotationEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1050,7 +1050,7 @@ pub struct IDCompositionHueRotationEffect_Vtbl { pub SetAngle2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionInkTrailDevice, IDCompositionInkTrailDevice_Vtbl, 0xdf0c7cec_cdeb_4d4a_b91c_721bf22f4e6c); -impl std::ops::Deref for IDCompositionInkTrailDevice { +impl core::ops::Deref for IDCompositionInkTrailDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1077,7 +1077,7 @@ pub struct IDCompositionInkTrailDevice_Vtbl { pub CreateDelegatedInkTrailForSwapChain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionLinearTransferEffect, IDCompositionLinearTransferEffect_Vtbl, 0x4305ee5b_c4a0_4c88_9385_67124e017683); -impl std::ops::Deref for IDCompositionLinearTransferEffect { +impl core::ops::Deref for IDCompositionLinearTransferEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1214,7 +1214,7 @@ pub struct IDCompositionLinearTransferEffect_Vtbl { pub SetClampOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionMatrixTransform, IDCompositionMatrixTransform_Vtbl, 0x16cdff07_c503_419c_83f2_0965c7af1fa6); -impl std::ops::Deref for IDCompositionMatrixTransform { +impl core::ops::Deref for IDCompositionMatrixTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1247,7 +1247,7 @@ pub struct IDCompositionMatrixTransform_Vtbl { pub SetMatrixElement2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionMatrixTransform3D, IDCompositionMatrixTransform3D_Vtbl, 0x4b3363f0_643b_41b7_b6e0_ccf22d34467c); -impl std::ops::Deref for IDCompositionMatrixTransform3D { +impl core::ops::Deref for IDCompositionMatrixTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1280,7 +1280,7 @@ pub struct IDCompositionMatrixTransform3D_Vtbl { pub SetMatrixElement2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionRectangleClip, IDCompositionRectangleClip_Vtbl, 0x9842ad7d_d9cf_4908_aed7_48b51da5e7c2); -impl std::ops::Deref for IDCompositionRectangleClip { +impl core::ops::Deref for IDCompositionRectangleClip { type Target = IDCompositionClip; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1426,7 +1426,7 @@ pub struct IDCompositionRectangleClip_Vtbl { pub SetBottomRightRadiusY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionRotateTransform, IDCompositionRotateTransform_Vtbl, 0x641ed83c_ae96_46c5_90dc_32774cc5c6d5); -impl std::ops::Deref for IDCompositionRotateTransform { +impl core::ops::Deref for IDCompositionRotateTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1473,7 +1473,7 @@ pub struct IDCompositionRotateTransform_Vtbl { pub SetCenterY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionRotateTransform3D, IDCompositionRotateTransform3D_Vtbl, 0xd8f5b23f_d429_4a91_b55a_d2f45fd75b18); -impl std::ops::Deref for IDCompositionRotateTransform3D { +impl core::ops::Deref for IDCompositionRotateTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1564,7 +1564,7 @@ pub struct IDCompositionRotateTransform3D_Vtbl { pub SetCenterZ2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionSaturationEffect, IDCompositionSaturationEffect_Vtbl, 0xa08debda_3258_4fa4_9f16_9174d3fe93b1); -impl std::ops::Deref for IDCompositionSaturationEffect { +impl core::ops::Deref for IDCompositionSaturationEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1589,7 +1589,7 @@ pub struct IDCompositionSaturationEffect_Vtbl { pub SetSaturation2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionScaleTransform, IDCompositionScaleTransform_Vtbl, 0x71fde914_40ef_45ef_bd51_68b037c339f9); -impl std::ops::Deref for IDCompositionScaleTransform { +impl core::ops::Deref for IDCompositionScaleTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1647,7 +1647,7 @@ pub struct IDCompositionScaleTransform_Vtbl { pub SetCenterY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionScaleTransform3D, IDCompositionScaleTransform3D_Vtbl, 0x2a9e9ead_364b_4b15_a7c4_a1997f78b389); -impl std::ops::Deref for IDCompositionScaleTransform3D { +impl core::ops::Deref for IDCompositionScaleTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1727,7 +1727,7 @@ pub struct IDCompositionScaleTransform3D_Vtbl { pub SetCenterZ2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionShadowEffect, IDCompositionShadowEffect_Vtbl, 0x4ad18ac0_cfd2_4c2f_bb62_96e54fdb6879); -impl std::ops::Deref for IDCompositionShadowEffect { +impl core::ops::Deref for IDCompositionShadowEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1804,7 +1804,7 @@ pub struct IDCompositionShadowEffect_Vtbl { pub SetAlpha2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionSkewTransform, IDCompositionSkewTransform_Vtbl, 0xe57aa735_dcdb_4c72_9c61_0591f58889ee); -impl std::ops::Deref for IDCompositionSkewTransform { +impl core::ops::Deref for IDCompositionSkewTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1862,7 +1862,7 @@ pub struct IDCompositionSkewTransform_Vtbl { pub SetCenterY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionSurface, IDCompositionSurface_Vtbl, 0xbb8a4953_2c99_4f5a_96f5_4819027fa3ac); -impl std::ops::Deref for IDCompositionSurface { +impl core::ops::Deref for IDCompositionSurface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1874,7 +1874,7 @@ impl IDCompositionSurface { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BeginDraw)(windows_core::Interface::as_raw(self), core::mem::transmute(updaterect.unwrap_or(std::ptr::null())), &T::IID, &mut result__, updateoffset).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndDraw(&self) -> windows_core::Result<()> { @@ -1900,7 +1900,7 @@ pub struct IDCompositionSurface_Vtbl { pub Scroll: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *const super::super::Foundation::RECT, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionSurfaceFactory, IDCompositionSurfaceFactory_Vtbl, 0xe334bc12_3937_4e02_85eb_fcf4eb30d2c8); -impl std::ops::Deref for IDCompositionSurfaceFactory { +impl core::ops::Deref for IDCompositionSurfaceFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1932,7 +1932,7 @@ pub struct IDCompositionSurfaceFactory_Vtbl { CreateVirtualSurface: usize, } windows_core::imp::define_interface!(IDCompositionTableTransferEffect, IDCompositionTableTransferEffect_Vtbl, 0x9b7e82e2_69c5_4eb4_a5f5_a7033f5132cd); -impl std::ops::Deref for IDCompositionTableTransferEffect { +impl core::ops::Deref for IDCompositionTableTransferEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2041,7 +2041,7 @@ pub struct IDCompositionTableTransferEffect_Vtbl { pub SetAlphaTableValue2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionTarget, IDCompositionTarget_Vtbl, 0xeacdd04c_117e_4e17_88f4_d1b12b0e3d89); -impl std::ops::Deref for IDCompositionTarget { +impl core::ops::Deref for IDCompositionTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2062,7 +2062,7 @@ pub struct IDCompositionTarget_Vtbl { pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionTexture, IDCompositionTexture_Vtbl, 0x929bb1aa_725f_433b_abd7_273075a835f2); -impl std::ops::Deref for IDCompositionTexture { +impl core::ops::Deref for IDCompositionTexture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2104,7 +2104,7 @@ pub struct IDCompositionTexture_Vtbl { pub GetAvailableFence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionTransform, IDCompositionTransform_Vtbl, 0xfd55faa7_37e0_4c20_95d2_9be45bc33f55); -impl std::ops::Deref for IDCompositionTransform { +impl core::ops::Deref for IDCompositionTransform { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2117,7 +2117,7 @@ pub struct IDCompositionTransform_Vtbl { pub base__: IDCompositionTransform3D_Vtbl, } windows_core::imp::define_interface!(IDCompositionTransform3D, IDCompositionTransform3D_Vtbl, 0x71185722_246b_41f2_aad1_0443f7f4bfc2); -impl std::ops::Deref for IDCompositionTransform3D { +impl core::ops::Deref for IDCompositionTransform3D { type Target = IDCompositionEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2130,7 +2130,7 @@ pub struct IDCompositionTransform3D_Vtbl { pub base__: IDCompositionEffect_Vtbl, } windows_core::imp::define_interface!(IDCompositionTranslateTransform, IDCompositionTranslateTransform_Vtbl, 0x06791122_c6f0_417d_8323_269e987f5954); -impl std::ops::Deref for IDCompositionTranslateTransform { +impl core::ops::Deref for IDCompositionTranslateTransform { type Target = IDCompositionTransform; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2166,7 +2166,7 @@ pub struct IDCompositionTranslateTransform_Vtbl { pub SetOffsetY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionTranslateTransform3D, IDCompositionTranslateTransform3D_Vtbl, 0x91636d4b_9ba1_4532_aaf7_e3344994d788); -impl std::ops::Deref for IDCompositionTranslateTransform3D { +impl core::ops::Deref for IDCompositionTranslateTransform3D { type Target = IDCompositionTransform3D; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2213,7 +2213,7 @@ pub struct IDCompositionTranslateTransform3D_Vtbl { pub SetOffsetZ2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionTurbulenceEffect, IDCompositionTurbulenceEffect_Vtbl, 0xa6a55bda_c09c_49f3_9193_a41922c89715); -impl std::ops::Deref for IDCompositionTurbulenceEffect { +impl core::ops::Deref for IDCompositionTurbulenceEffect { type Target = IDCompositionFilterEffect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2274,7 +2274,7 @@ pub struct IDCompositionTurbulenceEffect_Vtbl { pub SetStitchable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionVirtualSurface, IDCompositionVirtualSurface_Vtbl, 0xae471c51_5f53_4a24_8d3e_d0c39c30b3f0); -impl std::ops::Deref for IDCompositionVirtualSurface { +impl core::ops::Deref for IDCompositionVirtualSurface { type Target = IDCompositionSurface; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2296,7 +2296,7 @@ pub struct IDCompositionVirtualSurface_Vtbl { pub Trim: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionVisual, IDCompositionVisual_Vtbl, 0x4d93059d_097b_4651_9a60_f0f25116e2f3); -impl std::ops::Deref for IDCompositionVisual { +impl core::ops::Deref for IDCompositionVisual { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2415,7 +2415,7 @@ pub struct IDCompositionVisual_Vtbl { pub SetCompositeMode: unsafe extern "system" fn(*mut core::ffi::c_void, DCOMPOSITION_COMPOSITE_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionVisual2, IDCompositionVisual2_Vtbl, 0xe8de1639_4331_4b26_bc5f_6a321d347a85); -impl std::ops::Deref for IDCompositionVisual2 { +impl core::ops::Deref for IDCompositionVisual2 { type Target = IDCompositionVisual; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2437,7 +2437,7 @@ pub struct IDCompositionVisual2_Vtbl { pub SetBackFaceVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, DCOMPOSITION_BACKFACE_VISIBILITY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionVisual3, IDCompositionVisual3_Vtbl, 0x2775f462_b6c1_4015_b0be_b3e7d6a4976d); -impl std::ops::Deref for IDCompositionVisual3 { +impl core::ops::Deref for IDCompositionVisual3 { type Target = IDCompositionVisualDebug; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2499,7 +2499,7 @@ pub struct IDCompositionVisual3_Vtbl { pub SetVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCompositionVisualDebug, IDCompositionVisualDebug_Vtbl, 0xfed2b808_5eb4_43a0_aea3_35f65280f91b); -impl std::ops::Deref for IDCompositionVisualDebug { +impl core::ops::Deref for IDCompositionVisualDebug { type Target = IDCompositionVisual2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs index 255ef95513..d0d63bb2aa 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -45,7 +45,7 @@ pub unsafe fn DirectDrawEnumerateW(lpcallback: LPDDENUMCALLBACKW, lpcontext: *mu DirectDrawEnumerateW(lpcallback, lpcontext).ok() } windows_core::imp::define_interface!(IDDVideoPortContainer, IDDVideoPortContainer_Vtbl, 0x6c142760_a733_11ce_a521_0020af0be560); -impl std::ops::Deref for IDDVideoPortContainer { +impl core::ops::Deref for IDDVideoPortContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -78,7 +78,7 @@ pub struct IDDVideoPortContainer_Vtbl { pub QueryVideoPortStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DDVIDEOPORTSTATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDraw, IDirectDraw_Vtbl, 0x6c14db80_a733_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectDraw { +impl core::ops::Deref for IDirectDraw { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -196,7 +196,7 @@ pub struct IDirectDraw_Vtbl { pub WaitForVerticalBlank: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDraw2, IDirectDraw2_Vtbl, 0xb3a6f3e0_2b43_11cf_a2de_00aa00b93356); -impl std::ops::Deref for IDirectDraw2 { +impl core::ops::Deref for IDirectDraw2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -318,7 +318,7 @@ pub struct IDirectDraw2_Vtbl { pub GetAvailableVidMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDSCAPS, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDraw4, IDirectDraw4_Vtbl, 0x9c59509a_39bd_11d1_8c4a_00c04fd930c5); -impl std::ops::Deref for IDirectDraw4 { +impl core::ops::Deref for IDirectDraw4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -464,7 +464,7 @@ pub struct IDirectDraw4_Vtbl { pub GetDeviceIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDDEVICEIDENTIFIER, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDraw7, IDirectDraw7_Vtbl, 0x15e65ec0_3b9c_11d2_b92f_00609797ea5b); -impl std::ops::Deref for IDirectDraw7 { +impl core::ops::Deref for IDirectDraw7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -618,7 +618,7 @@ pub struct IDirectDraw7_Vtbl { pub EvaluateMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawClipper, IDirectDrawClipper_Vtbl, 0x6c14db85_a733_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectDrawClipper { +impl core::ops::Deref for IDirectDrawClipper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -670,7 +670,7 @@ pub struct IDirectDrawClipper_Vtbl { pub SetHWnd: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawColorControl, IDirectDrawColorControl_Vtbl, 0x4b9f0ee0_0d7e_11d0_9b06_00a0c903a3b8); -impl std::ops::Deref for IDirectDrawColorControl { +impl core::ops::Deref for IDirectDrawColorControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -692,7 +692,7 @@ pub struct IDirectDrawColorControl_Vtbl { pub SetColorControls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDCOLORCONTROL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawGammaControl, IDirectDrawGammaControl_Vtbl, 0x69c11c3e_b46b_11d1_ad7a_00c04fc29b4e); -impl std::ops::Deref for IDirectDrawGammaControl { +impl core::ops::Deref for IDirectDrawGammaControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -714,7 +714,7 @@ pub struct IDirectDrawGammaControl_Vtbl { pub SetGammaRamp: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DDGAMMARAMP) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawKernel, IDirectDrawKernel_Vtbl, 0x8d56c120_6a08_11d0_9b06_00a0c903a3b8); -impl std::ops::Deref for IDirectDrawKernel { +impl core::ops::Deref for IDirectDrawKernel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -740,7 +740,7 @@ pub struct IDirectDrawKernel_Vtbl { pub ReleaseKernelHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawPalette, IDirectDrawPalette_Vtbl, 0x6c14db84_a733_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectDrawPalette { +impl core::ops::Deref for IDirectDrawPalette { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -785,7 +785,7 @@ pub struct IDirectDrawPalette_Vtbl { SetEntries: usize, } windows_core::imp::define_interface!(IDirectDrawSurface, IDirectDrawSurface_Vtbl, 0x6c14db81_a733_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectDrawSurface { +impl core::ops::Deref for IDirectDrawSurface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -977,7 +977,7 @@ pub struct IDirectDrawSurface_Vtbl { pub UpdateOverlayZOrder: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawSurface2, IDirectDrawSurface2_Vtbl, 0x57805885_6eec_11cf_9441_a82303c10e27); -impl std::ops::Deref for IDirectDrawSurface2 { +impl core::ops::Deref for IDirectDrawSurface2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1181,7 +1181,7 @@ pub struct IDirectDrawSurface2_Vtbl { pub PageUnlock: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawSurface3, IDirectDrawSurface3_Vtbl, 0xda044e00_69b2_11d0_a1d5_00aa00b8dfbb); -impl std::ops::Deref for IDirectDrawSurface3 { +impl core::ops::Deref for IDirectDrawSurface3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1389,7 +1389,7 @@ pub struct IDirectDrawSurface3_Vtbl { pub SetSurfaceDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDSURFACEDESC, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawSurface4, IDirectDrawSurface4_Vtbl, 0x0b2b8630_ad35_11d0_8ea6_00609797ea5b); -impl std::ops::Deref for IDirectDrawSurface4 { +impl core::ops::Deref for IDirectDrawSurface4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1617,7 +1617,7 @@ pub struct IDirectDrawSurface4_Vtbl { pub ChangeUniquenessValue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawSurface7, IDirectDrawSurface7_Vtbl, 0x06675a80_3b9b_11d2_b92f_00609797ea5b); -impl std::ops::Deref for IDirectDrawSurface7 { +impl core::ops::Deref for IDirectDrawSurface7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1861,7 +1861,7 @@ pub struct IDirectDrawSurface7_Vtbl { pub GetLOD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawSurfaceKernel, IDirectDrawSurfaceKernel_Vtbl, 0x60755da0_6a40_11d0_9b06_00a0c903a3b8); -impl std::ops::Deref for IDirectDrawSurfaceKernel { +impl core::ops::Deref for IDirectDrawSurfaceKernel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1883,7 +1883,7 @@ pub struct IDirectDrawSurfaceKernel_Vtbl { pub ReleaseKernelHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawVideoPort, IDirectDrawVideoPort_Vtbl, 0xb36d93e0_2b43_11cf_a2de_00aa00b93356); -impl std::ops::Deref for IDirectDrawVideoPort { +impl core::ops::Deref for IDirectDrawVideoPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1959,7 +1959,7 @@ pub struct IDirectDrawVideoPort_Vtbl { pub WaitForSync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawVideoPortNotify, IDirectDrawVideoPortNotify_Vtbl, 0xa655fb94_0589_4e57_b333_567a89468c88); -impl std::ops::Deref for IDirectDrawVideoPortNotify { +impl core::ops::Deref for IDirectDrawVideoPortNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs index 8b62262160..27fda680b6 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDirectManipulationAutoScrollBehavior, IDirectManipulationAutoScrollBehavior_Vtbl, 0x6d5954d4_2003_4356_9b31_d051c9ff0af7); -impl std::ops::Deref for IDirectManipulationAutoScrollBehavior { +impl core::ops::Deref for IDirectManipulationAutoScrollBehavior { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17,7 +17,7 @@ pub struct IDirectManipulationAutoScrollBehavior_Vtbl { pub SetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTMANIPULATION_MOTION_TYPES, DIRECTMANIPULATION_AUTOSCROLL_CONFIGURATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationCompositor, IDirectManipulationCompositor_Vtbl, 0x537a0825_0387_4efa_b62f_71eb1f085a7e); -impl std::ops::Deref for IDirectManipulationCompositor { +impl core::ops::Deref for IDirectManipulationCompositor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -59,7 +59,7 @@ pub struct IDirectManipulationCompositor_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationCompositor2, IDirectManipulationCompositor2_Vtbl, 0xd38c7822_f1cb_43cb_b4b9_ac0c767a412e); -impl std::ops::Deref for IDirectManipulationCompositor2 { +impl core::ops::Deref for IDirectManipulationCompositor2 { type Target = IDirectManipulationCompositor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -83,7 +83,7 @@ pub struct IDirectManipulationCompositor2_Vtbl { pub AddContentWithCrossProcessChaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationContent, IDirectManipulationContent_Vtbl, 0xb89962cb_3d89_442b_bb58_5098fa0f9f16); -impl std::ops::Deref for IDirectManipulationContent { +impl core::ops::Deref for IDirectManipulationContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -102,7 +102,7 @@ impl IDirectManipulationContent { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetViewport)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetTag(&self, id: Option<*mut u32>, result__: *mut Option) -> windows_core::Result<()> @@ -140,7 +140,7 @@ pub struct IDirectManipulationContent_Vtbl { pub SyncContentTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *const f32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationDeferContactService, IDirectManipulationDeferContactService_Vtbl, 0x652d5c71_fe60_4a98_be70_e5f21291e7f1); -impl std::ops::Deref for IDirectManipulationDeferContactService { +impl core::ops::Deref for IDirectManipulationDeferContactService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -166,7 +166,7 @@ pub struct IDirectManipulationDeferContactService_Vtbl { pub CancelDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationDragDropBehavior, IDirectManipulationDragDropBehavior_Vtbl, 0x814b5af5_c2c8_4270_a9b7_a198ce8d02fa); -impl std::ops::Deref for IDirectManipulationDragDropBehavior { +impl core::ops::Deref for IDirectManipulationDragDropBehavior { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -189,7 +189,7 @@ pub struct IDirectManipulationDragDropBehavior_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIRECTMANIPULATION_DRAG_DROP_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationDragDropEventHandler, IDirectManipulationDragDropEventHandler_Vtbl, 0x1fa11b10_701b_41ae_b5f2_49e36bd595aa); -impl std::ops::Deref for IDirectManipulationDragDropEventHandler { +impl core::ops::Deref for IDirectManipulationDragDropEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -210,7 +210,7 @@ pub struct IDirectManipulationDragDropEventHandler_Vtbl { pub OnDragDropStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DIRECTMANIPULATION_DRAG_DROP_STATUS, DIRECTMANIPULATION_DRAG_DROP_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationFrameInfoProvider, IDirectManipulationFrameInfoProvider_Vtbl, 0xfb759dba_6f4c_4c01_874e_19c8a05907f9); -impl std::ops::Deref for IDirectManipulationFrameInfoProvider { +impl core::ops::Deref for IDirectManipulationFrameInfoProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -228,7 +228,7 @@ pub struct IDirectManipulationFrameInfoProvider_Vtbl { pub GetNextFrameInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationInteractionEventHandler, IDirectManipulationInteractionEventHandler_Vtbl, 0xe43f45b8_42b4_403e_b1f2_273b8f510830); -impl std::ops::Deref for IDirectManipulationInteractionEventHandler { +impl core::ops::Deref for IDirectManipulationInteractionEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -249,7 +249,7 @@ pub struct IDirectManipulationInteractionEventHandler_Vtbl { pub OnInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DIRECTMANIPULATION_INTERACTION_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationManager, IDirectManipulationManager_Vtbl, 0xfbf5d3b4_70c7_4163_9322_5a6f660d6fbc); -impl std::ops::Deref for IDirectManipulationManager { +impl core::ops::Deref for IDirectManipulationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -285,7 +285,7 @@ impl IDirectManipulationManager { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetUpdateManager)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateViewport(&self, frameinfo: P0, window: P1) -> windows_core::Result @@ -294,7 +294,7 @@ impl IDirectManipulationManager { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateViewport)(windows_core::Interface::as_raw(self), frameinfo.param().abi(), window.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateContent(&self, frameinfo: P0, clsid: *const windows_core::GUID) -> windows_core::Result @@ -302,7 +302,7 @@ impl IDirectManipulationManager { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateContent)(windows_core::Interface::as_raw(self), frameinfo.param().abi(), clsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -321,7 +321,7 @@ pub struct IDirectManipulationManager_Vtbl { pub CreateContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationManager2, IDirectManipulationManager2_Vtbl, 0xfa1005e9_3d16_484c_bfc9_62b61e56ec4e); -impl std::ops::Deref for IDirectManipulationManager2 { +impl core::ops::Deref for IDirectManipulationManager2 { type Target = IDirectManipulationManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -333,7 +333,7 @@ impl IDirectManipulationManager2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateBehavior)(windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -343,7 +343,7 @@ pub struct IDirectManipulationManager2_Vtbl { pub CreateBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationManager3, IDirectManipulationManager3_Vtbl, 0x2cb6b33d_ffe8_488c_b750_fbdfe88dca8c); -impl std::ops::Deref for IDirectManipulationManager3 { +impl core::ops::Deref for IDirectManipulationManager3 { type Target = IDirectManipulationManager2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -355,7 +355,7 @@ impl IDirectManipulationManager3 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetService)(windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -365,7 +365,7 @@ pub struct IDirectManipulationManager3_Vtbl { pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationPrimaryContent, IDirectManipulationPrimaryContent_Vtbl, 0xc12851e4_1698_4625_b9b1_7ca3ec18630b); -impl std::ops::Deref for IDirectManipulationPrimaryContent { +impl core::ops::Deref for IDirectManipulationPrimaryContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -415,7 +415,7 @@ pub struct IDirectManipulationPrimaryContent_Vtbl { pub GetCenterPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationUpdateHandler, IDirectManipulationUpdateHandler_Vtbl, 0x790b6337_64f8_4ff5_a269_b32bc2af27a7); -impl std::ops::Deref for IDirectManipulationUpdateHandler { +impl core::ops::Deref for IDirectManipulationUpdateHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -433,7 +433,7 @@ pub struct IDirectManipulationUpdateHandler_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationUpdateManager, IDirectManipulationUpdateManager_Vtbl, 0xb0ae62fd_be34_46e7_9caa_d361facbb9cc); -impl std::ops::Deref for IDirectManipulationUpdateManager { +impl core::ops::Deref for IDirectManipulationUpdateManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -467,7 +467,7 @@ pub struct IDirectManipulationUpdateManager_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationViewport, IDirectManipulationViewport_Vtbl, 0x28b85a3d_60a0_48bd_9ba1_5ce8d9ea3a6d); -impl std::ops::Deref for IDirectManipulationViewport { +impl core::ops::Deref for IDirectManipulationViewport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -529,7 +529,7 @@ impl IDirectManipulationViewport { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPrimaryContent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn AddContent(&self, content: P0) -> windows_core::Result<()> @@ -619,7 +619,7 @@ pub struct IDirectManipulationViewport_Vtbl { pub Abandon: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationViewport2, IDirectManipulationViewport2_Vtbl, 0x923ccaac_61e1_4385_b726_017af189882a); -impl std::ops::Deref for IDirectManipulationViewport2 { +impl core::ops::Deref for IDirectManipulationViewport2 { type Target = IDirectManipulationViewport; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -649,7 +649,7 @@ pub struct IDirectManipulationViewport2_Vtbl { pub RemoveAllBehaviors: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectManipulationViewportEventHandler, IDirectManipulationViewportEventHandler_Vtbl, 0x952121da_d69f_45f9_b0f9_f23944321a6d); -impl std::ops::Deref for IDirectManipulationViewportEventHandler { +impl core::ops::Deref for IDirectManipulationViewportEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs index bdcf1afa52..278cbfa446 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs @@ -4,11 +4,11 @@ where T: windows_core::Interface, { windows_targets::link!("dwrite.dll" "system" fn DWriteCreateFactory(factorytype : DWRITE_FACTORY_TYPE, iid : *const windows_core::GUID, factory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DWriteCreateFactory(factorytype, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IDWriteAsyncResult, IDWriteAsyncResult_Vtbl, 0xce25f8fd_863b_4d13_9651_c1f88dc73fe2); -impl std::ops::Deref for IDWriteAsyncResult { +impl core::ops::Deref for IDWriteAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -32,7 +32,7 @@ pub struct IDWriteAsyncResult_Vtbl { pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteBitmapRenderTarget, IDWriteBitmapRenderTarget_Vtbl, 0x5e5a32a3_8dff_4773_9ff6_0696eab77267); -impl std::ops::Deref for IDWriteBitmapRenderTarget { +impl core::ops::Deref for IDWriteBitmapRenderTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -89,7 +89,7 @@ pub struct IDWriteBitmapRenderTarget_Vtbl { pub Resize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteBitmapRenderTarget1, IDWriteBitmapRenderTarget1_Vtbl, 0x791e8298_3ef3_4230_9880_c9bdecc42064); -impl std::ops::Deref for IDWriteBitmapRenderTarget1 { +impl core::ops::Deref for IDWriteBitmapRenderTarget1 { type Target = IDWriteBitmapRenderTarget; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -113,7 +113,7 @@ pub struct IDWriteBitmapRenderTarget1_Vtbl { pub SetTextAntialiasMode: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_TEXT_ANTIALIAS_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteBitmapRenderTarget2, IDWriteBitmapRenderTarget2_Vtbl, 0xc553a742_fc01_44da_a66e_b8b9ed6c3995); -impl std::ops::Deref for IDWriteBitmapRenderTarget2 { +impl core::ops::Deref for IDWriteBitmapRenderTarget2 { type Target = IDWriteBitmapRenderTarget1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -134,7 +134,7 @@ pub struct IDWriteBitmapRenderTarget2_Vtbl { pub GetBitmapData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_BITMAP_DATA_BGRA32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteBitmapRenderTarget3, IDWriteBitmapRenderTarget3_Vtbl, 0xaeec37db_c337_40f1_8e2a_9a41b167b238); -impl std::ops::Deref for IDWriteBitmapRenderTarget3 { +impl core::ops::Deref for IDWriteBitmapRenderTarget3 { type Target = IDWriteBitmapRenderTarget2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct IDWriteBitmapRenderTarget3_Vtbl { pub DrawGlyphRunWithColorSupport: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, DWRITE_MEASURING_MODE, *const DWRITE_GLYPH_RUN, *mut core::ffi::c_void, super::super::Foundation::COLORREF, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteColorGlyphRunEnumerator, IDWriteColorGlyphRunEnumerator_Vtbl, 0xd31fbe17_f157_41a2_8d24_cb779e0560e8); -impl std::ops::Deref for IDWriteColorGlyphRunEnumerator { +impl core::ops::Deref for IDWriteColorGlyphRunEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -195,7 +195,7 @@ pub struct IDWriteColorGlyphRunEnumerator_Vtbl { pub GetCurrentRun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut DWRITE_COLOR_GLYPH_RUN) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteColorGlyphRunEnumerator1, IDWriteColorGlyphRunEnumerator1_Vtbl, 0x7c5f86da_c7a1_4f05_b8e1_55a179fe5a35); -impl std::ops::Deref for IDWriteColorGlyphRunEnumerator1 { +impl core::ops::Deref for IDWriteColorGlyphRunEnumerator1 { type Target = IDWriteColorGlyphRunEnumerator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -216,7 +216,7 @@ pub struct IDWriteColorGlyphRunEnumerator1_Vtbl { pub GetCurrentRun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut DWRITE_COLOR_GLYPH_RUN1) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory, IDWriteFactory_Vtbl, 0xb859ee5a_d838_4b5b_a2e8_1adc7d93db48); -impl std::ops::Deref for IDWriteFactory { +impl core::ops::Deref for IDWriteFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -382,7 +382,7 @@ pub struct IDWriteFactory_Vtbl { pub CreateGlyphRunAnalysis: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_GLYPH_RUN, f32, *const DWRITE_MATRIX, DWRITE_RENDERING_MODE, DWRITE_MEASURING_MODE, f32, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory1, IDWriteFactory1_Vtbl, 0x30572f99_dac6_41db_a16e_0486307e606a); -impl std::ops::Deref for IDWriteFactory1 { +impl core::ops::Deref for IDWriteFactory1 { type Target = IDWriteFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -410,7 +410,7 @@ pub struct IDWriteFactory1_Vtbl { pub CreateCustomRenderingParams: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32, DWRITE_PIXEL_GEOMETRY, DWRITE_RENDERING_MODE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory2, IDWriteFactory2_Vtbl, 0x0439fc60_ca44_4994_8dee_3a9af7b732ec); -impl std::ops::Deref for IDWriteFactory2 { +impl core::ops::Deref for IDWriteFactory2 { type Target = IDWriteFactory1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -451,7 +451,7 @@ pub struct IDWriteFactory2_Vtbl { pub CreateGlyphRunAnalysis: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_GLYPH_RUN, *const DWRITE_MATRIX, DWRITE_RENDERING_MODE, DWRITE_MEASURING_MODE, DWRITE_GRID_FIT_MODE, DWRITE_TEXT_ANTIALIAS_MODE, f32, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory3, IDWriteFactory3_Vtbl, 0x9a1b41c3_d3bb_466a_87fc_fe67556a3b65); -impl std::ops::Deref for IDWriteFactory3 { +impl core::ops::Deref for IDWriteFactory3 { type Target = IDWriteFactory2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -524,7 +524,7 @@ pub struct IDWriteFactory3_Vtbl { pub GetFontDownloadQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory4, IDWriteFactory4_Vtbl, 0x4b0b5bd3_0797_4549_8ac5_fe915cc53856); -impl std::ops::Deref for IDWriteFactory4 { +impl core::ops::Deref for IDWriteFactory4 { type Target = IDWriteFactory3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -567,7 +567,7 @@ pub struct IDWriteFactory4_Vtbl { ComputeGlyphOrigins2: usize, } windows_core::imp::define_interface!(IDWriteFactory5, IDWriteFactory5_Vtbl, 0x958db99a_be2a_4f09_af7d_65189803d1d3); -impl std::ops::Deref for IDWriteFactory5 { +impl core::ops::Deref for IDWriteFactory5 { type Target = IDWriteFactory4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -611,7 +611,7 @@ pub struct IDWriteFactory5_Vtbl { pub UnpackFontFile: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_CONTAINER_TYPE, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory6, IDWriteFactory6_Vtbl, 0xf3744d80_21f7_42eb_b35d_995bc72fc223); -impl std::ops::Deref for IDWriteFactory6 { +impl core::ops::Deref for IDWriteFactory6 { type Target = IDWriteFactory5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -682,7 +682,7 @@ pub struct IDWriteFactory6_Vtbl { pub CreateTextFormat: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *const DWRITE_FONT_AXIS_VALUE, u32, f32, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory7, IDWriteFactory7_Vtbl, 0x35d0e0b3_9076_4d2e_a016_a91b568a06b4); -impl std::ops::Deref for IDWriteFactory7 { +impl core::ops::Deref for IDWriteFactory7 { type Target = IDWriteFactory6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -714,7 +714,7 @@ pub struct IDWriteFactory7_Vtbl { pub GetSystemFontCollection: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, DWRITE_FONT_FAMILY_MODEL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFactory8, IDWriteFactory8_Vtbl, 0xee0a7fb5_def4_4c23_a454_c9c7dc878398); -impl std::ops::Deref for IDWriteFactory8 { +impl core::ops::Deref for IDWriteFactory8 { type Target = IDWriteFactory7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -739,7 +739,7 @@ pub struct IDWriteFactory8_Vtbl { TranslateColorGlyphRun: usize, } windows_core::imp::define_interface!(IDWriteFont, IDWriteFont_Vtbl, 0xacd16696_8c14_4f5d_877e_fe3fc1d32737); -impl std::ops::Deref for IDWriteFont { +impl core::ops::Deref for IDWriteFont { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -803,7 +803,7 @@ pub struct IDWriteFont_Vtbl { pub CreateFontFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFont1, IDWriteFont1_Vtbl, 0xacd16696_8c14_4f5d_877e_fe3fc1d32738); -impl std::ops::Deref for IDWriteFont1 { +impl core::ops::Deref for IDWriteFont1 { type Target = IDWriteFont; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -837,7 +837,7 @@ pub struct IDWriteFont1_Vtbl { pub IsMonospacedFont: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDWriteFont2, IDWriteFont2_Vtbl, 0x29748ed6_8c9c_4a6a_be0b_d912e8538944); -impl std::ops::Deref for IDWriteFont2 { +impl core::ops::Deref for IDWriteFont2 { type Target = IDWriteFont1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -857,7 +857,7 @@ pub struct IDWriteFont2_Vtbl { pub IsColorFont: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDWriteFont3, IDWriteFont3_Vtbl, 0x29748ed6_8c9c_4a6a_be0b_d912e8538944); -impl std::ops::Deref for IDWriteFont3 { +impl core::ops::Deref for IDWriteFont3 { type Target = IDWriteFont2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -898,7 +898,7 @@ pub struct IDWriteFont3_Vtbl { pub GetLocality: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_LOCALITY, } windows_core::imp::define_interface!(IDWriteFontCollection, IDWriteFontCollection_Vtbl, 0xa84cee02_3eea_4eee_a827_87c1a02a0fcc); -impl std::ops::Deref for IDWriteFontCollection { +impl core::ops::Deref for IDWriteFontCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -938,7 +938,7 @@ pub struct IDWriteFontCollection_Vtbl { pub GetFontFromFontFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontCollection1, IDWriteFontCollection1_Vtbl, 0x53585141_d9f8_4095_8321_d73cf6bd116c); -impl std::ops::Deref for IDWriteFontCollection1 { +impl core::ops::Deref for IDWriteFontCollection1 { type Target = IDWriteFontCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -964,7 +964,7 @@ pub struct IDWriteFontCollection1_Vtbl { pub GetFontFamily: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontCollection2, IDWriteFontCollection2_Vtbl, 0x514039c6_4617_4064_bf8b_92ea83e506e0); -impl std::ops::Deref for IDWriteFontCollection2 { +impl core::ops::Deref for IDWriteFontCollection2 { type Target = IDWriteFontCollection1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1002,7 +1002,7 @@ pub struct IDWriteFontCollection2_Vtbl { pub GetFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontCollection3, IDWriteFontCollection3_Vtbl, 0xa4d055a6_f9e3_4e25_93b7_9e309f3af8e9); -impl std::ops::Deref for IDWriteFontCollection3 { +impl core::ops::Deref for IDWriteFontCollection3 { type Target = IDWriteFontCollection2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1022,7 +1022,7 @@ pub struct IDWriteFontCollection3_Vtbl { pub GetExpirationEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } windows_core::imp::define_interface!(IDWriteFontCollectionLoader, IDWriteFontCollectionLoader_Vtbl, 0xcca920e4_52f0_492b_bfa8_29c72ee0a468); -impl std::ops::Deref for IDWriteFontCollectionLoader { +impl core::ops::Deref for IDWriteFontCollectionLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1046,7 +1046,7 @@ pub struct IDWriteFontCollectionLoader_Vtbl { pub CreateEnumeratorFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontDownloadListener, IDWriteFontDownloadListener_Vtbl, 0xb06fe5b9_43ec_4393_881b_dbe4dc72fda7); -impl std::ops::Deref for IDWriteFontDownloadListener { +impl core::ops::Deref for IDWriteFontDownloadListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1070,7 +1070,7 @@ pub struct IDWriteFontDownloadListener_Vtbl { pub DownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT), } windows_core::imp::define_interface!(IDWriteFontDownloadQueue, IDWriteFontDownloadQueue_Vtbl, 0xb71e6052_5aea_4fa3_832e_f60d431f7e91); -impl std::ops::Deref for IDWriteFontDownloadQueue { +impl core::ops::Deref for IDWriteFontDownloadQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1117,7 +1117,7 @@ pub struct IDWriteFontDownloadQueue_Vtbl { pub GetGenerationCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } windows_core::imp::define_interface!(IDWriteFontFace, IDWriteFontFace_Vtbl, 0x5f49804d_7024_4d43_bfa9_d25984f53849); -impl std::ops::Deref for IDWriteFontFace { +impl core::ops::Deref for IDWriteFontFace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1213,7 +1213,7 @@ pub struct IDWriteFontFace_Vtbl { pub GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, *const DWRITE_MATRIX, super::super::Foundation::BOOL, *const u16, u32, *mut DWRITE_GLYPH_METRICS, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFace1, IDWriteFontFace1_Vtbl, 0xa71efdb4_9fdb_4838_ad90_cfc3be8c3daf); -impl std::ops::Deref for IDWriteFontFace1 { +impl core::ops::Deref for IDWriteFontFace1 { type Target = IDWriteFontFace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1290,7 +1290,7 @@ pub struct IDWriteFontFace1_Vtbl { pub HasVerticalGlyphVariants: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDWriteFontFace2, IDWriteFontFace2_Vtbl, 0xd8b768ff_64bc_4e66_982b_ec8e87f693f7); -impl std::ops::Deref for IDWriteFontFace2 { +impl core::ops::Deref for IDWriteFontFace2 { type Target = IDWriteFontFace1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1330,7 +1330,7 @@ pub struct IDWriteFontFace2_Vtbl { pub GetRecommendedRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, *const DWRITE_MATRIX, super::super::Foundation::BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, *mut core::ffi::c_void, *mut DWRITE_RENDERING_MODE, *mut DWRITE_GRID_FIT_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFace3, IDWriteFontFace3_Vtbl, 0xd37d7598_09be_4222_a236_2081341cc1f2); -impl std::ops::Deref for IDWriteFontFace3 { +impl core::ops::Deref for IDWriteFontFace3 { type Target = IDWriteFontFace2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1419,7 +1419,7 @@ pub struct IDWriteFontFace3_Vtbl { pub AreGlyphsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, u32, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFace4, IDWriteFontFace4_Vtbl, 0x27f2a904_4eb8_441d_9678_0563f53e3e2f); -impl std::ops::Deref for IDWriteFontFace4 { +impl core::ops::Deref for IDWriteFontFace4 { type Target = IDWriteFontFace3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1456,7 +1456,7 @@ pub struct IDWriteFontFace4_Vtbl { pub ReleaseGlyphImageData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } windows_core::imp::define_interface!(IDWriteFontFace5, IDWriteFontFace5_Vtbl, 0x98eff3a5_b667_479a_b145_e2fa5b9fdc29); -impl std::ops::Deref for IDWriteFontFace5 { +impl core::ops::Deref for IDWriteFontFace5 { type Target = IDWriteFontFace4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1496,7 +1496,7 @@ pub struct IDWriteFontFace5_Vtbl { pub Equals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDWriteFontFace6, IDWriteFontFace6_Vtbl, 0xc4b1fe1b_6e84_47d5_b54c_a597981b06ad); -impl std::ops::Deref for IDWriteFontFace6 { +impl core::ops::Deref for IDWriteFontFace6 { type Target = IDWriteFontFace5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1522,7 +1522,7 @@ pub struct IDWriteFontFace6_Vtbl { pub GetFaceNames: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_FAMILY_MODEL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFace7, IDWriteFontFace7_Vtbl, 0x3945b85b_bc95_40f7_b72c_8b73bfc7e13b); -impl std::ops::Deref for IDWriteFontFace7 { +impl core::ops::Deref for IDWriteFontFace7 { type Target = IDWriteFontFace6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1547,7 +1547,7 @@ pub struct IDWriteFontFace7_Vtbl { pub CreatePaintReader: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_GLYPH_IMAGE_FORMATS, DWRITE_PAINT_FEATURE_LEVEL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFaceReference, IDWriteFontFaceReference_Vtbl, 0x5e7fa7ca_dde3_424c_89f0_9fcd6fed58cd); -impl std::ops::Deref for IDWriteFontFaceReference { +impl core::ops::Deref for IDWriteFontFaceReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1626,7 +1626,7 @@ pub struct IDWriteFontFaceReference_Vtbl { pub EnqueueFileFragmentDownloadRequest: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFaceReference1, IDWriteFontFaceReference1_Vtbl, 0xc081fe77_2fd1_41ac_a5a3_34983c4ba61a); -impl std::ops::Deref for IDWriteFontFaceReference1 { +impl core::ops::Deref for IDWriteFontFaceReference1 { type Target = IDWriteFontFaceReference; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1655,7 +1655,7 @@ pub struct IDWriteFontFaceReference1_Vtbl { pub GetFontAxisValues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_FONT_AXIS_VALUE, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFallback, IDWriteFontFallback_Vtbl, 0xefa008f9_f7a1_48bf_b05c_f224713cc0ff); -impl std::ops::Deref for IDWriteFontFallback { +impl core::ops::Deref for IDWriteFontFallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1680,7 +1680,7 @@ pub struct IDWriteFontFallback_Vtbl { pub MapCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, windows_core::PCWSTR, DWRITE_FONT_WEIGHT, DWRITE_FONT_STYLE, DWRITE_FONT_STRETCH, *mut u32, *mut *mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFallback1, IDWriteFontFallback1_Vtbl, 0x2397599d_dd0d_4681_bd6a_f4f31eaade77); -impl std::ops::Deref for IDWriteFontFallback1 { +impl core::ops::Deref for IDWriteFontFallback1 { type Target = IDWriteFontFallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1705,7 +1705,7 @@ pub struct IDWriteFontFallback1_Vtbl { pub MapCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, windows_core::PCWSTR, *const DWRITE_FONT_AXIS_VALUE, u32, *mut u32, *mut f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFallbackBuilder, IDWriteFontFallbackBuilder_Vtbl, 0xfd882d06_8aba_4fb8_b849_8be8b73e14de); -impl std::ops::Deref for IDWriteFontFallbackBuilder { +impl core::ops::Deref for IDWriteFontFallbackBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1742,7 +1742,7 @@ pub struct IDWriteFontFallbackBuilder_Vtbl { pub CreateFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFamily, IDWriteFontFamily_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7add); -impl std::ops::Deref for IDWriteFontFamily { +impl core::ops::Deref for IDWriteFontFamily { type Target = IDWriteFontList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1773,7 +1773,7 @@ pub struct IDWriteFontFamily_Vtbl { pub GetMatchingFonts: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_WEIGHT, DWRITE_FONT_STRETCH, DWRITE_FONT_STYLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFamily1, IDWriteFontFamily1_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7adf); -impl std::ops::Deref for IDWriteFontFamily1 { +impl core::ops::Deref for IDWriteFontFamily1 { type Target = IDWriteFontFamily; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1803,7 +1803,7 @@ pub struct IDWriteFontFamily1_Vtbl { pub GetFontFaceReference: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFamily2, IDWriteFontFamily2_Vtbl, 0x3ed49e77_a398_4261_b9cf_c126c2131ef3); -impl std::ops::Deref for IDWriteFontFamily2 { +impl core::ops::Deref for IDWriteFontFamily2 { type Target = IDWriteFontFamily1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1829,7 +1829,7 @@ pub struct IDWriteFontFamily2_Vtbl { pub GetFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFile, IDWriteFontFile_Vtbl, 0x739d886a_cef5_47dc_8769_1a8b41bebbb0); -impl std::ops::Deref for IDWriteFontFile { +impl core::ops::Deref for IDWriteFontFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1858,7 +1858,7 @@ pub struct IDWriteFontFile_Vtbl { pub Analyze: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut DWRITE_FONT_FILE_TYPE, *mut DWRITE_FONT_FACE_TYPE, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFileEnumerator, IDWriteFontFileEnumerator_Vtbl, 0x72755049_5ff7_435d_8348_4be97cfa6c7c); -impl std::ops::Deref for IDWriteFontFileEnumerator { +impl core::ops::Deref for IDWriteFontFileEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1884,7 +1884,7 @@ pub struct IDWriteFontFileEnumerator_Vtbl { pub GetCurrentFontFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFileLoader, IDWriteFontFileLoader_Vtbl, 0x727cad4e_d6af_4c9e_8a08_d695b11caa49); -impl std::ops::Deref for IDWriteFontFileLoader { +impl core::ops::Deref for IDWriteFontFileLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1905,7 +1905,7 @@ pub struct IDWriteFontFileLoader_Vtbl { pub CreateStreamFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontFileStream, IDWriteFontFileStream_Vtbl, 0x6d4865fe_0ab8_4d91_8f62_5dd6be34a3e0); -impl std::ops::Deref for IDWriteFontFileStream { +impl core::ops::Deref for IDWriteFontFileStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1939,7 +1939,7 @@ pub struct IDWriteFontFileStream_Vtbl { pub GetLastWriteTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontList, IDWriteFontList_Vtbl, 0x1a0d8438_1d97_4ec1_aef9_a2fb86ed6acb); -impl std::ops::Deref for IDWriteFontList { +impl core::ops::Deref for IDWriteFontList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1969,7 +1969,7 @@ pub struct IDWriteFontList_Vtbl { pub GetFont: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontList1, IDWriteFontList1_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7ade); -impl std::ops::Deref for IDWriteFontList1 { +impl core::ops::Deref for IDWriteFontList1 { type Target = IDWriteFontList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1999,7 +1999,7 @@ pub struct IDWriteFontList1_Vtbl { pub GetFontFaceReference: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontList2, IDWriteFontList2_Vtbl, 0xc0763a34_77af_445a_b735_08c37b0a5bf5); -impl std::ops::Deref for IDWriteFontList2 { +impl core::ops::Deref for IDWriteFontList2 { type Target = IDWriteFontList1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2020,7 +2020,7 @@ pub struct IDWriteFontList2_Vtbl { pub GetFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontResource, IDWriteFontResource_Vtbl, 0x1f803a76_6871_48e8_987f_b975551c50f2); -impl std::ops::Deref for IDWriteFontResource { +impl core::ops::Deref for IDWriteFontResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2088,7 +2088,7 @@ pub struct IDWriteFontResource_Vtbl { pub CreateFontFaceReference: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_SIMULATIONS, *const DWRITE_FONT_AXIS_VALUE, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontSet, IDWriteFontSet_Vtbl, 0x53585141_d9f8_4095_8321_d73cf6bd116b); -impl std::ops::Deref for IDWriteFontSet { +impl core::ops::Deref for IDWriteFontSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2162,7 +2162,7 @@ pub struct IDWriteFontSet_Vtbl { pub GetMatchingFonts2: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_FONT_PROPERTY, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontSet1, IDWriteFontSet1_Vtbl, 0x7e9fda85_6c92_4053_bc47_7ae3530db4d3); -impl std::ops::Deref for IDWriteFontSet1 { +impl core::ops::Deref for IDWriteFontSet1 { type Target = IDWriteFontSet; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2250,7 +2250,7 @@ pub struct IDWriteFontSet1_Vtbl { pub GetFontLocality: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> DWRITE_LOCALITY, } windows_core::imp::define_interface!(IDWriteFontSet2, IDWriteFontSet2_Vtbl, 0xdc7ead19_e54c_43af_b2da_4e2b79ba3f7f); -impl std::ops::Deref for IDWriteFontSet2 { +impl core::ops::Deref for IDWriteFontSet2 { type Target = IDWriteFontSet1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2270,7 +2270,7 @@ pub struct IDWriteFontSet2_Vtbl { pub GetExpirationEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } windows_core::imp::define_interface!(IDWriteFontSet3, IDWriteFontSet3_Vtbl, 0x7c073ef2_a7f4_4045_8c32_8ab8ae640f90); -impl std::ops::Deref for IDWriteFontSet3 { +impl core::ops::Deref for IDWriteFontSet3 { type Target = IDWriteFontSet2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2298,7 +2298,7 @@ pub struct IDWriteFontSet3_Vtbl { pub GetFontSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontSet4, IDWriteFontSet4_Vtbl, 0xeec175fc_bea9_4c86_8b53_ccbdd7df0c82); -impl std::ops::Deref for IDWriteFontSet4 { +impl core::ops::Deref for IDWriteFontSet4 { type Target = IDWriteFontSet3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2326,7 +2326,7 @@ pub struct IDWriteFontSet4_Vtbl { pub GetMatchingFonts: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const DWRITE_FONT_AXIS_VALUE, u32, DWRITE_FONT_SIMULATIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontSetBuilder, IDWriteFontSetBuilder_Vtbl, 0x2f642afe_9c68_4f40_b8be_457401afcb3d); -impl std::ops::Deref for IDWriteFontSetBuilder { +impl core::ops::Deref for IDWriteFontSetBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2368,7 +2368,7 @@ pub struct IDWriteFontSetBuilder_Vtbl { pub CreateFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontSetBuilder1, IDWriteFontSetBuilder1_Vtbl, 0x3ff7715f_3cdc_4dc6_9b72_ec5621dccafd); -impl std::ops::Deref for IDWriteFontSetBuilder1 { +impl core::ops::Deref for IDWriteFontSetBuilder1 { type Target = IDWriteFontSetBuilder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2391,7 +2391,7 @@ pub struct IDWriteFontSetBuilder1_Vtbl { pub AddFontFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteFontSetBuilder2, IDWriteFontSetBuilder2_Vtbl, 0xee5ba612_b131_463c_8f4f_3189b9401e45); -impl std::ops::Deref for IDWriteFontSetBuilder2 { +impl core::ops::Deref for IDWriteFontSetBuilder2 { type Target = IDWriteFontSetBuilder1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2421,7 +2421,7 @@ pub struct IDWriteFontSetBuilder2_Vtbl { pub AddFontFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteGdiInterop, IDWriteGdiInterop_Vtbl, 0x1edd9491_9853_4299_898f_6432983b6f3a); -impl std::ops::Deref for IDWriteGdiInterop { +impl core::ops::Deref for IDWriteGdiInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2492,7 +2492,7 @@ pub struct IDWriteGdiInterop_Vtbl { CreateBitmapRenderTarget: usize, } windows_core::imp::define_interface!(IDWriteGdiInterop1, IDWriteGdiInterop1_Vtbl, 0x4556be70_3abd_4f70_90be_421780a6f515); -impl std::ops::Deref for IDWriteGdiInterop1 { +impl core::ops::Deref for IDWriteGdiInterop1 { type Target = IDWriteGdiInterop; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2554,7 +2554,7 @@ pub struct IDWriteGdiInterop1_Vtbl { GetMatchingFontsByLOGFONT: usize, } windows_core::imp::define_interface!(IDWriteGlyphRunAnalysis, IDWriteGlyphRunAnalysis_Vtbl, 0x7d97dbf7_e085_42d4_81e3_6a883bded118); -impl std::ops::Deref for IDWriteGlyphRunAnalysis { +impl core::ops::Deref for IDWriteGlyphRunAnalysis { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2586,7 +2586,7 @@ pub struct IDWriteGlyphRunAnalysis_Vtbl { pub GetAlphaBlendParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut f32, *mut f32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteInMemoryFontFileLoader, IDWriteInMemoryFontFileLoader_Vtbl, 0xdc102f47_a12d_4b1c_822d_9e117e33043f); -impl std::ops::Deref for IDWriteInMemoryFontFileLoader { +impl core::ops::Deref for IDWriteInMemoryFontFileLoader { type Target = IDWriteFontFileLoader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2615,7 +2615,7 @@ pub struct IDWriteInMemoryFontFileLoader_Vtbl { pub GetFileCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(IDWriteInlineObject, IDWriteInlineObject_Vtbl, 0x8339fde3_106f_47ab_8373_1c6295eb10b3); -impl std::ops::Deref for IDWriteInlineObject { +impl core::ops::Deref for IDWriteInlineObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2655,7 +2655,7 @@ pub struct IDWriteInlineObject_Vtbl { pub GetBreakConditions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_BREAK_CONDITION, *mut DWRITE_BREAK_CONDITION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteLocalFontFileLoader, IDWriteLocalFontFileLoader_Vtbl, 0xb2d9f3ec_c9fe_4a11_a2ec_d86208f7c0a2); -impl std::ops::Deref for IDWriteLocalFontFileLoader { +impl core::ops::Deref for IDWriteLocalFontFileLoader { type Target = IDWriteFontFileLoader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2685,7 +2685,7 @@ pub struct IDWriteLocalFontFileLoader_Vtbl { pub GetLastWriteTimeFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteLocalizedStrings, IDWriteLocalizedStrings_Vtbl, 0x08256209_099a_4b34_b86d_c22b110e7771); -impl std::ops::Deref for IDWriteLocalizedStrings { +impl core::ops::Deref for IDWriteLocalizedStrings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2730,7 +2730,7 @@ pub struct IDWriteLocalizedStrings_Vtbl { pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteNumberSubstitution, IDWriteNumberSubstitution_Vtbl, 0x14885cc9_bab0_4f90_b6ed_5c366a2cd03d); -impl std::ops::Deref for IDWriteNumberSubstitution { +impl core::ops::Deref for IDWriteNumberSubstitution { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2745,7 +2745,7 @@ pub struct IDWriteNumberSubstitution_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IDWritePaintReader, IDWritePaintReader_Vtbl, 0x8128e912_3b97_42a5_ab6c_24aad3a86e54); -impl std::ops::Deref for IDWritePaintReader { +impl core::ops::Deref for IDWritePaintReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2813,7 +2813,7 @@ pub struct IDWritePaintReader_Vtbl { pub GetGradientStopColors: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut DWRITE_PAINT_COLOR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWritePixelSnapping, IDWritePixelSnapping_Vtbl, 0xeaf3a2da_ecf4_4d24_b644_b34f6842024b); -impl std::ops::Deref for IDWritePixelSnapping { +impl core::ops::Deref for IDWritePixelSnapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2843,7 +2843,7 @@ pub struct IDWritePixelSnapping_Vtbl { pub GetPixelsPerDip: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteRemoteFontFileLoader, IDWriteRemoteFontFileLoader_Vtbl, 0x68648c83_6ede_46c0_ab46_20083a887fde); -impl std::ops::Deref for IDWriteRemoteFontFileLoader { +impl core::ops::Deref for IDWriteRemoteFontFileLoader { type Target = IDWriteFontFileLoader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2879,7 +2879,7 @@ pub struct IDWriteRemoteFontFileLoader_Vtbl { pub CreateFontFileReferenceFromUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteRemoteFontFileStream, IDWriteRemoteFontFileStream_Vtbl, 0x4db3757a_2c72_4ed9_b2b6_1ababe1aff9c); -impl std::ops::Deref for IDWriteRemoteFontFileStream { +impl core::ops::Deref for IDWriteRemoteFontFileStream { type Target = IDWriteFontFileStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2913,7 +2913,7 @@ pub struct IDWriteRemoteFontFileStream_Vtbl { pub BeginDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const DWRITE_FILE_FRAGMENT, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteRenderingParams, IDWriteRenderingParams_Vtbl, 0x2f0da53a_2add_47cd_82ee_d9ec34688e75); -impl std::ops::Deref for IDWriteRenderingParams { +impl core::ops::Deref for IDWriteRenderingParams { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2949,7 +2949,7 @@ pub struct IDWriteRenderingParams_Vtbl { pub GetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_RENDERING_MODE, } windows_core::imp::define_interface!(IDWriteRenderingParams1, IDWriteRenderingParams1_Vtbl, 0x94413cf4_a6fc_4248_8b50_6674348fcad3); -impl std::ops::Deref for IDWriteRenderingParams1 { +impl core::ops::Deref for IDWriteRenderingParams1 { type Target = IDWriteRenderingParams; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2969,7 +2969,7 @@ pub struct IDWriteRenderingParams1_Vtbl { pub GetGrayscaleEnhancedContrast: unsafe extern "system" fn(*mut core::ffi::c_void) -> f32, } windows_core::imp::define_interface!(IDWriteRenderingParams2, IDWriteRenderingParams2_Vtbl, 0xf9d711c3_9777_40ae_87e8_3e5af9bf0948); -impl std::ops::Deref for IDWriteRenderingParams2 { +impl core::ops::Deref for IDWriteRenderingParams2 { type Target = IDWriteRenderingParams1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2989,7 +2989,7 @@ pub struct IDWriteRenderingParams2_Vtbl { pub GetGridFitMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_GRID_FIT_MODE, } windows_core::imp::define_interface!(IDWriteRenderingParams3, IDWriteRenderingParams3_Vtbl, 0xb7924baa_391b_412a_8c5c_e44cc2d867dc); -impl std::ops::Deref for IDWriteRenderingParams3 { +impl core::ops::Deref for IDWriteRenderingParams3 { type Target = IDWriteRenderingParams2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3009,7 +3009,7 @@ pub struct IDWriteRenderingParams3_Vtbl { pub GetRenderingMode1: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_RENDERING_MODE1, } windows_core::imp::define_interface!(IDWriteStringList, IDWriteStringList_Vtbl, 0xcfee3140_1157_47ca_8b85_31bfcf3f2d0e); -impl std::ops::Deref for IDWriteStringList { +impl core::ops::Deref for IDWriteStringList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3047,7 +3047,7 @@ pub struct IDWriteStringList_Vtbl { pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextAnalysisSink, IDWriteTextAnalysisSink_Vtbl, 0x5810cd44_0ca0_4701_b3fa_bec5182ae4f6); -impl std::ops::Deref for IDWriteTextAnalysisSink { +impl core::ops::Deref for IDWriteTextAnalysisSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3082,7 +3082,7 @@ pub struct IDWriteTextAnalysisSink_Vtbl { pub SetNumberSubstitution: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextAnalysisSink1, IDWriteTextAnalysisSink1_Vtbl, 0xb0d941a0_85e7_4d8b_9fd3_5ced9934482a); -impl std::ops::Deref for IDWriteTextAnalysisSink1 { +impl core::ops::Deref for IDWriteTextAnalysisSink1 { type Target = IDWriteTextAnalysisSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3106,7 +3106,7 @@ pub struct IDWriteTextAnalysisSink1_Vtbl { pub SetGlyphOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, DWRITE_GLYPH_ORIENTATION_ANGLE, u8, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextAnalysisSource, IDWriteTextAnalysisSource_Vtbl, 0x688e1a58_5094_47c8_adc8_fbcea60ae92b); -impl std::ops::Deref for IDWriteTextAnalysisSource { +impl core::ops::Deref for IDWriteTextAnalysisSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3142,7 +3142,7 @@ pub struct IDWriteTextAnalysisSource_Vtbl { pub GetNumberSubstitution: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextAnalysisSource1, IDWriteTextAnalysisSource1_Vtbl, 0x639cfad8_0fb4_4b21_a58a_067920120009); -impl std::ops::Deref for IDWriteTextAnalysisSource1 { +impl core::ops::Deref for IDWriteTextAnalysisSource1 { type Target = IDWriteTextAnalysisSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3162,7 +3162,7 @@ pub struct IDWriteTextAnalysisSource1_Vtbl { pub GetVerticalGlyphOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut DWRITE_VERTICAL_GLYPH_ORIENTATION, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextAnalyzer, IDWriteTextAnalyzer_Vtbl, 0xb7e6163e_7f46_43b4_84b3_e4e6249c365d); -impl std::ops::Deref for IDWriteTextAnalyzer { +impl core::ops::Deref for IDWriteTextAnalyzer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3269,7 +3269,7 @@ pub struct IDWriteTextAnalyzer_Vtbl { pub GetGdiCompatibleGlyphPlacements: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u16, *const DWRITE_SHAPING_TEXT_PROPERTIES, u32, *const u16, *const DWRITE_SHAPING_GLYPH_PROPERTIES, u32, *mut core::ffi::c_void, f32, f32, *const DWRITE_MATRIX, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *const DWRITE_SCRIPT_ANALYSIS, windows_core::PCWSTR, *const *const DWRITE_TYPOGRAPHIC_FEATURES, *const u32, u32, *mut f32, *mut DWRITE_GLYPH_OFFSET) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextAnalyzer1, IDWriteTextAnalyzer1_Vtbl, 0x80dad800_e21f_4e83_96ce_bfcce500db7c); -impl std::ops::Deref for IDWriteTextAnalyzer1 { +impl core::ops::Deref for IDWriteTextAnalyzer1 { type Target = IDWriteTextAnalyzer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3345,7 +3345,7 @@ pub struct IDWriteTextAnalyzer1_Vtbl { pub GetJustifiedGlyphs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f32, DWRITE_SCRIPT_ANALYSIS, u32, u32, u32, *const u16, *const u16, *const f32, *const f32, *const DWRITE_GLYPH_OFFSET, *const DWRITE_SHAPING_GLYPH_PROPERTIES, *mut u32, *mut u16, *mut u16, *mut f32, *mut DWRITE_GLYPH_OFFSET) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextAnalyzer2, IDWriteTextAnalyzer2_Vtbl, 0x553a9ff3_5693_4df7_b52b_74806f7f2eb9); -impl std::ops::Deref for IDWriteTextAnalyzer2 { +impl core::ops::Deref for IDWriteTextAnalyzer2 { type Target = IDWriteTextAnalyzer1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3384,7 +3384,7 @@ pub struct IDWriteTextAnalyzer2_Vtbl { pub CheckTypographicFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DWRITE_SCRIPT_ANALYSIS, windows_core::PCWSTR, DWRITE_FONT_FEATURE_TAG, u32, *const u16, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextFormat, IDWriteTextFormat_Vtbl, 0x9c906818_31d7_4fd3_a151_7c5e225db55a); -impl std::ops::Deref for IDWriteTextFormat { +impl core::ops::Deref for IDWriteTextFormat { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3504,7 +3504,7 @@ pub struct IDWriteTextFormat_Vtbl { pub GetLocaleName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextFormat1, IDWriteTextFormat1_Vtbl, 0x5f174b49_0d8b_4cfb_8bca_f1cce9d06c67); -impl std::ops::Deref for IDWriteTextFormat1 { +impl core::ops::Deref for IDWriteTextFormat1 { type Target = IDWriteTextFormat; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3559,7 +3559,7 @@ pub struct IDWriteTextFormat1_Vtbl { pub GetFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextFormat2, IDWriteTextFormat2_Vtbl, 0xf67e0edd_9e3d_4ecc_8c32_4183253dfe70); -impl std::ops::Deref for IDWriteTextFormat2 { +impl core::ops::Deref for IDWriteTextFormat2 { type Target = IDWriteTextFormat1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3583,7 +3583,7 @@ pub struct IDWriteTextFormat2_Vtbl { pub GetLineSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_LINE_SPACING) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextFormat3, IDWriteTextFormat3_Vtbl, 0x6d3b5641_e550_430d_a85b_b7bf48a93427); -impl std::ops::Deref for IDWriteTextFormat3 { +impl core::ops::Deref for IDWriteTextFormat3 { type Target = IDWriteTextFormat2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3619,7 +3619,7 @@ pub struct IDWriteTextFormat3_Vtbl { pub SetAutomaticFontAxes: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_AUTOMATIC_FONT_AXES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextLayout, IDWriteTextLayout_Vtbl, 0x53737037_6d14_410b_9bfe_0b182bb70961); -impl std::ops::Deref for IDWriteTextLayout { +impl core::ops::Deref for IDWriteTextLayout { type Target = IDWriteTextFormat; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3823,7 +3823,7 @@ pub struct IDWriteTextLayout_Vtbl { pub HitTestTextRange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, f32, f32, *mut DWRITE_HIT_TEST_METRICS, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextLayout1, IDWriteTextLayout1_Vtbl, 0x9064d822_80a7_465c_a986_df65f78b8feb); -impl std::ops::Deref for IDWriteTextLayout1 { +impl core::ops::Deref for IDWriteTextLayout1 { type Target = IDWriteTextLayout; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3858,7 +3858,7 @@ pub struct IDWriteTextLayout1_Vtbl { pub GetCharacterSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32, *mut f32, *mut f32, *mut DWRITE_TEXT_RANGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextLayout2, IDWriteTextLayout2_Vtbl, 0x1093c18f_8d5e_43f0_b064_0917311b525e); -impl std::ops::Deref for IDWriteTextLayout2 { +impl core::ops::Deref for IDWriteTextLayout2 { type Target = IDWriteTextLayout1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3917,7 +3917,7 @@ pub struct IDWriteTextLayout2_Vtbl { pub GetFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextLayout3, IDWriteTextLayout3_Vtbl, 0x07ddcd52_020e_4de8_ac33_6c953d83f92d); -impl std::ops::Deref for IDWriteTextLayout3 { +impl core::ops::Deref for IDWriteTextLayout3 { type Target = IDWriteTextLayout2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3949,7 +3949,7 @@ pub struct IDWriteTextLayout3_Vtbl { pub GetLineMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_LINE_METRICS1, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextLayout4, IDWriteTextLayout4_Vtbl, 0x05a9bf42_223f_4441_b5fb_8263685f55e9); -impl std::ops::Deref for IDWriteTextLayout4 { +impl core::ops::Deref for IDWriteTextLayout4 { type Target = IDWriteTextLayout3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3985,7 +3985,7 @@ pub struct IDWriteTextLayout4_Vtbl { pub SetAutomaticFontAxes: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_AUTOMATIC_FONT_AXES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextRenderer, IDWriteTextRenderer_Vtbl, 0xef8a8135_5cc6_45fe_8825_c5a0724eb819); -impl std::ops::Deref for IDWriteTextRenderer { +impl core::ops::Deref for IDWriteTextRenderer { type Target = IDWritePixelSnapping; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4032,7 +4032,7 @@ pub struct IDWriteTextRenderer_Vtbl { pub DrawInlineObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, f32, f32, *mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTextRenderer1, IDWriteTextRenderer1_Vtbl, 0xd3e0e934_22a0_427e_aae4_7d9574b59db1); -impl std::ops::Deref for IDWriteTextRenderer1 { +impl core::ops::Deref for IDWriteTextRenderer1 { type Target = IDWriteTextRenderer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4079,7 +4079,7 @@ pub struct IDWriteTextRenderer1_Vtbl { pub DrawInlineObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, f32, f32, DWRITE_GLYPH_ORIENTATION_ANGLE, *mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDWriteTypography, IDWriteTypography_Vtbl, 0x55f1112b_1dc2_4b3c_9541_f46894ed85b6); -impl std::ops::Deref for IDWriteTypography { +impl core::ops::Deref for IDWriteTypography { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs index 4a3ba38e5c..fce563ef27 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -6,7 +6,7 @@ where T: windows_core::Interface, { windows_targets::link!("dxgi.dll" "system" fn CreateDXGIFactory(riid : *const windows_core::GUID, ppfactory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateDXGIFactory(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -15,7 +15,7 @@ where T: windows_core::Interface, { windows_targets::link!("dxgi.dll" "system" fn CreateDXGIFactory1(riid : *const windows_core::GUID, ppfactory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateDXGIFactory1(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -24,7 +24,7 @@ where T: windows_core::Interface, { windows_targets::link!("dxgi.dll" "system" fn CreateDXGIFactory2(flags : u32, riid : *const windows_core::GUID, ppfactory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateDXGIFactory2(flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -43,11 +43,11 @@ where T: windows_core::Interface, { windows_targets::link!("dxgi.dll" "system" fn DXGIGetDebugInterface1(flags : u32, riid : *const windows_core::GUID, pdebug : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DXGIGetDebugInterface1(flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IDXGIAdapter, IDXGIAdapter_Vtbl, 0x2411e7e1_12ac_4ccf_bd14_9798e8534dc0); -impl std::ops::Deref for IDXGIAdapter { +impl core::ops::Deref for IDXGIAdapter { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -77,7 +77,7 @@ pub struct IDXGIAdapter_Vtbl { pub CheckInterfaceSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIAdapter1, IDXGIAdapter1_Vtbl, 0x29038f61_3839_4626_91fd_086879011a05); -impl std::ops::Deref for IDXGIAdapter1 { +impl core::ops::Deref for IDXGIAdapter1 { type Target = IDXGIAdapter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -97,7 +97,7 @@ pub struct IDXGIAdapter1_Vtbl { pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_ADAPTER_DESC1) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIAdapter2, IDXGIAdapter2_Vtbl, 0x0aa1ae0a_fa0e_4b84_8644_e05ff8e5acb5); -impl std::ops::Deref for IDXGIAdapter2 { +impl core::ops::Deref for IDXGIAdapter2 { type Target = IDXGIAdapter1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -117,7 +117,7 @@ pub struct IDXGIAdapter2_Vtbl { pub GetDesc2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_ADAPTER_DESC2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIAdapter3, IDXGIAdapter3_Vtbl, 0x645967a4_1392_4310_a798_8053ce3e93fd); -impl std::ops::Deref for IDXGIAdapter3 { +impl core::ops::Deref for IDXGIAdapter3 { type Target = IDXGIAdapter2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -165,7 +165,7 @@ pub struct IDXGIAdapter3_Vtbl { pub UnregisterVideoMemoryBudgetChangeNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(IDXGIAdapter4, IDXGIAdapter4_Vtbl, 0x3c8d99d1_4fbf_4181_a82c_af66bf7bd24e); -impl std::ops::Deref for IDXGIAdapter4 { +impl core::ops::Deref for IDXGIAdapter4 { type Target = IDXGIAdapter3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -185,7 +185,7 @@ pub struct IDXGIAdapter4_Vtbl { pub GetDesc3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_ADAPTER_DESC3) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIDebug, IDXGIDebug_Vtbl, 0x119e7452_de9e_40fe_8806_88f90c12b441); -impl std::ops::Deref for IDXGIDebug { +impl core::ops::Deref for IDXGIDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -205,7 +205,7 @@ pub struct IDXGIDebug_Vtbl { pub ReportLiveObjects: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, DXGI_DEBUG_RLO_FLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIDebug1, IDXGIDebug1_Vtbl, 0xc5a05f0c_16f2_4adf_9f4d_a8c4d58ac550); -impl std::ops::Deref for IDXGIDebug1 { +impl core::ops::Deref for IDXGIDebug1 { type Target = IDXGIDebug; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -233,7 +233,7 @@ pub struct IDXGIDebug1_Vtbl { pub IsLeakTrackingEnabledForThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDXGIDecodeSwapChain, IDXGIDecodeSwapChain_Vtbl, 0x2633066b_4514_4c7a_8fd8_12ea98059d18); -impl std::ops::Deref for IDXGIDecodeSwapChain { +impl core::ops::Deref for IDXGIDecodeSwapChain { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -287,7 +287,7 @@ pub struct IDXGIDecodeSwapChain_Vtbl { pub GetColorSpace: unsafe extern "system" fn(*mut core::ffi::c_void) -> DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS, } windows_core::imp::define_interface!(IDXGIDevice, IDXGIDevice_Vtbl, 0x54ec77fa_1377_44e6_8c32_88fd5f44c84c); -impl std::ops::Deref for IDXGIDevice { +impl core::ops::Deref for IDXGIDevice { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -329,7 +329,7 @@ pub struct IDXGIDevice_Vtbl { pub GetGPUThreadPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIDevice1, IDXGIDevice1_Vtbl, 0x77db970f_6276_48ba_ba28_070143b4392c); -impl std::ops::Deref for IDXGIDevice1 { +impl core::ops::Deref for IDXGIDevice1 { type Target = IDXGIDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -354,7 +354,7 @@ pub struct IDXGIDevice1_Vtbl { pub GetMaximumFrameLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIDevice2, IDXGIDevice2_Vtbl, 0x05008617_fbfd_4051_a790_144884b4f6a9); -impl std::ops::Deref for IDXGIDevice2 { +impl core::ops::Deref for IDXGIDevice2 { type Target = IDXGIDevice1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -385,7 +385,7 @@ pub struct IDXGIDevice2_Vtbl { pub EnqueueSetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIDevice3, IDXGIDevice3_Vtbl, 0x6007896c_3244_4afd_bf18_a6d3beda5023); -impl std::ops::Deref for IDXGIDevice3 { +impl core::ops::Deref for IDXGIDevice3 { type Target = IDXGIDevice2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -405,7 +405,7 @@ pub struct IDXGIDevice3_Vtbl { pub Trim: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IDXGIDevice4, IDXGIDevice4_Vtbl, 0x95b4f95f_d8da_4ca4_9ee6_3b76d5968a10); -impl std::ops::Deref for IDXGIDevice4 { +impl core::ops::Deref for IDXGIDevice4 { type Target = IDXGIDevice3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -429,7 +429,7 @@ pub struct IDXGIDevice4_Vtbl { pub ReclaimResources1: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *mut DXGI_RECLAIM_RESOURCE_RESULTS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIDeviceSubObject, IDXGIDeviceSubObject_Vtbl, 0x3d3e0379_f9de_4d58_bb6c_18d62992f1a6); -impl std::ops::Deref for IDXGIDeviceSubObject { +impl core::ops::Deref for IDXGIDeviceSubObject { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -441,7 +441,7 @@ impl IDXGIDeviceSubObject { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -453,7 +453,7 @@ pub struct IDXGIDeviceSubObject_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIDisplayControl, IDXGIDisplayControl_Vtbl, 0xea9dbf1a_c88e_4486_854a_98aa0138f30c); -impl std::ops::Deref for IDXGIDisplayControl { +impl core::ops::Deref for IDXGIDisplayControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -480,7 +480,7 @@ pub struct IDXGIDisplayControl_Vtbl { pub SetStereoEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } windows_core::imp::define_interface!(IDXGIFactory, IDXGIFactory_Vtbl, 0x7b7166ec_21c7_44ae_b21a_c9ae321ae369); -impl std::ops::Deref for IDXGIFactory { +impl core::ops::Deref for IDXGIFactory { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -532,7 +532,7 @@ pub struct IDXGIFactory_Vtbl { pub CreateSoftwareAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HMODULE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIFactory1, IDXGIFactory1_Vtbl, 0x770aae78_f26f_4dba_a829_253c83d1b387); -impl std::ops::Deref for IDXGIFactory1 { +impl core::ops::Deref for IDXGIFactory1 { type Target = IDXGIFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -557,7 +557,7 @@ pub struct IDXGIFactory1_Vtbl { pub IsCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDXGIFactory2, IDXGIFactory2_Vtbl, 0x50c83a1c_e072_4c48_87b0_3630fa36a6d0); -impl std::ops::Deref for IDXGIFactory2 { +impl core::ops::Deref for IDXGIFactory2 { type Target = IDXGIFactory1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -666,7 +666,7 @@ pub struct IDXGIFactory2_Vtbl { CreateSwapChainForComposition: usize, } windows_core::imp::define_interface!(IDXGIFactory3, IDXGIFactory3_Vtbl, 0x25483823_cd46_4c7d_86ca_47aa95b837bd); -impl std::ops::Deref for IDXGIFactory3 { +impl core::ops::Deref for IDXGIFactory3 { type Target = IDXGIFactory2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -686,7 +686,7 @@ pub struct IDXGIFactory3_Vtbl { pub GetCreationFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(IDXGIFactory4, IDXGIFactory4_Vtbl, 0x1bc6ea02_ef36_464f_bf0c_21ca39e5168a); -impl std::ops::Deref for IDXGIFactory4 { +impl core::ops::Deref for IDXGIFactory4 { type Target = IDXGIFactory3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -698,14 +698,14 @@ impl IDXGIFactory4 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).EnumAdapterByLuid)(windows_core::Interface::as_raw(self), core::mem::transmute(adapterluid), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumWarpAdapter(&self) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).EnumWarpAdapter)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -718,7 +718,7 @@ pub struct IDXGIFactory4_Vtbl { pub EnumWarpAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIFactory5, IDXGIFactory5_Vtbl, 0x7632e1f5_ee65_4dca_87fd_84cd75f8838d); -impl std::ops::Deref for IDXGIFactory5 { +impl core::ops::Deref for IDXGIFactory5 { type Target = IDXGIFactory4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -738,7 +738,7 @@ pub struct IDXGIFactory5_Vtbl { pub CheckFeatureSupport: unsafe extern "system" fn(*mut core::ffi::c_void, DXGI_FEATURE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIFactory6, IDXGIFactory6_Vtbl, 0xc1b6694f_ff09_44a9_b03c_77900a0a1d17); -impl std::ops::Deref for IDXGIFactory6 { +impl core::ops::Deref for IDXGIFactory6 { type Target = IDXGIFactory5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -750,7 +750,7 @@ impl IDXGIFactory6 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).EnumAdapterByGpuPreference)(windows_core::Interface::as_raw(self), adapter, gpupreference, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -762,7 +762,7 @@ pub struct IDXGIFactory6_Vtbl { pub EnumAdapterByGpuPreference: unsafe extern "system" fn(*mut core::ffi::c_void, u32, DXGI_GPU_PREFERENCE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIFactory7, IDXGIFactory7_Vtbl, 0xa4966eed_76db_44da_84c1_ee9a7afb20a8); -impl std::ops::Deref for IDXGIFactory7 { +impl core::ops::Deref for IDXGIFactory7 { type Target = IDXGIFactory6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -790,7 +790,7 @@ pub struct IDXGIFactory7_Vtbl { pub UnregisterAdaptersChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIFactoryMedia, IDXGIFactoryMedia_Vtbl, 0x41e7d1f2_a591_4f7b_a2e5_fa9c843e1c12); -impl std::ops::Deref for IDXGIFactoryMedia { +impl core::ops::Deref for IDXGIFactoryMedia { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -831,7 +831,7 @@ pub struct IDXGIFactoryMedia_Vtbl { pub CreateDecodeSwapChainForCompositionSurfaceHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HANDLE, *const DXGI_DECODE_SWAP_CHAIN_DESC, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIInfoQueue, IDXGIInfoQueue_Vtbl, 0xd67441c7_672a_476f_9e82_cd55b44949ce); -impl std::ops::Deref for IDXGIInfoQueue { +impl core::ops::Deref for IDXGIInfoQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1013,7 +1013,7 @@ pub struct IDXGIInfoQueue_Vtbl { pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDXGIKeyedMutex, IDXGIKeyedMutex_Vtbl, 0x9d8e1289_d7b3_465f_8126_250e349af85d); -impl std::ops::Deref for IDXGIKeyedMutex { +impl core::ops::Deref for IDXGIKeyedMutex { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1037,7 +1037,7 @@ pub struct IDXGIKeyedMutex_Vtbl { pub ReleaseSync: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIObject, IDXGIObject_Vtbl, 0xaec22fb8_76f3_4639_9be0_28eb43a67a2e); -impl std::ops::Deref for IDXGIObject { +impl core::ops::Deref for IDXGIObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1061,7 +1061,7 @@ impl IDXGIObject { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetParent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1076,7 +1076,7 @@ pub struct IDXGIObject_Vtbl { pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIOutput, IDXGIOutput_Vtbl, 0xae02eedb_c735_4690_8d52_5a8dc20213aa); -impl std::ops::Deref for IDXGIOutput { +impl core::ops::Deref for IDXGIOutput { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1177,7 +1177,7 @@ pub struct IDXGIOutput_Vtbl { pub GetFrameStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_FRAME_STATISTICS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIOutput1, IDXGIOutput1_Vtbl, 0x00cddea8_939b_4b83_a340_a685226666cc); -impl std::ops::Deref for IDXGIOutput1 { +impl core::ops::Deref for IDXGIOutput1 { type Target = IDXGIOutput; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1227,7 +1227,7 @@ pub struct IDXGIOutput1_Vtbl { pub DuplicateOutput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIOutput2, IDXGIOutput2_Vtbl, 0x595e39d1_2724_4663_99b1_da969de28364); -impl std::ops::Deref for IDXGIOutput2 { +impl core::ops::Deref for IDXGIOutput2 { type Target = IDXGIOutput1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1247,7 +1247,7 @@ pub struct IDXGIOutput2_Vtbl { pub SupportsOverlays: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDXGIOutput3, IDXGIOutput3_Vtbl, 0x8a6bb301_7e7e_41f4_a8e0_5b32f7f99b18); -impl std::ops::Deref for IDXGIOutput3 { +impl core::ops::Deref for IDXGIOutput3 { type Target = IDXGIOutput2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1275,7 +1275,7 @@ pub struct IDXGIOutput3_Vtbl { CheckOverlaySupport: usize, } windows_core::imp::define_interface!(IDXGIOutput4, IDXGIOutput4_Vtbl, 0xdc7dca35_2196_414d_9f53_617884032a60); -impl std::ops::Deref for IDXGIOutput4 { +impl core::ops::Deref for IDXGIOutput4 { type Target = IDXGIOutput3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1303,7 +1303,7 @@ pub struct IDXGIOutput4_Vtbl { CheckOverlayColorSpaceSupport: usize, } windows_core::imp::define_interface!(IDXGIOutput5, IDXGIOutput5_Vtbl, 0x80a07424_ab52_42eb_833c_0c42fd282d98); -impl std::ops::Deref for IDXGIOutput5 { +impl core::ops::Deref for IDXGIOutput5 { type Target = IDXGIOutput4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1331,7 +1331,7 @@ pub struct IDXGIOutput5_Vtbl { DuplicateOutput1: usize, } windows_core::imp::define_interface!(IDXGIOutput6, IDXGIOutput6_Vtbl, 0x068346e8_aaec_4b84_add7_137f513f77a1); -impl std::ops::Deref for IDXGIOutput6 { +impl core::ops::Deref for IDXGIOutput6 { type Target = IDXGIOutput5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1360,7 +1360,7 @@ pub struct IDXGIOutput6_Vtbl { pub CheckHardwareCompositionSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIOutputDuplication, IDXGIOutputDuplication_Vtbl, 0x191cfac3_a341_470d_b26e_a864f428319c); -impl std::ops::Deref for IDXGIOutputDuplication { +impl core::ops::Deref for IDXGIOutputDuplication { type Target = IDXGIObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1413,7 +1413,7 @@ pub struct IDXGIOutputDuplication_Vtbl { pub ReleaseFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIResource, IDXGIResource_Vtbl, 0x035f3ab4_482e_4e50_b41f_8a7f8bd8960b); -impl std::ops::Deref for IDXGIResource { +impl core::ops::Deref for IDXGIResource { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1448,7 +1448,7 @@ pub struct IDXGIResource_Vtbl { pub GetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGIResource1, IDXGIResource1_Vtbl, 0x30961379_4609_4a41_998e_54fe567ee0c1); -impl std::ops::Deref for IDXGIResource1 { +impl core::ops::Deref for IDXGIResource1 { type Target = IDXGIResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1481,7 +1481,7 @@ pub struct IDXGIResource1_Vtbl { CreateSharedHandle: usize, } windows_core::imp::define_interface!(IDXGISurface, IDXGISurface_Vtbl, 0xcafcb56c_6ac3_4889_bf47_9e23bbd260ec); -impl std::ops::Deref for IDXGISurface { +impl core::ops::Deref for IDXGISurface { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1513,7 +1513,7 @@ pub struct IDXGISurface_Vtbl { pub Unmap: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGISurface1, IDXGISurface1_Vtbl, 0x4ae63092_6327_4c1b_80ae_bfe12ea32b86); -impl std::ops::Deref for IDXGISurface1 { +impl core::ops::Deref for IDXGISurface1 { type Target = IDXGISurface; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1545,7 +1545,7 @@ pub struct IDXGISurface1_Vtbl { pub ReleaseDC: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGISurface2, IDXGISurface2_Vtbl, 0xaba496dd_b617_4cb8_a866_bc44d7eb1fa2); -impl std::ops::Deref for IDXGISurface2 { +impl core::ops::Deref for IDXGISurface2 { type Target = IDXGISurface1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1557,7 +1557,7 @@ impl IDXGISurface2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetResource)(windows_core::Interface::as_raw(self), &T::IID, &mut result__, psubresourceindex).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1569,7 +1569,7 @@ pub struct IDXGISurface2_Vtbl { pub GetResource: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGISwapChain, IDXGISwapChain_Vtbl, 0x310d36a0_d2e7_4c0a_aa04_6a9d23b8886a); -impl std::ops::Deref for IDXGISwapChain { +impl core::ops::Deref for IDXGISwapChain { type Target = IDXGIDeviceSubObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1584,7 +1584,7 @@ impl IDXGISwapChain { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetBuffer)(windows_core::Interface::as_raw(self), buffer, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetFullscreenState(&self, fullscreen: P0, ptarget: P1) -> windows_core::Result<()> @@ -1647,7 +1647,7 @@ pub struct IDXGISwapChain_Vtbl { pub GetLastPresentCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGISwapChain1, IDXGISwapChain1_Vtbl, 0x790a45f7_0d42_4876_983a_0a55cfe6f4aa); -impl std::ops::Deref for IDXGISwapChain1 { +impl core::ops::Deref for IDXGISwapChain1 { type Target = IDXGISwapChain; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1671,7 +1671,7 @@ impl IDXGISwapChain1 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCoreWindow)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Present1(&self, syncinterval: u32, presentflags: u32, ppresentparameters: *const DXGI_PRESENT_PARAMETERS) -> windows_core::HRESULT { @@ -1731,7 +1731,7 @@ pub struct IDXGISwapChain1_Vtbl { GetRotation: usize, } windows_core::imp::define_interface!(IDXGISwapChain2, IDXGISwapChain2_Vtbl, 0xa8be2ac4_199f_4946_b331_79599fb98de7); -impl std::ops::Deref for IDXGISwapChain2 { +impl core::ops::Deref for IDXGISwapChain2 { type Target = IDXGISwapChain1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1776,7 +1776,7 @@ pub struct IDXGISwapChain2_Vtbl { pub GetMatrixTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_MATRIX_3X2_F) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGISwapChain3, IDXGISwapChain3_Vtbl, 0x94d99bdb_f1f8_4ab0_b236_7da0170edab1); -impl std::ops::Deref for IDXGISwapChain3 { +impl core::ops::Deref for IDXGISwapChain3 { type Target = IDXGISwapChain2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1821,7 +1821,7 @@ pub struct IDXGISwapChain3_Vtbl { ResizeBuffers1: usize, } windows_core::imp::define_interface!(IDXGISwapChain4, IDXGISwapChain4_Vtbl, 0x3d585d5a_bd4a_489e_b1f4_3dbcb6452ffb); -impl std::ops::Deref for IDXGISwapChain4 { +impl core::ops::Deref for IDXGISwapChain4 { type Target = IDXGISwapChain3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1841,7 +1841,7 @@ pub struct IDXGISwapChain4_Vtbl { pub SetHDRMetaData: unsafe extern "system" fn(*mut core::ffi::c_void, DXGI_HDR_METADATA_TYPE, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGISwapChainMedia, IDXGISwapChainMedia_Vtbl, 0xdd95b90b_f05f_4f6a_bd65_25bfb264bd84); -impl std::ops::Deref for IDXGISwapChainMedia { +impl core::ops::Deref for IDXGISwapChainMedia { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1869,7 +1869,7 @@ pub struct IDXGISwapChainMedia_Vtbl { pub CheckPresentDurationSupport: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXGraphicsAnalysis, IDXGraphicsAnalysis_Vtbl, 0x9f251514_9d4d_4902_9d60_18988ab7d4b5); -impl std::ops::Deref for IDXGraphicsAnalysis { +impl core::ops::Deref for IDXGraphicsAnalysis { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs index 224ac4b1eb..1fe8c42a88 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs @@ -3433,7 +3433,7 @@ pub struct GdiplusAbort_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageBytes, IImageBytes_Vtbl, 0x025d1823_6c7d_447b_bbdb_a3cbc3dfa2fc); -impl std::ops::Deref for IImageBytes { +impl core::ops::Deref for IImageBytes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs index cdec96a9f8..f167e4a2ee 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IWICImageEncoder, IWICImageEncoder_Vtbl, 0x04c75bf8_3ce1_473b_acc5_3cc4f5e94999); -impl std::ops::Deref for IWICImageEncoder { +impl core::ops::Deref for IWICImageEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -49,7 +49,7 @@ pub struct IWICImageEncoder_Vtbl { WriteThumbnail: usize, } windows_core::imp::define_interface!(IWICImagingFactory2, IWICImagingFactory2_Vtbl, 0x7b816b45_1996_4476_b132_de9e247c8af0); -impl std::ops::Deref for IWICImagingFactory2 { +impl core::ops::Deref for IWICImagingFactory2 { type Target = super::IWICImagingFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs index c30c8cd4a1..d8c4abbc11 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -79,7 +79,7 @@ where WICSerializeMetadataContent(guidcontainerformat, piwriter.param().abi(), dwpersistoptions, pistream.param().abi()).ok() } windows_core::imp::define_interface!(IWICBitmap, IWICBitmap_Vtbl, 0x00000121_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICBitmap { +impl core::ops::Deref for IWICBitmap { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -109,7 +109,7 @@ pub struct IWICBitmap_Vtbl { pub SetResolution: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapClipper, IWICBitmapClipper_Vtbl, 0xe4fbcf03_223d_4e81_9333_d635556dd1b5); -impl std::ops::Deref for IWICBitmapClipper { +impl core::ops::Deref for IWICBitmapClipper { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -130,7 +130,7 @@ pub struct IWICBitmapClipper_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const WICRect) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapCodecInfo, IWICBitmapCodecInfo_Vtbl, 0xe87a44c4_b76e_4c47_8b09_298eb12a2714); -impl std::ops::Deref for IWICBitmapCodecInfo { +impl core::ops::Deref for IWICBitmapCodecInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -201,7 +201,7 @@ pub struct IWICBitmapCodecInfo_Vtbl { pub MatchesMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapCodecProgressNotification, IWICBitmapCodecProgressNotification_Vtbl, 0x64c1024e_c3cf_4462_8078_88c2b11c46d9); -impl std::ops::Deref for IWICBitmapCodecProgressNotification { +impl core::ops::Deref for IWICBitmapCodecProgressNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -219,7 +219,7 @@ pub struct IWICBitmapCodecProgressNotification_Vtbl { pub RegisterProgressNotification: unsafe extern "system" fn(*mut core::ffi::c_void, PFNProgressNotification, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapDecoder, IWICBitmapDecoder_Vtbl, 0x9edde9e7_8dee_47ea_99df_e6faf2ed44bf); -impl std::ops::Deref for IWICBitmapDecoder { +impl core::ops::Deref for IWICBitmapDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -302,7 +302,7 @@ pub struct IWICBitmapDecoder_Vtbl { pub GetFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapDecoderInfo, IWICBitmapDecoderInfo_Vtbl, 0xd8cd007f_d08f_4191_9bfc_236ea7f0e4b5); -impl std::ops::Deref for IWICBitmapDecoderInfo { +impl core::ops::Deref for IWICBitmapDecoderInfo { type Target = IWICBitmapCodecInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -337,7 +337,7 @@ pub struct IWICBitmapDecoderInfo_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapEncoder, IWICBitmapEncoder_Vtbl, 0x00000103_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICBitmapEncoder { +impl core::ops::Deref for IWICBitmapEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -414,7 +414,7 @@ pub struct IWICBitmapEncoder_Vtbl { pub GetMetadataQueryWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapEncoderInfo, IWICBitmapEncoderInfo_Vtbl, 0x94c9b4ee_a09f_4f92_8a1e_4a9bce7e76fb); -impl std::ops::Deref for IWICBitmapEncoderInfo { +impl core::ops::Deref for IWICBitmapEncoderInfo { type Target = IWICBitmapCodecInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -433,7 +433,7 @@ pub struct IWICBitmapEncoderInfo_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapFlipRotator, IWICBitmapFlipRotator_Vtbl, 0x5009834f_2d6a_41ce_9e1b_17c5aff7a782); -impl std::ops::Deref for IWICBitmapFlipRotator { +impl core::ops::Deref for IWICBitmapFlipRotator { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -454,7 +454,7 @@ pub struct IWICBitmapFlipRotator_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WICBitmapTransformOptions) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapFrameDecode, IWICBitmapFrameDecode_Vtbl, 0x3b16811b_6a43_4ec9_a813_3d930c13b940); -impl std::ops::Deref for IWICBitmapFrameDecode { +impl core::ops::Deref for IWICBitmapFrameDecode { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -482,7 +482,7 @@ pub struct IWICBitmapFrameDecode_Vtbl { pub GetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapFrameEncode, IWICBitmapFrameEncode_Vtbl, 0x00000105_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICBitmapFrameEncode { +impl core::ops::Deref for IWICBitmapFrameEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -557,7 +557,7 @@ pub struct IWICBitmapFrameEncode_Vtbl { pub GetMetadataQueryWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapLock, IWICBitmapLock_Vtbl, 0x00000123_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICBitmapLock { +impl core::ops::Deref for IWICBitmapLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -589,7 +589,7 @@ pub struct IWICBitmapLock_Vtbl { pub GetPixelFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapScaler, IWICBitmapScaler_Vtbl, 0x00000302_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICBitmapScaler { +impl core::ops::Deref for IWICBitmapScaler { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -610,7 +610,7 @@ pub struct IWICBitmapScaler_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, WICBitmapInterpolationMode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapSource, IWICBitmapSource_Vtbl, 0x00000120_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICBitmapSource { +impl core::ops::Deref for IWICBitmapSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -648,7 +648,7 @@ pub struct IWICBitmapSource_Vtbl { pub CopyPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *const WICRect, u32, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICBitmapSourceTransform, IWICBitmapSourceTransform_Vtbl, 0x3b16811b_6a43_4ec9_b713_3d5a0c13b940); -impl std::ops::Deref for IWICBitmapSourceTransform { +impl core::ops::Deref for IWICBitmapSourceTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -679,7 +679,7 @@ pub struct IWICBitmapSourceTransform_Vtbl { pub DoesSupportTransform: unsafe extern "system" fn(*mut core::ffi::c_void, WICBitmapTransformOptions, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICColorContext, IWICColorContext_Vtbl, 0x3c613a02_34b2_44ea_9a7c_45aea9c6fd6d); -impl std::ops::Deref for IWICColorContext { +impl core::ops::Deref for IWICColorContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -722,7 +722,7 @@ pub struct IWICColorContext_Vtbl { pub GetExifColorSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICColorTransform, IWICColorTransform_Vtbl, 0xb66f034f_d0e2_40ab_b436_6de39e321a94); -impl std::ops::Deref for IWICColorTransform { +impl core::ops::Deref for IWICColorTransform { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -745,7 +745,7 @@ pub struct IWICColorTransform_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICComponentFactory, IWICComponentFactory_Vtbl, 0x412d0c3a_9650_44fa_af5b_dd2a06c8e8fb); -impl std::ops::Deref for IWICComponentFactory { +impl core::ops::Deref for IWICComponentFactory { type Target = IWICImagingFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -821,7 +821,7 @@ pub struct IWICComponentFactory_Vtbl { CreateEncoderPropertyBag: usize, } windows_core::imp::define_interface!(IWICComponentInfo, IWICComponentInfo_Vtbl, 0x23bc3f0a_698b_4357_886b_f24d50671334); -impl std::ops::Deref for IWICComponentInfo { +impl core::ops::Deref for IWICComponentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -871,7 +871,7 @@ pub struct IWICComponentInfo_Vtbl { pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICDdsDecoder, IWICDdsDecoder_Vtbl, 0x409cd537_8532_40cb_9774_e2feb2df4e9c); -impl std::ops::Deref for IWICDdsDecoder { +impl core::ops::Deref for IWICDdsDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -898,7 +898,7 @@ pub struct IWICDdsDecoder_Vtbl { pub GetFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICDdsEncoder, IWICDdsEncoder_Vtbl, 0x5cacdb4c_407e_41b3_b936_d0f010cd6732); -impl std::ops::Deref for IWICDdsEncoder { +impl core::ops::Deref for IWICDdsEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -932,7 +932,7 @@ pub struct IWICDdsEncoder_Vtbl { pub CreateNewFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICDdsFrameDecode, IWICDdsFrameDecode_Vtbl, 0x3d4c0c61_18a4_41e4_bd80_481a4fc9f464); -impl std::ops::Deref for IWICDdsFrameDecode { +impl core::ops::Deref for IWICDdsFrameDecode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -963,7 +963,7 @@ pub struct IWICDdsFrameDecode_Vtbl { pub CopyBlocks: unsafe extern "system" fn(*mut core::ffi::c_void, *const WICRect, u32, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICDevelopRaw, IWICDevelopRaw_Vtbl, 0xfbec5e44_f7be_4b65_b7f8_c0c81fef026d); -impl std::ops::Deref for IWICDevelopRaw { +impl core::ops::Deref for IWICDevelopRaw { type Target = IWICBitmapFrameDecode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1127,7 +1127,7 @@ pub struct IWICDevelopRaw_Vtbl { pub SetNotificationCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICDevelopRawNotificationCallback, IWICDevelopRawNotificationCallback_Vtbl, 0x95c75a6e_3e8c_4ec2_85a8_aebcc551e59b); -impl std::ops::Deref for IWICDevelopRawNotificationCallback { +impl core::ops::Deref for IWICDevelopRawNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1145,7 +1145,7 @@ pub struct IWICDevelopRawNotificationCallback_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICEnumMetadataItem, IWICEnumMetadataItem_Vtbl, 0xdc2bb46d_3f07_481e_8625_220c4aedbb33); -impl std::ops::Deref for IWICEnumMetadataItem { +impl core::ops::Deref for IWICEnumMetadataItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1176,7 +1176,7 @@ pub struct IWICEnumMetadataItem_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICFastMetadataEncoder, IWICFastMetadataEncoder_Vtbl, 0xb84e2c09_78c9_4ac4_8bd3_524ae1663a2f); -impl std::ops::Deref for IWICFastMetadataEncoder { +impl core::ops::Deref for IWICFastMetadataEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1199,7 +1199,7 @@ pub struct IWICFastMetadataEncoder_Vtbl { pub GetMetadataQueryWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICFormatConverter, IWICFormatConverter_Vtbl, 0x00000301_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICFormatConverter { +impl core::ops::Deref for IWICFormatConverter { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1226,7 +1226,7 @@ pub struct IWICFormatConverter_Vtbl { pub CanConvert: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICFormatConverterInfo, IWICFormatConverterInfo_Vtbl, 0x9f34fb65_13f4_4f15_bc57_3726b5e53d9f); -impl std::ops::Deref for IWICFormatConverterInfo { +impl core::ops::Deref for IWICFormatConverterInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1249,7 +1249,7 @@ pub struct IWICFormatConverterInfo_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICImagingFactory, IWICImagingFactory_Vtbl, 0xec5ec8a9_c395_4314_9c77_54d7a935ff70); -impl std::ops::Deref for IWICImagingFactory { +impl core::ops::Deref for IWICImagingFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1436,7 +1436,7 @@ pub struct IWICImagingFactory_Vtbl { pub CreateQueryWriterFromReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICJpegFrameDecode, IWICJpegFrameDecode_Vtbl, 0x8939f66e_c46a_4c21_a9d1_98b327ce1679); -impl std::ops::Deref for IWICJpegFrameDecode { +impl core::ops::Deref for IWICJpegFrameDecode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1503,7 +1503,7 @@ pub struct IWICJpegFrameDecode_Vtbl { pub CopyMinimalStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICJpegFrameEncode, IWICJpegFrameEncode_Vtbl, 0x2f0c601f_d2c6_468c_abfa_49495d983ed1); -impl std::ops::Deref for IWICJpegFrameEncode { +impl core::ops::Deref for IWICJpegFrameEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1545,7 +1545,7 @@ pub struct IWICJpegFrameEncode_Vtbl { pub WriteScan: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataBlockReader, IWICMetadataBlockReader_Vtbl, 0xfeaa2a8d_b3f3_43e4_b25c_d1de990a1ae1); -impl std::ops::Deref for IWICMetadataBlockReader { +impl core::ops::Deref for IWICMetadataBlockReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1583,7 +1583,7 @@ pub struct IWICMetadataBlockReader_Vtbl { GetEnumerator: usize, } windows_core::imp::define_interface!(IWICMetadataBlockWriter, IWICMetadataBlockWriter_Vtbl, 0x08fb9676_b444_41e8_8dbe_6a53a542bff1); -impl std::ops::Deref for IWICMetadataBlockWriter { +impl core::ops::Deref for IWICMetadataBlockWriter { type Target = IWICMetadataBlockReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1627,7 +1627,7 @@ pub struct IWICMetadataBlockWriter_Vtbl { pub RemoveWriterByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataHandlerInfo, IWICMetadataHandlerInfo_Vtbl, 0xaba958bf_c672_44d1_8d61_ce6df2e682c2); -impl std::ops::Deref for IWICMetadataHandlerInfo { +impl core::ops::Deref for IWICMetadataHandlerInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1673,7 +1673,7 @@ pub struct IWICMetadataHandlerInfo_Vtbl { pub DoesRequireFixedSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataQueryReader, IWICMetadataQueryReader_Vtbl, 0x30989668_e1c9_4597_b395_458eedb808df); -impl std::ops::Deref for IWICMetadataQueryReader { +impl core::ops::Deref for IWICMetadataQueryReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1712,7 +1712,7 @@ pub struct IWICMetadataQueryReader_Vtbl { GetEnumerator: usize, } windows_core::imp::define_interface!(IWICMetadataQueryWriter, IWICMetadataQueryWriter_Vtbl, 0xa721791a_0def_4d06_bd91_2118bf1db10b); -impl std::ops::Deref for IWICMetadataQueryWriter { +impl core::ops::Deref for IWICMetadataQueryWriter { type Target = IWICMetadataQueryReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1740,7 +1740,7 @@ pub struct IWICMetadataQueryWriter_Vtbl { pub RemoveMetadataByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataReader, IWICMetadataReader_Vtbl, 0x9204fe99_d8fc_4fd5_a001_9536b067a899); -impl std::ops::Deref for IWICMetadataReader { +impl core::ops::Deref for IWICMetadataReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1782,7 +1782,7 @@ pub struct IWICMetadataReader_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataReaderInfo, IWICMetadataReaderInfo_Vtbl, 0xeebf1f5b_07c1_4447_a3ab_22acaf78a804); -impl std::ops::Deref for IWICMetadataReaderInfo { +impl core::ops::Deref for IWICMetadataReaderInfo { type Target = IWICMetadataHandlerInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1817,7 +1817,7 @@ pub struct IWICMetadataReaderInfo_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataWriter, IWICMetadataWriter_Vtbl, 0xf7836e16_3be0_470b_86bb_160d0aecd7de); -impl std::ops::Deref for IWICMetadataWriter { +impl core::ops::Deref for IWICMetadataWriter { type Target = IWICMetadataReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1847,7 +1847,7 @@ pub struct IWICMetadataWriter_Vtbl { pub RemoveValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICMetadataWriterInfo, IWICMetadataWriterInfo_Vtbl, 0xb22e3fba_3925_4323_b5c1_9ebfc430f236); -impl std::ops::Deref for IWICMetadataWriterInfo { +impl core::ops::Deref for IWICMetadataWriterInfo { type Target = IWICMetadataHandlerInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1870,7 +1870,7 @@ pub struct IWICMetadataWriterInfo_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICPalette, IWICPalette_Vtbl, 0x00000040_a8f2_4877_ba0a_fd2b6645fb94); -impl std::ops::Deref for IWICPalette { +impl core::ops::Deref for IWICPalette { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1941,7 +1941,7 @@ pub struct IWICPalette_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWICPersistStream, IWICPersistStream_Vtbl, 0x00675040_6908_45f8_86a3_49c7dfd6d9ad); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWICPersistStream { +impl core::ops::Deref for IWICPersistStream { type Target = super::super::System::Com::IPersistStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1981,7 +1981,7 @@ pub struct IWICPersistStream_Vtbl { SaveEx: usize, } windows_core::imp::define_interface!(IWICPixelFormatInfo, IWICPixelFormatInfo_Vtbl, 0xe8eda601_3d48_431a_ab44_69059be88bbe); -impl std::ops::Deref for IWICPixelFormatInfo { +impl core::ops::Deref for IWICPixelFormatInfo { type Target = IWICComponentInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2019,7 +2019,7 @@ pub struct IWICPixelFormatInfo_Vtbl { pub GetChannelMask: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICPixelFormatInfo2, IWICPixelFormatInfo2_Vtbl, 0xa9db33a2_af5f_43c7_b679_74f5984b5aa4); -impl std::ops::Deref for IWICPixelFormatInfo2 { +impl core::ops::Deref for IWICPixelFormatInfo2 { type Target = IWICPixelFormatInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2043,7 +2043,7 @@ pub struct IWICPixelFormatInfo2_Vtbl { pub GetNumericRepresentation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WICPixelFormatNumericRepresentation) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICPlanarBitmapFrameEncode, IWICPlanarBitmapFrameEncode_Vtbl, 0xf928b7b8_2221_40c1_b72e_7e82f1974d1a); -impl std::ops::Deref for IWICPlanarBitmapFrameEncode { +impl core::ops::Deref for IWICPlanarBitmapFrameEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2065,7 +2065,7 @@ pub struct IWICPlanarBitmapFrameEncode_Vtbl { pub WriteSource: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, *const WICRect) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICPlanarBitmapSourceTransform, IWICPlanarBitmapSourceTransform_Vtbl, 0x3aff9cce_be95_4303_b927_e7d16ff4a613); -impl std::ops::Deref for IWICPlanarBitmapSourceTransform { +impl core::ops::Deref for IWICPlanarBitmapSourceTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2087,7 +2087,7 @@ pub struct IWICPlanarBitmapSourceTransform_Vtbl { pub CopyPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *const WICRect, u32, u32, WICBitmapTransformOptions, WICPlanarOptions, *const WICBitmapPlane, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICPlanarFormatConverter, IWICPlanarFormatConverter_Vtbl, 0xbebee9cb_83b0_4dcc_8132_b0aaa55eac96); -impl std::ops::Deref for IWICPlanarFormatConverter { +impl core::ops::Deref for IWICPlanarFormatConverter { type Target = IWICBitmapSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2113,7 +2113,7 @@ pub struct IWICPlanarFormatConverter_Vtbl { pub CanConvert: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICProgressCallback, IWICProgressCallback_Vtbl, 0x4776f9cd_9517_45fa_bf24_e89c5ec5c60c); -impl std::ops::Deref for IWICProgressCallback { +impl core::ops::Deref for IWICProgressCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2131,7 +2131,7 @@ pub struct IWICProgressCallback_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, WICProgressOperation, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWICProgressiveLevelControl, IWICProgressiveLevelControl_Vtbl, 0xdaac296f_7aa5_4dbf_8d15_225c5976f891); -impl std::ops::Deref for IWICProgressiveLevelControl { +impl core::ops::Deref for IWICProgressiveLevelControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2161,7 +2161,7 @@ pub struct IWICProgressiveLevelControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWICStream, IWICStream_Vtbl, 0x135ff860_22b7_4ddf_b0f6_218f4f299a43); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWICStream { +impl core::ops::Deref for IWICStream { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2211,7 +2211,7 @@ pub struct IWICStream_Vtbl { InitializeFromIStreamRegion: usize, } windows_core::imp::define_interface!(IWICStreamProvider, IWICStreamProvider_Vtbl, 0x449494bc_b468_4927_96d7_ba90d31ab505); -impl std::ops::Deref for IWICStreamProvider { +impl core::ops::Deref for IWICStreamProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs index 91a08a5d08..806ff16fbf 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -1842,7 +1842,7 @@ where XcvDataW(hxcv.param().abi(), pszdataname.param().abi(), core::mem::transmute(pinputdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pinputdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(poutputdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), poutputdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pcboutputneeded, core::mem::transmute(pdwstatus.unwrap_or(std::ptr::null_mut()))) } windows_core::imp::define_interface!(IAsyncGetSendNotificationCookie, IAsyncGetSendNotificationCookie_Vtbl, 0); -impl std::ops::Deref for IAsyncGetSendNotificationCookie { +impl core::ops::Deref for IAsyncGetSendNotificationCookie { type Target = IPrintAsyncCookie; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1864,7 +1864,7 @@ pub struct IAsyncGetSendNotificationCookie_Vtbl { pub FinishAsyncCallWithData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAsyncGetSrvReferralCookie, IAsyncGetSrvReferralCookie_Vtbl, 0); -impl std::ops::Deref for IAsyncGetSrvReferralCookie { +impl core::ops::Deref for IAsyncGetSrvReferralCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1893,7 +1893,7 @@ pub struct IAsyncGetSrvReferralCookie_Vtbl { pub FinishAsyncCallWithData: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBidiAsyncNotifyChannel, IBidiAsyncNotifyChannel_Vtbl, 0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); -impl std::ops::Deref for IBidiAsyncNotifyChannel { +impl core::ops::Deref for IBidiAsyncNotifyChannel { type Target = IPrintAsyncNotifyChannel; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1935,7 +1935,7 @@ pub struct IBidiAsyncNotifyChannel_Vtbl { pub AsyncCloseChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBidiRequest, IBidiRequest_Vtbl, 0x8f348bd7_4b47_4755_8a9d_0f422df3dc89); -impl std::ops::Deref for IBidiRequest { +impl core::ops::Deref for IBidiRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1974,7 +1974,7 @@ pub struct IBidiRequest_Vtbl { pub GetEnumCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBidiRequestContainer, IBidiRequestContainer_Vtbl, 0xd752f6c0_94a8_4275_a77d_8f1d1a1121ae); -impl std::ops::Deref for IBidiRequestContainer { +impl core::ops::Deref for IBidiRequestContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2009,7 +2009,7 @@ pub struct IBidiRequestContainer_Vtbl { pub GetRequestCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBidiSpl, IBidiSpl_Vtbl, 0xd580dc0e_de39_4649_baa8_bf0b85a03a97); -impl std::ops::Deref for IBidiSpl { +impl core::ops::Deref for IBidiSpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2050,7 +2050,7 @@ pub struct IBidiSpl_Vtbl { pub MultiSendRecv: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBidiSpl2, IBidiSpl2_Vtbl, 0x0e8f51b8_8273_4906_8e7b_be453ffd2e2b); -impl std::ops::Deref for IBidiSpl2 { +impl core::ops::Deref for IBidiSpl2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2095,7 +2095,7 @@ pub struct IBidiSpl2_Vtbl { SendRecvXMLStream: usize, } windows_core::imp::define_interface!(IFixedDocument, IFixedDocument_Vtbl, 0xf222ca9f_9968_4db9_81bd_abaebf15f93f); -impl std::ops::Deref for IFixedDocument { +impl core::ops::Deref for IFixedDocument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2126,7 +2126,7 @@ pub struct IFixedDocument_Vtbl { pub SetPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFixedDocumentSequence, IFixedDocumentSequence_Vtbl, 0x8028d181_2c32_4249_8493_1bfb22045574); -impl std::ops::Deref for IFixedDocumentSequence { +impl core::ops::Deref for IFixedDocumentSequence { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2157,7 +2157,7 @@ pub struct IFixedDocumentSequence_Vtbl { pub SetPrintTicket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFixedPage, IFixedPage_Vtbl, 0x3d9f6448_7e95_4cb5_94fb_0180c2883a57); -impl std::ops::Deref for IFixedPage { +impl core::ops::Deref for IFixedPage { type Target = IPartBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2217,7 +2217,7 @@ pub struct IFixedPage_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IImgCreateErrorInfo, IImgCreateErrorInfo_Vtbl, 0x1c55a64c_07cd_4fb5_90f7_b753d91f0c9e); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IImgCreateErrorInfo { +impl core::ops::Deref for IImgCreateErrorInfo { type Target = super::super::System::Ole::ICreateErrorInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2240,7 +2240,7 @@ pub struct IImgCreateErrorInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IImgErrorInfo, IImgErrorInfo_Vtbl, 0x2bce4ece_d30e_445a_9423_6829be945ad8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IImgErrorInfo { +impl core::ops::Deref for IImgErrorInfo { type Target = super::super::System::Com::IErrorInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2291,7 +2291,7 @@ pub struct IImgErrorInfo_Vtbl { pub DetachErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ImgErrorInfo) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInterFilterCommunicator, IInterFilterCommunicator_Vtbl, 0x4daf1e69_81fd_462d_940f_8cd3ddf56fca); -impl std::ops::Deref for IInterFilterCommunicator { +impl core::ops::Deref for IInterFilterCommunicator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2313,7 +2313,7 @@ pub struct IInterFilterCommunicator_Vtbl { pub RequestWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartBase, IPartBase_Vtbl, 0x36d51e28_369e_43ba_a666_9540c62c3f58); -impl std::ops::Deref for IPartBase { +impl core::ops::Deref for IPartBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2346,7 +2346,7 @@ pub struct IPartBase_Vtbl { pub SetPartCompression: unsafe extern "system" fn(*mut core::ffi::c_void, EXpsCompressionOptions) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartColorProfile, IPartColorProfile_Vtbl, 0x63cca95b_7d18_4762_b15e_98658693d24a); -impl std::ops::Deref for IPartColorProfile { +impl core::ops::Deref for IPartColorProfile { type Target = IPartBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2359,7 +2359,7 @@ pub struct IPartColorProfile_Vtbl { pub base__: IPartBase_Vtbl, } windows_core::imp::define_interface!(IPartDiscardControl, IPartDiscardControl_Vtbl, 0xcc350c00_095b_42a5_bf0f_c8780edadb3c); -impl std::ops::Deref for IPartDiscardControl { +impl core::ops::Deref for IPartDiscardControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2377,7 +2377,7 @@ pub struct IPartDiscardControl_Vtbl { pub GetDiscardProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartFont, IPartFont_Vtbl, 0xe07fe0ab_1124_43d0_a865_e8ffb6a3ea82); -impl std::ops::Deref for IPartFont { +impl core::ops::Deref for IPartFont { type Target = IPartBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2406,7 +2406,7 @@ pub struct IPartFont_Vtbl { pub SetFontOptions: unsafe extern "system" fn(*mut core::ffi::c_void, EXpsFontOptions) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartFont2, IPartFont2_Vtbl, 0x511e025f_d6cb_43be_bf65_63fe88515a39); -impl std::ops::Deref for IPartFont2 { +impl core::ops::Deref for IPartFont2 { type Target = IPartFont; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2425,7 +2425,7 @@ pub struct IPartFont2_Vtbl { pub GetFontRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EXpsFontRestriction) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartImage, IPartImage_Vtbl, 0x725f2e3c_401a_4705_9de0_fe6f1353b87f); -impl std::ops::Deref for IPartImage { +impl core::ops::Deref for IPartImage { type Target = IPartBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2451,7 +2451,7 @@ pub struct IPartImage_Vtbl { pub SetImageContent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartPrintTicket, IPartPrintTicket_Vtbl, 0x4a0f50f6_f9a2_41f0_99e7_5ae955be8e9e); -impl std::ops::Deref for IPartPrintTicket { +impl core::ops::Deref for IPartPrintTicket { type Target = IPartBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2464,7 +2464,7 @@ pub struct IPartPrintTicket_Vtbl { pub base__: IPartBase_Vtbl, } windows_core::imp::define_interface!(IPartResourceDictionary, IPartResourceDictionary_Vtbl, 0x16cfce6d_e744_4fb3_b474_f1d54f024a01); -impl std::ops::Deref for IPartResourceDictionary { +impl core::ops::Deref for IPartResourceDictionary { type Target = IPartBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2477,7 +2477,7 @@ pub struct IPartResourceDictionary_Vtbl { pub base__: IPartBase_Vtbl, } windows_core::imp::define_interface!(IPartThumbnail, IPartThumbnail_Vtbl, 0x027ed1c9_ba39_4cc5_aa55_7ec3a0de171a); -impl std::ops::Deref for IPartThumbnail { +impl core::ops::Deref for IPartThumbnail { type Target = IPartBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2503,7 +2503,7 @@ pub struct IPartThumbnail_Vtbl { pub SetThumbnailContent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncCookie, IPrintAsyncCookie_Vtbl, 0); -impl std::ops::Deref for IPrintAsyncCookie { +impl core::ops::Deref for IPrintAsyncCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2525,7 +2525,7 @@ pub struct IPrintAsyncCookie_Vtbl { pub CancelAsyncCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncNewChannelCookie, IPrintAsyncNewChannelCookie_Vtbl, 0); -impl std::ops::Deref for IPrintAsyncNewChannelCookie { +impl core::ops::Deref for IPrintAsyncNewChannelCookie { type Target = IPrintAsyncCookie; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2543,7 +2543,7 @@ pub struct IPrintAsyncNewChannelCookie_Vtbl { pub FinishAsyncCallWithData: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncNotify, IPrintAsyncNotify_Vtbl, 0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); -impl std::ops::Deref for IPrintAsyncNotify { +impl core::ops::Deref for IPrintAsyncNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2573,7 +2573,7 @@ pub struct IPrintAsyncNotify_Vtbl { pub CreatePrintAsyncNotifyRegistration: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, PrintAsyncNotifyUserFilter, PrintAsyncNotifyConversationStyle, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncNotifyCallback, IPrintAsyncNotifyCallback_Vtbl, 0x7def34c1_9d92_4c99_b3b3_db94a9d4191b); -impl std::ops::Deref for IPrintAsyncNotifyCallback { +impl core::ops::Deref for IPrintAsyncNotifyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2603,7 +2603,7 @@ pub struct IPrintAsyncNotifyCallback_Vtbl { pub ChannelClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncNotifyChannel, IPrintAsyncNotifyChannel_Vtbl, 0x4a5031b1_1f3f_4db0_a462_4530ed8b0451); -impl std::ops::Deref for IPrintAsyncNotifyChannel { +impl core::ops::Deref for IPrintAsyncNotifyChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2631,7 +2631,7 @@ pub struct IPrintAsyncNotifyChannel_Vtbl { pub CloseChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncNotifyDataObject, IPrintAsyncNotifyDataObject_Vtbl, 0x77cf513e_5d49_4789_9f30_d0822b335c0d); -impl std::ops::Deref for IPrintAsyncNotifyDataObject { +impl core::ops::Deref for IPrintAsyncNotifyDataObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2653,7 +2653,7 @@ pub struct IPrintAsyncNotifyDataObject_Vtbl { pub ReleaseData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncNotifyRegistration, IPrintAsyncNotifyRegistration_Vtbl, 0x0f6f27b6_6f86_4591_9203_64c3bfadedfe); -impl std::ops::Deref for IPrintAsyncNotifyRegistration { +impl core::ops::Deref for IPrintAsyncNotifyRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2675,7 +2675,7 @@ pub struct IPrintAsyncNotifyRegistration_Vtbl { pub UnregisterForNotifications: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintAsyncNotifyServerReferral, IPrintAsyncNotifyServerReferral_Vtbl, 0); -impl std::ops::Deref for IPrintAsyncNotifyServerReferral { +impl core::ops::Deref for IPrintAsyncNotifyServerReferral { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2708,7 +2708,7 @@ pub struct IPrintAsyncNotifyServerReferral_Vtbl { pub SetServerReferral: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintBidiAsyncNotifyRegistration, IPrintBidiAsyncNotifyRegistration_Vtbl, 0); -impl std::ops::Deref for IPrintBidiAsyncNotifyRegistration { +impl core::ops::Deref for IPrintBidiAsyncNotifyRegistration { type Target = IPrintAsyncNotifyRegistration; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2729,7 +2729,7 @@ pub struct IPrintBidiAsyncNotifyRegistration_Vtbl { pub AsyncGetNewChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintClassObjectFactory, IPrintClassObjectFactory_Vtbl, 0x9af593dd_9b02_48a8_9bad_69ace423f88b); -impl std::ops::Deref for IPrintClassObjectFactory { +impl core::ops::Deref for IPrintClassObjectFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2750,7 +2750,7 @@ pub struct IPrintClassObjectFactory_Vtbl { pub GetPrintClassObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCoreHelper, IPrintCoreHelper_Vtbl, 0xa89ec53e_3905_49c6_9c1a_c0a88117fdb6); -impl std::ops::Deref for IPrintCoreHelper { +impl core::ops::Deref for IPrintCoreHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2843,7 +2843,7 @@ pub struct IPrintCoreHelper_Vtbl { pub CreateInstanceOfMSXMLObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCoreHelperPS, IPrintCoreHelperPS_Vtbl, 0xc2c14f6f_95d3_4d63_96cf_6bd9e6c907c2); -impl std::ops::Deref for IPrintCoreHelperPS { +impl core::ops::Deref for IPrintCoreHelperPS { type Target = IPrintCoreHelper; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2881,7 +2881,7 @@ pub struct IPrintCoreHelperPS_Vtbl { pub GetOptionAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, windows_core::PCSTR, windows_core::PCSTR, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintCoreHelperUni, IPrintCoreHelperUni_Vtbl, 0x7e8e51d6_e5ee_4426_817b_958b9444eb79); -impl std::ops::Deref for IPrintCoreHelperUni { +impl core::ops::Deref for IPrintCoreHelperUni { type Target = IPrintCoreHelper; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2912,7 +2912,7 @@ pub struct IPrintCoreHelperUni_Vtbl { CreateDefaultGDLSnapshot: usize, } windows_core::imp::define_interface!(IPrintCoreHelperUni2, IPrintCoreHelperUni2_Vtbl, 0x6c8afdfc_ead0_4d2d_8071_9bf0175a6c3a); -impl std::ops::Deref for IPrintCoreHelperUni2 { +impl core::ops::Deref for IPrintCoreHelperUni2 { type Target = IPrintCoreHelperUni; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2937,7 +2937,7 @@ pub struct IPrintCoreHelperUni2_Vtbl { GetNamedCommand: usize, } windows_core::imp::define_interface!(IPrintCoreUI2, IPrintCoreUI2_Vtbl, 0x085ccfca_3adf_4c9e_b491_d851a6edc997); -impl std::ops::Deref for IPrintCoreUI2 { +impl core::ops::Deref for IPrintCoreUI2 { type Target = IPrintOemDriverUI; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3017,7 +3017,7 @@ pub struct IPrintCoreUI2_Vtbl { pub QuerySimulationSupport: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, u32, *mut u8, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintJob, IPrintJob_Vtbl, 0xb771dab8_1282_41b7_858c_f206e4d20577); -impl std::ops::Deref for IPrintJob { +impl core::ops::Deref for IPrintJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3067,7 +3067,7 @@ pub struct IPrintJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintJobCollection, IPrintJobCollection_Vtbl, 0x72b82a24_a598_4e87_895f_cdb23a49e9dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintJobCollection { +impl core::ops::Deref for IPrintJobCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3099,7 +3099,7 @@ pub struct IPrintJobCollection_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintOemCommon, IPrintOemCommon_Vtbl, 0x7f42285e_91d5_11d1_8820_00c04fb961ec); -impl std::ops::Deref for IPrintOemCommon { +impl core::ops::Deref for IPrintOemCommon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3125,7 +3125,7 @@ pub struct IPrintOemCommon_Vtbl { DevMode: usize, } windows_core::imp::define_interface!(IPrintOemDriverUI, IPrintOemDriverUI_Vtbl, 0x92b05d50_78bc_11d1_9480_00a0c90640b8); -impl std::ops::Deref for IPrintOemDriverUI { +impl core::ops::Deref for IPrintOemDriverUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3159,7 +3159,7 @@ pub struct IPrintOemDriverUI_Vtbl { pub DrvUpdateUISetting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintOemUI, IPrintOemUI_Vtbl, 0xc6a7a9d0_774c_11d1_947f_00a0c90640b8); -impl std::ops::Deref for IPrintOemUI { +impl core::ops::Deref for IPrintOemUI { type Target = IPrintOemCommon; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3270,7 +3270,7 @@ pub struct IPrintOemUI_Vtbl { pub UpdateExternalFonts: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, super::super::Foundation::HANDLE, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintOemUI2, IPrintOemUI2_Vtbl, 0x292515f9_b54b_489b_9275_bab56821395e); -impl std::ops::Deref for IPrintOemUI2 { +impl core::ops::Deref for IPrintOemUI2 { type Target = IPrintOemUI; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3311,7 +3311,7 @@ pub struct IPrintOemUI2_Vtbl { DocumentEvent: usize, } windows_core::imp::define_interface!(IPrintOemUIMXDC, IPrintOemUIMXDC_Vtbl, 0x7349d725_e2c1_4dca_afb5_c13e91bc9306); -impl std::ops::Deref for IPrintOemUIMXDC { +impl core::ops::Deref for IPrintOemUIMXDC { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3358,7 +3358,7 @@ pub struct IPrintOemUIMXDC_Vtbl { AdjustDPI: usize, } windows_core::imp::define_interface!(IPrintPipelineFilter, IPrintPipelineFilter_Vtbl, 0xcdb62fc0_8bed_434e_86fb_a2cae55f19ea); -impl std::ops::Deref for IPrintPipelineFilter { +impl core::ops::Deref for IPrintPipelineFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3389,7 +3389,7 @@ pub struct IPrintPipelineFilter_Vtbl { pub StartOperation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintPipelineManagerControl, IPrintPipelineManagerControl_Vtbl, 0xaa3e4910_5889_4681_91ef_823ad4ed4e44); -impl std::ops::Deref for IPrintPipelineManagerControl { +impl core::ops::Deref for IPrintPipelineManagerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3418,7 +3418,7 @@ pub struct IPrintPipelineManagerControl_Vtbl { pub FilterFinished: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintPipelineProgressReport, IPrintPipelineProgressReport_Vtbl, 0xedc12c7c_ed40_4ea5_96a6_5e4397497a61); -impl std::ops::Deref for IPrintPipelineProgressReport { +impl core::ops::Deref for IPrintPipelineProgressReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3436,7 +3436,7 @@ pub struct IPrintPipelineProgressReport_Vtbl { pub ReportProgress: unsafe extern "system" fn(*mut core::ffi::c_void, EXpsJobConsumption) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintPipelinePropertyBag, IPrintPipelinePropertyBag_Vtbl, 0x8b8c99dc_7892_4a95_8a04_57422e9fbb47); -impl std::ops::Deref for IPrintPipelinePropertyBag { +impl core::ops::Deref for IPrintPipelinePropertyBag { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3472,7 +3472,7 @@ pub struct IPrintPipelinePropertyBag_Vtbl { pub DeleteProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IPrintPreviewDxgiPackageTarget, IPrintPreviewDxgiPackageTarget_Vtbl, 0x1a6dd0ad_1e2a_4e99_a5ba_91f17818290e); -impl std::ops::Deref for IPrintPreviewDxgiPackageTarget { +impl core::ops::Deref for IPrintPreviewDxgiPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3505,7 +3505,7 @@ pub struct IPrintPreviewDxgiPackageTarget_Vtbl { pub InvalidatePreview: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintReadStream, IPrintReadStream_Vtbl, 0x4d47a67c_66cc_4430_850e_daf466fe5bc4); -impl std::ops::Deref for IPrintReadStream { +impl core::ops::Deref for IPrintReadStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3527,7 +3527,7 @@ pub struct IPrintReadStream_Vtbl { pub ReadBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintReadStreamFactory, IPrintReadStreamFactory_Vtbl, 0xacb971e3_df8d_4fc2_bee6_0609d15f3cf9); -impl std::ops::Deref for IPrintReadStreamFactory { +impl core::ops::Deref for IPrintReadStreamFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3548,7 +3548,7 @@ pub struct IPrintReadStreamFactory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaAsyncOperation, IPrintSchemaAsyncOperation_Vtbl, 0x143c8dcb_d37f_47f7_88e8_6b1d21f2c5f7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaAsyncOperation { +impl core::ops::Deref for IPrintSchemaAsyncOperation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3575,7 +3575,7 @@ pub struct IPrintSchemaAsyncOperation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaAsyncOperationEvent, IPrintSchemaAsyncOperationEvent_Vtbl, 0x23adbb16_0133_4906_b29a_1dce1d026379); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaAsyncOperationEvent { +impl core::ops::Deref for IPrintSchemaAsyncOperationEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3605,7 +3605,7 @@ pub struct IPrintSchemaAsyncOperationEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaCapabilities, IPrintSchemaCapabilities_Vtbl, 0x5a577640_501d_4927_bcd0_5ef57a7ed175); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaCapabilities { +impl core::ops::Deref for IPrintSchemaCapabilities { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3692,7 +3692,7 @@ pub struct IPrintSchemaCapabilities_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaCapabilities2, IPrintSchemaCapabilities2_Vtbl, 0xb58845f4_9970_4d87_a636_169fb82ed642); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaCapabilities2 { +impl core::ops::Deref for IPrintSchemaCapabilities2 { type Target = IPrintSchemaCapabilities; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3724,7 +3724,7 @@ pub struct IPrintSchemaCapabilities2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaDisplayableElement, IPrintSchemaDisplayableElement_Vtbl, 0xaf45af49_d6aa_407d_bf87_3912236e9d94); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaDisplayableElement { +impl core::ops::Deref for IPrintSchemaDisplayableElement { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3748,7 +3748,7 @@ pub struct IPrintSchemaDisplayableElement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaElement, IPrintSchemaElement_Vtbl, 0x724c1646_e64b_4bbf_8eb4_d45e4fd580da); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaElement { +impl core::ops::Deref for IPrintSchemaElement { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3782,7 +3782,7 @@ pub struct IPrintSchemaElement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaFeature, IPrintSchemaFeature_Vtbl, 0xef189461_5d62_4626_8e57_ff83583c4826); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaFeature { +impl core::ops::Deref for IPrintSchemaFeature { type Target = IPrintSchemaDisplayableElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3844,7 +3844,7 @@ pub struct IPrintSchemaFeature_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaNUpOption, IPrintSchemaNUpOption_Vtbl, 0x1f6342f2_d848_42e3_8995_c10a9ef9a3ba); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaNUpOption { +impl core::ops::Deref for IPrintSchemaNUpOption { type Target = IPrintSchemaOption; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3868,7 +3868,7 @@ pub struct IPrintSchemaNUpOption_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaOption, IPrintSchemaOption_Vtbl, 0x66bb2f51_5844_4997_8d70_4b7cc221cf92); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaOption { +impl core::ops::Deref for IPrintSchemaOption { type Target = IPrintSchemaDisplayableElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3906,7 +3906,7 @@ pub struct IPrintSchemaOption_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaOptionCollection, IPrintSchemaOptionCollection_Vtbl, 0xbaecb0bd_a946_4771_bc30_e8b24f8d45c1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaOptionCollection { +impl core::ops::Deref for IPrintSchemaOptionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3944,7 +3944,7 @@ pub struct IPrintSchemaOptionCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaPageImageableSize, IPrintSchemaPageImageableSize_Vtbl, 0x7c85bf5e_dc7c_4f61_839b_4107e1c9b68e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaPageImageableSize { +impl core::ops::Deref for IPrintSchemaPageImageableSize { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3993,7 +3993,7 @@ pub struct IPrintSchemaPageImageableSize_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaPageMediaSizeOption, IPrintSchemaPageMediaSizeOption_Vtbl, 0x68746729_f493_4830_a10f_69028774605d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaPageMediaSizeOption { +impl core::ops::Deref for IPrintSchemaPageMediaSizeOption { type Target = IPrintSchemaOption; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4022,7 +4022,7 @@ pub struct IPrintSchemaPageMediaSizeOption_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaParameterDefinition, IPrintSchemaParameterDefinition_Vtbl, 0xb5ade81e_0e61_4fe1_81c6_c333e4ffe0f1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaParameterDefinition { +impl core::ops::Deref for IPrintSchemaParameterDefinition { type Target = IPrintSchemaDisplayableElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4066,7 +4066,7 @@ pub struct IPrintSchemaParameterDefinition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaParameterInitializer, IPrintSchemaParameterInitializer_Vtbl, 0x52027082_0b74_4648_9564_828cc6cb656c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaParameterInitializer { +impl core::ops::Deref for IPrintSchemaParameterInitializer { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4094,7 +4094,7 @@ pub struct IPrintSchemaParameterInitializer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaTicket, IPrintSchemaTicket_Vtbl, 0xe480b861_4708_4e6d_a5b4_a2b4eeb9baa4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaTicket { +impl core::ops::Deref for IPrintSchemaTicket { type Target = IPrintSchemaElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4181,7 +4181,7 @@ pub struct IPrintSchemaTicket_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintSchemaTicket2, IPrintSchemaTicket2_Vtbl, 0x2ec1f844_766a_47a1_91f4_2eeb6190f80c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintSchemaTicket2 { +impl core::ops::Deref for IPrintSchemaTicket2 { type Target = IPrintSchemaTicket; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4211,7 +4211,7 @@ pub struct IPrintSchemaTicket2_Vtbl { GetParameterInitializer: usize, } windows_core::imp::define_interface!(IPrintTicketProvider, IPrintTicketProvider_Vtbl, 0xbb5116db_0a23_4c3a_a6b6_89e5558dfb5d); -impl std::ops::Deref for IPrintTicketProvider { +impl core::ops::Deref for IPrintTicketProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4288,7 +4288,7 @@ pub struct IPrintTicketProvider_Vtbl { ValidatePrintTicket: usize, } windows_core::imp::define_interface!(IPrintTicketProvider2, IPrintTicketProvider2_Vtbl, 0xb8a70ab2_3dfc_4fec_a074_511b13c651cb); -impl std::ops::Deref for IPrintTicketProvider2 { +impl core::ops::Deref for IPrintTicketProvider2 { type Target = IPrintTicketProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4327,7 +4327,7 @@ pub struct IPrintTicketProvider2_Vtbl { GetPrintDeviceResources: usize, } windows_core::imp::define_interface!(IPrintUnidiAsyncNotifyRegistration, IPrintUnidiAsyncNotifyRegistration_Vtbl, 0); -impl std::ops::Deref for IPrintUnidiAsyncNotifyRegistration { +impl core::ops::Deref for IPrintUnidiAsyncNotifyRegistration { type Target = IPrintAsyncNotifyRegistration; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4348,7 +4348,7 @@ pub struct IPrintUnidiAsyncNotifyRegistration_Vtbl { pub AsyncGetNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintWriteStream, IPrintWriteStream_Vtbl, 0x65bb7f1b_371e_4571_8ac7_912f510c1a38); -impl std::ops::Deref for IPrintWriteStream { +impl core::ops::Deref for IPrintWriteStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4371,7 +4371,7 @@ pub struct IPrintWriteStream_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IPrintWriteStreamFlush, IPrintWriteStreamFlush_Vtbl, 0x07d11ff8_1753_4873_b749_6cdaf068e4c3); -impl std::ops::Deref for IPrintWriteStreamFlush { +impl core::ops::Deref for IPrintWriteStreamFlush { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4389,7 +4389,7 @@ pub struct IPrintWriteStreamFlush_Vtbl { pub FlushData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrinterBidiSetRequestCallback, IPrinterBidiSetRequestCallback_Vtbl, 0xc52d32dd_f2b4_4052_8502_ec4305ecb71f); -impl std::ops::Deref for IPrinterBidiSetRequestCallback { +impl core::ops::Deref for IPrinterBidiSetRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4410,7 +4410,7 @@ pub struct IPrinterBidiSetRequestCallback_Vtbl { pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrinterExtensionAsyncOperation, IPrinterExtensionAsyncOperation_Vtbl, 0x108d6a23_6a4b_4552_9448_68b427186acd); -impl std::ops::Deref for IPrinterExtensionAsyncOperation { +impl core::ops::Deref for IPrinterExtensionAsyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4430,7 +4430,7 @@ pub struct IPrinterExtensionAsyncOperation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterExtensionContext, IPrinterExtensionContext_Vtbl, 0x39843bf2_c4d2_41fd_b4b2_aedbee5e1900); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterExtensionContext { +impl core::ops::Deref for IPrinterExtensionContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4485,7 +4485,7 @@ pub struct IPrinterExtensionContext_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterExtensionContextCollection, IPrinterExtensionContextCollection_Vtbl, 0xfb476970_9bab_4861_811e_3e98b0c5addf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterExtensionContextCollection { +impl core::ops::Deref for IPrinterExtensionContextCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4523,7 +4523,7 @@ pub struct IPrinterExtensionContextCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterExtensionEvent, IPrinterExtensionEvent_Vtbl, 0xc093cb63_5ef5_4585_af8e_4d5637487b57); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterExtensionEvent { +impl core::ops::Deref for IPrinterExtensionEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4564,7 +4564,7 @@ pub struct IPrinterExtensionEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterExtensionEventArgs, IPrinterExtensionEventArgs_Vtbl, 0x39843bf4_c4d2_41fd_b4b2_aedbee5e1900); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterExtensionEventArgs { +impl core::ops::Deref for IPrinterExtensionEventArgs { type Target = IPrinterExtensionContext; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4620,7 +4620,7 @@ pub struct IPrinterExtensionEventArgs_Vtbl { pub WindowParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrinterExtensionManager, IPrinterExtensionManager_Vtbl, 0x93c6eb8c_b001_4355_9629_8e8a1b3f8e77); -impl std::ops::Deref for IPrinterExtensionManager { +impl core::ops::Deref for IPrinterExtensionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4644,7 +4644,7 @@ pub struct IPrinterExtensionManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterExtensionRequest, IPrinterExtensionRequest_Vtbl, 0x39843bf3_c4d2_41fd_b4b2_aedbee5e1900); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterExtensionRequest { +impl core::ops::Deref for IPrinterExtensionRequest { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4674,7 +4674,7 @@ pub struct IPrinterExtensionRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterPropertyBag, IPrinterPropertyBag_Vtbl, 0xfea77364_df95_4a23_a905_019b79a8e481); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterPropertyBag { +impl core::ops::Deref for IPrinterPropertyBag { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4778,7 +4778,7 @@ pub struct IPrinterPropertyBag_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterQueue, IPrinterQueue_Vtbl, 0x3580a828_07fe_4b94_ac1a_757d9d2d3056); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterQueue { +impl core::ops::Deref for IPrinterQueue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4823,7 +4823,7 @@ pub struct IPrinterQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterQueue2, IPrinterQueue2_Vtbl, 0x8cd444e8_c9bb_49b3_8e38_e03209416131); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterQueue2 { +impl core::ops::Deref for IPrinterQueue2 { type Target = IPrinterQueue; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4860,7 +4860,7 @@ pub struct IPrinterQueue2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterQueueEvent, IPrinterQueueEvent_Vtbl, 0x214685f6_7b78_4681_87e0_495f739273d1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterQueueEvent { +impl core::ops::Deref for IPrinterQueueEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4886,7 +4886,7 @@ pub struct IPrinterQueueEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterQueueView, IPrinterQueueView_Vtbl, 0x476e2969_3b2b_4b3f_8277_cff6056042aa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterQueueView { +impl core::ops::Deref for IPrinterQueueView { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4909,7 +4909,7 @@ pub struct IPrinterQueueView_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterQueueViewEvent, IPrinterQueueViewEvent_Vtbl, 0xc5b6042b_fd21_404a_a0ef_e2fbb52b9080); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterQueueViewEvent { +impl core::ops::Deref for IPrinterQueueViewEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4939,7 +4939,7 @@ pub struct IPrinterQueueViewEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterScriptContext, IPrinterScriptContext_Vtbl, 0x066acbca_8881_49c9_bb98_fae16b4889e1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterScriptContext { +impl core::ops::Deref for IPrinterScriptContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4985,7 +4985,7 @@ pub struct IPrinterScriptContext_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterScriptablePropertyBag, IPrinterScriptablePropertyBag_Vtbl, 0x91c7765f_ed57_49ad_8b01_dc24816a5294); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterScriptablePropertyBag { +impl core::ops::Deref for IPrinterScriptablePropertyBag { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5099,7 +5099,7 @@ pub struct IPrinterScriptablePropertyBag_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterScriptablePropertyBag2, IPrinterScriptablePropertyBag2_Vtbl, 0x2a1c53c4_8638_4b3e_b518_2773c94556a3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterScriptablePropertyBag2 { +impl core::ops::Deref for IPrinterScriptablePropertyBag2 { type Target = IPrinterScriptablePropertyBag; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5126,7 +5126,7 @@ pub struct IPrinterScriptablePropertyBag2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterScriptableSequentialStream, IPrinterScriptableSequentialStream_Vtbl, 0x2072838a_316f_467a_a949_27f68c44a854); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterScriptableSequentialStream { +impl core::ops::Deref for IPrinterScriptableSequentialStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5166,7 +5166,7 @@ pub struct IPrinterScriptableSequentialStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrinterScriptableStream, IPrinterScriptableStream_Vtbl, 0x7edf9a92_4750_41a5_a17f_879a6f4f7dcb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrinterScriptableStream { +impl core::ops::Deref for IPrinterScriptableStream { type Target = IPrinterScriptableSequentialStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5200,7 +5200,7 @@ pub struct IPrinterScriptableStream_Vtbl { pub SetSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsDocument, IXpsDocument_Vtbl, 0xe8d907db_62a9_4a95_abe7_e01763dd30f8); -impl std::ops::Deref for IXpsDocument { +impl core::ops::Deref for IXpsDocument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5226,7 +5226,7 @@ pub struct IXpsDocument_Vtbl { pub SetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsDocumentConsumer, IXpsDocumentConsumer_Vtbl, 0x4368d8a2_4181_4a9f_b295_3d9a38bb9ba0); -impl std::ops::Deref for IXpsDocumentConsumer { +impl core::ops::Deref for IXpsDocumentConsumer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5286,7 +5286,7 @@ pub struct IXpsDocumentConsumer_Vtbl { pub GetNewEmptyPart: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsDocumentProvider, IXpsDocumentProvider_Vtbl, 0xb8cf8530_5562_47c4_ab67_b1f69ecf961e); -impl std::ops::Deref for IXpsDocumentProvider { +impl core::ops::Deref for IXpsDocumentProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5305,7 +5305,7 @@ pub struct IXpsDocumentProvider_Vtbl { pub GetXpsPart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsPartIterator, IXpsPartIterator_Vtbl, 0x0021d3cd_af6f_42ab_9999_14bc82a62d2e); -impl std::ops::Deref for IXpsPartIterator { +impl core::ops::Deref for IXpsPartIterator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5335,7 +5335,7 @@ pub struct IXpsPartIterator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IXpsRasterizationFactory, IXpsRasterizationFactory_Vtbl, 0xe094808a_24c6_482b_a3a7_c21ac9b55f17); -impl std::ops::Deref for IXpsRasterizationFactory { +impl core::ops::Deref for IXpsRasterizationFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5361,7 +5361,7 @@ pub struct IXpsRasterizationFactory_Vtbl { CreateRasterizer: usize, } windows_core::imp::define_interface!(IXpsRasterizationFactory1, IXpsRasterizationFactory1_Vtbl, 0x2d6e5f77_6414_4a1e_a8e0_d4194ce6a26f); -impl std::ops::Deref for IXpsRasterizationFactory1 { +impl core::ops::Deref for IXpsRasterizationFactory1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5387,7 +5387,7 @@ pub struct IXpsRasterizationFactory1_Vtbl { CreateRasterizer: usize, } windows_core::imp::define_interface!(IXpsRasterizationFactory2, IXpsRasterizationFactory2_Vtbl, 0x9c16ce3e_10f5_41fd_9ddc_6826669c2ff6); -impl std::ops::Deref for IXpsRasterizationFactory2 { +impl core::ops::Deref for IXpsRasterizationFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5413,7 +5413,7 @@ pub struct IXpsRasterizationFactory2_Vtbl { CreateRasterizer: usize, } windows_core::imp::define_interface!(IXpsRasterizer, IXpsRasterizer_Vtbl, 0x7567cfc8_c156_47a8_9dac_11a2ae5bdd6b); -impl std::ops::Deref for IXpsRasterizer { +impl core::ops::Deref for IXpsRasterizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5443,7 +5443,7 @@ pub struct IXpsRasterizer_Vtbl { pub SetMinimalLineWidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsRasterizerNotificationCallback, IXpsRasterizerNotificationCallback_Vtbl, 0x9ab8fd0d_cb94_49c2_9cb0_97ec1d5469d2); -impl std::ops::Deref for IXpsRasterizerNotificationCallback { +impl core::ops::Deref for IXpsRasterizerNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs index 42be8b38b1..e0ce8684dc 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IApoAcousticEchoCancellation, IApoAcousticEchoCancellation_Vtbl, 0x25385759_3236_4101_a943_25693dfb5d2d); -impl std::ops::Deref for IApoAcousticEchoCancellation { +impl core::ops::Deref for IApoAcousticEchoCancellation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12,7 +12,7 @@ pub struct IApoAcousticEchoCancellation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IApoAuxiliaryInputConfiguration, IApoAuxiliaryInputConfiguration_Vtbl, 0x4ceb0aab_fa19_48ed_a857_87771ae1b768); -impl std::ops::Deref for IApoAuxiliaryInputConfiguration { +impl core::ops::Deref for IApoAuxiliaryInputConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -42,7 +42,7 @@ pub struct IApoAuxiliaryInputConfiguration_Vtbl { pub IsInputFormatSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApoAuxiliaryInputRT, IApoAuxiliaryInputRT_Vtbl, 0xf851809c_c177_49a0_b1b2_b66f017943ab); -impl std::ops::Deref for IApoAuxiliaryInputRT { +impl core::ops::Deref for IApoAuxiliaryInputRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -60,7 +60,7 @@ pub struct IApoAuxiliaryInputRT_Vtbl { pub AcceptInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const APO_CONNECTION_PROPERTY), } windows_core::imp::define_interface!(IAudioDeviceModulesClient, IAudioDeviceModulesClient_Vtbl, 0x98f37dac_d0b6_49f5_896a_aa4d169a4c48); -impl std::ops::Deref for IAudioDeviceModulesClient { +impl core::ops::Deref for IAudioDeviceModulesClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -81,7 +81,7 @@ pub struct IAudioDeviceModulesClient_Vtbl { pub SetAudioDeviceModulesManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioMediaType, IAudioMediaType_Vtbl, 0x4e997f73_b71f_4798_873b_ed7dfcf15b4d); -impl std::ops::Deref for IAudioMediaType { +impl core::ops::Deref for IAudioMediaType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -116,7 +116,7 @@ pub struct IAudioMediaType_Vtbl { pub GetUncompressedAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UNCOMPRESSEDAUDIOFORMAT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioProcessingObject, IAudioProcessingObject_Vtbl, 0xfd7f2b29_24d0_4b5c_b177_592c39f9ca10); -impl std::ops::Deref for IAudioProcessingObject { +impl core::ops::Deref for IAudioProcessingObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -171,7 +171,7 @@ pub struct IAudioProcessingObject_Vtbl { pub GetInputChannelCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioProcessingObjectConfiguration, IAudioProcessingObjectConfiguration_Vtbl, 0x0e5ed805_aba6_49c3_8f9a_2b8c889c4fa8); -impl std::ops::Deref for IAudioProcessingObjectConfiguration { +impl core::ops::Deref for IAudioProcessingObjectConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -193,7 +193,7 @@ pub struct IAudioProcessingObjectConfiguration_Vtbl { pub UnlockForProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioProcessingObjectLoggingService, IAudioProcessingObjectLoggingService_Vtbl, 0x698f0107_1745_4708_95a5_d84478a62a65); -impl std::ops::Deref for IAudioProcessingObjectLoggingService { +impl core::ops::Deref for IAudioProcessingObjectLoggingService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -214,7 +214,7 @@ pub struct IAudioProcessingObjectLoggingService_Vtbl { pub ApoLog: unsafe extern "system" fn(*mut core::ffi::c_void, APO_LOG_LEVEL, windows_core::PCWSTR), } windows_core::imp::define_interface!(IAudioProcessingObjectNotifications, IAudioProcessingObjectNotifications_Vtbl, 0x56b0c76f_02fd_4b21_a52e_9f8219fc86e4); -impl std::ops::Deref for IAudioProcessingObjectNotifications { +impl core::ops::Deref for IAudioProcessingObjectNotifications { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -240,7 +240,7 @@ pub struct IAudioProcessingObjectNotifications_Vtbl { HandleNotification: usize, } windows_core::imp::define_interface!(IAudioProcessingObjectNotifications2, IAudioProcessingObjectNotifications2_Vtbl, 0xca2cfbde_a9d6_4eb0_bc95_c4d026b380f0); -impl std::ops::Deref for IAudioProcessingObjectNotifications2 { +impl core::ops::Deref for IAudioProcessingObjectNotifications2 { type Target = IAudioProcessingObjectNotifications; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -258,7 +258,7 @@ pub struct IAudioProcessingObjectNotifications2_Vtbl { pub GetApoNotificationRegistrationInfo2: unsafe extern "system" fn(*mut core::ffi::c_void, APO_NOTIFICATION_TYPE, *mut *mut APO_NOTIFICATION_DESCRIPTOR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioProcessingObjectRT, IAudioProcessingObjectRT_Vtbl, 0x9e1d6a6d_ddbc_4e95_a4c7_ad64ba37846c); -impl std::ops::Deref for IAudioProcessingObjectRT { +impl core::ops::Deref for IAudioProcessingObjectRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -284,7 +284,7 @@ pub struct IAudioProcessingObjectRT_Vtbl { pub CalcOutputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } windows_core::imp::define_interface!(IAudioProcessingObjectRTQueueService, IAudioProcessingObjectRTQueueService_Vtbl, 0xacd65e2f_955b_4b57_b9bf_ac297bb752c9); -impl std::ops::Deref for IAudioProcessingObjectRTQueueService { +impl core::ops::Deref for IAudioProcessingObjectRTQueueService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -303,7 +303,7 @@ pub struct IAudioProcessingObjectRTQueueService_Vtbl { pub GetRealTimeWorkQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioProcessingObjectVBR, IAudioProcessingObjectVBR_Vtbl, 0x7ba1db8f_78ad_49cd_9591_f79d80a17c81); -impl std::ops::Deref for IAudioProcessingObjectVBR { +impl core::ops::Deref for IAudioProcessingObjectVBR { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -327,7 +327,7 @@ pub struct IAudioProcessingObjectVBR_Vtbl { pub CalcMaxOutputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSystemEffects, IAudioSystemEffects_Vtbl, 0x5fa00f27_add6_499a_8a9d_6b98521fa75b); -impl std::ops::Deref for IAudioSystemEffects { +impl core::ops::Deref for IAudioSystemEffects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -340,7 +340,7 @@ pub struct IAudioSystemEffects_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IAudioSystemEffects2, IAudioSystemEffects2_Vtbl, 0xbafe99d2_7436_44ce_9e0e_4d89afbfff56); -impl std::ops::Deref for IAudioSystemEffects2 { +impl core::ops::Deref for IAudioSystemEffects2 { type Target = IAudioSystemEffects; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -361,7 +361,7 @@ pub struct IAudioSystemEffects2_Vtbl { pub GetEffectsList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::GUID, *mut u32, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSystemEffects3, IAudioSystemEffects3_Vtbl, 0xc58b31cd_fc6a_4255_bc1f_ad29bb0a4a17); -impl std::ops::Deref for IAudioSystemEffects3 { +impl core::ops::Deref for IAudioSystemEffects3 { type Target = IAudioSystemEffects2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -386,7 +386,7 @@ pub struct IAudioSystemEffects3_Vtbl { pub SetAudioSystemEffectState: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, AUDIO_SYSTEMEFFECT_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSystemEffectsCustomFormats, IAudioSystemEffectsCustomFormats_Vtbl, 0xb1176e34_bb7f_4f05_bebd_1b18a534e097); -impl std::ops::Deref for IAudioSystemEffectsCustomFormats { +impl core::ops::Deref for IAudioSystemEffectsCustomFormats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs index 5d3ed50b43..231290085f 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDirectMusic, IDirectMusic_Vtbl, 0x6536115a_7b2d_11d2_ba18_0000f875ac12); -impl std::ops::Deref for IDirectMusic { +impl core::ops::Deref for IDirectMusic { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -66,7 +66,7 @@ pub struct IDirectMusic_Vtbl { SetDirectSound: usize, } windows_core::imp::define_interface!(IDirectMusic8, IDirectMusic8_Vtbl, 0x2d3629f7_813d_4939_8508_f05c6b75fd97); -impl std::ops::Deref for IDirectMusic8 { +impl core::ops::Deref for IDirectMusic8 { type Target = IDirectMusic; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -87,7 +87,7 @@ pub struct IDirectMusic8_Vtbl { pub SetExternalMasterClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicBuffer, IDirectMusicBuffer_Vtbl, 0xd2ac2878_b39b_11d1_8704_00600893b1bd); -impl std::ops::Deref for IDirectMusicBuffer { +impl core::ops::Deref for IDirectMusicBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -153,7 +153,7 @@ pub struct IDirectMusicBuffer_Vtbl { pub SetUsedBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicCollection, IDirectMusicCollection_Vtbl, 0xd2ac287c_b39b_11d1_8704_00600893b1bd); -impl std::ops::Deref for IDirectMusicCollection { +impl core::ops::Deref for IDirectMusicCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -179,7 +179,7 @@ pub struct IDirectMusicCollection_Vtbl { pub EnumInstrument: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicDownload, IDirectMusicDownload_Vtbl, 0xd2ac287b_b39b_11d1_8704_00600893b1bd); -impl std::ops::Deref for IDirectMusicDownload { +impl core::ops::Deref for IDirectMusicDownload { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -197,7 +197,7 @@ pub struct IDirectMusicDownload_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicDownloadedInstrument, IDirectMusicDownloadedInstrument_Vtbl, 0xd2ac287e_b39b_11d1_8704_00600893b1bd); -impl std::ops::Deref for IDirectMusicDownloadedInstrument { +impl core::ops::Deref for IDirectMusicDownloadedInstrument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -210,7 +210,7 @@ pub struct IDirectMusicDownloadedInstrument_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IDirectMusicInstrument, IDirectMusicInstrument_Vtbl, 0xd2ac287d_b39b_11d1_8704_00600893b1bd); -impl std::ops::Deref for IDirectMusicInstrument { +impl core::ops::Deref for IDirectMusicInstrument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -232,7 +232,7 @@ pub struct IDirectMusicInstrument_Vtbl { pub SetPatch: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicPort, IDirectMusicPort_Vtbl, 0x08f2d8c9_37c2_11d2_b9f9_0000f875ac12); -impl std::ops::Deref for IDirectMusicPort { +impl core::ops::Deref for IDirectMusicPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -345,7 +345,7 @@ pub struct IDirectMusicPort_Vtbl { pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::WAVEFORMATEX, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicPortDownload, IDirectMusicPortDownload_Vtbl, 0xd2ac287a_b39b_11d1_8704_00600893b1bd); -impl std::ops::Deref for IDirectMusicPortDownload { +impl core::ops::Deref for IDirectMusicPortDownload { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -391,7 +391,7 @@ pub struct IDirectMusicPortDownload_Vtbl { pub Unload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicSynth, IDirectMusicSynth_Vtbl, 0x09823661_5c85_11d2_afa6_00aa0024d8b6); -impl std::ops::Deref for IDirectMusicSynth { +impl core::ops::Deref for IDirectMusicSynth { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -487,7 +487,7 @@ pub struct IDirectMusicSynth_Vtbl { pub GetAppend: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicSynth8, IDirectMusicSynth8_Vtbl, 0x53cab625_2711_4c9f_9de7_1b7f925f6fc8); -impl std::ops::Deref for IDirectMusicSynth8 { +impl core::ops::Deref for IDirectMusicSynth8 { type Target = IDirectMusicSynth; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -521,7 +521,7 @@ pub struct IDirectMusicSynth8_Vtbl { pub AssignChannelToBuses: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicSynthSink, IDirectMusicSynthSink_Vtbl, 0x09823663_5c85_11d2_afa6_00aa0024d8b6); -impl std::ops::Deref for IDirectMusicSynthSink { +impl core::ops::Deref for IDirectMusicSynthSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -585,7 +585,7 @@ pub struct IDirectMusicSynthSink_Vtbl { pub GetDesiredBufferSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectMusicThru, IDirectMusicThru_Vtbl, 0xced153e7_3606_11d2_b9f9_0000f875ac12); -impl std::ops::Deref for IDirectMusicThru { +impl core::ops::Deref for IDirectMusicThru { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs index f7a4615f46..45fcd363c5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/mod.rs @@ -66,7 +66,7 @@ pub unsafe fn GetDeviceID(pguidsrc: Option<*const windows_core::GUID>) -> window GetDeviceID(core::mem::transmute(pguidsrc.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } windows_core::imp::define_interface!(IDirectSound, IDirectSound_Vtbl, 0x279afa83_4981_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectSound { +impl core::ops::Deref for IDirectSound { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -123,7 +123,7 @@ pub struct IDirectSound_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSound3DBuffer, IDirectSound3DBuffer_Vtbl, 0x279afa86_4981_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectSound3DBuffer { +impl core::ops::Deref for IDirectSound3DBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -236,7 +236,7 @@ pub struct IDirectSound3DBuffer_Vtbl { pub SetVelocity: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSound3DListener, IDirectSound3DListener_Vtbl, 0x279afa84_4981_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectSound3DListener { +impl core::ops::Deref for IDirectSound3DListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -335,7 +335,7 @@ pub struct IDirectSound3DListener_Vtbl { pub CommitDeferredSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSound8, IDirectSound8_Vtbl, 0xc50a7e93_f395_4834_9ef6_7fa99de50966); -impl std::ops::Deref for IDirectSound8 { +impl core::ops::Deref for IDirectSound8 { type Target = IDirectSound; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -354,7 +354,7 @@ pub struct IDirectSound8_Vtbl { pub VerifyCertification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundBuffer, IDirectSoundBuffer_Vtbl, 0x279afa85_4981_11ce_a521_0020af0be560); -impl std::ops::Deref for IDirectSoundBuffer { +impl core::ops::Deref for IDirectSoundBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -447,7 +447,7 @@ pub struct IDirectSoundBuffer_Vtbl { pub Restore: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundBuffer8, IDirectSoundBuffer8_Vtbl, 0x6825a449_7524_4d82_920f_50e36ab3ab1e); -impl std::ops::Deref for IDirectSoundBuffer8 { +impl core::ops::Deref for IDirectSoundBuffer8 { type Target = IDirectSoundBuffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -473,7 +473,7 @@ pub struct IDirectSoundBuffer8_Vtbl { pub GetObjectInPath: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundCapture, IDirectSoundCapture_Vtbl, 0xb0210781_89cd_11d0_af08_00a0c925cd16); -impl std::ops::Deref for IDirectSoundCapture { +impl core::ops::Deref for IDirectSoundCapture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -503,7 +503,7 @@ pub struct IDirectSoundCapture_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundCaptureBuffer, IDirectSoundCaptureBuffer_Vtbl, 0xb0210782_89cd_11d0_af08_00a0c925cd16); -impl std::ops::Deref for IDirectSoundCaptureBuffer { +impl core::ops::Deref for IDirectSoundCaptureBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -558,7 +558,7 @@ pub struct IDirectSoundCaptureBuffer_Vtbl { pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundCaptureBuffer8, IDirectSoundCaptureBuffer8_Vtbl, 0x00990df4_0dbb_4872_833e_6d303e80aeb6); -impl std::ops::Deref for IDirectSoundCaptureBuffer8 { +impl core::ops::Deref for IDirectSoundCaptureBuffer8 { type Target = IDirectSoundCaptureBuffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -580,7 +580,7 @@ pub struct IDirectSoundCaptureBuffer8_Vtbl { pub GetFXStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundCaptureFXAec, IDirectSoundCaptureFXAec_Vtbl, 0xad74143d_903d_4ab7_8066_28d363036d65); -impl std::ops::Deref for IDirectSoundCaptureFXAec { +impl core::ops::Deref for IDirectSoundCaptureFXAec { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -612,7 +612,7 @@ pub struct IDirectSoundCaptureFXAec_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundCaptureFXNoiseSuppress, IDirectSoundCaptureFXNoiseSuppress_Vtbl, 0xed311e41_fbae_4175_9625_cd0854f693ca); -impl std::ops::Deref for IDirectSoundCaptureFXNoiseSuppress { +impl core::ops::Deref for IDirectSoundCaptureFXNoiseSuppress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -639,7 +639,7 @@ pub struct IDirectSoundCaptureFXNoiseSuppress_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXChorus, IDirectSoundFXChorus_Vtbl, 0x880842e3_145f_43e6_a934_a71806e50547); -impl std::ops::Deref for IDirectSoundFXChorus { +impl core::ops::Deref for IDirectSoundFXChorus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -661,7 +661,7 @@ pub struct IDirectSoundFXChorus_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXChorus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXCompressor, IDirectSoundFXCompressor_Vtbl, 0x4bbd1154_62f6_4e2c_a15c_d3b6c417f7a0); -impl std::ops::Deref for IDirectSoundFXCompressor { +impl core::ops::Deref for IDirectSoundFXCompressor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -683,7 +683,7 @@ pub struct IDirectSoundFXCompressor_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXCompressor) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXDistortion, IDirectSoundFXDistortion_Vtbl, 0x8ecf4326_455f_4d8b_bda9_8d5d3e9e3e0b); -impl std::ops::Deref for IDirectSoundFXDistortion { +impl core::ops::Deref for IDirectSoundFXDistortion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -705,7 +705,7 @@ pub struct IDirectSoundFXDistortion_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXDistortion) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXEcho, IDirectSoundFXEcho_Vtbl, 0x8bd28edf_50db_4e92_a2bd_445488d1ed42); -impl std::ops::Deref for IDirectSoundFXEcho { +impl core::ops::Deref for IDirectSoundFXEcho { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -727,7 +727,7 @@ pub struct IDirectSoundFXEcho_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXEcho) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXFlanger, IDirectSoundFXFlanger_Vtbl, 0x903e9878_2c92_4072_9b2c_ea68f5396783); -impl std::ops::Deref for IDirectSoundFXFlanger { +impl core::ops::Deref for IDirectSoundFXFlanger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -749,7 +749,7 @@ pub struct IDirectSoundFXFlanger_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXFlanger) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXGargle, IDirectSoundFXGargle_Vtbl, 0xd616f352_d622_11ce_aac5_0020af0b99a3); -impl std::ops::Deref for IDirectSoundFXGargle { +impl core::ops::Deref for IDirectSoundFXGargle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -772,7 +772,7 @@ pub struct IDirectSoundFXGargle_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXGargle) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXI3DL2Reverb, IDirectSoundFXI3DL2Reverb_Vtbl, 0x4b166a6a_0d66_43f3_80e3_ee6280dee1a4); -impl std::ops::Deref for IDirectSoundFXI3DL2Reverb { +impl core::ops::Deref for IDirectSoundFXI3DL2Reverb { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -812,7 +812,7 @@ pub struct IDirectSoundFXI3DL2Reverb_Vtbl { pub GetQuality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXParamEq, IDirectSoundFXParamEq_Vtbl, 0xc03ca9fe_fe90_4204_8078_82334cd177da); -impl std::ops::Deref for IDirectSoundFXParamEq { +impl core::ops::Deref for IDirectSoundFXParamEq { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -835,7 +835,7 @@ pub struct IDirectSoundFXParamEq_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXParamEq) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFXWavesReverb, IDirectSoundFXWavesReverb_Vtbl, 0x46858c3a_0dc6_45e3_b760_d4eef16cb325); -impl std::ops::Deref for IDirectSoundFXWavesReverb { +impl core::ops::Deref for IDirectSoundFXWavesReverb { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -858,7 +858,7 @@ pub struct IDirectSoundFXWavesReverb_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXWavesReverb) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundFullDuplex, IDirectSoundFullDuplex_Vtbl, 0xedcb4c7a_daab_4216_a42e_6c50596ddc1d); -impl std::ops::Deref for IDirectSoundFullDuplex { +impl core::ops::Deref for IDirectSoundFullDuplex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -879,7 +879,7 @@ pub struct IDirectSoundFullDuplex_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *const DSCBUFFERDESC, *const DSBUFFERDESC, super::super::super::Foundation::HWND, u32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectSoundNotify, IDirectSoundNotify_Vtbl, 0xb0210783_89cd_11d0_af08_00a0c925cd16); -impl std::ops::Deref for IDirectSoundNotify { +impl core::ops::Deref for IDirectSoundNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs index 78e9241e4c..146ddfe943 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IAudioEndpointFormatControl, IAudioEndpointFormatControl_Vtbl, 0x784cfd40_9f89_456e_a1a6_873b006a664e); -impl std::ops::Deref for IAudioEndpointFormatControl { +impl core::ops::Deref for IAudioEndpointFormatControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17,7 +17,7 @@ pub struct IAudioEndpointFormatControl_Vtbl { pub ResetToDefault: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointLastBufferControl, IAudioEndpointLastBufferControl_Vtbl, 0xf8520dd3_8f9d_4437_9861_62f584c33dd6); -impl std::ops::Deref for IAudioEndpointLastBufferControl { +impl core::ops::Deref for IAudioEndpointLastBufferControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -43,7 +43,7 @@ pub struct IAudioEndpointLastBufferControl_Vtbl { ReleaseOutputDataPointerForLastBuffer: usize, } windows_core::imp::define_interface!(IAudioEndpointOffloadStreamMeter, IAudioEndpointOffloadStreamMeter_Vtbl, 0xe1546dce_9dd1_418b_9ab2_348ced161c86); -impl std::ops::Deref for IAudioEndpointOffloadStreamMeter { +impl core::ops::Deref for IAudioEndpointOffloadStreamMeter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -67,7 +67,7 @@ pub struct IAudioEndpointOffloadStreamMeter_Vtbl { pub GetMeteringData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointOffloadStreamMute, IAudioEndpointOffloadStreamMute_Vtbl, 0xdfe21355_5ec2_40e0_8d6b_710ac3c00249); -impl std::ops::Deref for IAudioEndpointOffloadStreamMute { +impl core::ops::Deref for IAudioEndpointOffloadStreamMute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -90,7 +90,7 @@ pub struct IAudioEndpointOffloadStreamMute_Vtbl { pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointOffloadStreamVolume, IAudioEndpointOffloadStreamVolume_Vtbl, 0x64f1dd49_71ca_4281_8672_3a9eddd1d0b6); -impl std::ops::Deref for IAudioEndpointOffloadStreamVolume { +impl core::ops::Deref for IAudioEndpointOffloadStreamVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -122,7 +122,7 @@ pub struct IAudioEndpointOffloadStreamVolume_Vtbl { pub GetChannelVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointVolume, IAudioEndpointVolume_Vtbl, 0x5cdf2c82_841e_4546_9722_0cf74078229a); -impl std::ops::Deref for IAudioEndpointVolume { +impl core::ops::Deref for IAudioEndpointVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -224,7 +224,7 @@ pub struct IAudioEndpointVolume_Vtbl { pub GetVolumeRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, *mut f32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointVolumeCallback, IAudioEndpointVolumeCallback_Vtbl, 0x657804fa_d6ad_4496_8a60_352752af4f89); -impl std::ops::Deref for IAudioEndpointVolumeCallback { +impl core::ops::Deref for IAudioEndpointVolumeCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -242,7 +242,7 @@ pub struct IAudioEndpointVolumeCallback_Vtbl { pub OnNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::AUDIO_VOLUME_NOTIFICATION_DATA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointVolumeEx, IAudioEndpointVolumeEx_Vtbl, 0x66e11784_f695_4f28_a505_a7080081a78f); -impl std::ops::Deref for IAudioEndpointVolumeEx { +impl core::ops::Deref for IAudioEndpointVolumeEx { type Target = IAudioEndpointVolume; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -260,7 +260,7 @@ pub struct IAudioEndpointVolumeEx_Vtbl { pub GetVolumeRangeChannel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32, *mut f32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioLfxControl, IAudioLfxControl_Vtbl, 0x076a6922_d802_4f83_baf6_409d9ca11bfe); -impl std::ops::Deref for IAudioLfxControl { +impl core::ops::Deref for IAudioLfxControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -286,7 +286,7 @@ pub struct IAudioLfxControl_Vtbl { pub GetLocalEffectsState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioMeterInformation, IAudioMeterInformation_Vtbl, 0xc02216f6_8c67_4b5b_9d00_d008e73e0064); -impl std::ops::Deref for IAudioMeterInformation { +impl core::ops::Deref for IAudioMeterInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -319,7 +319,7 @@ pub struct IAudioMeterInformation_Vtbl { pub QueryHardwareSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHardwareAudioEngineBase, IHardwareAudioEngineBase_Vtbl, 0xeddce3e4_f3c1_453a_b461_223563cbd886); -impl std::ops::Deref for IHardwareAudioEngineBase { +impl core::ops::Deref for IHardwareAudioEngineBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs index 452e140e1a..be1c4fb567 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs @@ -27,7 +27,7 @@ pub unsafe fn XAudio2CreateWithVersionInfo(ppxaudio2: *mut Option, fla XAudio2CreateWithVersionInfo(core::mem::transmute(ppxaudio2), flags, xaudio2processor, ntddiversion).ok() } windows_core::imp::define_interface!(IXAPO, IXAPO_Vtbl, 0xa410b984_9839_4819_a0be_2856ae6b3adb); -impl std::ops::Deref for IXAPO { +impl core::ops::Deref for IXAPO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -85,7 +85,7 @@ pub struct IXAPO_Vtbl { pub CalcOutputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } windows_core::imp::define_interface!(IXAPOHrtfParameters, IXAPOHrtfParameters_Vtbl, 0x15b3cd66_e9de_4464_b6e6_2bc3cf63d455); -impl std::ops::Deref for IXAPOHrtfParameters { +impl core::ops::Deref for IXAPOHrtfParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -115,7 +115,7 @@ pub struct IXAPOHrtfParameters_Vtbl { pub SetEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, HrtfEnvironment) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXAPOParameters, IXAPOParameters_Vtbl, 0x26d95c66_80f2_499a_ad54_5ae7f01c6d98); -impl std::ops::Deref for IXAPOParameters { +impl core::ops::Deref for IXAPOParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -137,7 +137,7 @@ pub struct IXAPOParameters_Vtbl { pub GetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(IXAudio2, IXAudio2_Vtbl, 0x2b02e3cf_2e0b_4ec3_be45_1b2a3fe7210d); -impl std::ops::Deref for IXAudio2 { +impl core::ops::Deref for IXAudio2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -221,7 +221,7 @@ pub struct IXAudio2EngineCallback_Vtbl { pub OnCriticalError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT), } windows_core::imp::define_interface!(IXAudio2Extension, IXAudio2Extension_Vtbl, 0x84ac29bb_d619_44d2_b197_e4acf7df3ed6); -impl std::ops::Deref for IXAudio2Extension { +impl core::ops::Deref for IXAudio2Extension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -243,7 +243,7 @@ pub struct IXAudio2Extension_Vtbl { pub GetProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32), } windows_core::imp::define_interface!(IXAudio2MasteringVoice, IXAudio2MasteringVoice_Vtbl); -impl std::ops::Deref for IXAudio2MasteringVoice { +impl core::ops::Deref for IXAudio2MasteringVoice { type Target = IXAudio2Voice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -262,7 +262,7 @@ pub struct IXAudio2MasteringVoice_Vtbl { pub GetChannelMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXAudio2SourceVoice, IXAudio2SourceVoice_Vtbl); -impl std::ops::Deref for IXAudio2SourceVoice { +impl core::ops::Deref for IXAudio2SourceVoice { type Target = IXAudio2Voice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -318,7 +318,7 @@ pub struct IXAudio2SourceVoice_Vtbl { pub SetSourceSampleRate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXAudio2SubmixVoice, IXAudio2SubmixVoice_Vtbl); -impl std::ops::Deref for IXAudio2SubmixVoice { +impl core::ops::Deref for IXAudio2SubmixVoice { type Target = IXAudio2Voice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs index e28e558ba6..61f315d102 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -1154,7 +1154,7 @@ where waveOutWrite(hwo.param().abi(), pwh, cbwh) } windows_core::imp::define_interface!(IAcousticEchoCancellationControl, IAcousticEchoCancellationControl_Vtbl, 0xf4ae25b5_aaa3_437d_b6b3_dbbe2d0e9549); -impl std::ops::Deref for IAcousticEchoCancellationControl { +impl core::ops::Deref for IAcousticEchoCancellationControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1175,7 +1175,7 @@ pub struct IAcousticEchoCancellationControl_Vtbl { pub SetEchoCancellationRenderEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActivateAudioInterfaceAsyncOperation, IActivateAudioInterfaceAsyncOperation_Vtbl, 0x72a22d78_cde4_431d_b8cc_843a71199b6d); -impl std::ops::Deref for IActivateAudioInterfaceAsyncOperation { +impl core::ops::Deref for IActivateAudioInterfaceAsyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1193,7 +1193,7 @@ pub struct IActivateAudioInterfaceAsyncOperation_Vtbl { pub GetActivateResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActivateAudioInterfaceCompletionHandler, IActivateAudioInterfaceCompletionHandler_Vtbl, 0x41d949ab_9862_444a_80f6_c261334da5eb); -impl std::ops::Deref for IActivateAudioInterfaceCompletionHandler { +impl core::ops::Deref for IActivateAudioInterfaceCompletionHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1214,7 +1214,7 @@ pub struct IActivateAudioInterfaceCompletionHandler_Vtbl { pub ActivateCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioAmbisonicsControl, IAudioAmbisonicsControl_Vtbl, 0x28724c91_df35_4856_9f76_d6a26413f3df); -impl std::ops::Deref for IAudioAmbisonicsControl { +impl core::ops::Deref for IAudioAmbisonicsControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1248,7 +1248,7 @@ pub struct IAudioAmbisonicsControl_Vtbl { pub SetRotation: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioAutoGainControl, IAudioAutoGainControl_Vtbl, 0x85401fd4_6de4_4b9d_9869_2d6753a82f3c); -impl std::ops::Deref for IAudioAutoGainControl { +impl core::ops::Deref for IAudioAutoGainControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1274,7 +1274,7 @@ pub struct IAudioAutoGainControl_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioBass, IAudioBass_Vtbl, 0xa2b1a1d9_4db3_425d_a2b2_bd335cb3e2e5); -impl std::ops::Deref for IAudioBass { +impl core::ops::Deref for IAudioBass { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1287,7 +1287,7 @@ pub struct IAudioBass_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } windows_core::imp::define_interface!(IAudioCaptureClient, IAudioCaptureClient_Vtbl, 0xc8adbd64_e71e_48a0_a4de_185c395cd317); -impl std::ops::Deref for IAudioCaptureClient { +impl core::ops::Deref for IAudioCaptureClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1314,7 +1314,7 @@ pub struct IAudioCaptureClient_Vtbl { pub GetNextPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioChannelConfig, IAudioChannelConfig_Vtbl, 0xbb11c46f_ec28_493c_b88a_5db88062ce98); -impl std::ops::Deref for IAudioChannelConfig { +impl core::ops::Deref for IAudioChannelConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1337,7 +1337,7 @@ pub struct IAudioChannelConfig_Vtbl { pub GetChannelConfig: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioClient, IAudioClient_Vtbl, 0x1cb9ad4c_dbfa_4c32_b178_c2f568a703b2); -impl std::ops::Deref for IAudioClient { +impl core::ops::Deref for IAudioClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1389,7 +1389,7 @@ impl IAudioClient { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetService)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1410,7 +1410,7 @@ pub struct IAudioClient_Vtbl { pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioClient2, IAudioClient2_Vtbl, 0x726778cd_f60a_4eda_82de_e47610cd78aa); -impl std::ops::Deref for IAudioClient2 { +impl core::ops::Deref for IAudioClient2 { type Target = IAudioClient; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1440,7 +1440,7 @@ pub struct IAudioClient2_Vtbl { pub GetBufferSizeLimits: unsafe extern "system" fn(*mut core::ffi::c_void, *const WAVEFORMATEX, super::super::Foundation::BOOL, *mut i64, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioClient3, IAudioClient3_Vtbl, 0x7ed4ee07_8e67_4cd4_8c1a_2b7a5987ad42); -impl std::ops::Deref for IAudioClient3 { +impl core::ops::Deref for IAudioClient3 { type Target = IAudioClient2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1466,7 +1466,7 @@ pub struct IAudioClient3_Vtbl { pub InitializeSharedAudioStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const WAVEFORMATEX, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioClientDuckingControl, IAudioClientDuckingControl_Vtbl, 0xc789d381_a28c_4168_b28f_d3a837924dc3); -impl std::ops::Deref for IAudioClientDuckingControl { +impl core::ops::Deref for IAudioClientDuckingControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1484,7 +1484,7 @@ pub struct IAudioClientDuckingControl_Vtbl { pub SetDuckingOptionsForCurrentStream: unsafe extern "system" fn(*mut core::ffi::c_void, AUDIO_DUCKING_OPTIONS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioClock, IAudioClock_Vtbl, 0xcd63314f_3fba_4a1b_812c_ef96358728e7); -impl std::ops::Deref for IAudioClock { +impl core::ops::Deref for IAudioClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1512,7 +1512,7 @@ pub struct IAudioClock_Vtbl { pub GetCharacteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioClock2, IAudioClock2_Vtbl, 0x6f49ff73_6727_49ac_a008_d98cf5e70048); -impl std::ops::Deref for IAudioClock2 { +impl core::ops::Deref for IAudioClock2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1530,7 +1530,7 @@ pub struct IAudioClock2_Vtbl { pub GetDevicePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioClockAdjustment, IAudioClockAdjustment_Vtbl, 0xf6e4c0a0_46d9_4fb8_be21_57a3ef2b626c); -impl std::ops::Deref for IAudioClockAdjustment { +impl core::ops::Deref for IAudioClockAdjustment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1548,7 +1548,7 @@ pub struct IAudioClockAdjustment_Vtbl { pub SetSampleRate: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEffectsChangedNotificationClient, IAudioEffectsChangedNotificationClient_Vtbl, 0xa5ded44f_3c5d_4b2b_bd1e_5dc1ee20bbf6); -impl std::ops::Deref for IAudioEffectsChangedNotificationClient { +impl core::ops::Deref for IAudioEffectsChangedNotificationClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1566,7 +1566,7 @@ pub struct IAudioEffectsChangedNotificationClient_Vtbl { pub OnAudioEffectsChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEffectsManager, IAudioEffectsManager_Vtbl, 0x4460b3ae_4b44_4527_8676_7548a8acd260); -impl std::ops::Deref for IAudioEffectsManager { +impl core::ops::Deref for IAudioEffectsManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1602,7 +1602,7 @@ pub struct IAudioEffectsManager_Vtbl { pub SetAudioEffectState: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, AUDIO_EFFECT_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioFormatEnumerator, IAudioFormatEnumerator_Vtbl, 0xdcdaa858_895a_4a22_a5eb_67bda506096d); -impl std::ops::Deref for IAudioFormatEnumerator { +impl core::ops::Deref for IAudioFormatEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1626,7 +1626,7 @@ pub struct IAudioFormatEnumerator_Vtbl { pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut WAVEFORMATEX) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioInputSelector, IAudioInputSelector_Vtbl, 0x4f03dc02_5e6e_4653_8f72_a030c123d598); -impl std::ops::Deref for IAudioInputSelector { +impl core::ops::Deref for IAudioInputSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1649,7 +1649,7 @@ pub struct IAudioInputSelector_Vtbl { pub SetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioLoudness, IAudioLoudness_Vtbl, 0x7d8b1437_dd53_4350_9c1b_1ee2890bd938); -impl std::ops::Deref for IAudioLoudness { +impl core::ops::Deref for IAudioLoudness { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1675,7 +1675,7 @@ pub struct IAudioLoudness_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioMidrange, IAudioMidrange_Vtbl, 0x5e54b6d7_b44b_40d9_9a9e_e691d9ce6edf); -impl std::ops::Deref for IAudioMidrange { +impl core::ops::Deref for IAudioMidrange { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1688,7 +1688,7 @@ pub struct IAudioMidrange_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } windows_core::imp::define_interface!(IAudioMute, IAudioMute_Vtbl, 0xdf45aeea_b74a_4b6b_afad_2366b6aa012e); -impl std::ops::Deref for IAudioMute { +impl core::ops::Deref for IAudioMute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1714,7 +1714,7 @@ pub struct IAudioMute_Vtbl { pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioOutputSelector, IAudioOutputSelector_Vtbl, 0xbb515f69_94a7_429e_8b9c_271b3f11a3ab); -impl std::ops::Deref for IAudioOutputSelector { +impl core::ops::Deref for IAudioOutputSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1737,7 +1737,7 @@ pub struct IAudioOutputSelector_Vtbl { pub SetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioPeakMeter, IAudioPeakMeter_Vtbl, 0xdd79923c_0599_45e0_b8b6_c8df7db6e796); -impl std::ops::Deref for IAudioPeakMeter { +impl core::ops::Deref for IAudioPeakMeter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1761,7 +1761,7 @@ pub struct IAudioPeakMeter_Vtbl { pub GetLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioRenderClient, IAudioRenderClient_Vtbl, 0xf294acfc_3146_4483_a7bf_addca7c260e2); -impl std::ops::Deref for IAudioRenderClient { +impl core::ops::Deref for IAudioRenderClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1784,7 +1784,7 @@ pub struct IAudioRenderClient_Vtbl { pub ReleaseBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionControl, IAudioSessionControl_Vtbl, 0xf4b1a599_7266_4319_a8ca_e70acb11e8cd); -impl std::ops::Deref for IAudioSessionControl { +impl core::ops::Deref for IAudioSessionControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1850,7 +1850,7 @@ pub struct IAudioSessionControl_Vtbl { pub UnregisterAudioSessionNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionControl2, IAudioSessionControl2_Vtbl, 0xbfb7ff88_7239_4fc9_8fa2_07c950be9c6d); -impl std::ops::Deref for IAudioSessionControl2 { +impl core::ops::Deref for IAudioSessionControl2 { type Target = IAudioSessionControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1890,7 +1890,7 @@ pub struct IAudioSessionControl2_Vtbl { pub SetDuckingPreference: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionEnumerator, IAudioSessionEnumerator_Vtbl, 0xe2f5bb11_0570_40ca_acdd_3aa01277dee8); -impl std::ops::Deref for IAudioSessionEnumerator { +impl core::ops::Deref for IAudioSessionEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1914,7 +1914,7 @@ pub struct IAudioSessionEnumerator_Vtbl { pub GetSession: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionEvents, IAudioSessionEvents_Vtbl, 0x24918acc_64b3_37c1_8ca9_74a66e9957a8); -impl std::ops::Deref for IAudioSessionEvents { +impl core::ops::Deref for IAudioSessionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1965,7 +1965,7 @@ pub struct IAudioSessionEvents_Vtbl { pub OnSessionDisconnected: unsafe extern "system" fn(*mut core::ffi::c_void, AudioSessionDisconnectReason) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionManager, IAudioSessionManager_Vtbl, 0xbfa971f1_4d5e_40bb_935e_967039bfbee4); -impl std::ops::Deref for IAudioSessionManager { +impl core::ops::Deref for IAudioSessionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1989,7 +1989,7 @@ pub struct IAudioSessionManager_Vtbl { pub GetSimpleAudioVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionManager2, IAudioSessionManager2_Vtbl, 0x77aa99a0_1bd6_484f_8bc7_2c654c9a9b6f); -impl std::ops::Deref for IAudioSessionManager2 { +impl core::ops::Deref for IAudioSessionManager2 { type Target = IAudioSessionManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2037,7 +2037,7 @@ pub struct IAudioSessionManager2_Vtbl { pub UnregisterDuckNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionNotification, IAudioSessionNotification_Vtbl, 0x641dd20b_4d41_49cc_aba3_174b9477bb08); -impl std::ops::Deref for IAudioSessionNotification { +impl core::ops::Deref for IAudioSessionNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2058,7 +2058,7 @@ pub struct IAudioSessionNotification_Vtbl { pub OnSessionCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioStateMonitor, IAudioStateMonitor_Vtbl, 0x63bd8738_e30d_4c77_bf5c_834e87c657e2); -impl std::ops::Deref for IAudioStateMonitor { +impl core::ops::Deref for IAudioStateMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2085,7 +2085,7 @@ pub struct IAudioStateMonitor_Vtbl { pub GetSoundLevel: unsafe extern "system" fn(*mut core::ffi::c_void) -> AudioStateMonitorSoundLevel, } windows_core::imp::define_interface!(IAudioStreamVolume, IAudioStreamVolume_Vtbl, 0x93014887_242d_4068_8a15_cf5e93b90fe3); -impl std::ops::Deref for IAudioStreamVolume { +impl core::ops::Deref for IAudioStreamVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2121,7 +2121,7 @@ pub struct IAudioStreamVolume_Vtbl { pub GetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSystemEffectsPropertyChangeNotificationClient, IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl, 0x20049d40_56d5_400e_a2ef_385599feed49); -impl std::ops::Deref for IAudioSystemEffectsPropertyChangeNotificationClient { +impl core::ops::Deref for IAudioSystemEffectsPropertyChangeNotificationClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2143,7 +2143,7 @@ pub struct IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl { OnPropertyChanged: usize, } windows_core::imp::define_interface!(IAudioSystemEffectsPropertyStore, IAudioSystemEffectsPropertyStore_Vtbl, 0x302ae7f9_d7e0_43e4_971b_1f8293613d2a); -impl std::ops::Deref for IAudioSystemEffectsPropertyStore { +impl core::ops::Deref for IAudioSystemEffectsPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2206,7 +2206,7 @@ pub struct IAudioSystemEffectsPropertyStore_Vtbl { pub UnregisterPropertyChangeNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioTreble, IAudioTreble_Vtbl, 0x0a717812_694e_4907_b74b_bafa5cfdca7b); -impl std::ops::Deref for IAudioTreble { +impl core::ops::Deref for IAudioTreble { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2219,7 +2219,7 @@ pub struct IAudioTreble_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } windows_core::imp::define_interface!(IAudioViewManagerService, IAudioViewManagerService_Vtbl, 0xa7a7ef10_1f49_45e0_ad35_612057cc8f74); -impl std::ops::Deref for IAudioViewManagerService { +impl core::ops::Deref for IAudioViewManagerService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2240,7 +2240,7 @@ pub struct IAudioViewManagerService_Vtbl { pub SetAudioStreamWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioVolumeDuckNotification, IAudioVolumeDuckNotification_Vtbl, 0xc3b284d4_6d39_4359_b3cf_b56ddb3bb39c); -impl std::ops::Deref for IAudioVolumeDuckNotification { +impl core::ops::Deref for IAudioVolumeDuckNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2268,7 +2268,7 @@ pub struct IAudioVolumeDuckNotification_Vtbl { pub OnVolumeUnduckNotification: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioVolumeLevel, IAudioVolumeLevel_Vtbl, 0x7fb7b48f_531d_44a2_bcb3_5ad5a134b3dc); -impl std::ops::Deref for IAudioVolumeLevel { +impl core::ops::Deref for IAudioVolumeLevel { type Target = IPerChannelDbLevel; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2281,7 +2281,7 @@ pub struct IAudioVolumeLevel_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } windows_core::imp::define_interface!(IChannelAudioVolume, IChannelAudioVolume_Vtbl, 0x1c158861_b533_4b30_b1cf_e853e51c59b8); -impl std::ops::Deref for IChannelAudioVolume { +impl core::ops::Deref for IChannelAudioVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2317,7 +2317,7 @@ pub struct IChannelAudioVolume_Vtbl { pub GetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConnector, IConnector_Vtbl, 0x9c2c4058_23f5_41de_877a_df3af236a09e); -impl std::ops::Deref for IConnector { +impl core::ops::Deref for IConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2372,7 +2372,7 @@ pub struct IConnector_Vtbl { pub GetDeviceIdConnectedTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IControlChangeNotify, IControlChangeNotify_Vtbl, 0xa09513ed_c709_4d21_bd7b_5f34c47f3947); -impl std::ops::Deref for IControlChangeNotify { +impl core::ops::Deref for IControlChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2390,7 +2390,7 @@ pub struct IControlChangeNotify_Vtbl { pub OnNotify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IControlInterface, IControlInterface_Vtbl, 0x45d37c3f_5140_444a_ae24_400789f3cbf3); -impl std::ops::Deref for IControlInterface { +impl core::ops::Deref for IControlInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2414,7 +2414,7 @@ pub struct IControlInterface_Vtbl { pub GetIID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceSpecificProperty, IDeviceSpecificProperty_Vtbl, 0x3b22bcbf_2586_4af0_8583_205d391b807c); -impl std::ops::Deref for IDeviceSpecificProperty { +impl core::ops::Deref for IDeviceSpecificProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2445,7 +2445,7 @@ pub struct IDeviceSpecificProperty_Vtbl { pub Get4BRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeviceTopology, IDeviceTopology_Vtbl, 0x2a07407e_6497_4a18_9787_32f79bd0d98f); -impl std::ops::Deref for IDeviceTopology { +impl core::ops::Deref for IDeviceTopology { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2499,7 +2499,7 @@ pub struct IDeviceTopology_Vtbl { pub GetSignalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMMDevice, IMMDevice_Vtbl, 0xd666063f_1587_4e43_81f1_b948e807363f); -impl std::ops::Deref for IMMDevice { +impl core::ops::Deref for IMMDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2512,7 +2512,7 @@ impl IMMDevice { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Activate)(windows_core::Interface::as_raw(self), &T::IID, dwclsctx, core::mem::transmute(pactivationparams.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2543,7 +2543,7 @@ pub struct IMMDevice_Vtbl { pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> DEVICE_STATE, } windows_core::imp::define_interface!(IMMDeviceActivator, IMMDeviceActivator_Vtbl, 0x3b0d0ea4_d0a9_4b0e_935b_09516746fac0); -impl std::ops::Deref for IMMDeviceActivator { +impl core::ops::Deref for IMMDeviceActivator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2564,7 +2564,7 @@ pub struct IMMDeviceActivator_Vtbl { pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMMDeviceCollection, IMMDeviceCollection_Vtbl, 0x0bd7a1be_7a1a_44db_8397_cc5392387b5e); -impl std::ops::Deref for IMMDeviceCollection { +impl core::ops::Deref for IMMDeviceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2588,7 +2588,7 @@ pub struct IMMDeviceCollection_Vtbl { pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMMDeviceEnumerator, IMMDeviceEnumerator_Vtbl, 0xa95664d2_9614_4f35_a746_de8db63617e6); -impl std::ops::Deref for IMMDeviceEnumerator { +impl core::ops::Deref for IMMDeviceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2634,7 +2634,7 @@ pub struct IMMDeviceEnumerator_Vtbl { pub UnregisterEndpointNotificationCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMMEndpoint, IMMEndpoint_Vtbl, 0x1be09788_6894_4089_8586_9a2a6c265ac5); -impl std::ops::Deref for IMMEndpoint { +impl core::ops::Deref for IMMEndpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2653,7 +2653,7 @@ pub struct IMMEndpoint_Vtbl { pub GetDataFlow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EDataFlow) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMMNotificationClient, IMMNotificationClient_Vtbl, 0x7991eec9_7e89_4d85_8390_6c703cec60c0); -impl std::ops::Deref for IMMNotificationClient { +impl core::ops::Deref for IMMNotificationClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2706,7 +2706,7 @@ pub struct IMMNotificationClient_Vtbl { OnPropertyValueChanged: usize, } windows_core::imp::define_interface!(IMessageFilter, IMessageFilter_Vtbl, 0x00000016_0000_0000_c000_000000000046); -impl std::ops::Deref for IMessageFilter { +impl core::ops::Deref for IMessageFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2745,7 +2745,7 @@ pub struct IMessageFilter_Vtbl { pub MessagePending: unsafe extern "system" fn(*mut core::ffi::c_void, super::HTASK, u32, u32) -> u32, } windows_core::imp::define_interface!(IPart, IPart_Vtbl, 0xae2de0e4_5bca_4f2d_aa46_5d13f8fdb3a9); -impl std::ops::Deref for IPart { +impl core::ops::Deref for IPart { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2827,7 +2827,7 @@ pub struct IPart_Vtbl { pub UnregisterControlChangeCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPartsList, IPartsList_Vtbl, 0x6daa848c_5eb0_45cc_aea5_998a2cda1ffb); -impl std::ops::Deref for IPartsList { +impl core::ops::Deref for IPartsList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2851,7 +2851,7 @@ pub struct IPartsList_Vtbl { pub GetPart: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPerChannelDbLevel, IPerChannelDbLevel_Vtbl, 0xc2f8e001_f205_4bc9_99bc_c13b1e048ccb); -impl std::ops::Deref for IPerChannelDbLevel { +impl core::ops::Deref for IPerChannelDbLevel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2891,7 +2891,7 @@ pub struct IPerChannelDbLevel_Vtbl { pub SetLevelAllChannels: unsafe extern "system" fn(*mut core::ffi::c_void, *const f32, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimpleAudioVolume, ISimpleAudioVolume_Vtbl, 0x87ce5498_68d6_44e5_9215_6da47ef883d8); -impl std::ops::Deref for ISimpleAudioVolume { +impl core::ops::Deref for ISimpleAudioVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2926,7 +2926,7 @@ pub struct ISimpleAudioVolume_Vtbl { pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioClient, ISpatialAudioClient_Vtbl, 0xbbf8e066_aaaa_49be_9a4d_fd2a858ea27f); -impl std::ops::Deref for ISpatialAudioClient { +impl core::ops::Deref for ISpatialAudioClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2963,7 +2963,7 @@ impl ISpatialAudioClient { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ActivateSpatialAudioStream)(windows_core::Interface::as_raw(self), core::mem::transmute(activationparams), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2980,7 +2980,7 @@ pub struct ISpatialAudioClient_Vtbl { pub ActivateSpatialAudioStream: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioClient2, ISpatialAudioClient2_Vtbl, 0xcaabe452_a66a_4bee_a93e_e320463f6a53); -impl std::ops::Deref for ISpatialAudioClient2 { +impl core::ops::Deref for ISpatialAudioClient2 { type Target = ISpatialAudioClient; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3007,7 +3007,7 @@ pub struct ISpatialAudioClient2_Vtbl { pub GetMaxFrameCountForCategory: unsafe extern "system" fn(*mut core::ffi::c_void, AUDIO_STREAM_CATEGORY, super::super::Foundation::BOOL, *const WAVEFORMATEX, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioMetadataClient, ISpatialAudioMetadataClient_Vtbl, 0x777d4a3b_f6ff_4a26_85dc_68d7cdeda1d4); -impl std::ops::Deref for ISpatialAudioMetadataClient { +impl core::ops::Deref for ISpatialAudioMetadataClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3045,7 +3045,7 @@ pub struct ISpatialAudioMetadataClient_Vtbl { pub ActivateSpatialAudioMetadataReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioMetadataCopier, ISpatialAudioMetadataCopier_Vtbl, 0xd224b233_e251_4fd0_9ca2_d5ecf9a68404); -impl std::ops::Deref for ISpatialAudioMetadataCopier { +impl core::ops::Deref for ISpatialAudioMetadataCopier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3078,7 +3078,7 @@ pub struct ISpatialAudioMetadataCopier_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioMetadataItems, ISpatialAudioMetadataItems_Vtbl, 0xbcd7c78f_3098_4f22_b547_a2f25a381269); -impl std::ops::Deref for ISpatialAudioMetadataItems { +impl core::ops::Deref for ISpatialAudioMetadataItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3117,7 +3117,7 @@ pub struct ISpatialAudioMetadataItems_Vtbl { pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialAudioMetadataItemsInfo) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioMetadataItemsBuffer, ISpatialAudioMetadataItemsBuffer_Vtbl, 0x42640a16_e1bd_42d9_9ff6_031ab71a2dba); -impl std::ops::Deref for ISpatialAudioMetadataItemsBuffer { +impl core::ops::Deref for ISpatialAudioMetadataItemsBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3143,7 +3143,7 @@ pub struct ISpatialAudioMetadataItemsBuffer_Vtbl { pub DetachBuffer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioMetadataReader, ISpatialAudioMetadataReader_Vtbl, 0xb78e86a2_31d9_4c32_94d2_7df40fc7ebec); -impl std::ops::Deref for ISpatialAudioMetadataReader { +impl core::ops::Deref for ISpatialAudioMetadataReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3176,7 +3176,7 @@ pub struct ISpatialAudioMetadataReader_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioMetadataWriter, ISpatialAudioMetadataWriter_Vtbl, 0x1b17ca01_2955_444d_a430_537dc589a844); -impl std::ops::Deref for ISpatialAudioMetadataWriter { +impl core::ops::Deref for ISpatialAudioMetadataWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3209,7 +3209,7 @@ pub struct ISpatialAudioMetadataWriter_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObject, ISpatialAudioObject_Vtbl, 0xdde28967_521b_46e5_8f00_bd6f2bc8ab1d); -impl std::ops::Deref for ISpatialAudioObject { +impl core::ops::Deref for ISpatialAudioObject { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3231,7 +3231,7 @@ pub struct ISpatialAudioObject_Vtbl { pub SetVolume: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectBase, ISpatialAudioObjectBase_Vtbl, 0xcce0b8f2_8d4d_4efb_a8cf_3d6ecf1c30e0); -impl std::ops::Deref for ISpatialAudioObjectBase { +impl core::ops::Deref for ISpatialAudioObjectBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3263,7 +3263,7 @@ pub struct ISpatialAudioObjectBase_Vtbl { pub GetAudioObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioObjectType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectForHrtf, ISpatialAudioObjectForHrtf_Vtbl, 0xd7436ade_1978_4e14_aba0_555bd8eb83b4); -impl std::ops::Deref for ISpatialAudioObjectForHrtf { +impl core::ops::Deref for ISpatialAudioObjectForHrtf { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3301,7 +3301,7 @@ pub struct ISpatialAudioObjectForHrtf_Vtbl { pub SetDirectivity: unsafe extern "system" fn(*mut core::ffi::c_void, *const SpatialAudioHrtfDirectivityUnion) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectForMetadataCommands, ISpatialAudioObjectForMetadataCommands_Vtbl, 0x0df2c94b_f5f9_472d_af6b_c46e0ac9cd05); -impl std::ops::Deref for ISpatialAudioObjectForMetadataCommands { +impl core::ops::Deref for ISpatialAudioObjectForMetadataCommands { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3319,7 +3319,7 @@ pub struct ISpatialAudioObjectForMetadataCommands_Vtbl { pub WriteNextMetadataCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectForMetadataItems, ISpatialAudioObjectForMetadataItems_Vtbl, 0xddea49ff_3bc0_4377_8aad_9fbcfd808566); -impl std::ops::Deref for ISpatialAudioObjectForMetadataItems { +impl core::ops::Deref for ISpatialAudioObjectForMetadataItems { type Target = ISpatialAudioObjectBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3338,7 +3338,7 @@ pub struct ISpatialAudioObjectForMetadataItems_Vtbl { pub GetSpatialAudioMetadataItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectRenderStream, ISpatialAudioObjectRenderStream_Vtbl, 0xbab5f473_b423_477b_85f5_b5a332a04153); -impl std::ops::Deref for ISpatialAudioObjectRenderStream { +impl core::ops::Deref for ISpatialAudioObjectRenderStream { type Target = ISpatialAudioObjectRenderStreamBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3357,7 +3357,7 @@ pub struct ISpatialAudioObjectRenderStream_Vtbl { pub ActivateSpatialAudioObject: unsafe extern "system" fn(*mut core::ffi::c_void, AudioObjectType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamBase, ISpatialAudioObjectRenderStreamBase_Vtbl, 0xfeaaf403_c1d8_450d_aa05_e0ccee7502a8); -impl std::ops::Deref for ISpatialAudioObjectRenderStreamBase { +impl core::ops::Deref for ISpatialAudioObjectRenderStreamBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3373,7 +3373,7 @@ impl ISpatialAudioObjectRenderStreamBase { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetService)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -3404,7 +3404,7 @@ pub struct ISpatialAudioObjectRenderStreamBase_Vtbl { pub EndUpdatingAudioObjects: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamForHrtf, ISpatialAudioObjectRenderStreamForHrtf_Vtbl, 0xe08deef9_5363_406e_9fdc_080ee247bbe0); -impl std::ops::Deref for ISpatialAudioObjectRenderStreamForHrtf { +impl core::ops::Deref for ISpatialAudioObjectRenderStreamForHrtf { type Target = ISpatialAudioObjectRenderStreamBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3423,7 +3423,7 @@ pub struct ISpatialAudioObjectRenderStreamForHrtf_Vtbl { pub ActivateSpatialAudioObjectForHrtf: unsafe extern "system" fn(*mut core::ffi::c_void, AudioObjectType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamForMetadata, ISpatialAudioObjectRenderStreamForMetadata_Vtbl, 0xbbc9c907_48d5_4a2e_a0c7_f7f0d67c1fb1); -impl std::ops::Deref for ISpatialAudioObjectRenderStreamForMetadata { +impl core::ops::Deref for ISpatialAudioObjectRenderStreamForMetadata { type Target = ISpatialAudioObjectRenderStreamBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3447,7 +3447,7 @@ pub struct ISpatialAudioObjectRenderStreamForMetadata_Vtbl { pub ActivateSpatialAudioObjectForMetadataItems: unsafe extern "system" fn(*mut core::ffi::c_void, AudioObjectType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamNotify, ISpatialAudioObjectRenderStreamNotify_Vtbl, 0xdddf83e6_68d7_4c70_883f_a1836afb4a50); -impl std::ops::Deref for ISpatialAudioObjectRenderStreamNotify { +impl core::ops::Deref for ISpatialAudioObjectRenderStreamNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3468,7 +3468,7 @@ pub struct ISpatialAudioObjectRenderStreamNotify_Vtbl { pub OnAvailableDynamicObjectCountChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i64, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISubunit, ISubunit_Vtbl, 0x82149a85_dba6_4487_86bb_ea8f7fefcc71); -impl std::ops::Deref for ISubunit { +impl core::ops::Deref for ISubunit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs index c30473760e..13a284389d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IComponentAuthenticate, IComponentAuthenticate_Vtbl, 0xa9889c00_6d2b_11d3_8496_00c04f79dbc0); -impl std::ops::Deref for IComponentAuthenticate { +impl core::ops::Deref for IComponentAuthenticate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21,7 +21,7 @@ pub struct IComponentAuthenticate_Vtbl { pub SACGetProtocols: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPDevice, IMDSPDevice_Vtbl, 0x1dcb3a12_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPDevice { +impl core::ops::Deref for IMDSPDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -88,7 +88,7 @@ pub struct IMDSPDevice_Vtbl { pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPDevice2, IMDSPDevice2_Vtbl, 0x420d16ad_c97d_4e00_82aa_00e9f4335ddd); -impl std::ops::Deref for IMDSPDevice2 { +impl core::ops::Deref for IMDSPDevice2 { type Target = IMDSPDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -130,7 +130,7 @@ pub struct IMDSPDevice2_Vtbl { pub GetCanonicalName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPDevice3, IMDSPDevice3_Vtbl, 0x1a839845_fc55_487c_976f_ee38ac0e8c4e); -impl std::ops::Deref for IMDSPDevice3 { +impl core::ops::Deref for IMDSPDevice3 { type Target = IMDSPDevice2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -176,7 +176,7 @@ pub struct IMDSPDevice3_Vtbl { pub FindStorage: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FIND_SCOPE, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPDeviceControl, IMDSPDeviceControl_Vtbl, 0x1dcb3a14_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPDeviceControl { +impl core::ops::Deref for IMDSPDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -228,7 +228,7 @@ pub struct IMDSPDeviceControl_Vtbl { pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPDirectTransfer, IMDSPDirectTransfer_Vtbl, 0xc2fe57a8_9304_478c_9ee4_47e397b912d7); -impl std::ops::Deref for IMDSPDirectTransfer { +impl core::ops::Deref for IMDSPDirectTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -254,7 +254,7 @@ pub struct IMDSPDirectTransfer_Vtbl { pub TransferToDevice: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPEnumDevice, IMDSPEnumDevice_Vtbl, 0x1dcb3a11_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPEnumDevice { +impl core::ops::Deref for IMDSPEnumDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -286,7 +286,7 @@ pub struct IMDSPEnumDevice_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPEnumStorage, IMDSPEnumStorage_Vtbl, 0x1dcb3a15_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPEnumStorage { +impl core::ops::Deref for IMDSPEnumStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -318,7 +318,7 @@ pub struct IMDSPEnumStorage_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPObject, IMDSPObject_Vtbl, 0x1dcb3a18_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPObject { +impl core::ops::Deref for IMDSPObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -375,7 +375,7 @@ pub struct IMDSPObject_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPObject2, IMDSPObject2_Vtbl, 0x3f34cd3e_5907_4341_9af9_97f4187c3aa5); -impl std::ops::Deref for IMDSPObject2 { +impl core::ops::Deref for IMDSPObject2 { type Target = IMDSPObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -397,7 +397,7 @@ pub struct IMDSPObject2_Vtbl { pub WriteOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPObjectInfo, IMDSPObjectInfo_Vtbl, 0x1dcb3a19_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPObjectInfo { +impl core::ops::Deref for IMDSPObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -444,7 +444,7 @@ pub struct IMDSPObjectInfo_Vtbl { pub GetLongestPlayPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPRevoked, IMDSPRevoked_Vtbl, 0xa4e8f2d4_3f31_464d_b53d_4fc335998184); -impl std::ops::Deref for IMDSPRevoked { +impl core::ops::Deref for IMDSPRevoked { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -462,7 +462,7 @@ pub struct IMDSPRevoked_Vtbl { pub GetRevocationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPStorage, IMDSPStorage_Vtbl, 0x1dcb3a16_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPStorage { +impl core::ops::Deref for IMDSPStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -535,7 +535,7 @@ pub struct IMDSPStorage_Vtbl { pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPStorage2, IMDSPStorage2_Vtbl, 0x0a5e07a5_6454_4451_9c36_1c6ae7e2b1d6); -impl std::ops::Deref for IMDSPStorage2 { +impl core::ops::Deref for IMDSPStorage2 { type Target = IMDSPStorage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -585,7 +585,7 @@ pub struct IMDSPStorage2_Vtbl { GetAttributes2: usize, } windows_core::imp::define_interface!(IMDSPStorage3, IMDSPStorage3_Vtbl, 0x6c669867_97ed_4a67_9706_1c5529d2a414); -impl std::ops::Deref for IMDSPStorage3 { +impl core::ops::Deref for IMDSPStorage3 { type Target = IMDSPStorage2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -613,7 +613,7 @@ pub struct IMDSPStorage3_Vtbl { pub SetMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPStorage4, IMDSPStorage4_Vtbl, 0x3133b2c4_515c_481b_b1ce_39327ecb4f74); -impl std::ops::Deref for IMDSPStorage4 { +impl core::ops::Deref for IMDSPStorage4 { type Target = IMDSPStorage3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -664,7 +664,7 @@ pub struct IMDSPStorage4_Vtbl { pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDSPStorageGlobals, IMDSPStorageGlobals_Vtbl, 0x1dcb3a17_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDSPStorageGlobals { +impl core::ops::Deref for IMDSPStorageGlobals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -721,7 +721,7 @@ pub struct IMDSPStorageGlobals_Vtbl { pub GetRootStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDServiceProvider, IMDServiceProvider_Vtbl, 0x1dcb3a10_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IMDServiceProvider { +impl core::ops::Deref for IMDServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -745,7 +745,7 @@ pub struct IMDServiceProvider_Vtbl { pub EnumDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDServiceProvider2, IMDServiceProvider2_Vtbl, 0xb2fa24b7_cda3_4694_9862_413ae1a34819); -impl std::ops::Deref for IMDServiceProvider2 { +impl core::ops::Deref for IMDServiceProvider2 { type Target = IMDServiceProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -766,7 +766,7 @@ pub struct IMDServiceProvider2_Vtbl { pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut *mut Option) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDServiceProvider3, IMDServiceProvider3_Vtbl, 0x4ed13ef3_a971_4d19_9f51_0e1826b2da57); -impl std::ops::Deref for IMDServiceProvider3 { +impl core::ops::Deref for IMDServiceProvider3 { type Target = IMDServiceProvider2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -784,7 +784,7 @@ pub struct IMDServiceProvider3_Vtbl { pub SetDeviceEnumPreference: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureAuthenticate, ISCPSecureAuthenticate_Vtbl, 0x1dcb3a0f_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for ISCPSecureAuthenticate { +impl core::ops::Deref for ISCPSecureAuthenticate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -803,7 +803,7 @@ pub struct ISCPSecureAuthenticate_Vtbl { pub GetSecureQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureAuthenticate2, ISCPSecureAuthenticate2_Vtbl, 0xb580cfae_1672_47e2_acaa_44bbecbcae5b); -impl std::ops::Deref for ISCPSecureAuthenticate2 { +impl core::ops::Deref for ISCPSecureAuthenticate2 { type Target = ISCPSecureAuthenticate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -822,7 +822,7 @@ pub struct ISCPSecureAuthenticate2_Vtbl { pub GetSCPSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureExchange, ISCPSecureExchange_Vtbl, 0x1dcb3a0e_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for ISCPSecureExchange { +impl core::ops::Deref for ISCPSecureExchange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -848,7 +848,7 @@ pub struct ISCPSecureExchange_Vtbl { pub TransferComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureExchange2, ISCPSecureExchange2_Vtbl, 0x6c62fc7b_2690_483f_9d44_0a20cb35577c); -impl std::ops::Deref for ISCPSecureExchange2 { +impl core::ops::Deref for ISCPSecureExchange2 { type Target = ISCPSecureExchange; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -869,7 +869,7 @@ pub struct ISCPSecureExchange2_Vtbl { pub TransferContainerData2: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureExchange3, ISCPSecureExchange3_Vtbl, 0xab4e77e4_8908_4b17_bd2a_b1dbe6dd69e1); -impl std::ops::Deref for ISCPSecureExchange3 { +impl core::ops::Deref for ISCPSecureExchange3 { type Target = ISCPSecureExchange2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -906,7 +906,7 @@ pub struct ISCPSecureExchange3_Vtbl { pub TransferCompleteForDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureQuery, ISCPSecureQuery_Vtbl, 0x1dcb3a0d_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for ISCPSecureQuery { +impl core::ops::Deref for ISCPSecureQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -945,7 +945,7 @@ pub struct ISCPSecureQuery_Vtbl { pub GetRights: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut core::ffi::c_void, *mut *mut WMDMRIGHTS, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureQuery2, ISCPSecureQuery2_Vtbl, 0xebe17e25_4fd7_4632_af46_6d93d4fcc72e); -impl std::ops::Deref for ISCPSecureQuery2 { +impl core::ops::Deref for ISCPSecureQuery2 { type Target = ISCPSecureQuery; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -988,7 +988,7 @@ pub struct ISCPSecureQuery2_Vtbl { pub MakeDecision2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, u32, *const u8, u32, *mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut windows_core::PWSTR, *mut u32, *mut u32, *mut u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSecureQuery3, ISCPSecureQuery3_Vtbl, 0xb7edd1a2_4dab_484b_b3c5_ad39b8b4c0b1); -impl std::ops::Deref for ISCPSecureQuery3 { +impl core::ops::Deref for ISCPSecureQuery3 { type Target = ISCPSecureQuery2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1040,7 +1040,7 @@ pub struct ISCPSecureQuery3_Vtbl { pub MakeDecisionOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, u32, *const u8, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut windows_core::PWSTR, *mut u32, *mut u32, *mut u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCPSession, ISCPSession_Vtbl, 0x88a3e6ed_eee4_4619_bbb3_fd4fb62715d1); -impl std::ops::Deref for ISCPSession { +impl core::ops::Deref for ISCPSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1070,7 +1070,7 @@ pub struct ISCPSession_Vtbl { pub GetSecureQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMDevice, IWMDMDevice_Vtbl, 0x1dcb3a02_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMDevice { +impl core::ops::Deref for IWMDMDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1137,7 +1137,7 @@ pub struct IWMDMDevice_Vtbl { pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMDevice2, IWMDMDevice2_Vtbl, 0xe34f3d37_9d67_4fc1_9252_62d28b2f8b55); -impl std::ops::Deref for IWMDMDevice2 { +impl core::ops::Deref for IWMDMDevice2 { type Target = IWMDMDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1179,7 +1179,7 @@ pub struct IWMDMDevice2_Vtbl { pub GetCanonicalName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMDevice3, IWMDMDevice3_Vtbl, 0x6c03e4fe_05db_4dda_9e3c_06233a6d5d65); -impl std::ops::Deref for IWMDMDevice3 { +impl core::ops::Deref for IWMDMDevice3 { type Target = IWMDMDevice2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1225,7 +1225,7 @@ pub struct IWMDMDevice3_Vtbl { pub FindStorage: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FIND_SCOPE, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMDeviceControl, IWMDMDeviceControl_Vtbl, 0x1dcb3a04_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMDeviceControl { +impl core::ops::Deref for IWMDMDeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1277,7 +1277,7 @@ pub struct IWMDMDeviceControl_Vtbl { pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMDeviceSession, IWMDMDeviceSession_Vtbl, 0x82af0a65_9d96_412c_83e5_3c43e4b06cc7); -impl std::ops::Deref for IWMDMDeviceSession { +impl core::ops::Deref for IWMDMDeviceSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1299,7 +1299,7 @@ pub struct IWMDMDeviceSession_Vtbl { pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_SESSION_TYPE, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMEnumDevice, IWMDMEnumDevice_Vtbl, 0x1dcb3a01_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMEnumDevice { +impl core::ops::Deref for IWMDMEnumDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1331,7 +1331,7 @@ pub struct IWMDMEnumDevice_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMEnumStorage, IWMDMEnumStorage_Vtbl, 0x1dcb3a05_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMEnumStorage { +impl core::ops::Deref for IWMDMEnumStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1363,7 +1363,7 @@ pub struct IWMDMEnumStorage_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMLogger, IWMDMLogger_Vtbl, 0x110a3200_5a79_11d3_8d78_444553540000); -impl std::ops::Deref for IWMDMLogger { +impl core::ops::Deref for IWMDMLogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1428,7 +1428,7 @@ pub struct IWMDMLogger_Vtbl { pub SetSizeParams: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMMetaData, IWMDMMetaData_Vtbl, 0xec3b0663_0951_460a_9a80_0dceed3c043c); -impl std::ops::Deref for IWMDMMetaData { +impl core::ops::Deref for IWMDMMetaData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1465,7 +1465,7 @@ pub struct IWMDMMetaData_Vtbl { pub GetItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMNotification, IWMDMNotification_Vtbl, 0x3f5e95c0_0f43_4ed4_93d2_c89a45d59b81); -impl std::ops::Deref for IWMDMNotification { +impl core::ops::Deref for IWMDMNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1486,7 +1486,7 @@ pub struct IWMDMNotification_Vtbl { pub WMDMMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMObjectInfo, IWMDMObjectInfo_Vtbl, 0x1dcb3a09_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMObjectInfo { +impl core::ops::Deref for IWMDMObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1533,7 +1533,7 @@ pub struct IWMDMObjectInfo_Vtbl { pub GetLongestPlayPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMOperation, IWMDMOperation_Vtbl, 0x1dcb3a0b_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMOperation { +impl core::ops::Deref for IWMDMOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1598,7 +1598,7 @@ pub struct IWMDMOperation_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMOperation2, IWMDMOperation2_Vtbl, 0x33445b48_7df7_425c_ad8f_0fc6d82f9f75); -impl std::ops::Deref for IWMDMOperation2 { +impl core::ops::Deref for IWMDMOperation2 { type Target = IWMDMOperation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1628,7 +1628,7 @@ pub struct IWMDMOperation2_Vtbl { GetObjectAttributes2: usize, } windows_core::imp::define_interface!(IWMDMOperation3, IWMDMOperation3_Vtbl, 0xd1f9b46a_9ca8_46d8_9d0f_1ec9bae54919); -impl std::ops::Deref for IWMDMOperation3 { +impl core::ops::Deref for IWMDMOperation3 { type Target = IWMDMOperation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1646,7 +1646,7 @@ pub struct IWMDMOperation3_Vtbl { pub TransferObjectDataOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMProgress, IWMDMProgress_Vtbl, 0x1dcb3a0c_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMProgress { +impl core::ops::Deref for IWMDMProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1672,7 +1672,7 @@ pub struct IWMDMProgress_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMProgress2, IWMDMProgress2_Vtbl, 0x3a43f550_b383_4e92_b04a_e6bbc660fefc); -impl std::ops::Deref for IWMDMProgress2 { +impl core::ops::Deref for IWMDMProgress2 { type Target = IWMDMProgress; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1690,7 +1690,7 @@ pub struct IWMDMProgress2_Vtbl { pub End2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMProgress3, IWMDMProgress3_Vtbl, 0x21de01cb_3bb4_4929_b21a_17af3f80f658); -impl std::ops::Deref for IWMDMProgress3 { +impl core::ops::Deref for IWMDMProgress3 { type Target = IWMDMProgress2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1716,7 +1716,7 @@ pub struct IWMDMProgress3_Vtbl { pub End3: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::HRESULT, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMRevoked, IWMDMRevoked_Vtbl, 0xebeccedb_88ee_4e55_b6a4_8d9f07d696aa); -impl std::ops::Deref for IWMDMRevoked { +impl core::ops::Deref for IWMDMRevoked { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1734,7 +1734,7 @@ pub struct IWMDMRevoked_Vtbl { pub GetRevocationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMStorage, IWMDMStorage_Vtbl, 0x1dcb3a06_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMStorage { +impl core::ops::Deref for IWMDMStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1795,7 +1795,7 @@ pub struct IWMDMStorage_Vtbl { pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMStorage2, IWMDMStorage2_Vtbl, 0x1ed5a144_5cd5_4683_9eff_72cbdb2d9533); -impl std::ops::Deref for IWMDMStorage2 { +impl core::ops::Deref for IWMDMStorage2 { type Target = IWMDMStorage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1833,7 +1833,7 @@ pub struct IWMDMStorage2_Vtbl { GetAttributes2: usize, } windows_core::imp::define_interface!(IWMDMStorage3, IWMDMStorage3_Vtbl, 0x97717eea_926a_464e_96a4_247b0216026e); -impl std::ops::Deref for IWMDMStorage3 { +impl core::ops::Deref for IWMDMStorage3 { type Target = IWMDMStorage2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1868,7 +1868,7 @@ pub struct IWMDMStorage3_Vtbl { pub SetEnumPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMDM_STORAGE_ENUM_MODE, u32, *const WMDMMetadataView) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMStorage4, IWMDMStorage4_Vtbl, 0xc225bac5_a03a_40b8_9a23_91cf478c64a6); -impl std::ops::Deref for IWMDMStorage4 { +impl core::ops::Deref for IWMDMStorage4 { type Target = IWMDMStorage3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1915,7 +1915,7 @@ pub struct IWMDMStorage4_Vtbl { pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMStorageControl, IWMDMStorageControl_Vtbl, 0x1dcb3a08_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMStorageControl { +impl core::ops::Deref for IWMDMStorageControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1971,7 +1971,7 @@ pub struct IWMDMStorageControl_Vtbl { pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMStorageControl2, IWMDMStorageControl2_Vtbl, 0x972c2e88_bd6c_4125_8e09_84f837e637b6); -impl std::ops::Deref for IWMDMStorageControl2 { +impl core::ops::Deref for IWMDMStorageControl2 { type Target = IWMDMStorageControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1996,7 +1996,7 @@ pub struct IWMDMStorageControl2_Vtbl { pub Insert2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMStorageControl3, IWMDMStorageControl3_Vtbl, 0xb3266365_d4f3_4696_8d53_bd27ec60993a); -impl std::ops::Deref for IWMDMStorageControl3 { +impl core::ops::Deref for IWMDMStorageControl3 { type Target = IWMDMStorageControl2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2022,7 +2022,7 @@ pub struct IWMDMStorageControl3_Vtbl { pub Insert3: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDMStorageGlobals, IWMDMStorageGlobals_Vtbl, 0x1dcb3a07_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDMStorageGlobals { +impl core::ops::Deref for IWMDMStorageGlobals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2069,7 +2069,7 @@ pub struct IWMDMStorageGlobals_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDeviceManager, IWMDeviceManager_Vtbl, 0x1dcb3a00_33ed_11d3_8470_00c04f79dbc0); -impl std::ops::Deref for IWMDeviceManager { +impl core::ops::Deref for IWMDeviceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2098,7 +2098,7 @@ pub struct IWMDeviceManager_Vtbl { pub EnumDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDeviceManager2, IWMDeviceManager2_Vtbl, 0x923e5249_8731_4c5b_9b1c_b8b60b6e46af); -impl std::ops::Deref for IWMDeviceManager2 { +impl core::ops::Deref for IWMDeviceManager2 { type Target = IWMDeviceManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2129,7 +2129,7 @@ pub struct IWMDeviceManager2_Vtbl { pub Reinitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDeviceManager3, IWMDeviceManager3_Vtbl, 0xaf185c41_100d_46ed_be2e_9ce8c44594ef); -impl std::ops::Deref for IWMDeviceManager3 { +impl core::ops::Deref for IWMDeviceManager3 { type Target = IWMDeviceManager2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs index fb15912057..223e708ae7 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IATSCChannelTuneRequest, IATSCChannelTuneRequest_Vtbl, 0x0369b4e1_45b6_11d3_b650_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IATSCChannelTuneRequest { +impl core::ops::Deref for IATSCChannelTuneRequest { type Target = IChannelTuneRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -29,7 +29,7 @@ pub struct IATSCChannelTuneRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IATSCComponentType, IATSCComponentType_Vtbl, 0xfc189e4d_7bd4_4125_b3b3_3a76a332cc96); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IATSCComponentType { +impl core::ops::Deref for IATSCComponentType { type Target = IMPEG2ComponentType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -57,7 +57,7 @@ pub struct IATSCComponentType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IATSCLocator, IATSCLocator_Vtbl, 0xbf8d986f_8c2b_4131_94d7_4d3d9fcc21ef); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IATSCLocator { +impl core::ops::Deref for IATSCLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -94,7 +94,7 @@ pub struct IATSCLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IATSCLocator2, IATSCLocator2_Vtbl, 0x612aa885_66cf_4090_ba0a_566f5312e4ca); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IATSCLocator2 { +impl core::ops::Deref for IATSCLocator2 { type Target = IATSCLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -122,7 +122,7 @@ pub struct IATSCLocator2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IATSCTuningSpace, IATSCTuningSpace_Vtbl, 0x0369b4e2_45b6_11d3_b650_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IATSCTuningSpace { +impl core::ops::Deref for IATSCTuningSpace { type Target = IAnalogTVTuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -175,7 +175,7 @@ pub struct IATSCTuningSpace_Vtbl { pub SetMaxPhysicalChannel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IATSC_EIT, IATSC_EIT_Vtbl, 0xd7c212d7_76a2_4b4b_aa56_846879a80096); -impl std::ops::Deref for IATSC_EIT { +impl core::ops::Deref for IATSC_EIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -255,7 +255,7 @@ pub struct IATSC_EIT_Vtbl { pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IATSC_ETT, IATSC_ETT_Vtbl, 0x5a142cc9_b8cf_4a86_a040_e9cadf3ef3e7); -impl std::ops::Deref for IATSC_ETT { +impl core::ops::Deref for IATSC_ETT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -296,7 +296,7 @@ pub struct IATSC_ETT_Vtbl { pub GetExtendedMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IATSC_MGT, IATSC_MGT_Vtbl, 0x8877dabd_c137_4073_97e3_779407a5d87a); -impl std::ops::Deref for IATSC_MGT { +impl core::ops::Deref for IATSC_MGT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -375,7 +375,7 @@ pub struct IATSC_MGT_Vtbl { pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IATSC_STT, IATSC_STT_Vtbl, 0x6bf42423_217d_4d6f_81e1_3a7b360ec896); -impl std::ops::Deref for IATSC_STT { +impl core::ops::Deref for IATSC_STT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -431,7 +431,7 @@ pub struct IATSC_STT_Vtbl { pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IATSC_VCT, IATSC_VCT_Vtbl, 0x26879a18_32f9_46c6_91f0_fb6479270e8c); -impl std::ops::Deref for IATSC_VCT { +impl core::ops::Deref for IATSC_VCT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -577,7 +577,7 @@ pub struct IATSC_VCT_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAnalogAudioComponentType, IAnalogAudioComponentType_Vtbl, 0x2cfeb2a8_1787_4a24_a941_c6eaec39c842); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAnalogAudioComponentType { +impl core::ops::Deref for IAnalogAudioComponentType { type Target = IComponentType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -605,7 +605,7 @@ pub struct IAnalogAudioComponentType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAnalogLocator, IAnalogLocator_Vtbl, 0x34d1f26b_e339_430d_abce_738cb48984dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAnalogLocator { +impl core::ops::Deref for IAnalogLocator { type Target = ILocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -633,7 +633,7 @@ pub struct IAnalogLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAnalogRadioTuningSpace, IAnalogRadioTuningSpace_Vtbl, 0x2a6e293b_2595_11d3_b64c_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAnalogRadioTuningSpace { +impl core::ops::Deref for IAnalogRadioTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -679,7 +679,7 @@ pub struct IAnalogRadioTuningSpace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAnalogRadioTuningSpace2, IAnalogRadioTuningSpace2_Vtbl, 0x39dd45da_2da8_46ba_8a8a_87e2b73d983a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAnalogRadioTuningSpace2 { +impl core::ops::Deref for IAnalogRadioTuningSpace2 { type Target = IAnalogRadioTuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -707,7 +707,7 @@ pub struct IAnalogRadioTuningSpace2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAnalogTVTuningSpace, IAnalogTVTuningSpace_Vtbl, 0x2a6e293c_2595_11d3_b64c_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAnalogTVTuningSpace { +impl core::ops::Deref for IAnalogTVTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -760,7 +760,7 @@ pub struct IAnalogTVTuningSpace_Vtbl { pub SetCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAtscContentAdvisoryDescriptor, IAtscContentAdvisoryDescriptor_Vtbl, 0xff76e60c_0283_43ea_ba32_b422238547ee); -impl std::ops::Deref for IAtscContentAdvisoryDescriptor { +impl core::ops::Deref for IAtscContentAdvisoryDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -813,7 +813,7 @@ pub struct IAtscContentAdvisoryDescriptor_Vtbl { pub GetRecordRatingDescriptionText: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAtscPsipParser, IAtscPsipParser_Vtbl, 0xb2c98995_5eb2_4fb1_b406_f3e8e2026a9a); -impl std::ops::Deref for IAtscPsipParser { +impl core::ops::Deref for IAtscPsipParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -887,7 +887,7 @@ pub struct IAtscPsipParser_Vtbl { pub GetEAS: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAttributeGet, IAttributeGet_Vtbl, 0x52dbd1ec_e48f_4528_9232_f442a68f0ae1); -impl std::ops::Deref for IAttributeGet { +impl core::ops::Deref for IAttributeGet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -914,7 +914,7 @@ pub struct IAttributeGet_Vtbl { pub GetAttrib: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAttributeSet, IAttributeSet_Vtbl, 0x583ec3cc_4960_4857_982b_41a33ea0a006); -impl std::ops::Deref for IAttributeSet { +impl core::ops::Deref for IAttributeSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -934,7 +934,7 @@ pub struct IAttributeSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAuxInTuningSpace, IAuxInTuningSpace_Vtbl, 0xe48244b8_7e17_4f76_a763_5090ff1e2f30); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAuxInTuningSpace { +impl core::ops::Deref for IAuxInTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -952,7 +952,7 @@ pub struct IAuxInTuningSpace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAuxInTuningSpace2, IAuxInTuningSpace2_Vtbl, 0xb10931ed_8bfe_4ab0_9dce_e469c29a9729); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAuxInTuningSpace2 { +impl core::ops::Deref for IAuxInTuningSpace2 { type Target = IAuxInTuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -978,7 +978,7 @@ pub struct IAuxInTuningSpace2_Vtbl { pub SetCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDAComparable, IBDAComparable_Vtbl, 0xb34505e0_2f0e_497b_80bc_d43f3b24ed7f); -impl std::ops::Deref for IBDAComparable { +impl core::ops::Deref for IBDAComparable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1036,7 +1036,7 @@ pub struct IBDAComparable_Vtbl { pub HashEquivalentIncremental: unsafe extern "system" fn(*mut core::ffi::c_void, i64, u32, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDACreateTuneRequestEx, IBDACreateTuneRequestEx_Vtbl, 0xc0a4a1d4_2b3c_491a_ba22_499fbadd4d12); -impl std::ops::Deref for IBDACreateTuneRequestEx { +impl core::ops::Deref for IBDACreateTuneRequestEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1059,7 +1059,7 @@ pub struct IBDACreateTuneRequestEx_Vtbl { CreateTuneRequestEx: usize, } windows_core::imp::define_interface!(IBDA_TIF_REGISTRATION, IBDA_TIF_REGISTRATION_Vtbl, 0xdfef4a68_ee61_415f_9ccb_cd95f2f98a3a); -impl std::ops::Deref for IBDA_TIF_REGISTRATION { +impl core::ops::Deref for IBDA_TIF_REGISTRATION { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1084,7 +1084,7 @@ pub struct IBDA_TIF_REGISTRATION_Vtbl { pub UnregisterTIF: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICAT, ICAT_Vtbl, 0x7c6995fb_2a31_4bd7_953e_b1ad7fb7d31c); -impl std::ops::Deref for ICAT { +impl core::ops::Deref for ICAT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1148,7 +1148,7 @@ pub struct ICAT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICaptionServiceDescriptor, ICaptionServiceDescriptor_Vtbl, 0x40834007_6834_46f0_bd45_d5f6a6be258c); -impl std::ops::Deref for ICaptionServiceDescriptor { +impl core::ops::Deref for ICaptionServiceDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1193,7 +1193,7 @@ pub struct ICaptionServiceDescriptor_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IChannelIDTuneRequest, IChannelIDTuneRequest_Vtbl, 0x156eff60_86f4_4e28_89fc_109799fd57ee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IChannelIDTuneRequest { +impl core::ops::Deref for IChannelIDTuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1224,7 +1224,7 @@ pub struct IChannelIDTuneRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IChannelTuneRequest, IChannelTuneRequest_Vtbl, 0x0369b4e0_45b6_11d3_b650_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IChannelTuneRequest { +impl core::ops::Deref for IChannelTuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1252,7 +1252,7 @@ pub struct IChannelTuneRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComponent, IComponent_Vtbl, 0x1a5576fc_0e19_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IComponent { +impl core::ops::Deref for IComponent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1330,7 +1330,7 @@ pub struct IComponent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComponentType, IComponentType_Vtbl, 0x6a340dc0_0311_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IComponentType { +impl core::ops::Deref for IComponentType { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1447,7 +1447,7 @@ pub struct IComponentType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComponentTypes, IComponentTypes_Vtbl, 0x0dc13d4a_0313_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IComponentTypes { +impl core::ops::Deref for IComponentTypes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1537,7 +1537,7 @@ pub struct IComponentTypes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComponents, IComponents_Vtbl, 0x39a48091_fffe_4182_a161_3ff802640e26); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IComponents { +impl core::ops::Deref for IComponents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1627,7 +1627,7 @@ pub struct IComponents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComponentsOld, IComponentsOld_Vtbl, 0xfcd01846_0e19_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IComponentsOld { +impl core::ops::Deref for IComponentsOld { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1703,7 +1703,7 @@ pub struct IComponentsOld_Vtbl { Clone: usize, } windows_core::imp::define_interface!(ICreatePropBagOnRegKey, ICreatePropBagOnRegKey_Vtbl, 0x8a674b48_1f63_11d3_b64c_00c04f79498e); -impl std::ops::Deref for ICreatePropBagOnRegKey { +impl core::ops::Deref for ICreatePropBagOnRegKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1729,7 +1729,7 @@ pub struct ICreatePropBagOnRegKey_Vtbl { Create: usize, } windows_core::imp::define_interface!(IDTFilter, IDTFilter_Vtbl, 0xc4c4c4b2_0049_4e2b_98fb_9537f6ce516d); -impl std::ops::Deref for IDTFilter { +impl core::ops::Deref for IDTFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1782,7 +1782,7 @@ pub struct IDTFilter_Vtbl { pub SetBlockUnRatedDelay: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDTFilter2, IDTFilter2_Vtbl, 0xc4c4c4b4_0049_4e2b_98fb_9537f6ce516d); -impl std::ops::Deref for IDTFilter2 { +impl core::ops::Deref for IDTFilter2 { type Target = IDTFilter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1810,7 +1810,7 @@ pub struct IDTFilter2_Vtbl { pub GetLastErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDTFilter3, IDTFilter3_Vtbl, 0x513998cc_e929_4cdf_9fbd_bad1e0314866); -impl std::ops::Deref for IDTFilter3 { +impl core::ops::Deref for IDTFilter3 { type Target = IDTFilter2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1841,7 +1841,7 @@ pub struct IDTFilter3_Vtbl { pub SetRights: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDTFilterConfig, IDTFilterConfig_Vtbl, 0xc4c4c4d2_0049_4e2b_98fb_9537f6ce516d); -impl std::ops::Deref for IDTFilterConfig { +impl core::ops::Deref for IDTFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1862,7 +1862,7 @@ pub struct IDTFilterConfig_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDTFilterEvents, IDTFilterEvents_Vtbl, 0xc4c4c4c2_0049_4e2b_98fb_9537f6ce516d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDTFilterEvents { +impl core::ops::Deref for IDTFilterEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1878,7 +1878,7 @@ pub struct IDTFilterEvents_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IDTFilterLicenseRenewal, IDTFilterLicenseRenewal_Vtbl, 0x8a78b317_e405_4a43_994a_620d8f5ce25e); -impl std::ops::Deref for IDTFilterLicenseRenewal { +impl core::ops::Deref for IDTFilterLicenseRenewal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1898,7 +1898,7 @@ pub struct IDTFilterLicenseRenewal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBCLocator, IDVBCLocator_Vtbl, 0x6e42f36e_1dd2_43c4_9f78_69d25ae39034); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBCLocator { +impl core::ops::Deref for IDVBCLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1916,7 +1916,7 @@ pub struct IDVBCLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBSLocator, IDVBSLocator_Vtbl, 0x3d7c353c_0d04_45f1_a742_f97cc1188dc8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBSLocator { +impl core::ops::Deref for IDVBSLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1983,7 +1983,7 @@ pub struct IDVBSLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBSLocator2, IDVBSLocator2_Vtbl, 0x6044634a_1733_4f99_b982_5fb12afce4f0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBSLocator2 { +impl core::ops::Deref for IDVBSLocator2 { type Target = IDVBSLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2065,7 +2065,7 @@ pub struct IDVBSLocator2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBSTuningSpace, IDVBSTuningSpace_Vtbl, 0xcdf7be60_d954_42fd_a972_78971958e470); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBSTuningSpace { +impl core::ops::Deref for IDVBSTuningSpace { type Target = IDVBTuningSpace2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2132,7 +2132,7 @@ pub struct IDVBSTuningSpace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBTLocator, IDVBTLocator_Vtbl, 0x8664da16_dda2_42ac_926a_c18f9127c302); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBTLocator { +impl core::ops::Deref for IDVBTLocator { type Target = IDigitalLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2217,7 +2217,7 @@ pub struct IDVBTLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBTLocator2, IDVBTLocator2_Vtbl, 0x448a2edf_ae95_4b43_a3cc_747843c453d4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBTLocator2 { +impl core::ops::Deref for IDVBTLocator2 { type Target = IDVBTLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2245,7 +2245,7 @@ pub struct IDVBTLocator2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBTuneRequest, IDVBTuneRequest_Vtbl, 0x0d6f567e_a636_42bb_83ba_ce4c1704afa2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBTuneRequest { +impl core::ops::Deref for IDVBTuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2291,7 +2291,7 @@ pub struct IDVBTuneRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBTuningSpace, IDVBTuningSpace_Vtbl, 0xada0b268_3b19_4e5b_acc4_49f852be13ba); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBTuningSpace { +impl core::ops::Deref for IDVBTuningSpace { type Target = ITuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2319,7 +2319,7 @@ pub struct IDVBTuningSpace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDVBTuningSpace2, IDVBTuningSpace2_Vtbl, 0x843188b4_ce62_43db_966b_8145a094e040); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDVBTuningSpace2 { +impl core::ops::Deref for IDVBTuningSpace2 { type Target = IDVBTuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2345,7 +2345,7 @@ pub struct IDVBTuningSpace2_Vtbl { pub SetNetworkID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_BAT, IDVB_BAT_Vtbl, 0xece9bb0c_43b6_4558_a0ec_1812c34cd6ca); -impl std::ops::Deref for IDVB_BAT { +impl core::ops::Deref for IDVB_BAT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2442,7 +2442,7 @@ pub struct IDVB_BAT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_DIT, IDVB_DIT_Vtbl, 0x91bffdf9_9432_410f_86ef_1c228ed0ad70); -impl std::ops::Deref for IDVB_DIT { +impl core::ops::Deref for IDVB_DIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2468,7 +2468,7 @@ pub struct IDVB_DIT_Vtbl { pub GetTransitionFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_EIT, IDVB_EIT_Vtbl, 0x442db029_02cb_4495_8b92_1c13375bce99); -impl std::ops::Deref for IDVB_EIT { +impl core::ops::Deref for IDVB_EIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2592,7 +2592,7 @@ pub struct IDVB_EIT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_EIT2, IDVB_EIT2_Vtbl, 0x61a389e0_9b9e_4ba0_aeea_5ddd159820ea); -impl std::ops::Deref for IDVB_EIT2 { +impl core::ops::Deref for IDVB_EIT2 { type Target = IDVB_EIT; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2615,7 +2615,7 @@ pub struct IDVB_EIT2_Vtbl { pub GetRecordSection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_NIT, IDVB_NIT_Vtbl, 0xc64935f4_29e4_4e22_911a_63f7f55cb097); -impl std::ops::Deref for IDVB_NIT { +impl core::ops::Deref for IDVB_NIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2718,7 +2718,7 @@ pub struct IDVB_NIT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_RST, IDVB_RST_Vtbl, 0xf47dcd04_1e23_4fb7_9f96_b40eead10b2b); -impl std::ops::Deref for IDVB_RST { +impl core::ops::Deref for IDVB_RST { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2769,7 +2769,7 @@ pub struct IDVB_RST_Vtbl { pub GetRecordRunningStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_SDT, IDVB_SDT_Vtbl, 0x02cad8d3_fe43_48e2_90bd_450ed9a8a5fd); -impl std::ops::Deref for IDVB_SDT { +impl core::ops::Deref for IDVB_SDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2878,7 +2878,7 @@ pub struct IDVB_SDT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_SIT, IDVB_SIT_Vtbl, 0x68cdce53_8bea_45c2_9d9d_acf575a089b5); -impl std::ops::Deref for IDVB_SIT { +impl core::ops::Deref for IDVB_SIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2971,7 +2971,7 @@ pub struct IDVB_SIT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_ST, IDVB_ST_Vtbl, 0x4d5b9f23_2a02_45de_bcda_5d5dbfbfbe62); -impl std::ops::Deref for IDVB_ST { +impl core::ops::Deref for IDVB_ST { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3002,7 +3002,7 @@ pub struct IDVB_ST_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_TDT, IDVB_TDT_Vtbl, 0x0780dc7d_d55c_4aef_97e6_6b75906e2796); -impl std::ops::Deref for IDVB_TDT { +impl core::ops::Deref for IDVB_TDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3028,7 +3028,7 @@ pub struct IDVB_TDT_Vtbl { pub GetUTCTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MPEG_DATE_AND_TIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVB_TOT, IDVB_TOT_Vtbl, 0x83295d6a_faba_4ee1_9b15_8067696910ae); -impl std::ops::Deref for IDVB_TOT { +impl core::ops::Deref for IDVB_TOT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3070,7 +3070,7 @@ pub struct IDVB_TOT_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDigitalCableLocator, IDigitalCableLocator_Vtbl, 0x48f66a11_171a_419a_9525_beeecd51584c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDigitalCableLocator { +impl core::ops::Deref for IDigitalCableLocator { type Target = IATSCLocator2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3088,7 +3088,7 @@ pub struct IDigitalCableLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDigitalCableTuneRequest, IDigitalCableTuneRequest_Vtbl, 0xbad7753b_6b37_4810_ae57_3ce0c4a9e6cb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDigitalCableTuneRequest { +impl core::ops::Deref for IDigitalCableTuneRequest { type Target = IATSCChannelTuneRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3125,7 +3125,7 @@ pub struct IDigitalCableTuneRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDigitalCableTuningSpace, IDigitalCableTuningSpace_Vtbl, 0x013f9f9c_b449_4ec7_a6d2_9d4f2fc70ae5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDigitalCableTuningSpace { +impl core::ops::Deref for IDigitalCableTuningSpace { type Target = IATSCTuningSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3180,7 +3180,7 @@ pub struct IDigitalCableTuningSpace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDigitalLocator, IDigitalLocator_Vtbl, 0x19b595d8_839a_47f0_96df_4f194f3c768c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDigitalLocator { +impl core::ops::Deref for IDigitalLocator { type Target = ILocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3196,7 +3196,7 @@ pub struct IDigitalLocator_Vtbl { pub base__: ILocator_Vtbl, } windows_core::imp::define_interface!(IDvbCableDeliverySystemDescriptor, IDvbCableDeliverySystemDescriptor_Vtbl, 0xdfb98e36_9e1a_4862_9946_993a4e59017b); -impl std::ops::Deref for IDvbCableDeliverySystemDescriptor { +impl core::ops::Deref for IDvbCableDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3245,7 +3245,7 @@ pub struct IDvbCableDeliverySystemDescriptor_Vtbl { pub GetFECInner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbComponentDescriptor, IDvbComponentDescriptor_Vtbl, 0x91e405cf_80e7_457f_9096_1b9d1ce32141); -impl std::ops::Deref for IDvbComponentDescriptor { +impl core::ops::Deref for IDvbComponentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3293,7 +3293,7 @@ pub struct IDvbComponentDescriptor_Vtbl { pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbContentDescriptor, IDvbContentDescriptor_Vtbl, 0x2e883881_a467_412a_9d63_6f2b6da05bf0); -impl std::ops::Deref for IDvbContentDescriptor { +impl core::ops::Deref for IDvbContentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3330,7 +3330,7 @@ pub struct IDvbContentDescriptor_Vtbl { pub GetRecordUserNibbles: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbContentIdentifierDescriptor, IDvbContentIdentifierDescriptor_Vtbl, 0x05e0c1ea_f661_4053_9fbf_d93b28359838); -impl std::ops::Deref for IDvbContentIdentifierDescriptor { +impl core::ops::Deref for IDvbContentIdentifierDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3363,7 +3363,7 @@ pub struct IDvbContentIdentifierDescriptor_Vtbl { pub GetRecordCrid: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8, *mut u8, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbDataBroadcastDescriptor, IDvbDataBroadcastDescriptor_Vtbl, 0xd1ebc1d6_8b60_4c20_9caf_e59382e7c400); -impl std::ops::Deref for IDvbDataBroadcastDescriptor { +impl core::ops::Deref for IDvbDataBroadcastDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3420,7 +3420,7 @@ pub struct IDvbDataBroadcastDescriptor_Vtbl { pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbDataBroadcastIDDescriptor, IDvbDataBroadcastIDDescriptor_Vtbl, 0x5f26f518_65c8_4048_91f2_9290f59f7b90); -impl std::ops::Deref for IDvbDataBroadcastIDDescriptor { +impl core::ops::Deref for IDvbDataBroadcastIDDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3453,7 +3453,7 @@ pub struct IDvbDataBroadcastIDDescriptor_Vtbl { pub GetIDSelectorBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbDefaultAuthorityDescriptor, IDvbDefaultAuthorityDescriptor_Vtbl, 0x05ec24d1_3a31_44e7_b408_67c60a352276); -impl std::ops::Deref for IDvbDefaultAuthorityDescriptor { +impl core::ops::Deref for IDvbDefaultAuthorityDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3481,7 +3481,7 @@ pub struct IDvbDefaultAuthorityDescriptor_Vtbl { pub GetDefaultAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbExtendedEventDescriptor, IDvbExtendedEventDescriptor_Vtbl, 0xc9b22eca_85f4_499f_b1db_efa93a91ee57); -impl std::ops::Deref for IDvbExtendedEventDescriptor { +impl core::ops::Deref for IDvbExtendedEventDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3552,7 +3552,7 @@ pub struct IDvbExtendedEventDescriptor_Vtbl { pub GetRecordItemRawBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbFrequencyListDescriptor, IDvbFrequencyListDescriptor_Vtbl, 0x1cadb613_e1dd_4512_afa8_bb7a007ef8b1); -impl std::ops::Deref for IDvbFrequencyListDescriptor { +impl core::ops::Deref for IDvbFrequencyListDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3591,7 +3591,7 @@ pub struct IDvbFrequencyListDescriptor_Vtbl { pub GetRecordCentreFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbHDSimulcastLogicalChannelDescriptor, IDvbHDSimulcastLogicalChannelDescriptor_Vtbl, 0x1ea8b738_a307_4680_9e26_d0a908c824f4); -impl std::ops::Deref for IDvbHDSimulcastLogicalChannelDescriptor { +impl core::ops::Deref for IDvbHDSimulcastLogicalChannelDescriptor { type Target = IDvbLogicalChannelDescriptor2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3604,7 +3604,7 @@ pub struct IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { pub base__: IDvbLogicalChannelDescriptor2_Vtbl, } windows_core::imp::define_interface!(IDvbLinkageDescriptor, IDvbLinkageDescriptor_Vtbl, 0x1cdf8b31_994a_46fc_acfd_6a6be8934dd5); -impl std::ops::Deref for IDvbLinkageDescriptor { +impl core::ops::Deref for IDvbLinkageDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3657,7 +3657,7 @@ pub struct IDvbLinkageDescriptor_Vtbl { pub GetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbLogicalChannel2Descriptor, IDvbLogicalChannel2Descriptor_Vtbl, 0xf69c3747_8a30_4980_998c_01fe7f0ba35a); -impl std::ops::Deref for IDvbLogicalChannel2Descriptor { +impl core::ops::Deref for IDvbLogicalChannel2Descriptor { type Target = IDvbLogicalChannelDescriptor2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3710,7 +3710,7 @@ pub struct IDvbLogicalChannel2Descriptor_Vtbl { pub GetListRecordLogicalChannelAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor_Vtbl, 0xcf1edaff_3ffd_4cf7_8201_35756acbf85f); -impl std::ops::Deref for IDvbLogicalChannelDescriptor { +impl core::ops::Deref for IDvbLogicalChannelDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3749,7 +3749,7 @@ pub struct IDvbLogicalChannelDescriptor_Vtbl { pub GetRecordLogicalChannelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbLogicalChannelDescriptor2, IDvbLogicalChannelDescriptor2_Vtbl, 0x43aca974_4be8_4b98_bc17_9eafd788b1d7); -impl std::ops::Deref for IDvbLogicalChannelDescriptor2 { +impl core::ops::Deref for IDvbLogicalChannelDescriptor2 { type Target = IDvbLogicalChannelDescriptor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3768,7 +3768,7 @@ pub struct IDvbLogicalChannelDescriptor2_Vtbl { pub GetRecordLogicalChannelAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbMultilingualServiceNameDescriptor, IDvbMultilingualServiceNameDescriptor_Vtbl, 0x2d80433b_b32c_47ef_987f_e78ebb773e34); -impl std::ops::Deref for IDvbMultilingualServiceNameDescriptor { +impl core::ops::Deref for IDvbMultilingualServiceNameDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3812,7 +3812,7 @@ pub struct IDvbMultilingualServiceNameDescriptor_Vtbl { pub GetRecordServiceNameW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbNetworkNameDescriptor, IDvbNetworkNameDescriptor_Vtbl, 0x5b2a80cf_35b9_446c_b3e4_048b761dbc51); -impl std::ops::Deref for IDvbNetworkNameDescriptor { +impl core::ops::Deref for IDvbNetworkNameDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3846,7 +3846,7 @@ pub struct IDvbNetworkNameDescriptor_Vtbl { pub GetNetworkNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbParentalRatingDescriptor, IDvbParentalRatingDescriptor_Vtbl, 0x3ad9dde1_fb1b_4186_937f_22e6b5a72a10); -impl std::ops::Deref for IDvbParentalRatingDescriptor { +impl core::ops::Deref for IDvbParentalRatingDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3879,7 +3879,7 @@ pub struct IDvbParentalRatingDescriptor_Vtbl { pub GetRecordRating: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbPrivateDataSpecifierDescriptor, IDvbPrivateDataSpecifierDescriptor_Vtbl, 0x5660a019_e75a_4b82_9b4c_ed2256d165a2); -impl std::ops::Deref for IDvbPrivateDataSpecifierDescriptor { +impl core::ops::Deref for IDvbPrivateDataSpecifierDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3908,7 +3908,7 @@ pub struct IDvbPrivateDataSpecifierDescriptor_Vtbl { pub GetPrivateDataSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbSatelliteDeliverySystemDescriptor, IDvbSatelliteDeliverySystemDescriptor_Vtbl, 0x02f2225a_805b_4ec5_a9a6_f9b5913cd470); -impl std::ops::Deref for IDvbSatelliteDeliverySystemDescriptor { +impl core::ops::Deref for IDvbSatelliteDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3967,7 +3967,7 @@ pub struct IDvbSatelliteDeliverySystemDescriptor_Vtbl { pub GetFECInner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbServiceAttributeDescriptor, IDvbServiceAttributeDescriptor_Vtbl, 0x0f37bd92_d6a1_4854_b950_3a969d27f30e); -impl std::ops::Deref for IDvbServiceAttributeDescriptor { +impl core::ops::Deref for IDvbServiceAttributeDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4011,7 +4011,7 @@ pub struct IDvbServiceAttributeDescriptor_Vtbl { pub GetRecordVisibleServiceFlag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbServiceDescriptor, IDvbServiceDescriptor_Vtbl, 0xf9c7fbcf_e2d6_464d_b32d_2ef526e49290); -impl std::ops::Deref for IDvbServiceDescriptor { +impl core::ops::Deref for IDvbServiceDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4065,7 +4065,7 @@ pub struct IDvbServiceDescriptor_Vtbl { pub GetServiceNameEmphasized: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbServiceDescriptor2, IDvbServiceDescriptor2_Vtbl, 0xd6c76506_85ab_487c_9b2b_36416511e4a2); -impl std::ops::Deref for IDvbServiceDescriptor2 { +impl core::ops::Deref for IDvbServiceDescriptor2 { type Target = IDvbServiceDescriptor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4089,7 +4089,7 @@ pub struct IDvbServiceDescriptor2_Vtbl { pub GetServiceNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbServiceListDescriptor, IDvbServiceListDescriptor_Vtbl, 0x05db0d8f_6008_491a_acd3_7090952707d0); -impl std::ops::Deref for IDvbServiceListDescriptor { +impl core::ops::Deref for IDvbServiceListDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4128,7 +4128,7 @@ pub struct IDvbServiceListDescriptor_Vtbl { pub GetRecordServiceType: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbShortEventDescriptor, IDvbShortEventDescriptor_Vtbl, 0xb170be92_5b75_458e_9c6e_b0008231491a); -impl std::ops::Deref for IDvbShortEventDescriptor { +impl core::ops::Deref for IDvbShortEventDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4166,7 +4166,7 @@ pub struct IDvbShortEventDescriptor_Vtbl { pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbSiParser, IDvbSiParser_Vtbl, 0xb758a7bd_14dc_449d_b828_35909acb3b1e); -impl std::ops::Deref for IDvbSiParser { +impl core::ops::Deref for IDvbSiParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4257,7 +4257,7 @@ pub struct IDvbSiParser_Vtbl { pub GetSIT: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbSiParser2, IDvbSiParser2_Vtbl, 0x0ac5525f_f816_42f4_93ba_4c0f32f46e54); -impl std::ops::Deref for IDvbSiParser2 { +impl core::ops::Deref for IDvbSiParser2 { type Target = IDvbSiParser; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4276,7 +4276,7 @@ pub struct IDvbSiParser2_Vtbl { pub GetEIT2: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *const u16, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbSubtitlingDescriptor, IDvbSubtitlingDescriptor_Vtbl, 0x9b25fe1d_fa23_4e50_9784_6df8b26f8a49); -impl std::ops::Deref for IDvbSubtitlingDescriptor { +impl core::ops::Deref for IDvbSubtitlingDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4325,7 +4325,7 @@ pub struct IDvbSubtitlingDescriptor_Vtbl { pub GetRecordAncillaryPageID: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbTeletextDescriptor, IDvbTeletextDescriptor_Vtbl, 0x9cd29d47_69c6_4f92_98a9_210af1b7303a); -impl std::ops::Deref for IDvbTeletextDescriptor { +impl core::ops::Deref for IDvbTeletextDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4374,7 +4374,7 @@ pub struct IDvbTeletextDescriptor_Vtbl { pub GetRecordPageNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbTerrestrial2DeliverySystemDescriptor, IDvbTerrestrial2DeliverySystemDescriptor_Vtbl, 0x20ee9be9_cd57_49ab_8f6e_1d07aeb8e482); -impl std::ops::Deref for IDvbTerrestrial2DeliverySystemDescriptor { +impl core::ops::Deref for IDvbTerrestrial2DeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4453,7 +4453,7 @@ pub struct IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { pub GetTFSFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvbTerrestrialDeliverySystemDescriptor, IDvbTerrestrialDeliverySystemDescriptor_Vtbl, 0xed7e1b91_d12e_420c_b41d_a49d84fe1823); -impl std::ops::Deref for IDvbTerrestrialDeliverySystemDescriptor { +impl core::ops::Deref for IDvbTerrestrialDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4522,7 +4522,7 @@ pub struct IDvbTerrestrialDeliverySystemDescriptor_Vtbl { pub GetOtherFrequencyFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESCloseMmiEvent, IESCloseMmiEvent_Vtbl, 0x6b80e96f_55e2_45aa_b754_0c23c8e7d5c1); -impl std::ops::Deref for IESCloseMmiEvent { +impl core::ops::Deref for IESCloseMmiEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4541,7 +4541,7 @@ pub struct IESCloseMmiEvent_Vtbl { pub GetDialogNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESEventFactory, IESEventFactory_Vtbl, 0x506a09b8_7f86_4e04_ac05_3303bfe8fc49); -impl std::ops::Deref for IESEventFactory { +impl core::ops::Deref for IESEventFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4565,7 +4565,7 @@ pub struct IESEventFactory_Vtbl { pub CreateESEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::GUID, u32, *const u8, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESEventService, IESEventService_Vtbl, 0xed89a619_4c06_4b2f_99eb_c7669b13047c); -impl std::ops::Deref for IESEventService { +impl core::ops::Deref for IESEventService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4586,7 +4586,7 @@ pub struct IESEventService_Vtbl { pub FireESEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESEventServiceConfiguration, IESEventServiceConfiguration_Vtbl, 0x33b9daae_9309_491d_a051_bcad2a70cd66); -impl std::ops::Deref for IESEventServiceConfiguration { +impl core::ops::Deref for IESEventServiceConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4636,7 +4636,7 @@ pub struct IESEventServiceConfiguration_Vtbl { pub RemoveGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESFileExpiryDateEvent, IESFileExpiryDateEvent_Vtbl, 0xba9edcb6_4d36_4cfe_8c56_87a6b0ca48e1); -impl std::ops::Deref for IESFileExpiryDateEvent { +impl core::ops::Deref for IESFileExpiryDateEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4680,7 +4680,7 @@ pub struct IESFileExpiryDateEvent_Vtbl { pub DoesExpireAfterFirstUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESIsdbCasResponseEvent, IESIsdbCasResponseEvent_Vtbl, 0x2017cb03_dc0f_4c24_83ca_36307b2cd19f); -impl std::ops::Deref for IESIsdbCasResponseEvent { +impl core::ops::Deref for IESIsdbCasResponseEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4718,7 +4718,7 @@ pub struct IESIsdbCasResponseEvent_Vtbl { GetResponseData: usize, } windows_core::imp::define_interface!(IESLicenseRenewalResultEvent, IESLicenseRenewalResultEvent_Vtbl, 0xd5a48ef5_a81b_4df0_acaa_5e35e7ea45d4); -impl std::ops::Deref for IESLicenseRenewalResultEvent { +impl core::ops::Deref for IESLicenseRenewalResultEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4791,7 +4791,7 @@ pub struct IESLicenseRenewalResultEvent_Vtbl { pub GetExpiryDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESOpenMmiEvent, IESOpenMmiEvent_Vtbl, 0xba4b6526_1a35_4635_8b56_3ec612746a8c); -impl std::ops::Deref for IESOpenMmiEvent { +impl core::ops::Deref for IESOpenMmiEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4829,7 +4829,7 @@ pub struct IESOpenMmiEvent_Vtbl { pub GetDialogStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESRequestTunerEvent, IESRequestTunerEvent_Vtbl, 0x54c7a5e8_c3bb_4f51_af14_e0e2c0e34c6d); -impl std::ops::Deref for IESRequestTunerEvent { +impl core::ops::Deref for IESRequestTunerEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4863,7 +4863,7 @@ pub struct IESRequestTunerEvent_Vtbl { pub GetEstimatedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESValueUpdatedEvent, IESValueUpdatedEvent_Vtbl, 0x8a24c46e_bb63_4664_8602_5d9c718c146d); -impl std::ops::Deref for IESValueUpdatedEvent { +impl core::ops::Deref for IESValueUpdatedEvent { type Target = super::IESEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4886,7 +4886,7 @@ pub struct IESValueUpdatedEvent_Vtbl { GetValueNames: usize, } windows_core::imp::define_interface!(IETFilter, IETFilter_Vtbl, 0xc4c4c4b1_0049_4e2b_98fb_9537f6ce516d); -impl std::ops::Deref for IETFilter { +impl core::ops::Deref for IETFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4925,7 +4925,7 @@ pub struct IETFilter_Vtbl { pub SetRecordingOn: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IETFilterConfig, IETFilterConfig_Vtbl, 0xc4c4c4d1_0049_4e2b_98fb_9537f6ce516d); -impl std::ops::Deref for IETFilterConfig { +impl core::ops::Deref for IETFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4950,7 +4950,7 @@ pub struct IETFilterConfig_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IETFilterEvents, IETFilterEvents_Vtbl, 0xc4c4c4c1_0049_4e2b_98fb_9537f6ce516d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IETFilterEvents { +impl core::ops::Deref for IETFilterEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4966,7 +4966,7 @@ pub struct IETFilterEvents_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IEnumComponentTypes, IEnumComponentTypes_Vtbl, 0x8a674b4a_1f63_11d3_b64c_00c04f79498e); -impl std::ops::Deref for IEnumComponentTypes { +impl core::ops::Deref for IEnumComponentTypes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5001,7 +5001,7 @@ pub struct IEnumComponentTypes_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumComponents, IEnumComponents_Vtbl, 0x2a6e2939_2595_11d3_b64c_00c04f79498e); -impl std::ops::Deref for IEnumComponents { +impl core::ops::Deref for IEnumComponents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5036,7 +5036,7 @@ pub struct IEnumComponents_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumGuideDataProperties, IEnumGuideDataProperties_Vtbl, 0xae44423b_4571_475c_ad2c_f40a771d80ef); -impl std::ops::Deref for IEnumGuideDataProperties { +impl core::ops::Deref for IEnumGuideDataProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5067,7 +5067,7 @@ pub struct IEnumGuideDataProperties_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumMSVidGraphSegment, IEnumMSVidGraphSegment_Vtbl, 0x3dd2903e_e0aa_11d2_b63a_00c04f79498e); -impl std::ops::Deref for IEnumMSVidGraphSegment { +impl core::ops::Deref for IEnumMSVidGraphSegment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5102,7 +5102,7 @@ pub struct IEnumMSVidGraphSegment_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumStreamBufferRecordingAttrib, IEnumStreamBufferRecordingAttrib_Vtbl, 0xc18a9162_1e82_4142_8c73_5690fa62fe33); -impl std::ops::Deref for IEnumStreamBufferRecordingAttrib { +impl core::ops::Deref for IEnumStreamBufferRecordingAttrib { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5133,7 +5133,7 @@ pub struct IEnumStreamBufferRecordingAttrib_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTuneRequests, IEnumTuneRequests_Vtbl, 0x1993299c_ced6_4788_87a3_420067dce0c7); -impl std::ops::Deref for IEnumTuneRequests { +impl core::ops::Deref for IEnumTuneRequests { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5168,7 +5168,7 @@ pub struct IEnumTuneRequests_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTuningSpaces, IEnumTuningSpaces_Vtbl, 0x8b8eb248_fc2b_11d2_9d8c_00c04f72d980); -impl std::ops::Deref for IEnumTuningSpaces { +impl core::ops::Deref for IEnumTuningSpaces { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5205,7 +5205,7 @@ pub struct IEnumTuningSpaces_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEvalRat, IEvalRat_Vtbl, 0xc5c5c5b1_3abc_11d6_b25b_00c04fa0c026); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEvalRat { +impl core::ops::Deref for IEvalRat { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5251,7 +5251,7 @@ pub struct IEvalRat_Vtbl { pub TestRating: unsafe extern "system" fn(*mut core::ffi::c_void, EnTvRat_System, EnTvRat_GenericLevel, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGenericDescriptor, IGenericDescriptor_Vtbl, 0x6a5918f8_a77a_4f61_aed0_5702bdcda3e6); -impl std::ops::Deref for IGenericDescriptor { +impl core::ops::Deref for IGenericDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5284,7 +5284,7 @@ pub struct IGenericDescriptor_Vtbl { pub GetBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGenericDescriptor2, IGenericDescriptor2_Vtbl, 0xbf02fb7e_9792_4e10_a68d_033a2cc246a5); -impl std::ops::Deref for IGenericDescriptor2 { +impl core::ops::Deref for IGenericDescriptor2 { type Target = IGenericDescriptor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5307,7 +5307,7 @@ pub struct IGenericDescriptor2_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGpnvsCommonBase, IGpnvsCommonBase_Vtbl, 0x907e0b5c_e42d_4f04_91f0_26f401f36907); -impl std::ops::Deref for IGpnvsCommonBase { +impl core::ops::Deref for IGpnvsCommonBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5326,7 +5326,7 @@ pub struct IGpnvsCommonBase_Vtbl { pub GetValueUpdateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuideData, IGuideData_Vtbl, 0x61571138_5b01_43cd_aeaf_60b784a0bf93); -impl std::ops::Deref for IGuideData { +impl core::ops::Deref for IGuideData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5391,7 +5391,7 @@ pub struct IGuideData_Vtbl { pub GetScheduleEntryProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuideDataEvent, IGuideDataEvent_Vtbl, 0xefda0c80_f395_42c3_9b3c_56b37dec7bb7); -impl std::ops::Deref for IGuideDataEvent { +impl core::ops::Deref for IGuideDataEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5451,7 +5451,7 @@ pub struct IGuideDataEvent_Vtbl { pub ScheduleDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuideDataLoader, IGuideDataLoader_Vtbl, 0x4764ff7c_fa95_4525_af4d_d32236db9e38); -impl std::ops::Deref for IGuideDataLoader { +impl core::ops::Deref for IGuideDataLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5476,7 +5476,7 @@ pub struct IGuideDataLoader_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGuideDataProperty, IGuideDataProperty_Vtbl, 0x88ec5e58_bb73_41d6_99ce_66c524b8b591); -impl std::ops::Deref for IGuideDataProperty { +impl core::ops::Deref for IGuideDataProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5507,7 +5507,7 @@ pub struct IGuideDataProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IISDBSLocator, IISDBSLocator_Vtbl, 0xc9897087_e29c_473f_9e4b_7072123dea14); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IISDBSLocator { +impl core::ops::Deref for IISDBSLocator { type Target = IDVBSLocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5523,7 +5523,7 @@ pub struct IISDBSLocator_Vtbl { pub base__: IDVBSLocator_Vtbl, } windows_core::imp::define_interface!(IISDB_BIT, IISDB_BIT_Vtbl, 0x537cd71e_0e46_4173_9001_ba043f3e49e2); -impl std::ops::Deref for IISDB_BIT { +impl core::ops::Deref for IISDB_BIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5603,7 +5603,7 @@ pub struct IISDB_BIT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IISDB_CDT, IISDB_CDT_Vtbl, 0x25fa92c2_8b80_4787_a841_3a0e8f17984b); -impl std::ops::Deref for IISDB_CDT { +impl core::ops::Deref for IISDB_CDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5679,7 +5679,7 @@ pub struct IISDB_CDT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IISDB_EMM, IISDB_EMM_Vtbl, 0x0edb556d_43ad_4938_9668_321b2ffecfd3); -impl std::ops::Deref for IISDB_EMM { +impl core::ops::Deref for IISDB_EMM { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5731,7 +5731,7 @@ pub struct IISDB_EMM_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IISDB_LDT, IISDB_LDT_Vtbl, 0x141a546b_02ff_4fb9_a3a3_2f074b74a9a9); -impl std::ops::Deref for IISDB_LDT { +impl core::ops::Deref for IISDB_LDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5802,7 +5802,7 @@ pub struct IISDB_LDT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IISDB_NBIT, IISDB_NBIT_Vtbl, 0x1b1863ef_08f1_40b7_a559_3b1eff8cafa6); -impl std::ops::Deref for IISDB_NBIT { +impl core::ops::Deref for IISDB_NBIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5893,7 +5893,7 @@ pub struct IISDB_NBIT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IISDB_SDT, IISDB_SDT_Vtbl, 0x3f3dc9a2_bb32_4fb9_ae9e_d856848927a3); -impl std::ops::Deref for IISDB_SDT { +impl core::ops::Deref for IISDB_SDT { type Target = IDVB_SDT; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5912,7 +5912,7 @@ pub struct IISDB_SDT_Vtbl { pub GetRecordEITUserDefinedFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IISDB_SDTT, IISDB_SDTT_Vtbl, 0xee60ef2d_813a_4dc7_bf92_ea13dac85313); -impl std::ops::Deref for IISDB_SDTT { +impl core::ops::Deref for IISDB_SDTT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6028,7 +6028,7 @@ pub struct IISDB_SDTT_Vtbl { pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbAudioComponentDescriptor, IIsdbAudioComponentDescriptor_Vtbl, 0x679d2002_2425_4be4_a4c7_d6632a574f4d); -impl std::ops::Deref for IIsdbAudioComponentDescriptor { +impl core::ops::Deref for IIsdbAudioComponentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6110,7 +6110,7 @@ pub struct IIsdbAudioComponentDescriptor_Vtbl { pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbCAContractInformationDescriptor, IIsdbCAContractInformationDescriptor_Vtbl, 0x08e18b25_a28f_4e92_821e_4fced5cc2291); -impl std::ops::Deref for IIsdbCAContractInformationDescriptor { +impl core::ops::Deref for IIsdbCAContractInformationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6169,7 +6169,7 @@ pub struct IIsdbCAContractInformationDescriptor_Vtbl { pub GetFeeNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbCADescriptor, IIsdbCADescriptor_Vtbl, 0x0570aa47_52bc_42ae_8ca5_969f41e81aea); -impl std::ops::Deref for IIsdbCADescriptor { +impl core::ops::Deref for IIsdbCADescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6212,7 +6212,7 @@ pub struct IIsdbCADescriptor_Vtbl { pub GetPrivateDataBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbCAServiceDescriptor, IIsdbCAServiceDescriptor_Vtbl, 0x39cbeb97_ff0b_42a7_9ab9_7b9cfe70a77a); -impl std::ops::Deref for IIsdbCAServiceDescriptor { +impl core::ops::Deref for IIsdbCAServiceDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6255,7 +6255,7 @@ pub struct IIsdbCAServiceDescriptor_Vtbl { pub GetServiceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbComponentGroupDescriptor, IIsdbComponentGroupDescriptor_Vtbl, 0xa494f17f_c592_47d8_8943_64c9a34be7b9); -impl std::ops::Deref for IIsdbComponentGroupDescriptor { +impl core::ops::Deref for IIsdbComponentGroupDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6324,7 +6324,7 @@ pub struct IIsdbComponentGroupDescriptor_Vtbl { pub GetRecordTextW: unsafe extern "system" fn(*mut core::ffi::c_void, u8, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbDataContentDescriptor, IIsdbDataContentDescriptor_Vtbl, 0xa428100a_e646_4bd6_aa14_6087bdc08cd5); -impl std::ops::Deref for IIsdbDataContentDescriptor { +impl core::ops::Deref for IIsdbDataContentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6387,7 +6387,7 @@ pub struct IIsdbDataContentDescriptor_Vtbl { pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbDigitalCopyControlDescriptor, IIsdbDigitalCopyControlDescriptor_Vtbl, 0x1a28417e_266a_4bb8_a4bd_d782bcfb8161); -impl std::ops::Deref for IIsdbDigitalCopyControlDescriptor { +impl core::ops::Deref for IIsdbDigitalCopyControlDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6424,7 +6424,7 @@ pub struct IIsdbDigitalCopyControlDescriptor_Vtbl { pub GetRecordCopyControl: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8, *mut u8, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbDownloadContentDescriptor, IIsdbDownloadContentDescriptor_Vtbl, 0x5298661e_cb88_4f5f_a1de_5f440c185b92); -impl std::ops::Deref for IIsdbDownloadContentDescriptor { +impl core::ops::Deref for IIsdbDownloadContentDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6521,7 +6521,7 @@ pub struct IIsdbDownloadContentDescriptor_Vtbl { pub GetTextW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbEmergencyInformationDescriptor, IIsdbEmergencyInformationDescriptor_Vtbl, 0xba6fa681_b973_4da1_9207_ac3e7f0341eb); -impl std::ops::Deref for IIsdbEmergencyInformationDescriptor { +impl core::ops::Deref for IIsdbEmergencyInformationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6569,7 +6569,7 @@ pub struct IIsdbEmergencyInformationDescriptor_Vtbl { pub GetAreaCode: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut *mut u16, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbEventGroupDescriptor, IIsdbEventGroupDescriptor_Vtbl, 0x94b06780_2e2a_44dc_a966_cc56fdabc6c2); -impl std::ops::Deref for IIsdbEventGroupDescriptor { +impl core::ops::Deref for IIsdbEventGroupDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6616,7 +6616,7 @@ pub struct IIsdbEventGroupDescriptor_Vtbl { pub GetRefRecordEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16, *mut u16, *mut u16, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbHierarchicalTransmissionDescriptor, IIsdbHierarchicalTransmissionDescriptor_Vtbl, 0xb7b3ae90_ee0b_446d_8769_f7e2aa266aa6); -impl std::ops::Deref for IIsdbHierarchicalTransmissionDescriptor { +impl core::ops::Deref for IIsdbHierarchicalTransmissionDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6660,7 +6660,7 @@ pub struct IIsdbHierarchicalTransmissionDescriptor_Vtbl { pub GetReferencePid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbLogoTransmissionDescriptor, IIsdbLogoTransmissionDescriptor_Vtbl, 0xe0103f49_4ae1_4f07_9098_756db1fa88cd); -impl std::ops::Deref for IIsdbLogoTransmissionDescriptor { +impl core::ops::Deref for IIsdbLogoTransmissionDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6709,7 +6709,7 @@ pub struct IIsdbLogoTransmissionDescriptor_Vtbl { pub GetLogoCharW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbSIParameterDescriptor, IIsdbSIParameterDescriptor_Vtbl, 0xf837dc36_867c_426a_9111_f62093951a45); -impl std::ops::Deref for IIsdbSIParameterDescriptor { +impl core::ops::Deref for IIsdbSIParameterDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6762,7 +6762,7 @@ pub struct IIsdbSIParameterDescriptor_Vtbl { pub GetTableDescriptionBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbSeriesDescriptor, IIsdbSeriesDescriptor_Vtbl, 0x07ef6370_1660_4f26_87fc_614adab24b11); -impl std::ops::Deref for IIsdbSeriesDescriptor { +impl core::ops::Deref for IIsdbSeriesDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6820,7 +6820,7 @@ pub struct IIsdbSeriesDescriptor_Vtbl { pub GetSeriesNameW: unsafe extern "system" fn(*mut core::ffi::c_void, DVB_STRCONV_MODE, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbSiParser2, IIsdbSiParser2_Vtbl, 0x900e4bb7_18cd_453f_98be_3be6aa211772); -impl std::ops::Deref for IIsdbSiParser2 { +impl core::ops::Deref for IIsdbSiParser2 { type Target = IDvbSiParser2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6869,7 +6869,7 @@ pub struct IIsdbSiParser2_Vtbl { pub GetEMM: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbTSInformationDescriptor, IIsdbTSInformationDescriptor_Vtbl, 0xd7ad183e_38f5_4210_b55f_ec8d601bbd47); -impl std::ops::Deref for IIsdbTSInformationDescriptor { +impl core::ops::Deref for IIsdbTSInformationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6923,7 +6923,7 @@ pub struct IIsdbTSInformationDescriptor_Vtbl { pub GetRecordServiceIdByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsdbTerrestrialDeliverySystemDescriptor, IIsdbTerrestrialDeliverySystemDescriptor_Vtbl, 0x39fae0a6_d151_44dd_a28a_765de5991670); -impl std::ops::Deref for IIsdbTerrestrialDeliverySystemDescriptor { +impl core::ops::Deref for IIsdbTerrestrialDeliverySystemDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6974,7 +6974,7 @@ pub struct IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILanguageComponentType, ILanguageComponentType_Vtbl, 0xb874c8ba_0fa2_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ILanguageComponentType { +impl core::ops::Deref for ILanguageComponentType { type Target = IComponentType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7002,7 +7002,7 @@ pub struct ILanguageComponentType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILocator, ILocator_Vtbl, 0x286d7f89_760c_4f89_80c4_66841d2507aa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ILocator { +impl core::ops::Deref for ILocator { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7093,7 +7093,7 @@ pub struct ILocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMPEG2Component, IMPEG2Component_Vtbl, 0x1493e353_1eb6_473c_802d_8e6b8ec9d2a9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMPEG2Component { +impl core::ops::Deref for IMPEG2Component { type Target = IComponent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7139,7 +7139,7 @@ pub struct IMPEG2Component_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMPEG2ComponentType, IMPEG2ComponentType_Vtbl, 0x2c073d84_b51c_48c9_aa9f_68971e1f6e38); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMPEG2ComponentType { +impl core::ops::Deref for IMPEG2ComponentType { type Target = ILanguageComponentType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7167,7 +7167,7 @@ pub struct IMPEG2ComponentType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMPEG2TuneRequest, IMPEG2TuneRequest_Vtbl, 0xeb7d987f_8a01_42ad_b8ae_574deee44d1a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMPEG2TuneRequest { +impl core::ops::Deref for IMPEG2TuneRequest { type Target = ITuneRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7204,7 +7204,7 @@ pub struct IMPEG2TuneRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMPEG2TuneRequestFactory, IMPEG2TuneRequestFactory_Vtbl, 0x14e11abd_ee37_4893_9ea1_6964de933e39); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMPEG2TuneRequestFactory { +impl core::ops::Deref for IMPEG2TuneRequestFactory { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7233,7 +7233,7 @@ pub struct IMPEG2TuneRequestFactory_Vtbl { CreateTuneRequest: usize, } windows_core::imp::define_interface!(IMPEG2TuneRequestSupport, IMPEG2TuneRequestSupport_Vtbl, 0x1b9d5fc3_5bbc_4b6c_bb18_b9d10e3eeebf); -impl std::ops::Deref for IMPEG2TuneRequestSupport { +impl core::ops::Deref for IMPEG2TuneRequestSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7246,7 +7246,7 @@ pub struct IMPEG2TuneRequestSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IMPEG2_TIF_CONTROL, IMPEG2_TIF_CONTROL_Vtbl, 0xf9bac2f9_4149_4916_b2ef_faa202326862); -impl std::ops::Deref for IMPEG2_TIF_CONTROL { +impl core::ops::Deref for IMPEG2_TIF_CONTROL { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7290,7 +7290,7 @@ pub struct IMPEG2_TIF_CONTROL_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSEventBinder, IMSEventBinder_Vtbl, 0xc3a9f406_2222_436d_86d5_ba3229279efb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSEventBinder { +impl core::ops::Deref for IMSEventBinder { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7327,7 +7327,7 @@ pub struct IMSEventBinder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAnalogTuner, IMSVidAnalogTuner_Vtbl, 0x1c15d47e_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidAnalogTuner { +impl core::ops::Deref for IMSVidAnalogTuner { type Target = IMSVidTuner; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7391,7 +7391,7 @@ pub struct IMSVidAnalogTuner_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAnalogTuner2, IMSVidAnalogTuner2_Vtbl, 0x37647bf7_3dde_4cc8_a4dc_0d534d3d0037); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidAnalogTuner2 { +impl core::ops::Deref for IMSVidAnalogTuner2 { type Target = IMSVidAnalogTuner; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7425,7 +7425,7 @@ pub struct IMSVidAnalogTuner2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAnalogTunerEvent, IMSVidAnalogTunerEvent_Vtbl, 0x1c15d486_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidAnalogTunerEvent { +impl core::ops::Deref for IMSVidAnalogTunerEvent { type Target = IMSVidTunerEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7443,7 +7443,7 @@ pub struct IMSVidAnalogTunerEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAudioRenderer, IMSVidAudioRenderer_Vtbl, 0x37b0353f_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidAudioRenderer { +impl core::ops::Deref for IMSVidAudioRenderer { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7480,7 +7480,7 @@ pub struct IMSVidAudioRenderer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAudioRendererDevices, IMSVidAudioRendererDevices_Vtbl, 0xc5702cd4_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidAudioRendererDevices { +impl core::ops::Deref for IMSVidAudioRendererDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7543,7 +7543,7 @@ pub struct IMSVidAudioRendererDevices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAudioRendererEvent, IMSVidAudioRendererEvent_Vtbl, 0x37b03541_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidAudioRendererEvent { +impl core::ops::Deref for IMSVidAudioRendererEvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7561,7 +7561,7 @@ pub struct IMSVidAudioRendererEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidAudioRendererEvent2, IMSVidAudioRendererEvent2_Vtbl, 0xe3f55729_353b_4c43_a028_50f79aa9a907); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidAudioRendererEvent2 { +impl core::ops::Deref for IMSVidAudioRendererEvent2 { type Target = IMSVidAudioRendererEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7612,7 +7612,7 @@ pub struct IMSVidAudioRendererEvent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidClosedCaptioning, IMSVidClosedCaptioning_Vtbl, 0x99652ea1_c1f7_414f_bb7b_1c967de75983); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidClosedCaptioning { +impl core::ops::Deref for IMSVidClosedCaptioning { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7643,7 +7643,7 @@ pub struct IMSVidClosedCaptioning_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidClosedCaptioning2, IMSVidClosedCaptioning2_Vtbl, 0xe00cb864_a029_4310_9987_a873f5887d97); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidClosedCaptioning2 { +impl core::ops::Deref for IMSVidClosedCaptioning2 { type Target = IMSVidClosedCaptioning; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7671,7 +7671,7 @@ pub struct IMSVidClosedCaptioning2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidClosedCaptioning3, IMSVidClosedCaptioning3_Vtbl, 0xc8638e8a_7625_4c51_9366_2f40a9831fc0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidClosedCaptioning3 { +impl core::ops::Deref for IMSVidClosedCaptioning3 { type Target = IMSVidClosedCaptioning2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7695,7 +7695,7 @@ pub struct IMSVidClosedCaptioning3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidCompositionSegment, IMSVidCompositionSegment_Vtbl, 0x1c15d483_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidCompositionSegment { +impl core::ops::Deref for IMSVidCompositionSegment { type Target = IMSVidGraphSegment; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7744,7 +7744,7 @@ pub struct IMSVidCompositionSegment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidCtl, IMSVidCtl_Vtbl, 0xb0edf162_910a_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidCtl { +impl core::ops::Deref for IMSVidCtl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8057,7 +8057,7 @@ pub struct IMSVidCtl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidDataServices, IMSVidDataServices_Vtbl, 0x334125c1_77e5_11d3_b653_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidDataServices { +impl core::ops::Deref for IMSVidDataServices { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8075,7 +8075,7 @@ pub struct IMSVidDataServices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidDataServicesEvent, IMSVidDataServicesEvent_Vtbl, 0x334125c2_77e5_11d3_b653_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidDataServicesEvent { +impl core::ops::Deref for IMSVidDataServicesEvent { type Target = IMSVidDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8093,7 +8093,7 @@ pub struct IMSVidDataServicesEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidDevice, IMSVidDevice_Vtbl, 0x1c15d47c_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidDevice { +impl core::ops::Deref for IMSVidDevice { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8164,7 +8164,7 @@ pub struct IMSVidDevice_Vtbl { IsEqualDevice: usize, } windows_core::imp::define_interface!(IMSVidDevice2, IMSVidDevice2_Vtbl, 0x87bd2783_ebc0_478c_b4a0_e8e7f43ab78e); -impl std::ops::Deref for IMSVidDevice2 { +impl core::ops::Deref for IMSVidDevice2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8185,7 +8185,7 @@ pub struct IMSVidDevice2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidDeviceEvent, IMSVidDeviceEvent_Vtbl, 0x1c15d480_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidDeviceEvent { +impl core::ops::Deref for IMSVidDeviceEvent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8215,7 +8215,7 @@ pub struct IMSVidDeviceEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidEVR, IMSVidEVR_Vtbl, 0x15e496ae_82a8_4cf9_a6b6_c561dc60398f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidEVR { +impl core::ops::Deref for IMSVidEVR { type Target = IMSVidVideoRenderer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8266,7 +8266,7 @@ pub struct IMSVidEVR_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidEVREvent, IMSVidEVREvent_Vtbl, 0x349abb10_883c_4f22_8714_cecaeee45d62); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidEVREvent { +impl core::ops::Deref for IMSVidEVREvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8289,7 +8289,7 @@ pub struct IMSVidEVREvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidEncoder, IMSVidEncoder_Vtbl, 0xc0020fd4_bee7_43d9_a495_9f213117103d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidEncoder { +impl core::ops::Deref for IMSVidEncoder { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8318,7 +8318,7 @@ pub struct IMSVidEncoder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFeature, IMSVidFeature_Vtbl, 0x37b03547_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidFeature { +impl core::ops::Deref for IMSVidFeature { type Target = IMSVidDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8336,7 +8336,7 @@ pub struct IMSVidFeature_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFeatureEvent, IMSVidFeatureEvent_Vtbl, 0x3dd2903c_e0aa_11d2_b63a_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidFeatureEvent { +impl core::ops::Deref for IMSVidFeatureEvent { type Target = IMSVidDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8354,7 +8354,7 @@ pub struct IMSVidFeatureEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFeatures, IMSVidFeatures_Vtbl, 0xc5702cd5_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidFeatures { +impl core::ops::Deref for IMSVidFeatures { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8417,7 +8417,7 @@ pub struct IMSVidFeatures_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFilePlayback, IMSVidFilePlayback_Vtbl, 0x37b03539_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidFilePlayback { +impl core::ops::Deref for IMSVidFilePlayback { type Target = IMSVidPlayback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8448,7 +8448,7 @@ pub struct IMSVidFilePlayback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFilePlayback2, IMSVidFilePlayback2_Vtbl, 0x2f7e44af_6e52_4660_bc08_d8d542587d72); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidFilePlayback2 { +impl core::ops::Deref for IMSVidFilePlayback2 { type Target = IMSVidFilePlayback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8478,7 +8478,7 @@ pub struct IMSVidFilePlayback2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidFilePlaybackEvent, IMSVidFilePlaybackEvent_Vtbl, 0x37b0353a_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidFilePlaybackEvent { +impl core::ops::Deref for IMSVidFilePlaybackEvent { type Target = IMSVidPlaybackEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8496,7 +8496,7 @@ pub struct IMSVidFilePlaybackEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidGenericSink, IMSVidGenericSink_Vtbl, 0x6c29b41d_455b_4c33_963a_0d28e5e555ea); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidGenericSink { +impl core::ops::Deref for IMSVidGenericSink { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8531,7 +8531,7 @@ pub struct IMSVidGenericSink_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidGenericSink2, IMSVidGenericSink2_Vtbl, 0x6b5a28f3_47f1_4092_b168_60cabec08f1c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidGenericSink2 { +impl core::ops::Deref for IMSVidGenericSink2 { type Target = IMSVidGenericSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8561,7 +8561,7 @@ pub struct IMSVidGenericSink2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidGraphSegment, IMSVidGraphSegment_Vtbl, 0x238dec54_adeb_4005_a349_f772b9afebc4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidGraphSegment { +impl core::ops::Deref for IMSVidGraphSegment { type Target = super::super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8649,7 +8649,7 @@ pub struct IMSVidGraphSegment_Vtbl { pub Decompose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMSVidGraphSegmentContainer, IMSVidGraphSegmentContainer_Vtbl, 0x3dd2903d_e0aa_11d2_b63a_00c04f79498e); -impl std::ops::Deref for IMSVidGraphSegmentContainer { +impl core::ops::Deref for IMSVidGraphSegmentContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8734,7 +8734,7 @@ pub struct IMSVidGraphSegmentContainer_Vtbl { pub GetFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMSVidGraphSegmentUserInput, IMSVidGraphSegmentUserInput_Vtbl, 0x301c060e_20d9_4587_9b03_f82ed9a9943c); -impl std::ops::Deref for IMSVidGraphSegmentUserInput { +impl core::ops::Deref for IMSVidGraphSegmentUserInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8782,7 +8782,7 @@ pub struct IMSVidGraphSegmentUserInput_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidInputDevice, IMSVidInputDevice_Vtbl, 0x37b0353d_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidInputDevice { +impl core::ops::Deref for IMSVidInputDevice { type Target = IMSVidDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8810,7 +8810,7 @@ pub struct IMSVidInputDevice_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidInputDeviceEvent, IMSVidInputDeviceEvent_Vtbl, 0x37b0353e_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidInputDeviceEvent { +impl core::ops::Deref for IMSVidInputDeviceEvent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8828,7 +8828,7 @@ pub struct IMSVidInputDeviceEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidInputDevices, IMSVidInputDevices_Vtbl, 0xc5702cd1_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidInputDevices { +impl core::ops::Deref for IMSVidInputDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8891,7 +8891,7 @@ pub struct IMSVidInputDevices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidOutputDevice, IMSVidOutputDevice_Vtbl, 0x37b03546_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidOutputDevice { +impl core::ops::Deref for IMSVidOutputDevice { type Target = IMSVidDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8909,7 +8909,7 @@ pub struct IMSVidOutputDevice_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidOutputDeviceEvent, IMSVidOutputDeviceEvent_Vtbl, 0x2e6a14e2_571c_11d3_b652_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidOutputDeviceEvent { +impl core::ops::Deref for IMSVidOutputDeviceEvent { type Target = IMSVidDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8927,7 +8927,7 @@ pub struct IMSVidOutputDeviceEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidOutputDevices, IMSVidOutputDevices_Vtbl, 0xc5702cd2_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidOutputDevices { +impl core::ops::Deref for IMSVidOutputDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8990,7 +8990,7 @@ pub struct IMSVidOutputDevices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidPlayback, IMSVidPlayback_Vtbl, 0x37b03538_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidPlayback { +impl core::ops::Deref for IMSVidPlayback { type Target = IMSVidInputDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9077,7 +9077,7 @@ pub struct IMSVidPlayback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidPlaybackEvent, IMSVidPlaybackEvent_Vtbl, 0x37b0353b_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidPlaybackEvent { +impl core::ops::Deref for IMSVidPlaybackEvent { type Target = IMSVidInputDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9107,7 +9107,7 @@ pub struct IMSVidPlaybackEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidRect, IMSVidRect_Vtbl, 0x7f5000a6_a440_47ca_8acc_c0e75531a2c2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidRect { +impl core::ops::Deref for IMSVidRect { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9185,7 +9185,7 @@ pub struct IMSVidRect_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferRecordingControl, IMSVidStreamBufferRecordingControl_Vtbl, 0x160621aa_bbbc_4326_a824_c395aebc6e74); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferRecordingControl { +impl core::ops::Deref for IMSVidStreamBufferRecordingControl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9242,7 +9242,7 @@ pub struct IMSVidStreamBufferRecordingControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSink, IMSVidStreamBufferSink_Vtbl, 0x159dbb45_cd1b_4dab_83ea_5cb1f4f21d07); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSink { +impl core::ops::Deref for IMSVidStreamBufferSink { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9306,7 +9306,7 @@ pub struct IMSVidStreamBufferSink_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSink2, IMSVidStreamBufferSink2_Vtbl, 0x2ca9fc63_c131_4e5a_955a_544a47c67146); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSink2 { +impl core::ops::Deref for IMSVidStreamBufferSink2 { type Target = IMSVidStreamBufferSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9329,7 +9329,7 @@ pub struct IMSVidStreamBufferSink2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSink3, IMSVidStreamBufferSink3_Vtbl, 0x4f8721d7_7d59_4d8b_99f5_a77775586bd5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSink3 { +impl core::ops::Deref for IMSVidStreamBufferSink3 { type Target = IMSVidStreamBufferSink2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9441,7 +9441,7 @@ pub struct IMSVidStreamBufferSink3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent_Vtbl, 0xf798a36b_b05b_4bbe_9703_eaea7d61cd51); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSinkEvent { +impl core::ops::Deref for IMSVidStreamBufferSinkEvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9472,7 +9472,7 @@ pub struct IMSVidStreamBufferSinkEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent2, IMSVidStreamBufferSinkEvent2_Vtbl, 0x3d7a5166_72d7_484b_a06f_286187b80ca1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSinkEvent2 { +impl core::ops::Deref for IMSVidStreamBufferSinkEvent2 { type Target = IMSVidStreamBufferSinkEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9499,7 +9499,7 @@ pub struct IMSVidStreamBufferSinkEvent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent3, IMSVidStreamBufferSinkEvent3_Vtbl, 0x735ad8d5_c259_48e9_81e7_d27953665b23); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSinkEvent3 { +impl core::ops::Deref for IMSVidStreamBufferSinkEvent3 { type Target = IMSVidStreamBufferSinkEvent2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9522,7 +9522,7 @@ pub struct IMSVidStreamBufferSinkEvent3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent4, IMSVidStreamBufferSinkEvent4_Vtbl, 0x1b01dcb0_daf0_412c_a5d1_590c7f62e2b8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSinkEvent4 { +impl core::ops::Deref for IMSVidStreamBufferSinkEvent4 { type Target = IMSVidStreamBufferSinkEvent3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9545,7 +9545,7 @@ pub struct IMSVidStreamBufferSinkEvent4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSource, IMSVidStreamBufferSource_Vtbl, 0xeb0c8cf9_6950_4772_87b1_47d11cf3a02f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSource { +impl core::ops::Deref for IMSVidStreamBufferSource { type Target = IMSVidFilePlayback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9598,7 +9598,7 @@ pub struct IMSVidStreamBufferSource_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSource2, IMSVidStreamBufferSource2_Vtbl, 0xe4ba9059_b1ce_40d8_b9a0_d4ea4a9989d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSource2 { +impl core::ops::Deref for IMSVidStreamBufferSource2 { type Target = IMSVidStreamBufferSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9641,7 +9641,7 @@ pub struct IMSVidStreamBufferSource2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent, IMSVidStreamBufferSourceEvent_Vtbl, 0x50ce8a7d_9c28_4da8_9042_cdfa7116f979); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSourceEvent { +impl core::ops::Deref for IMSVidStreamBufferSourceEvent { type Target = IMSVidFilePlaybackEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9696,7 +9696,7 @@ pub struct IMSVidStreamBufferSourceEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent2, IMSVidStreamBufferSourceEvent2_Vtbl, 0x7aef50ce_8e22_4ba8_bc06_a92a458b4ef2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSourceEvent2 { +impl core::ops::Deref for IMSVidStreamBufferSourceEvent2 { type Target = IMSVidStreamBufferSourceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9719,7 +9719,7 @@ pub struct IMSVidStreamBufferSourceEvent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent3, IMSVidStreamBufferSourceEvent3_Vtbl, 0xceabd6ab_9b90_4570_adf1_3ce76e00a763); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferSourceEvent3 { +impl core::ops::Deref for IMSVidStreamBufferSourceEvent3 { type Target = IMSVidStreamBufferSourceEvent2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9764,7 +9764,7 @@ pub struct IMSVidStreamBufferSourceEvent3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidStreamBufferV2SourceEvent, IMSVidStreamBufferV2SourceEvent_Vtbl, 0x49c771f9_41b2_4cf7_9f9a_a313a8f6027e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidStreamBufferV2SourceEvent { +impl core::ops::Deref for IMSVidStreamBufferV2SourceEvent { type Target = IMSVidFilePlaybackEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9825,7 +9825,7 @@ pub struct IMSVidStreamBufferV2SourceEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidTuner, IMSVidTuner_Vtbl, 0x1c15d47d_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidTuner { +impl core::ops::Deref for IMSVidTuner { type Target = IMSVidVideoInputDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9884,7 +9884,7 @@ pub struct IMSVidTuner_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidTunerEvent, IMSVidTunerEvent_Vtbl, 0x1c15d485_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidTunerEvent { +impl core::ops::Deref for IMSVidTunerEvent { type Target = IMSVidInputDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9914,7 +9914,7 @@ pub struct IMSVidTunerEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVMR9, IMSVidVMR9_Vtbl, 0xd58b0015_ebef_44bb_bbdd_3f3699d76ea1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVMR9 { +impl core::ops::Deref for IMSVidVMR9 { type Target = IMSVidVideoRenderer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9962,7 +9962,7 @@ pub struct IMSVidVMR9_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVRGraphSegment, IMSVidVRGraphSegment_Vtbl, 0xdd47de3f_9874_4f7b_8b22_7cb2688461e7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVRGraphSegment { +impl core::ops::Deref for IMSVidVRGraphSegment { type Target = IMSVidGraphSegment; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10092,7 +10092,7 @@ pub struct IMSVidVRGraphSegment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVideoInputDevice, IMSVidVideoInputDevice_Vtbl, 0x1c15d47f_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVideoInputDevice { +impl core::ops::Deref for IMSVidVideoInputDevice { type Target = IMSVidInputDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10110,7 +10110,7 @@ pub struct IMSVidVideoInputDevice_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVideoRenderer, IMSVidVideoRenderer_Vtbl, 0x37b03540_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVideoRenderer { +impl core::ops::Deref for IMSVidVideoRenderer { type Target = IMSVidOutputDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10339,7 +10339,7 @@ pub struct IMSVidVideoRenderer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVideoRenderer2, IMSVidVideoRenderer2_Vtbl, 0x6bdd5c1e_2810_4159_94bc_05511ae8549b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVideoRenderer2 { +impl core::ops::Deref for IMSVidVideoRenderer2 { type Target = IMSVidVideoRenderer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10399,7 +10399,7 @@ pub struct IMSVidVideoRenderer2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVideoRendererDevices, IMSVidVideoRendererDevices_Vtbl, 0xc5702cd3_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVideoRendererDevices { +impl core::ops::Deref for IMSVidVideoRendererDevices { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10462,7 +10462,7 @@ pub struct IMSVidVideoRendererDevices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVideoRendererEvent, IMSVidVideoRendererEvent_Vtbl, 0x37b03545_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVideoRendererEvent { +impl core::ops::Deref for IMSVidVideoRendererEvent { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10485,7 +10485,7 @@ pub struct IMSVidVideoRendererEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidVideoRendererEvent2, IMSVidVideoRendererEvent2_Vtbl, 0x7145ed66_4730_4fdb_8a53_fde7508d3e5e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidVideoRendererEvent2 { +impl core::ops::Deref for IMSVidVideoRendererEvent2 { type Target = IMSVidOutputDeviceEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10508,7 +10508,7 @@ pub struct IMSVidVideoRendererEvent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidWebDVD, IMSVidWebDVD_Vtbl, 0xcf45f88b_ac56_4ee2_a73a_ed04e2885d3c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidWebDVD { +impl core::ops::Deref for IMSVidWebDVD { type Target = IMSVidPlayback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11012,7 +11012,7 @@ pub struct IMSVidWebDVD_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidWebDVD2, IMSVidWebDVD2_Vtbl, 0x7027212f_ee9a_4a7c_8b67_f023714cdaff); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidWebDVD2 { +impl core::ops::Deref for IMSVidWebDVD2 { type Target = IMSVidWebDVD; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11039,7 +11039,7 @@ pub struct IMSVidWebDVD2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidWebDVDAdm, IMSVidWebDVDAdm_Vtbl, 0xb8be681a_eb2c_47f0_b415_94d5452f0e05); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidWebDVDAdm { +impl core::ops::Deref for IMSVidWebDVDAdm { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11141,7 +11141,7 @@ pub struct IMSVidWebDVDAdm_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidWebDVDEvent, IMSVidWebDVDEvent_Vtbl, 0xb4f7a674_9b83_49cb_a357_c63b871be958); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidWebDVDEvent { +impl core::ops::Deref for IMSVidWebDVDEvent { type Target = IMSVidPlaybackEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11322,7 +11322,7 @@ pub struct IMSVidWebDVDEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidXDS, IMSVidXDS_Vtbl, 0x11ebc158_e712_4d1f_8bb3_01ed5274c4ce); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidXDS { +impl core::ops::Deref for IMSVidXDS { type Target = IMSVidFeature; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11346,7 +11346,7 @@ pub struct IMSVidXDS_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSVidXDSEvent, IMSVidXDSEvent_Vtbl, 0x6db2317d_3b23_41ec_ba4b_701f407eaf3a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSVidXDSEvent { +impl core::ops::Deref for IMSVidXDSEvent { type Target = IMSVidFeatureEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11367,7 +11367,7 @@ pub struct IMSVidXDSEvent_Vtbl { pub RatingChange: unsafe extern "system" fn(*mut core::ffi::c_void, EnTvRat_System, EnTvRat_GenericLevel, BfEnTvRat_GenericAttributes, EnTvRat_System, EnTvRat_GenericLevel, BfEnTvRat_GenericAttributes) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMceBurnerControl, IMceBurnerControl_Vtbl, 0x5a86b91a_e71e_46c1_88a9_9bb338710552); -impl std::ops::Deref for IMceBurnerControl { +impl core::ops::Deref for IMceBurnerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11385,7 +11385,7 @@ pub struct IMceBurnerControl_Vtbl { pub GetBurnerNoDecryption: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMpeg2Data, IMpeg2Data_Vtbl, 0x9b396d40_f380_4e3c_a514_1a82bf6ebfe6); -impl std::ops::Deref for IMpeg2Data { +impl core::ops::Deref for IMpeg2Data { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11417,7 +11417,7 @@ pub struct IMpeg2Data_Vtbl { pub GetStreamOfSections: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u8, *const MPEG2_FILTER, super::super::super::Foundation::HANDLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMpeg2Stream, IMpeg2Stream_Vtbl, 0x400cc286_32a0_4ce4_9041_39571125a635); -impl std::ops::Deref for IMpeg2Stream { +impl core::ops::Deref for IMpeg2Stream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11443,7 +11443,7 @@ pub struct IMpeg2Stream_Vtbl { pub SupplyDataBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *const MPEG_STREAM_BUFFER) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMpeg2TableFilter, IMpeg2TableFilter_Vtbl, 0xbdcdd913_9ecd_4fb2_81ae_adf747ea75a5); -impl std::ops::Deref for IMpeg2TableFilter { +impl core::ops::Deref for IMpeg2TableFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11481,7 +11481,7 @@ pub struct IMpeg2TableFilter_Vtbl { pub RemoveExtension: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u8, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPAT, IPAT_Vtbl, 0x6623b511_4b5f_43c3_9a01_e8ff84188060); -impl std::ops::Deref for IPAT { +impl core::ops::Deref for IPAT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11556,7 +11556,7 @@ pub struct IPAT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPBDAAttributesDescriptor, IPBDAAttributesDescriptor_Vtbl, 0x313b3620_3263_45a6_9533_968befbeac03); -impl std::ops::Deref for IPBDAAttributesDescriptor { +impl core::ops::Deref for IPBDAAttributesDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11584,7 +11584,7 @@ pub struct IPBDAAttributesDescriptor_Vtbl { pub GetAttributePayload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPBDAEntitlementDescriptor, IPBDAEntitlementDescriptor_Vtbl, 0x22632497_0de3_4587_aadc_d8d99017e760); -impl std::ops::Deref for IPBDAEntitlementDescriptor { +impl core::ops::Deref for IPBDAEntitlementDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11612,7 +11612,7 @@ pub struct IPBDAEntitlementDescriptor_Vtbl { pub GetToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPBDASiParser, IPBDASiParser_Vtbl, 0x9de49a74_aba2_4a18_93e1_21f17f95c3c3); -impl std::ops::Deref for IPBDASiParser { +impl core::ops::Deref for IPBDASiParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11643,7 +11643,7 @@ pub struct IPBDASiParser_Vtbl { pub GetServices: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPBDA_EIT, IPBDA_EIT_Vtbl, 0xa35f2dea_098f_4ebd_984c_2bd4c3c8ce0a); -impl std::ops::Deref for IPBDA_EIT { +impl core::ops::Deref for IPBDA_EIT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11710,7 +11710,7 @@ pub struct IPBDA_EIT_Vtbl { pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPBDA_Services, IPBDA_Services_Vtbl, 0x944eab37_eed4_4850_afd2_77e7efeb4427); -impl std::ops::Deref for IPBDA_Services { +impl core::ops::Deref for IPBDA_Services { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11738,7 +11738,7 @@ pub struct IPBDA_Services_Vtbl { pub GetRecordByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMT, IPMT_Vtbl, 0x01f3b398_9527_4736_94db_5195878e97a8); -impl std::ops::Deref for IPMT { +impl core::ops::Deref for IPMT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11849,7 +11849,7 @@ pub struct IPMT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPSITables, IPSITables_Vtbl, 0x919f24c5_7b14_42ac_a4b0_2ae08daf00ac); -impl std::ops::Deref for IPSITables { +impl core::ops::Deref for IPSITables { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11868,7 +11868,7 @@ pub struct IPSITables_Vtbl { pub GetTable: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPTFilterLicenseRenewal, IPTFilterLicenseRenewal_Vtbl, 0x26d836a5_0c15_44c7_ac59_b0da8728f240); -impl std::ops::Deref for IPTFilterLicenseRenewal { +impl core::ops::Deref for IPTFilterLicenseRenewal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11897,7 +11897,7 @@ pub struct IPTFilterLicenseRenewal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistTuneXml, IPersistTuneXml_Vtbl, 0x0754cd31_8d15_47a9_8215_d20064157244); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistTuneXml { +impl core::ops::Deref for IPersistTuneXml { type Target = super::super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11930,7 +11930,7 @@ pub struct IPersistTuneXml_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistTuneXmlUtility, IPersistTuneXmlUtility_Vtbl, 0x990237ae_ac11_4614_be8f_dd217a4cb4cb); -impl std::ops::Deref for IPersistTuneXmlUtility { +impl core::ops::Deref for IPersistTuneXmlUtility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11952,7 +11952,7 @@ pub struct IPersistTuneXmlUtility_Vtbl { pub Deserialize: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistTuneXmlUtility2, IPersistTuneXmlUtility2_Vtbl, 0x992e165f_ea24_4b2f_9a1d_009d92120451); -impl std::ops::Deref for IPersistTuneXmlUtility2 { +impl core::ops::Deref for IPersistTuneXmlUtility2 { type Target = IPersistTuneXmlUtility; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11978,7 +11978,7 @@ pub struct IPersistTuneXmlUtility2_Vtbl { Serialize: usize, } windows_core::imp::define_interface!(IRegisterTuner, IRegisterTuner_Vtbl, 0x359b3901_572c_4854_bb49_cdef66606a25); -impl std::ops::Deref for IRegisterTuner { +impl core::ops::Deref for IRegisterTuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12004,7 +12004,7 @@ pub struct IRegisterTuner_Vtbl { pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2Crossbar, ISBE2Crossbar_Vtbl, 0x547b6d26_3226_487e_8253_8aa168749434); -impl std::ops::Deref for ISBE2Crossbar { +impl core::ops::Deref for ISBE2Crossbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12039,7 +12039,7 @@ pub struct ISBE2Crossbar_Vtbl { pub EnumStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2EnumStream, ISBE2EnumStream_Vtbl, 0xf7611092_9fbc_46ec_a7c7_548ea78b71a4); -impl std::ops::Deref for ISBE2EnumStream { +impl core::ops::Deref for ISBE2EnumStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12070,7 +12070,7 @@ pub struct ISBE2EnumStream_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2FileScan, ISBE2FileScan_Vtbl, 0x3e2bf5a5_4f96_4899_a1a3_75e8be9a5ac0); -impl std::ops::Deref for ISBE2FileScan { +impl core::ops::Deref for ISBE2FileScan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12091,7 +12091,7 @@ pub struct ISBE2FileScan_Vtbl { pub RepairFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2GlobalEvent, ISBE2GlobalEvent_Vtbl, 0xcaede759_b6b1_11db_a578_0018f3fa24c6); -impl std::ops::Deref for ISBE2GlobalEvent { +impl core::ops::Deref for ISBE2GlobalEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12109,7 +12109,7 @@ pub struct ISBE2GlobalEvent_Vtbl { pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, u32, u32, *mut super::super::super::Foundation::BOOL, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2GlobalEvent2, ISBE2GlobalEvent2_Vtbl, 0x6d8309bf_00fe_4506_8b03_f8c65b5c9b39); -impl std::ops::Deref for ISBE2GlobalEvent2 { +impl core::ops::Deref for ISBE2GlobalEvent2 { type Target = ISBE2GlobalEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12127,7 +12127,7 @@ pub struct ISBE2GlobalEvent2_Vtbl { pub GetEventEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, u32, u32, *mut super::super::super::Foundation::BOOL, *mut u32, *mut u8, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2MediaTypeProfile, ISBE2MediaTypeProfile_Vtbl, 0xf238267d_4671_40d7_997e_25dc32cfed2a); -impl std::ops::Deref for ISBE2MediaTypeProfile { +impl core::ops::Deref for ISBE2MediaTypeProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12167,7 +12167,7 @@ pub struct ISBE2MediaTypeProfile_Vtbl { pub DeleteStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2SpanningEvent, ISBE2SpanningEvent_Vtbl, 0xcaede760_b6b1_11db_a578_0018f3fa24c6); -impl std::ops::Deref for ISBE2SpanningEvent { +impl core::ops::Deref for ISBE2SpanningEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12185,7 +12185,7 @@ pub struct ISBE2SpanningEvent_Vtbl { pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISBE2StreamMap, ISBE2StreamMap_Vtbl, 0x667c7745_85b1_4c55_ae55_4e25056159fc); -impl std::ops::Deref for ISBE2StreamMap { +impl core::ops::Deref for ISBE2StreamMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12212,7 +12212,7 @@ pub struct ISBE2StreamMap_Vtbl { pub EnumMappedStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISCTE_EAS, ISCTE_EAS_Vtbl, 0x1ff544d6_161d_4fae_9faa_4f9f492ae999); -impl std::ops::Deref for ISCTE_EAS { +impl core::ops::Deref for ISCTE_EAS { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12377,7 +12377,7 @@ pub struct ISCTE_EAS_Vtbl { pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISIInbandEPG, ISIInbandEPG_Vtbl, 0xf90ad9d0_b854_4b68_9cc1_b2cc96119d85); -impl std::ops::Deref for ISIInbandEPG { +impl core::ops::Deref for ISIInbandEPG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12404,7 +12404,7 @@ pub struct ISIInbandEPG_Vtbl { pub IsSIEPGScanRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISIInbandEPGEvent, ISIInbandEPGEvent_Vtbl, 0x7e47913a_5a89_423d_9a2b_e15168858934); -impl std::ops::Deref for ISIInbandEPGEvent { +impl core::ops::Deref for ISIInbandEPGEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12425,7 +12425,7 @@ pub struct ISIInbandEPGEvent_Vtbl { pub SIObjectEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScanningTuner, IScanningTuner_Vtbl, 0x1dfd0a5c_0284_11d3_9d8e_00c04f72d980); -impl std::ops::Deref for IScanningTuner { +impl core::ops::Deref for IScanningTuner { type Target = ITuner; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12459,7 +12459,7 @@ pub struct IScanningTuner_Vtbl { pub AutoProgram: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScanningTunerEx, IScanningTunerEx_Vtbl, 0x04bbd195_0e2d_4593_9bd5_4f908bc33cf5); -impl std::ops::Deref for IScanningTunerEx { +impl core::ops::Deref for IScanningTunerEx { type Target = IScanningTuner; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12513,7 +12513,7 @@ pub struct IScanningTunerEx_Vtbl { pub SetScanSignalTypeFilter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISectionList, ISectionList_Vtbl, 0xafec1eb5_2a64_46c6_bf4b_ae3ccb6afdb0); -impl std::ops::Deref for ISectionList { +impl core::ops::Deref for ISectionList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12560,7 +12560,7 @@ pub struct ISectionList_Vtbl { pub GetTableIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceLocationDescriptor, IServiceLocationDescriptor_Vtbl, 0x58c3c827_9d91_4215_bff3_820a49f0904c); -impl std::ops::Deref for IServiceLocationDescriptor { +impl core::ops::Deref for IServiceLocationDescriptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12598,7 +12598,7 @@ pub struct IServiceLocationDescriptor_Vtbl { pub GetElementLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferConfigure, IStreamBufferConfigure_Vtbl, 0xce14dfae_4098_4af7_bbf7_d6511f835414); -impl std::ops::Deref for IStreamBufferConfigure { +impl core::ops::Deref for IStreamBufferConfigure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12641,7 +12641,7 @@ pub struct IStreamBufferConfigure_Vtbl { pub GetBackingFileDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferConfigure2, IStreamBufferConfigure2_Vtbl, 0x53e037bf_3992_4282_ae34_2487b4dae06b); -impl std::ops::Deref for IStreamBufferConfigure2 { +impl core::ops::Deref for IStreamBufferConfigure2 { type Target = IStreamBufferConfigure; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12672,7 +12672,7 @@ pub struct IStreamBufferConfigure2_Vtbl { pub GetFFTransitionRates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferConfigure3, IStreamBufferConfigure3_Vtbl, 0x7e2d2a1e_7192_4bd7_80c1_061fd1d10402); -impl std::ops::Deref for IStreamBufferConfigure3 { +impl core::ops::Deref for IStreamBufferConfigure3 { type Target = IStreamBufferConfigure2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12710,7 +12710,7 @@ pub struct IStreamBufferConfigure3_Vtbl { pub GetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferDataCounters, IStreamBufferDataCounters_Vtbl, 0x9d2a2563_31ab_402e_9a6b_adb903489440); -impl std::ops::Deref for IStreamBufferDataCounters { +impl core::ops::Deref for IStreamBufferDataCounters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12732,7 +12732,7 @@ pub struct IStreamBufferDataCounters_Vtbl { pub ResetData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferInitialize, IStreamBufferInitialize_Vtbl, 0x9ce50f2d_6ba7_40fb_a034_50b1a674ec78); -impl std::ops::Deref for IStreamBufferInitialize { +impl core::ops::Deref for IStreamBufferInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12761,7 +12761,7 @@ pub struct IStreamBufferInitialize_Vtbl { pub SetSIDs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::super::Foundation::PSID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferMediaSeeking, IStreamBufferMediaSeeking_Vtbl, 0xf61f5c26_863d_4afa_b0ba_2f81dc978596); -impl std::ops::Deref for IStreamBufferMediaSeeking { +impl core::ops::Deref for IStreamBufferMediaSeeking { type Target = super::IMediaSeeking; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12774,7 +12774,7 @@ pub struct IStreamBufferMediaSeeking_Vtbl { pub base__: super::IMediaSeeking_Vtbl, } windows_core::imp::define_interface!(IStreamBufferMediaSeeking2, IStreamBufferMediaSeeking2_Vtbl, 0x3a439ab0_155f_470a_86a6_9ea54afd6eaf); -impl std::ops::Deref for IStreamBufferMediaSeeking2 { +impl core::ops::Deref for IStreamBufferMediaSeeking2 { type Target = IStreamBufferMediaSeeking; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12792,7 +12792,7 @@ pub struct IStreamBufferMediaSeeking2_Vtbl { pub SetRateEx: unsafe extern "system" fn(*mut core::ffi::c_void, f64, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferRecComp, IStreamBufferRecComp_Vtbl, 0x9e259a9b_8815_42ae_b09f_221970b154fd); -impl std::ops::Deref for IStreamBufferRecComp { +impl core::ops::Deref for IStreamBufferRecComp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12841,7 +12841,7 @@ pub struct IStreamBufferRecComp_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferRecordControl, IStreamBufferRecordControl_Vtbl, 0xba9b6c99_f3c7_4ff2_92db_cfdd4851bf31); -impl std::ops::Deref for IStreamBufferRecordControl { +impl core::ops::Deref for IStreamBufferRecordControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12867,7 +12867,7 @@ pub struct IStreamBufferRecordControl_Vtbl { pub GetRecordingStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut super::super::super::Foundation::BOOL, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferRecordingAttribute, IStreamBufferRecordingAttribute_Vtbl, 0x16ca4e03_fe69_4705_bd41_5b7dfc0c95f3); -impl std::ops::Deref for IStreamBufferRecordingAttribute { +impl core::ops::Deref for IStreamBufferRecordingAttribute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12909,7 +12909,7 @@ pub struct IStreamBufferRecordingAttribute_Vtbl { pub EnumAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferSink, IStreamBufferSink_Vtbl, 0xafd1f242_7efd_45ee_ba4e_407a25c9a77a); -impl std::ops::Deref for IStreamBufferSink { +impl core::ops::Deref for IStreamBufferSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12942,7 +12942,7 @@ pub struct IStreamBufferSink_Vtbl { pub IsProfileLocked: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferSink2, IStreamBufferSink2_Vtbl, 0xdb94a660_f4fb_4bfa_bcc6_fe159a4eea93); -impl std::ops::Deref for IStreamBufferSink2 { +impl core::ops::Deref for IStreamBufferSink2 { type Target = IStreamBufferSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12960,7 +12960,7 @@ pub struct IStreamBufferSink2_Vtbl { pub UnlockProfile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferSink3, IStreamBufferSink3_Vtbl, 0x974723f2_887a_4452_9366_2cff3057bc8f); -impl std::ops::Deref for IStreamBufferSink3 { +impl core::ops::Deref for IStreamBufferSink3 { type Target = IStreamBufferSink2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12978,7 +12978,7 @@ pub struct IStreamBufferSink3_Vtbl { pub SetAvailableFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamBufferSource, IStreamBufferSource_Vtbl, 0x1c5bd776_6ced_4f44_8164_5eab0e98db12); -impl std::ops::Deref for IStreamBufferSource { +impl core::ops::Deref for IStreamBufferSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12999,7 +12999,7 @@ pub struct IStreamBufferSource_Vtbl { pub SetStreamSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSDT, ITSDT_Vtbl, 0xd19bdb43_405b_4a7c_a791_c89110c33165); -impl std::ops::Deref for ITSDT { +impl core::ops::Deref for ITSDT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13065,7 +13065,7 @@ pub struct ITSDT_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITuneRequest, ITuneRequest_Vtbl, 0x07ddc146_fc3d_11d2_9d8c_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITuneRequest { +impl core::ops::Deref for ITuneRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13129,7 +13129,7 @@ pub struct ITuneRequest_Vtbl { SetLocator: usize, } windows_core::imp::define_interface!(ITuneRequestInfo, ITuneRequestInfo_Vtbl, 0xa3b152df_7a90_4218_ac54_9830bee8c0b6); -impl std::ops::Deref for ITuneRequestInfo { +impl core::ops::Deref for ITuneRequestInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13224,7 +13224,7 @@ pub struct ITuneRequestInfo_Vtbl { GetPreviousLocator: usize, } windows_core::imp::define_interface!(ITuneRequestInfoEx, ITuneRequestInfoEx_Vtbl, 0xee957c52_b0d0_4e78_8dd1_b87a08bfd893); -impl std::ops::Deref for ITuneRequestInfoEx { +impl core::ops::Deref for ITuneRequestInfoEx { type Target = ITuneRequestInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13250,7 +13250,7 @@ pub struct ITuneRequestInfoEx_Vtbl { CreateComponentListEx: usize, } windows_core::imp::define_interface!(ITuner, ITuner_Vtbl, 0x28c52640_018a_11d3_9d8e_00c04f72d980); -impl std::ops::Deref for ITuner { +impl core::ops::Deref for ITuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13349,7 +13349,7 @@ pub struct ITuner_Vtbl { pub TriggerSignalEvents: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITunerCap, ITunerCap_Vtbl, 0xe60dfa45_8d56_4e65_a8ab_d6be9412c249); -impl std::ops::Deref for ITunerCap { +impl core::ops::Deref for ITunerCap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13375,7 +13375,7 @@ pub struct ITunerCap_Vtbl { pub get_AuxInputCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITunerCapEx, ITunerCapEx_Vtbl, 0xed3e0c66_18c8_4ea6_9300_f6841fdd35dc); -impl std::ops::Deref for ITunerCapEx { +impl core::ops::Deref for ITunerCapEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13396,7 +13396,7 @@ pub struct ITunerCapEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITuningSpace, ITuningSpace_Vtbl, 0x061c6e30_e622_11d2_9493_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITuningSpace { +impl core::ops::Deref for ITuningSpace { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13553,7 +13553,7 @@ pub struct ITuningSpace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITuningSpaceContainer, ITuningSpaceContainer_Vtbl, 0x5b692e84_e2f1_11d2_9493_00c04f72d980); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITuningSpaceContainer { +impl core::ops::Deref for ITuningSpaceContainer { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13688,7 +13688,7 @@ pub struct ITuningSpaceContainer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITuningSpaces, ITuningSpaces_Vtbl, 0x901284e4_33fe_4b69_8d63_634a596f3756); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITuningSpaces { +impl core::ops::Deref for ITuningSpaces { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13736,7 +13736,7 @@ pub struct ITuningSpaces_Vtbl { pub EnumTuningSpaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXDSCodec, IXDSCodec_Vtbl, 0xc4c4c4b3_0049_4e2b_98fb_9537f6ce516d); -impl std::ops::Deref for IXDSCodec { +impl core::ops::Deref for IXDSCodec { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13781,7 +13781,7 @@ pub struct IXDSCodec_Vtbl { pub GetLastErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXDSCodecConfig, IXDSCodecConfig_Vtbl, 0xc4c4c4d3_0049_4e2b_98fb_9537f6ce516d); -impl std::ops::Deref for IXDSCodecConfig { +impl core::ops::Deref for IXDSCodecConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13806,7 +13806,7 @@ pub struct IXDSCodecConfig_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXDSCodecEvents, IXDSCodecEvents_Vtbl, 0xc4c4c4c3_0049_4e2b_98fb_9537f6ce516d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXDSCodecEvents { +impl core::ops::Deref for IXDSCodecEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13824,7 +13824,7 @@ pub struct IXDSCodecEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXDSToRat, IXDSToRat_Vtbl, 0xc5c5c5b0_3abc_11d6_b25b_00c04fa0c026); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXDSToRat { +impl core::ops::Deref for IXDSToRat { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13851,7 +13851,7 @@ pub struct IXDSToRat_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IMSVidCtlEvents, _IMSVidCtlEvents_Vtbl, 0xb0edf164_910a_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IMSVidCtlEvents { +impl core::ops::Deref for _IMSVidCtlEvents { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs index 803fb93971..abb824e25d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IXMLGraphBuilder, IXMLGraphBuilder_Vtbl, 0x1bb05960_5fbf_11d2_a521_44df07c10000); -impl std::ops::Deref for IXMLGraphBuilder { +impl core::ops::Deref for IXMLGraphBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs index 27c9fad3ec..21b8177abb 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -13,7 +13,7 @@ pub unsafe fn AMGetErrorTextW(hr: windows_core::HRESULT, pbuffer: &mut [u16]) -> AMGetErrorTextW(hr, core::mem::transmute(pbuffer.as_ptr()), pbuffer.len().try_into().unwrap()) } windows_core::imp::define_interface!(IAMAnalogVideoDecoder, IAMAnalogVideoDecoder_Vtbl, 0xc6e13350_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMAnalogVideoDecoder { +impl core::ops::Deref for IAMAnalogVideoDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -69,7 +69,7 @@ pub struct IAMAnalogVideoDecoder_Vtbl { pub OutputEnable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMAnalogVideoEncoder, IAMAnalogVideoEncoder_Vtbl, 0xc6e133b0_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMAnalogVideoEncoder { +impl core::ops::Deref for IAMAnalogVideoEncoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -115,7 +115,7 @@ pub struct IAMAnalogVideoEncoder_Vtbl { pub CCEnable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMAsyncReaderTimestampScaling, IAMAsyncReaderTimestampScaling_Vtbl, 0xcf7b26fc_9a00_485b_8147_3e789d5e8f67); -impl std::ops::Deref for IAMAsyncReaderTimestampScaling { +impl core::ops::Deref for IAMAsyncReaderTimestampScaling { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -141,7 +141,7 @@ pub struct IAMAsyncReaderTimestampScaling_Vtbl { pub SetTimestampMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMAudioInputMixer, IAMAudioInputMixer_Vtbl, 0x54c39221_8380_11d0_b3f0_00aa003761c5); -impl std::ops::Deref for IAMAudioInputMixer { +impl core::ops::Deref for IAMAudioInputMixer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -237,7 +237,7 @@ pub struct IAMAudioInputMixer_Vtbl { pub BassRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMAudioRendererStats, IAMAudioRendererStats_Vtbl, 0x22320cb2_d41a_11d2_bf7c_d7cb9df0bf93); -impl std::ops::Deref for IAMAudioRendererStats { +impl core::ops::Deref for IAMAudioRendererStats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -255,7 +255,7 @@ pub struct IAMAudioRendererStats_Vtbl { pub GetStatParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMBufferNegotiation, IAMBufferNegotiation_Vtbl, 0x56ed71a0_af5f_11d0_b3f0_00aa003761c5); -impl std::ops::Deref for IAMBufferNegotiation { +impl core::ops::Deref for IAMBufferNegotiation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -278,7 +278,7 @@ pub struct IAMBufferNegotiation_Vtbl { pub GetAllocatorProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ALLOCATOR_PROPERTIES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMCameraControl, IAMCameraControl_Vtbl, 0xc6e13370_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMCameraControl { +impl core::ops::Deref for IAMCameraControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -304,7 +304,7 @@ pub struct IAMCameraControl_Vtbl { pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMCertifiedOutputProtection, IAMCertifiedOutputProtection_Vtbl, 0x6feded3e_0ff1_4901_a2f1_43f7012c8515); -impl std::ops::Deref for IAMCertifiedOutputProtection { +impl core::ops::Deref for IAMCertifiedOutputProtection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -336,7 +336,7 @@ pub struct IAMCertifiedOutputProtection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMChannelInfo, IAMChannelInfo_Vtbl, 0xfa2aa8f2_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMChannelInfo { +impl core::ops::Deref for IAMChannelInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -377,7 +377,7 @@ pub struct IAMChannelInfo_Vtbl { pub ContactEmail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMClockAdjust, IAMClockAdjust_Vtbl, 0x4d5466b0_a49c_11d1_abe8_00a0c905f375); -impl std::ops::Deref for IAMClockAdjust { +impl core::ops::Deref for IAMClockAdjust { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -395,7 +395,7 @@ pub struct IAMClockAdjust_Vtbl { pub SetClockDelta: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMClockSlave, IAMClockSlave_Vtbl, 0x9fd52741_176d_4b36_8f51_ca8f933223be); -impl std::ops::Deref for IAMClockSlave { +impl core::ops::Deref for IAMClockSlave { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -420,7 +420,7 @@ pub struct IAMClockSlave_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMCollection, IAMCollection_Vtbl, 0x56a868b9_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMCollection { +impl core::ops::Deref for IAMCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -452,7 +452,7 @@ pub struct IAMCollection_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMCopyCaptureFileProgress, IAMCopyCaptureFileProgress_Vtbl, 0x670d1d20_a068_11d0_b3f0_00aa003761c5); -impl std::ops::Deref for IAMCopyCaptureFileProgress { +impl core::ops::Deref for IAMCopyCaptureFileProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -470,7 +470,7 @@ pub struct IAMCopyCaptureFileProgress_Vtbl { pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMCrossbar, IAMCrossbar_Vtbl, 0xc6e13380_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMCrossbar { +impl core::ops::Deref for IAMCrossbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -508,7 +508,7 @@ pub struct IAMCrossbar_Vtbl { pub get_CrossbarPinInfo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMDecoderCaps, IAMDecoderCaps_Vtbl, 0xc0dff467_d499_4986_972b_e1d9090fa941); -impl std::ops::Deref for IAMDecoderCaps { +impl core::ops::Deref for IAMDecoderCaps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -527,7 +527,7 @@ pub struct IAMDecoderCaps_Vtbl { pub GetDecoderCaps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMDevMemoryAllocator, IAMDevMemoryAllocator_Vtbl, 0xc6545bf0_e76b_11d0_bd52_00a0c911ce86); -impl std::ops::Deref for IAMDevMemoryAllocator { +impl core::ops::Deref for IAMDevMemoryAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -564,7 +564,7 @@ pub struct IAMDevMemoryAllocator_Vtbl { pub GetDevMemoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMDevMemoryControl, IAMDevMemoryControl_Vtbl, 0xc6545bf1_e76b_11d0_bd52_00a0c911ce86); -impl std::ops::Deref for IAMDevMemoryControl { +impl core::ops::Deref for IAMDevMemoryControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -591,7 +591,7 @@ pub struct IAMDevMemoryControl_Vtbl { pub GetDevId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMDeviceRemoval, IAMDeviceRemoval_Vtbl, 0xf90a6130_b658_11d2_ae49_0000f8754b99); -impl std::ops::Deref for IAMDeviceRemoval { +impl core::ops::Deref for IAMDeviceRemoval { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -617,7 +617,7 @@ pub struct IAMDeviceRemoval_Vtbl { pub Disassociate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMDirectSound, IAMDirectSound_Vtbl, 0x546f4260_d53e_11cf_b3f0_00aa003761c5); -impl std::ops::Deref for IAMDirectSound { +impl core::ops::Deref for IAMDirectSound { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -703,7 +703,7 @@ pub struct IAMDirectSound_Vtbl { pub GetFocusWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMDroppedFrames, IAMDroppedFrames_Vtbl, 0xc6e13344_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMDroppedFrames { +impl core::ops::Deref for IAMDroppedFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -736,7 +736,7 @@ pub struct IAMDroppedFrames_Vtbl { pub GetAverageFrameSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMExtDevice, IAMExtDevice_Vtbl, 0xb5730a90_1a2c_11cf_8c23_00aa006b6814); -impl std::ops::Deref for IAMExtDevice { +impl core::ops::Deref for IAMExtDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -787,7 +787,7 @@ pub struct IAMExtDevice_Vtbl { pub DevicePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMExtTransport, IAMExtTransport_Vtbl, 0xa03cd5f0_3045_11cf_8c44_00aa006b6814); -impl std::ops::Deref for IAMExtTransport { +impl core::ops::Deref for IAMExtTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -929,7 +929,7 @@ pub struct IAMExtTransport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMExtendedErrorInfo, IAMExtendedErrorInfo_Vtbl, 0xfa2aa8f6_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMExtendedErrorInfo { +impl core::ops::Deref for IAMExtendedErrorInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -960,7 +960,7 @@ pub struct IAMExtendedErrorInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMExtendedSeeking, IAMExtendedSeeking_Vtbl, 0xfa2aa8f9_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMExtendedSeeking { +impl core::ops::Deref for IAMExtendedSeeking { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1005,7 +1005,7 @@ pub struct IAMExtendedSeeking_Vtbl { pub PlaybackSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMFilterGraphCallback, IAMFilterGraphCallback_Vtbl, 0x56a868fd_0ad4_11ce_b0a3_0020af0ba770); -impl std::ops::Deref for IAMFilterGraphCallback { +impl core::ops::Deref for IAMFilterGraphCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1026,7 +1026,7 @@ pub struct IAMFilterGraphCallback_Vtbl { pub UnableToRender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMFilterMiscFlags, IAMFilterMiscFlags_Vtbl, 0x2dd74950_a890_11d1_abe8_00a0c905f375); -impl std::ops::Deref for IAMFilterMiscFlags { +impl core::ops::Deref for IAMFilterMiscFlags { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1044,7 +1044,7 @@ pub struct IAMFilterMiscFlags_Vtbl { pub GetMiscFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(IAMGraphBuilderCallback, IAMGraphBuilderCallback_Vtbl, 0x4995f511_9ddb_4f12_bd3b_f04611807b79); -impl std::ops::Deref for IAMGraphBuilderCallback { +impl core::ops::Deref for IAMGraphBuilderCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1080,7 +1080,7 @@ pub struct IAMGraphBuilderCallback_Vtbl { CreatedFilter: usize, } windows_core::imp::define_interface!(IAMGraphStreams, IAMGraphStreams_Vtbl, 0x632105fa_072e_11d3_8af9_00c04fb6bd3d); -impl std::ops::Deref for IAMGraphStreams { +impl core::ops::Deref for IAMGraphStreams { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1112,7 +1112,7 @@ pub struct IAMGraphStreams_Vtbl { pub SetMaxGraphLatency: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMLatency, IAMLatency_Vtbl, 0x62ea93ba_ec62_11d2_b770_00c04fb6bd3d); -impl std::ops::Deref for IAMLatency { +impl core::ops::Deref for IAMLatency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1131,7 +1131,7 @@ pub struct IAMLatency_Vtbl { pub GetLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMLine21Decoder, IAMLine21Decoder_Vtbl, 0x6e8d4a21_310c_11d0_b79a_00aa003767a7); -impl std::ops::Deref for IAMLine21Decoder { +impl core::ops::Deref for IAMLine21Decoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1210,7 +1210,7 @@ pub struct IAMLine21Decoder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMMediaContent, IAMMediaContent_Vtbl, 0xfa2aa8f4_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMMediaContent { +impl core::ops::Deref for IAMMediaContent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1281,7 +1281,7 @@ pub struct IAMMediaContent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMMediaContent2, IAMMediaContent2_Vtbl, 0xce8f78c1_74d9_11d2_b09d_00a0c9a81117); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMMediaContent2 { +impl core::ops::Deref for IAMMediaContent2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1313,7 +1313,7 @@ pub struct IAMMediaContent2_Vtbl { pub PlaylistCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMMediaStream, IAMMediaStream_Vtbl, 0xbebe595d_9a6f_11d0_8fde_00c04fd9189d); -impl std::ops::Deref for IAMMediaStream { +impl core::ops::Deref for IAMMediaStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1363,7 +1363,7 @@ pub struct IAMMediaStream_Vtbl { pub JoinFilterGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMMediaTypeSample, IAMMediaTypeSample_Vtbl, 0xab6b4afb_f6e4_11d0_900d_00c04fd9189d); -impl std::ops::Deref for IAMMediaTypeSample { +impl core::ops::Deref for IAMMediaTypeSample { type Target = IStreamSample; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1464,7 +1464,7 @@ pub struct IAMMediaTypeSample_Vtbl { pub SetMediaTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const i64, *const i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMMediaTypeStream, IAMMediaTypeStream_Vtbl, 0xab6b4afa_f6e4_11d0_900d_00c04fd9189d); -impl std::ops::Deref for IAMMediaTypeStream { +impl core::ops::Deref for IAMMediaTypeStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1511,7 +1511,7 @@ pub struct IAMMediaTypeStream_Vtbl { pub SetStreamAllocatorRequirements: unsafe extern "system" fn(*mut core::ffi::c_void, *const ALLOCATOR_PROPERTIES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMMultiMediaStream, IAMMultiMediaStream_Vtbl, 0xbebe595c_9a6f_11d0_8fde_00c04fd9189d); -impl std::ops::Deref for IAMMultiMediaStream { +impl core::ops::Deref for IAMMultiMediaStream { type Target = IMultiMediaStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1579,7 +1579,7 @@ pub struct IAMMultiMediaStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMNetShowConfig, IAMNetShowConfig_Vtbl, 0xfa2aa8f1_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMNetShowConfig { +impl core::ops::Deref for IAMNetShowConfig { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1710,7 +1710,7 @@ pub struct IAMNetShowConfig_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMNetShowExProps, IAMNetShowExProps_Vtbl, 0xfa2aa8f5_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMNetShowExProps { +impl core::ops::Deref for IAMNetShowExProps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1765,7 +1765,7 @@ pub struct IAMNetShowExProps_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMNetShowPreroll, IAMNetShowPreroll_Vtbl, 0xaae7e4e2_6388_11d1_8d93_006097c9a2b2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMNetShowPreroll { +impl core::ops::Deref for IAMNetShowPreroll { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1795,7 +1795,7 @@ pub struct IAMNetShowPreroll_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMNetworkStatus, IAMNetworkStatus_Vtbl, 0xfa2aa8f3_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMNetworkStatus { +impl core::ops::Deref for IAMNetworkStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1840,7 +1840,7 @@ pub struct IAMNetworkStatus_Vtbl { pub BufferingProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMOpenProgress, IAMOpenProgress_Vtbl, 0x8e1c39a1_de53_11cf_aa63_0080c744528d); -impl std::ops::Deref for IAMOpenProgress { +impl core::ops::Deref for IAMOpenProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1862,7 +1862,7 @@ pub struct IAMOpenProgress_Vtbl { pub AbortOperation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMOverlayFX, IAMOverlayFX_Vtbl, 0x62fae250_7e65_4460_bfc9_6398b322073c); -impl std::ops::Deref for IAMOverlayFX { +impl core::ops::Deref for IAMOverlayFX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1890,7 +1890,7 @@ pub struct IAMOverlayFX_Vtbl { pub GetOverlayFX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMParse, IAMParse_Vtbl, 0xc47a3420_005c_11d2_9038_00a0c9697298); -impl std::ops::Deref for IAMParse { +impl core::ops::Deref for IAMParse { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1917,7 +1917,7 @@ pub struct IAMParse_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMPhysicalPinInfo, IAMPhysicalPinInfo_Vtbl, 0xf938c991_3029_11cf_8c44_00aa006b6814); -impl std::ops::Deref for IAMPhysicalPinInfo { +impl core::ops::Deref for IAMPhysicalPinInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1935,7 +1935,7 @@ pub struct IAMPhysicalPinInfo_Vtbl { pub GetPhysicalType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMPlayList, IAMPlayList_Vtbl, 0x56a868fe_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IAMPlayList { +impl core::ops::Deref for IAMPlayList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1975,7 +1975,7 @@ pub struct IAMPlayList_Vtbl { pub GetRepeatInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMPlayListItem, IAMPlayListItem_Vtbl, 0x56a868ff_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IAMPlayListItem { +impl core::ops::Deref for IAMPlayListItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2044,7 +2044,7 @@ pub struct IAMPlayListItem_Vtbl { pub GetScanDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMPluginControl, IAMPluginControl_Vtbl, 0x0e26a181_f40c_4635_8786_976284b52981); -impl std::ops::Deref for IAMPluginControl { +impl core::ops::Deref for IAMPluginControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2094,7 +2094,7 @@ pub struct IAMPluginControl_Vtbl { pub IsLegacyDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMPushSource, IAMPushSource_Vtbl, 0xf185fe76_e64e_11d2_b76e_00c04fb6bd3d); -impl std::ops::Deref for IAMPushSource { +impl core::ops::Deref for IAMPushSource { type Target = IAMLatency; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2135,7 +2135,7 @@ pub struct IAMPushSource_Vtbl { pub SetMaxStreamOffset: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMRebuild, IAMRebuild_Vtbl, 0x02ef04dd_7580_11d1_bece_00c04fb6e937); -impl std::ops::Deref for IAMRebuild { +impl core::ops::Deref for IAMRebuild { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2153,7 +2153,7 @@ pub struct IAMRebuild_Vtbl { pub RebuildNow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMResourceControl, IAMResourceControl_Vtbl, 0x8389d2d0_77d7_11d1_abe6_00a0c905f375); -impl std::ops::Deref for IAMResourceControl { +impl core::ops::Deref for IAMResourceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2173,7 +2173,7 @@ pub struct IAMResourceControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAMStats, IAMStats_Vtbl, 0xbc9bcf80_dcd2_11d2_abf6_00a0c905f375); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAMStats { +impl core::ops::Deref for IAMStats { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2222,7 +2222,7 @@ pub struct IAMStats_Vtbl { pub AddValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMStreamConfig, IAMStreamConfig_Vtbl, 0xc6e13340_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMStreamConfig { +impl core::ops::Deref for IAMStreamConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2265,7 +2265,7 @@ pub struct IAMStreamConfig_Vtbl { GetStreamCaps: usize, } windows_core::imp::define_interface!(IAMStreamControl, IAMStreamControl_Vtbl, 0x36b73881_c2c8_11cf_8b46_00805f6cef60); -impl std::ops::Deref for IAMStreamControl { +impl core::ops::Deref for IAMStreamControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2294,7 +2294,7 @@ pub struct IAMStreamControl_Vtbl { pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AM_STREAM_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMStreamSelect, IAMStreamSelect_Vtbl, 0xc1960960_17f5_11d1_abe1_00a0c905f375); -impl std::ops::Deref for IAMStreamSelect { +impl core::ops::Deref for IAMStreamSelect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2336,7 +2336,7 @@ pub struct IAMStreamSelect_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTVAudio, IAMTVAudio_Vtbl, 0x83ec1c30_23d1_11d1_99e6_00a0c9560266); -impl std::ops::Deref for IAMTVAudio { +impl core::ops::Deref for IAMTVAudio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2383,7 +2383,7 @@ pub struct IAMTVAudio_Vtbl { pub UnRegisterNotificationCallBack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTVAudioNotification, IAMTVAudioNotification_Vtbl, 0x83ec1c33_23d1_11d1_99e6_00a0c9560266); -impl std::ops::Deref for IAMTVAudioNotification { +impl core::ops::Deref for IAMTVAudioNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2401,7 +2401,7 @@ pub struct IAMTVAudioNotification_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, AMTVAudioEventType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTVTuner, IAMTVTuner_Vtbl, 0x211a8766_03ac_11d1_8d13_00aa00bd8339); -impl std::ops::Deref for IAMTVTuner { +impl core::ops::Deref for IAMTVTuner { type Target = IAMTuner; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2467,7 +2467,7 @@ pub struct IAMTVTuner_Vtbl { pub AudioFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTimecodeDisplay, IAMTimecodeDisplay_Vtbl, 0x9b496ce2_811b_11cf_8c77_00aa006b6814); -impl std::ops::Deref for IAMTimecodeDisplay { +impl core::ops::Deref for IAMTimecodeDisplay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2499,7 +2499,7 @@ pub struct IAMTimecodeDisplay_Vtbl { pub SetTCDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTimecodeGenerator, IAMTimecodeGenerator_Vtbl, 0x9b496ce0_811b_11cf_8c77_00aa006b6814); -impl std::ops::Deref for IAMTimecodeGenerator { +impl core::ops::Deref for IAMTimecodeGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2539,7 +2539,7 @@ pub struct IAMTimecodeGenerator_Vtbl { pub GetTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::TIMECODE_SAMPLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTimecodeReader, IAMTimecodeReader_Vtbl, 0x9b496ce1_811b_11cf_8c77_00aa006b6814); -impl std::ops::Deref for IAMTimecodeReader { +impl core::ops::Deref for IAMTimecodeReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2575,7 +2575,7 @@ pub struct IAMTimecodeReader_Vtbl { pub GetTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::TIMECODE_SAMPLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTuner, IAMTuner_Vtbl, 0x211a8761_03ac_11d1_8d13_00aa00bd8339); -impl std::ops::Deref for IAMTuner { +impl core::ops::Deref for IAMTuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2663,7 +2663,7 @@ pub struct IAMTuner_Vtbl { pub UnRegisterNotificationCallBack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMTunerNotification, IAMTunerNotification_Vtbl, 0x211a8760_03ac_11d1_8d13_00aa00bd8339); -impl std::ops::Deref for IAMTunerNotification { +impl core::ops::Deref for IAMTunerNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2681,7 +2681,7 @@ pub struct IAMTunerNotification_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, AMTunerEventType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVfwCaptureDialogs, IAMVfwCaptureDialogs_Vtbl, 0xd8d715a0_6e5e_11d0_b3f0_00aa003761c5); -impl std::ops::Deref for IAMVfwCaptureDialogs { +impl core::ops::Deref for IAMVfwCaptureDialogs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2710,7 +2710,7 @@ pub struct IAMVfwCaptureDialogs_Vtbl { pub SendDriverMessage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVfwCompressDialogs, IAMVfwCompressDialogs_Vtbl, 0xd8d715a3_6e5e_11d0_b3f0_00aa003761c5); -impl std::ops::Deref for IAMVfwCompressDialogs { +impl core::ops::Deref for IAMVfwCompressDialogs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2743,7 +2743,7 @@ pub struct IAMVfwCompressDialogs_Vtbl { pub SendDriverMessage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVideoAccelerator, IAMVideoAccelerator_Vtbl, 0x256a6a22_fbad_11d1_82bf_00a0c9696c8f); -impl std::ops::Deref for IAMVideoAccelerator { +impl core::ops::Deref for IAMVideoAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2827,7 +2827,7 @@ pub struct IAMVideoAccelerator_Vtbl { pub DisplayFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVideoAcceleratorNotify, IAMVideoAcceleratorNotify_Vtbl, 0x256a6a21_fbad_11d1_82bf_00a0c9696c8f); -impl std::ops::Deref for IAMVideoAcceleratorNotify { +impl core::ops::Deref for IAMVideoAcceleratorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2857,7 +2857,7 @@ pub struct IAMVideoAcceleratorNotify_Vtbl { pub GetCreateVideoAcceleratorData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVideoCompression, IAMVideoCompression_Vtbl, 0xc6e13343_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMVideoCompression { +impl core::ops::Deref for IAMVideoCompression { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2930,7 +2930,7 @@ pub struct IAMVideoCompression_Vtbl { pub OverrideFrameSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVideoControl, IAMVideoControl_Vtbl, 0x6a2e0670_28e4_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMVideoControl { +impl core::ops::Deref for IAMVideoControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2990,7 +2990,7 @@ pub struct IAMVideoControl_Vtbl { pub GetFrameRateList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::Foundation::SIZE, *mut i32, *mut *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVideoDecimationProperties, IAMVideoDecimationProperties_Vtbl, 0x60d32930_13da_11d3_9ec6_c4fcaef5c7be); -impl std::ops::Deref for IAMVideoDecimationProperties { +impl core::ops::Deref for IAMVideoDecimationProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3013,7 +3013,7 @@ pub struct IAMVideoDecimationProperties_Vtbl { pub SetDecimationUsage: unsafe extern "system" fn(*mut core::ffi::c_void, DECIMATION_USAGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMVideoProcAmp, IAMVideoProcAmp_Vtbl, 0xc6e13360_30ac_11d0_a18c_00a0c9118956); -impl std::ops::Deref for IAMVideoProcAmp { +impl core::ops::Deref for IAMVideoProcAmp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3039,7 +3039,7 @@ pub struct IAMVideoProcAmp_Vtbl { pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMWMBufferPass, IAMWMBufferPass_Vtbl, 0x6dd816d7_e740_4123_9e24_2444412644d8); -impl std::ops::Deref for IAMWMBufferPass { +impl core::ops::Deref for IAMWMBufferPass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3060,7 +3060,7 @@ pub struct IAMWMBufferPass_Vtbl { pub SetNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMWMBufferPassCallback, IAMWMBufferPassCallback_Vtbl, 0xb25b8372_d2d2_44b2_8653_1b8dae332489); -impl std::ops::Deref for IAMWMBufferPassCallback { +impl core::ops::Deref for IAMWMBufferPassCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3086,7 +3086,7 @@ pub struct IAMWMBufferPassCallback_Vtbl { Notify: usize, } windows_core::imp::define_interface!(IAMWstDecoder, IAMWstDecoder_Vtbl, 0xc056de21_75c2_11d3_a184_00105aef9f33); -impl std::ops::Deref for IAMWstDecoder { +impl core::ops::Deref for IAMWstDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3189,7 +3189,7 @@ pub struct IAMWstDecoder_Vtbl { pub SetCurrentPage: unsafe extern "system" fn(*mut core::ffi::c_void, AM_WST_PAGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAMovieSetup, IAMovieSetup_Vtbl, 0xa3d8cec0_7e5a_11cf_bbc5_00805f6cef20); -impl std::ops::Deref for IAMovieSetup { +impl core::ops::Deref for IAMovieSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3211,7 +3211,7 @@ pub struct IAMovieSetup_Vtbl { pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAsyncReader, IAsyncReader_Vtbl, 0x56a868aa_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IAsyncReader { +impl core::ops::Deref for IAsyncReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3267,7 +3267,7 @@ pub struct IAsyncReader_Vtbl { pub EndFlush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioData, IAudioData_Vtbl, 0x54c719c0_af60_11d0_8212_00c04fc32c45); -impl std::ops::Deref for IAudioData { +impl core::ops::Deref for IAudioData { type Target = IMemoryData; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3297,7 +3297,7 @@ pub struct IAudioData_Vtbl { SetFormat: usize, } windows_core::imp::define_interface!(IAudioMediaStream, IAudioMediaStream_Vtbl, 0xf7537560_a3be_11d0_8212_00c04fc32c45); -impl std::ops::Deref for IAudioMediaStream { +impl core::ops::Deref for IAudioMediaStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3335,7 +3335,7 @@ pub struct IAudioMediaStream_Vtbl { pub CreateSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioStreamSample, IAudioStreamSample_Vtbl, 0x345fee00_aba5_11d0_8212_00c04fc32c45); -impl std::ops::Deref for IAudioStreamSample { +impl core::ops::Deref for IAudioStreamSample { type Target = IStreamSample; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3354,7 +3354,7 @@ pub struct IAudioStreamSample_Vtbl { pub GetAudioData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_AUX, IBDA_AUX_Vtbl, 0x7def4c09_6e66_4567_a819_f0e17f4a81ab); -impl std::ops::Deref for IBDA_AUX { +impl core::ops::Deref for IBDA_AUX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3377,7 +3377,7 @@ pub struct IBDA_AUX_Vtbl { pub EnumCapability: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut windows_core::GUID, *mut u32, *mut u32, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_AutoDemodulate, IBDA_AutoDemodulate_Vtbl, 0xddf15b12_bd25_11d2_9ca0_00c04f7971e0); -impl std::ops::Deref for IBDA_AutoDemodulate { +impl core::ops::Deref for IBDA_AutoDemodulate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3395,7 +3395,7 @@ pub struct IBDA_AutoDemodulate_Vtbl { pub put_AutoDemodulate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_AutoDemodulateEx, IBDA_AutoDemodulateEx_Vtbl, 0x34518d13_1182_48e6_b28f_b24987787326); -impl std::ops::Deref for IBDA_AutoDemodulateEx { +impl core::ops::Deref for IBDA_AutoDemodulateEx { type Target = IBDA_AutoDemodulate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3421,7 +3421,7 @@ pub struct IBDA_AutoDemodulateEx_Vtbl { pub get_AuxInputCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_ConditionalAccess, IBDA_ConditionalAccess_Vtbl, 0xcd51f1e0_7be9_4123_8482_a2a796c0a6b0); -impl std::ops::Deref for IBDA_ConditionalAccess { +impl core::ops::Deref for IBDA_ConditionalAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3477,7 +3477,7 @@ pub struct IBDA_ConditionalAccess_Vtbl { pub InformUIClosed: unsafe extern "system" fn(*mut core::ffi::c_void, u8, UICloseReasonType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_ConditionalAccessEx, IBDA_ConditionalAccessEx_Vtbl, 0x497c3418_23cb_44ba_bb62_769f506fcea7); -impl std::ops::Deref for IBDA_ConditionalAccessEx { +impl core::ops::Deref for IBDA_ConditionalAccessEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3523,7 +3523,7 @@ pub struct IBDA_ConditionalAccessEx_Vtbl { pub CreateDialogRequestNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DRIDRMService, IBDA_DRIDRMService_Vtbl, 0x1f9bc2a5_44a3_4c52_aab1_0bbce5a1381d); -impl std::ops::Deref for IBDA_DRIDRMService { +impl core::ops::Deref for IBDA_DRIDRMService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3552,7 +3552,7 @@ pub struct IBDA_DRIDRMService_Vtbl { pub GetPairingStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BDA_DrmPairingError) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DRIWMDRMSession, IBDA_DRIWMDRMSession_Vtbl, 0x05c690f8_56db_4bb2_b053_79c12098bb26); -impl std::ops::Deref for IBDA_DRIWMDRMSession { +impl core::ops::Deref for IBDA_DRIWMDRMSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3594,7 +3594,7 @@ pub struct IBDA_DRIWMDRMSession_Vtbl { pub GetLastCardeaError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DRM, IBDA_DRM_Vtbl, 0xf98d88b0_1992_4cd6_a6d9_b9afab99330d); -impl std::ops::Deref for IBDA_DRM { +impl core::ops::Deref for IBDA_DRM { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3619,7 +3619,7 @@ pub struct IBDA_DRM_Vtbl { pub PerformDRMPairing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DRMService, IBDA_DRMService_Vtbl, 0xbff6b5bb_b0ae_484c_9dca_73528fb0b46e); -impl std::ops::Deref for IBDA_DRMService { +impl core::ops::Deref for IBDA_DRMService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3641,7 +3641,7 @@ pub struct IBDA_DRMService_Vtbl { pub GetDRMStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DeviceControl, IBDA_DeviceControl_Vtbl, 0xfd0a5af3_b41d_11d2_9c95_00c04f7971e0); -impl std::ops::Deref for IBDA_DeviceControl { +impl core::ops::Deref for IBDA_DeviceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3673,7 +3673,7 @@ pub struct IBDA_DeviceControl_Vtbl { #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::define_interface!(IBDA_DiagnosticProperties, IBDA_DiagnosticProperties_Vtbl, 0x20e80cb5_c543_4c1b_8eb3_49e719eee7d4); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl std::ops::Deref for IBDA_DiagnosticProperties { +impl core::ops::Deref for IBDA_DiagnosticProperties { type Target = super::super::System::Com::StructuredStorage::IPropertyBag; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3689,7 +3689,7 @@ pub struct IBDA_DiagnosticProperties_Vtbl { pub base__: super::super::System::Com::StructuredStorage::IPropertyBag_Vtbl, } windows_core::imp::define_interface!(IBDA_DigitalDemodulator, IBDA_DigitalDemodulator_Vtbl, 0xef30f379_985b_4d10_b640_a79d5e04e1e0); -impl std::ops::Deref for IBDA_DigitalDemodulator { +impl core::ops::Deref for IBDA_DigitalDemodulator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3759,7 +3759,7 @@ pub struct IBDA_DigitalDemodulator_Vtbl { pub SpectralInversion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpectralInversion) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DigitalDemodulator2, IBDA_DigitalDemodulator2_Vtbl, 0x525ed3ee_5cf3_4e1e_9a06_5368a84f9a6e); -impl std::ops::Deref for IBDA_DigitalDemodulator2 { +impl core::ops::Deref for IBDA_DigitalDemodulator2 { type Target = IBDA_DigitalDemodulator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3805,7 +3805,7 @@ pub struct IBDA_DigitalDemodulator2_Vtbl { pub Pilot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Pilot) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DigitalDemodulator3, IBDA_DigitalDemodulator3_Vtbl, 0x13f19604_7d32_4359_93a2_a05205d90ac9); -impl std::ops::Deref for IBDA_DigitalDemodulator3 { +impl core::ops::Deref for IBDA_DigitalDemodulator3 { type Target = IBDA_DigitalDemodulator2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3835,7 +3835,7 @@ pub struct IBDA_DigitalDemodulator3_Vtbl { pub PLPNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_DiseqCommand, IBDA_DiseqCommand_Vtbl, 0xf84e2ab0_3c6b_45e3_a0fc_8669d4b81f11); -impl std::ops::Deref for IBDA_DiseqCommand { +impl core::ops::Deref for IBDA_DiseqCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3879,7 +3879,7 @@ pub struct IBDA_DiseqCommand_Vtbl { pub get_DiseqResponse: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_EasMessage, IBDA_EasMessage_Vtbl, 0xd806973d_3ebe_46de_8fbb_6358fe784208); -impl std::ops::Deref for IBDA_EasMessage { +impl core::ops::Deref for IBDA_EasMessage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3897,7 +3897,7 @@ pub struct IBDA_EasMessage_Vtbl { pub get_EasMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_Encoder, IBDA_Encoder_Vtbl, 0x3a8bad59_59fe_4559_a0ba_396cfaa98ae3); -impl std::ops::Deref for IBDA_Encoder { +impl core::ops::Deref for IBDA_Encoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3931,7 +3931,7 @@ pub struct IBDA_Encoder_Vtbl { pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u64, *mut super::super::Foundation::BOOL, *mut i32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_EthernetFilter, IBDA_EthernetFilter_Vtbl, 0x71985f43_1ca1_11d3_9cc8_00c04f7971e0); -impl std::ops::Deref for IBDA_EthernetFilter { +impl core::ops::Deref for IBDA_EthernetFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3966,7 +3966,7 @@ pub struct IBDA_EthernetFilter_Vtbl { pub GetMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_EventingService, IBDA_EventingService_Vtbl, 0x207c413f_00dc_4c61_bad6_6fee1ff07064); -impl std::ops::Deref for IBDA_EventingService { +impl core::ops::Deref for IBDA_EventingService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3984,7 +3984,7 @@ pub struct IBDA_EventingService_Vtbl { pub CompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_FDC, IBDA_FDC_Vtbl, 0x138adc7e_58ae_437f_b0b4_c9fe19d5b4ac); -impl std::ops::Deref for IBDA_FDC { +impl core::ops::Deref for IBDA_FDC { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4043,7 +4043,7 @@ pub struct IBDA_FDC_Vtbl { pub GetTableSection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_FrequencyFilter, IBDA_FrequencyFilter_Vtbl, 0x71985f47_1ca1_11d3_9cc8_00c04f7971e0); -impl std::ops::Deref for IBDA_FrequencyFilter { +impl core::ops::Deref for IBDA_FrequencyFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4105,7 +4105,7 @@ pub struct IBDA_FrequencyFilter_Vtbl { pub FrequencyMultiplier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_GuideDataDeliveryService, IBDA_GuideDataDeliveryService_Vtbl, 0xc0afcb73_23e7_4bc6_bafa_fdc167b4719f); -impl std::ops::Deref for IBDA_GuideDataDeliveryService { +impl core::ops::Deref for IBDA_GuideDataDeliveryService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4149,7 +4149,7 @@ pub struct IBDA_GuideDataDeliveryService_Vtbl { pub GetServiceInfoFromTuneXml: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_IPSinkControl, IBDA_IPSinkControl_Vtbl, 0x3f4dc8e2_4050_11d3_8f4b_00c04f7971e2); -impl std::ops::Deref for IBDA_IPSinkControl { +impl core::ops::Deref for IBDA_IPSinkControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4171,7 +4171,7 @@ pub struct IBDA_IPSinkControl_Vtbl { pub GetAdapterIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_IPSinkInfo, IBDA_IPSinkInfo_Vtbl, 0xa750108f_492e_4d51_95f7_649b23ff7ad7); -impl std::ops::Deref for IBDA_IPSinkInfo { +impl core::ops::Deref for IBDA_IPSinkInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4199,7 +4199,7 @@ pub struct IBDA_IPSinkInfo_Vtbl { pub AdapterDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_IPV4Filter, IBDA_IPV4Filter_Vtbl, 0x71985f44_1ca1_11d3_9cc8_00c04f7971e0); -impl std::ops::Deref for IBDA_IPV4Filter { +impl core::ops::Deref for IBDA_IPV4Filter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4234,7 +4234,7 @@ pub struct IBDA_IPV4Filter_Vtbl { pub GetMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_IPV6Filter, IBDA_IPV6Filter_Vtbl, 0xe1785a74_2a23_4fb3_9245_a8f88017ef33); -impl std::ops::Deref for IBDA_IPV6Filter { +impl core::ops::Deref for IBDA_IPV6Filter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4269,7 +4269,7 @@ pub struct IBDA_IPV6Filter_Vtbl { pub GetMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_ISDBConditionalAccess, IBDA_ISDBConditionalAccess_Vtbl, 0x5e68c627_16c2_4e6c_b1e2_d00170cdaa0f); -impl std::ops::Deref for IBDA_ISDBConditionalAccess { +impl core::ops::Deref for IBDA_ISDBConditionalAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4287,7 +4287,7 @@ pub struct IBDA_ISDBConditionalAccess_Vtbl { pub SetIsdbCasRequest: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_LNBInfo, IBDA_LNBInfo_Vtbl, 0x992cf102_49f9_4719_a664_c4f23e2408f4); -impl std::ops::Deref for IBDA_LNBInfo { +impl core::ops::Deref for IBDA_LNBInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4325,7 +4325,7 @@ pub struct IBDA_LNBInfo_Vtbl { pub HighLowSwitchFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_MUX, IBDA_MUX_Vtbl, 0x942aafec_4c05_4c74_b8eb_8706c2a4943f); -impl std::ops::Deref for IBDA_MUX { +impl core::ops::Deref for IBDA_MUX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4347,7 +4347,7 @@ pub struct IBDA_MUX_Vtbl { pub GetPidList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut BDA_MUX_PIDLISTITEM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_NameValueService, IBDA_NameValueService_Vtbl, 0x7f0b3150_7b81_4ad4_98e3_7e9097094301); -impl std::ops::Deref for IBDA_NameValueService { +impl core::ops::Deref for IBDA_NameValueService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4384,7 +4384,7 @@ pub struct IBDA_NameValueService_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_NetworkProvider, IBDA_NetworkProvider_Vtbl, 0xfd501041_8ebe_11ce_8183_00aa00577da2); -impl std::ops::Deref for IBDA_NetworkProvider { +impl core::ops::Deref for IBDA_NetworkProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4429,7 +4429,7 @@ pub struct IBDA_NetworkProvider_Vtbl { pub UnRegisterDeviceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_NullTransform, IBDA_NullTransform_Vtbl, 0xddf15b0d_bd25_11d2_9ca0_00c04f7971e0); -impl std::ops::Deref for IBDA_NullTransform { +impl core::ops::Deref for IBDA_NullTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4451,7 +4451,7 @@ pub struct IBDA_NullTransform_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_PinControl, IBDA_PinControl_Vtbl, 0x0ded49d5_a8b7_4d5d_97a1_12b0c195874d); -impl std::ops::Deref for IBDA_PinControl { +impl core::ops::Deref for IBDA_PinControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4477,7 +4477,7 @@ pub struct IBDA_PinControl_Vtbl { pub RegistrationContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_SignalProperties, IBDA_SignalProperties_Vtbl, 0xd2f1644b_b409_11d2_bc69_00a0c9ee9e16); -impl std::ops::Deref for IBDA_SignalProperties { +impl core::ops::Deref for IBDA_SignalProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4515,7 +4515,7 @@ pub struct IBDA_SignalProperties_Vtbl { pub GetTuningSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_SignalStatistics, IBDA_SignalStatistics_Vtbl, 0x1347d106_cf3a_428a_a5cb_ac0d9a2a4338); -impl std::ops::Deref for IBDA_SignalStatistics { +impl core::ops::Deref for IBDA_SignalStatistics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4575,7 +4575,7 @@ pub struct IBDA_SignalStatistics_Vtbl { pub SampleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_Topology, IBDA_Topology_Vtbl, 0x79b56888_7fea_4690_b45d_38fd3c7849be); -impl std::ops::Deref for IBDA_Topology { +impl core::ops::Deref for IBDA_Topology { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4637,7 +4637,7 @@ pub struct IBDA_Topology_Vtbl { pub GetControlNode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_TransportStreamInfo, IBDA_TransportStreamInfo_Vtbl, 0x8e882535_5f86_47ab_86cf_c281a72a0549); -impl std::ops::Deref for IBDA_TransportStreamInfo { +impl core::ops::Deref for IBDA_TransportStreamInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4656,7 +4656,7 @@ pub struct IBDA_TransportStreamInfo_Vtbl { pub PatTableTickCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_TransportStreamSelector, IBDA_TransportStreamSelector_Vtbl, 0x1dcfafe9_b45e_41b3_bb2a_561eb129ae98); -impl std::ops::Deref for IBDA_TransportStreamSelector { +impl core::ops::Deref for IBDA_TransportStreamSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4678,7 +4678,7 @@ pub struct IBDA_TransportStreamSelector_Vtbl { pub GetTSInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_UserActivityService, IBDA_UserActivityService_Vtbl, 0x53b14189_e478_4b7a_a1ff_506db4b99dfe); -impl std::ops::Deref for IBDA_UserActivityService { +impl core::ops::Deref for IBDA_UserActivityService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4705,7 +4705,7 @@ pub struct IBDA_UserActivityService_Vtbl { pub UserActivityDetected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_VoidTransform, IBDA_VoidTransform_Vtbl, 0x71985f46_1ca1_11d3_9cc8_00c04f7971e0); -impl std::ops::Deref for IBDA_VoidTransform { +impl core::ops::Deref for IBDA_VoidTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4727,7 +4727,7 @@ pub struct IBDA_VoidTransform_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_WMDRMSession, IBDA_WMDRMSession_Vtbl, 0x4be6fa3d_07cd_4139_8b80_8c18ba3aec88); -impl std::ops::Deref for IBDA_WMDRMSession { +impl core::ops::Deref for IBDA_WMDRMSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4773,7 +4773,7 @@ pub struct IBDA_WMDRMSession_Vtbl { pub GetKeyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBDA_WMDRMTuner, IBDA_WMDRMTuner_Vtbl, 0x86d979cf_a8a7_4f94_b5fb_14c0aca68fe6); -impl std::ops::Deref for IBDA_WMDRMTuner { +impl core::ops::Deref for IBDA_WMDRMTuner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4815,7 +4815,7 @@ pub struct IBDA_WMDRMTuner_Vtbl { pub GetStartCodeProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBPCSatelliteTuner, IBPCSatelliteTuner_Vtbl, 0x211a8765_03ac_11d1_8d13_00aa00bd8339); -impl std::ops::Deref for IBPCSatelliteTuner { +impl core::ops::Deref for IBPCSatelliteTuner { type Target = IAMTuner; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4843,7 +4843,7 @@ pub struct IBPCSatelliteTuner_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBaseFilter, IBaseFilter_Vtbl, 0x56a86895_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBaseFilter { +impl core::ops::Deref for IBaseFilter { type Target = IMediaFilter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4890,7 +4890,7 @@ pub struct IBaseFilter_Vtbl { pub QueryVendorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBaseVideoMixer, IBaseVideoMixer_Vtbl, 0x61ded640_e912_11ce_a099_00aa00479a58); -impl std::ops::Deref for IBaseVideoMixer { +impl core::ops::Deref for IBaseVideoMixer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4938,7 +4938,7 @@ pub struct IBaseVideoMixer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBasicAudio, IBasicAudio_Vtbl, 0x56a868b3_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBasicAudio { +impl core::ops::Deref for IBasicAudio { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4975,7 +4975,7 @@ pub struct IBasicAudio_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBasicVideo, IBasicVideo_Vtbl, 0x56a868b5_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBasicVideo { +impl core::ops::Deref for IBasicVideo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5135,7 +5135,7 @@ pub struct IBasicVideo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBasicVideo2, IBasicVideo2_Vtbl, 0x329bb360_f6ea_11d1_9038_00a0c9697298); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBasicVideo2 { +impl core::ops::Deref for IBasicVideo2 { type Target = IBasicVideo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5156,7 +5156,7 @@ pub struct IBasicVideo2_Vtbl { pub GetPreferredAspectRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBroadcastEvent, IBroadcastEvent_Vtbl, 0x3b21263f_26e8_489d_aac4_924f7efd9511); -impl std::ops::Deref for IBroadcastEvent { +impl core::ops::Deref for IBroadcastEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5174,7 +5174,7 @@ pub struct IBroadcastEvent_Vtbl { pub Fire: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBroadcastEventEx, IBroadcastEventEx_Vtbl, 0x3d9e3887_1929_423f_8021_43682de95448); -impl std::ops::Deref for IBroadcastEventEx { +impl core::ops::Deref for IBroadcastEventEx { type Target = IBroadcastEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5192,7 +5192,7 @@ pub struct IBroadcastEventEx_Vtbl { pub FireEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBufferingTime, IBufferingTime_Vtbl, 0x1e00486a_78dd_11d2_8dd3_006097c9a2b2); -impl std::ops::Deref for IBufferingTime { +impl core::ops::Deref for IBufferingTime { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5214,7 +5214,7 @@ pub struct IBufferingTime_Vtbl { pub SetBufferingTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICCSubStreamFiltering, ICCSubStreamFiltering_Vtbl, 0x4b2bd7ea_8347_467b_8dbf_62f784929cc3); -impl std::ops::Deref for ICCSubStreamFiltering { +impl core::ops::Deref for ICCSubStreamFiltering { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5237,7 +5237,7 @@ pub struct ICCSubStreamFiltering_Vtbl { pub SetSubstreamTypes: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICameraControl, ICameraControl_Vtbl, 0x2ba1785d_4d1b_44ef_85e8_c7f1d3f20184); -impl std::ops::Deref for ICameraControl { +impl core::ops::Deref for ICameraControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5455,7 +5455,7 @@ pub struct ICameraControl_Vtbl { pub put_PrivacyMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICaptureGraphBuilder, ICaptureGraphBuilder_Vtbl, 0xbf87b6e0_8c27_11d0_b3f0_00aa003761c5); -impl std::ops::Deref for ICaptureGraphBuilder { +impl core::ops::Deref for ICaptureGraphBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5543,7 +5543,7 @@ pub struct ICaptureGraphBuilder_Vtbl { pub CopyCaptureFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICaptureGraphBuilder2, ICaptureGraphBuilder2_Vtbl, 0x93e5a4e0_2d50_11d2_abfa_00a0c9c6e38d); -impl std::ops::Deref for ICaptureGraphBuilder2 { +impl core::ops::Deref for ICaptureGraphBuilder2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5640,7 +5640,7 @@ pub struct ICaptureGraphBuilder2_Vtbl { pub FindPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, PIN_DIRECTION, *const windows_core::GUID, *const windows_core::GUID, super::super::Foundation::BOOL, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConfigAsfWriter, IConfigAsfWriter_Vtbl, 0x45086030_f7e4_486a_b504_826bb5792a3b); -impl std::ops::Deref for IConfigAsfWriter { +impl core::ops::Deref for IConfigAsfWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5704,7 +5704,7 @@ pub struct IConfigAsfWriter_Vtbl { pub GetIndexMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConfigAsfWriter2, IConfigAsfWriter2_Vtbl, 0x7989ccaa_53f0_44f0_884a_f3b03f6ae066); -impl std::ops::Deref for IConfigAsfWriter2 { +impl core::ops::Deref for IConfigAsfWriter2 { type Target = IConfigAsfWriter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5738,7 +5738,7 @@ pub struct IConfigAsfWriter2_Vtbl { pub ResetMultiPassState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConfigAviMux, IConfigAviMux_Vtbl, 0x5acd6aa0_f482_11ce_8b67_00aa00a3f1a6); -impl std::ops::Deref for IConfigAviMux { +impl core::ops::Deref for IConfigAviMux { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5773,7 +5773,7 @@ pub struct IConfigAviMux_Vtbl { pub GetOutputCompatibilityIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConfigInterleaving, IConfigInterleaving_Vtbl, 0xbee3d220_157b_11d0_bd23_00a0c911ce86); -impl std::ops::Deref for IConfigInterleaving { +impl core::ops::Deref for IConfigInterleaving { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5804,7 +5804,7 @@ pub struct IConfigInterleaving_Vtbl { pub get_Interleaving: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateDevEnum, ICreateDevEnum_Vtbl, 0x29840822_5b84_11d0_bd3b_00a0c911ce86); -impl std::ops::Deref for ICreateDevEnum { +impl core::ops::Deref for ICreateDevEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5826,7 +5826,7 @@ pub struct ICreateDevEnum_Vtbl { CreateClassEnumerator: usize, } windows_core::imp::define_interface!(IDDrawExclModeVideo, IDDrawExclModeVideo_Vtbl, 0x153acc21_d83b_11d1_82bf_00a0c9696c8f); -impl std::ops::Deref for IDDrawExclModeVideo { +impl core::ops::Deref for IDDrawExclModeVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5893,7 +5893,7 @@ pub struct IDDrawExclModeVideo_Vtbl { pub SetCallbackInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDDrawExclModeVideoCallback, IDDrawExclModeVideoCallback_Vtbl, 0x913c24a0_20ab_11d2_9038_00a0c9697298); -impl std::ops::Deref for IDDrawExclModeVideoCallback { +impl core::ops::Deref for IDDrawExclModeVideoCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5924,7 +5924,7 @@ pub struct IDDrawExclModeVideoCallback_Vtbl { pub OnUpdateSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDMOWrapperFilter, IDMOWrapperFilter_Vtbl, 0x52d6f586_9f0f_4824_8fc8_e32ca04930c2); -impl std::ops::Deref for IDMOWrapperFilter { +impl core::ops::Deref for IDMOWrapperFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5942,7 +5942,7 @@ pub struct IDMOWrapperFilter_Vtbl { pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDShowPlugin, IDShowPlugin_Vtbl, 0x4746b7c8_700e_11d1_becc_00c04fb6e937); -impl std::ops::Deref for IDShowPlugin { +impl core::ops::Deref for IDShowPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5964,7 +5964,7 @@ pub struct IDShowPlugin_Vtbl { pub UserAgent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVEnc, IDVEnc_Vtbl, 0xd18e17a0_aacb_11d0_afb0_00aa00b67a42); -impl std::ops::Deref for IDVEnc { +impl core::ops::Deref for IDVEnc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5986,7 +5986,7 @@ pub struct IDVEnc_Vtbl { pub put_IFormatResolution: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, u8, *const DVINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVRGB219, IDVRGB219_Vtbl, 0x58473a19_2bc8_4663_8012_25f81babddd1); -impl std::ops::Deref for IDVRGB219 { +impl core::ops::Deref for IDVRGB219 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6007,7 +6007,7 @@ pub struct IDVRGB219_Vtbl { pub SetRGB219: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDVSplitter, IDVSplitter_Vtbl, 0x92a3a302_da7c_4a1f_ba7e_1802bb5d2d02); -impl std::ops::Deref for IDVSplitter { +impl core::ops::Deref for IDVSplitter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6025,7 +6025,7 @@ pub struct IDVSplitter_Vtbl { pub DiscardAlternateVideoFrames: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDecimateVideoImage, IDecimateVideoImage_Vtbl, 0x2e5ea3e0_e924_11d2_b6da_00a0c995e8df); -impl std::ops::Deref for IDecimateVideoImage { +impl core::ops::Deref for IDecimateVideoImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6047,7 +6047,7 @@ pub struct IDecimateVideoImage_Vtbl { pub ResetDecimationImageSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeferredCommand, IDeferredCommand_Vtbl, 0x56a868b8_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IDeferredCommand { +impl core::ops::Deref for IDeferredCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6079,7 +6079,7 @@ pub struct IDeferredCommand_Vtbl { pub GetHResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawMediaSample, IDirectDrawMediaSample_Vtbl, 0xab6b4afe_f6e4_11d0_900d_00c04fd9189d); -impl std::ops::Deref for IDirectDrawMediaSample { +impl core::ops::Deref for IDirectDrawMediaSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6105,7 +6105,7 @@ pub struct IDirectDrawMediaSample_Vtbl { pub LockMediaSamplePointer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawMediaSampleAllocator, IDirectDrawMediaSampleAllocator_Vtbl, 0xab6b4afc_f6e4_11d0_900d_00c04fd9189d); -impl std::ops::Deref for IDirectDrawMediaSampleAllocator { +impl core::ops::Deref for IDirectDrawMediaSampleAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6128,7 +6128,7 @@ pub struct IDirectDrawMediaSampleAllocator_Vtbl { GetDirectDraw: usize, } windows_core::imp::define_interface!(IDirectDrawMediaStream, IDirectDrawMediaStream_Vtbl, 0xf4104fce_9a70_11d0_8fde_00c04fd9189d); -impl std::ops::Deref for IDirectDrawMediaStream { +impl core::ops::Deref for IDirectDrawMediaStream { type Target = IMediaStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6198,7 +6198,7 @@ pub struct IDirectDrawMediaStream_Vtbl { pub GetTimePerFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawStreamSample, IDirectDrawStreamSample_Vtbl, 0xf4104fcf_9a70_11d0_8fde_00c04fd9189d); -impl std::ops::Deref for IDirectDrawStreamSample { +impl core::ops::Deref for IDirectDrawStreamSample { type Target = IStreamSample; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6224,7 +6224,7 @@ pub struct IDirectDrawStreamSample_Vtbl { pub SetRect: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectDrawVideo, IDirectDrawVideo_Vtbl, 0x36d39eb0_dd75_11ce_bf0e_00aa0055595a); -impl std::ops::Deref for IDirectDrawVideo { +impl core::ops::Deref for IDirectDrawVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6331,7 +6331,7 @@ pub struct IDirectDrawVideo_Vtbl { pub WillUseFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDistributorNotify, IDistributorNotify_Vtbl, 0x56a868af_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IDistributorNotify { +impl core::ops::Deref for IDistributorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6368,7 +6368,7 @@ pub struct IDistributorNotify_Vtbl { pub NotifyGraphChange: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDrawVideoImage, IDrawVideoImage_Vtbl, 0x48efb120_ab49_11d2_aed2_00a0c995e8d5); -impl std::ops::Deref for IDrawVideoImage { +impl core::ops::Deref for IDrawVideoImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6401,7 +6401,7 @@ pub struct IDrawVideoImage_Vtbl { DrawVideoImageDraw: usize, } windows_core::imp::define_interface!(IDvdCmd, IDvdCmd_Vtbl, 0x5a4a97e4_94ee_4a55_9751_74b5643aa27d); -impl std::ops::Deref for IDvdCmd { +impl core::ops::Deref for IDvdCmd { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6423,7 +6423,7 @@ pub struct IDvdCmd_Vtbl { pub WaitForEnd: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvdControl, IDvdControl_Vtbl, 0xa70efe61_e2a3_11d0_a9be_00aa0061be93); -impl std::ops::Deref for IDvdControl { +impl core::ops::Deref for IDvdControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6583,7 +6583,7 @@ pub struct IDvdControl_Vtbl { pub ChapterPlayAutoStop: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvdControl2, IDvdControl2_Vtbl, 0x33bc7430_eec0_11d2_8201_00a0c9d74842); -impl std::ops::Deref for IDvdControl2 { +impl core::ops::Deref for IDvdControl2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6796,7 +6796,7 @@ pub struct IDvdControl2_Vtbl { pub SelectDefaultSubpictureLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, DVD_SUBPICTURE_LANG_EXT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvdGraphBuilder, IDvdGraphBuilder_Vtbl, 0xfcc152b6_f372_11d0_8e00_00c04fd7c08b); -impl std::ops::Deref for IDvdGraphBuilder { +impl core::ops::Deref for IDvdGraphBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6826,7 +6826,7 @@ pub struct IDvdGraphBuilder_Vtbl { pub RenderDvdVideoVolume: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut AM_DVD_RENDERSTATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvdInfo, IDvdInfo_Vtbl, 0xa70efe60_e2a3_11d0_a9be_00aa0061be93); -impl std::ops::Deref for IDvdInfo { +impl core::ops::Deref for IDvdInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6945,7 +6945,7 @@ pub struct IDvdInfo_Vtbl { pub GetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvdInfo2, IDvdInfo2_Vtbl, 0x34151510_eec0_11d2_8201_00a0c9d74842); -impl std::ops::Deref for IDvdInfo2 { +impl core::ops::Deref for IDvdInfo2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7137,7 +7137,7 @@ pub struct IDvdInfo2_Vtbl { pub IsSubpictureStreamEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDvdState, IDvdState_Vtbl, 0x86303d6d_1c4a_4087_ab42_f711167048ef); -impl std::ops::Deref for IDvdState { +impl core::ops::Deref for IDvdState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7161,7 +7161,7 @@ pub struct IDvdState_Vtbl { pub GetParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESEvent, IESEvent_Vtbl, 0x1f0e5357_af43_44e6_8547_654c645145d2); -impl std::ops::Deref for IESEvent { +impl core::ops::Deref for IESEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7203,7 +7203,7 @@ pub struct IESEvent_Vtbl { pub GetStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IESEvents, IESEvents_Vtbl, 0xabd414bf_cfe5_4e5e_af5b_4b4e49c5bfeb); -impl std::ops::Deref for IESEvents { +impl core::ops::Deref for IESEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7224,7 +7224,7 @@ pub struct IESEvents_Vtbl { pub OnESEventReceived: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEncoderAPI, IEncoderAPI_Vtbl, 0x70423839_6acc_4b23_b079_21dbf08156a5); -impl std::ops::Deref for IEncoderAPI { +impl core::ops::Deref for IEncoderAPI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7268,7 +7268,7 @@ pub struct IEncoderAPI_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumFilters, IEnumFilters_Vtbl, 0x56a86893_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IEnumFilters { +impl core::ops::Deref for IEnumFilters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7303,7 +7303,7 @@ pub struct IEnumFilters_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumMediaTypes, IEnumMediaTypes_Vtbl, 0x89c31040_846b_11ce_97d3_00aa0055595a); -impl std::ops::Deref for IEnumMediaTypes { +impl core::ops::Deref for IEnumMediaTypes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7338,7 +7338,7 @@ pub struct IEnumMediaTypes_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPIDMap, IEnumPIDMap_Vtbl, 0xafb6c2a2_2c41_11d3_8a60_0000f81e0e4a); -impl std::ops::Deref for IEnumPIDMap { +impl core::ops::Deref for IEnumPIDMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7369,7 +7369,7 @@ pub struct IEnumPIDMap_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPins, IEnumPins_Vtbl, 0x56a86892_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IEnumPins { +impl core::ops::Deref for IEnumPins { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7400,7 +7400,7 @@ pub struct IEnumPins_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumRegFilters, IEnumRegFilters_Vtbl, 0x56a868a4_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IEnumRegFilters { +impl core::ops::Deref for IEnumRegFilters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7431,7 +7431,7 @@ pub struct IEnumRegFilters_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumStreamIdMap, IEnumStreamIdMap_Vtbl, 0x945c1566_6202_46fc_96c7_d87f289c6534); -impl std::ops::Deref for IEnumStreamIdMap { +impl core::ops::Deref for IEnumStreamIdMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7462,7 +7462,7 @@ pub struct IEnumStreamIdMap_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSinkFilter, IFileSinkFilter_Vtbl, 0xa2104830_7c70_11cf_8bce_00aa00a3f1a6); -impl std::ops::Deref for IFileSinkFilter { +impl core::ops::Deref for IFileSinkFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7495,7 +7495,7 @@ pub struct IFileSinkFilter_Vtbl { GetCurFile: usize, } windows_core::imp::define_interface!(IFileSinkFilter2, IFileSinkFilter2_Vtbl, 0x00855b90_ce1b_11d0_bd4f_00a0c911ce86); -impl std::ops::Deref for IFileSinkFilter2 { +impl core::ops::Deref for IFileSinkFilter2 { type Target = IFileSinkFilter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7518,7 +7518,7 @@ pub struct IFileSinkFilter2_Vtbl { pub GetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSourceFilter, IFileSourceFilter_Vtbl, 0x56a868a6_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IFileSourceFilter { +impl core::ops::Deref for IFileSourceFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7551,7 +7551,7 @@ pub struct IFileSourceFilter_Vtbl { GetCurFile: usize, } windows_core::imp::define_interface!(IFilterChain, IFilterChain_Vtbl, 0xdcfbdcf6_0dc2_45f5_9ab2_7c330ea09c29); -impl std::ops::Deref for IFilterChain { +impl core::ops::Deref for IFilterChain { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7613,7 +7613,7 @@ pub struct IFilterChain_Vtbl { RemoveChain: usize, } windows_core::imp::define_interface!(IFilterGraph, IFilterGraph_Vtbl, 0x56a8689f_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IFilterGraph { +impl core::ops::Deref for IFilterGraph { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7697,7 +7697,7 @@ pub struct IFilterGraph_Vtbl { pub SetDefaultSyncSource: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterGraph2, IFilterGraph2_Vtbl, 0x36b73882_c2c8_11cf_8b46_00805f6cef60); -impl std::ops::Deref for IFilterGraph2 { +impl core::ops::Deref for IFilterGraph2 { type Target = IGraphBuilder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7743,7 +7743,7 @@ pub struct IFilterGraph2_Vtbl { pub RenderEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterGraph3, IFilterGraph3_Vtbl, 0xaaf38154_b80b_422f_91e6_b66467509a07); -impl std::ops::Deref for IFilterGraph3 { +impl core::ops::Deref for IFilterGraph3 { type Target = IFilterGraph2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7772,7 +7772,7 @@ pub struct IFilterGraph3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFilterInfo, IFilterInfo_Vtbl, 0x56a868ba_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFilterInfo { +impl core::ops::Deref for IFilterInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7842,7 +7842,7 @@ pub struct IFilterInfo_Vtbl { pub SetFilename: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterMapper, IFilterMapper_Vtbl, 0x56a868a3_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IFilterMapper { +impl core::ops::Deref for IFilterMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7914,7 +7914,7 @@ pub struct IFilterMapper_Vtbl { pub EnumMatchingFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, super::super::Foundation::BOOL, windows_core::GUID, windows_core::GUID, super::super::Foundation::BOOL, super::super::Foundation::BOOL, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterMapper2, IFilterMapper2_Vtbl, 0xb79bb0b0_33c1_11d1_abe1_00a0c905f375); -impl std::ops::Deref for IFilterMapper2 { +impl core::ops::Deref for IFilterMapper2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7986,7 +7986,7 @@ pub struct IFilterMapper2_Vtbl { EnumMatchingFilters: usize, } windows_core::imp::define_interface!(IFilterMapper3, IFilterMapper3_Vtbl, 0xb79bb0b1_33c1_11d1_abe1_00a0c905f375); -impl std::ops::Deref for IFilterMapper3 { +impl core::ops::Deref for IFilterMapper3 { type Target = IFilterMapper2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8005,7 +8005,7 @@ pub struct IFilterMapper3_Vtbl { pub GetICreateDevEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFrequencyMap, IFrequencyMap_Vtbl, 0x06fb45c1_693c_4ea7_b79f_7a6a54d8def2); -impl std::ops::Deref for IFrequencyMap { +impl core::ops::Deref for IFrequencyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8044,7 +8044,7 @@ pub struct IFrequencyMap_Vtbl { pub get_CountryCodeList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFullScreenVideo, IFullScreenVideo_Vtbl, 0xdd1d7110_7836_11cf_bf47_00aa0055595a); -impl std::ops::Deref for IFullScreenVideo { +impl core::ops::Deref for IFullScreenVideo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8138,7 +8138,7 @@ pub struct IFullScreenVideo_Vtbl { pub SetDefault: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFullScreenVideoEx, IFullScreenVideoEx_Vtbl, 0x53479470_f1dd_11cf_bc42_00aa00ac74f6); -impl std::ops::Deref for IFullScreenVideoEx { +impl core::ops::Deref for IFullScreenVideoEx { type Target = IFullScreenVideo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8181,7 +8181,7 @@ pub struct IFullScreenVideoEx_Vtbl { pub IsKeepPixelAspectRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetCapabilitiesKey, IGetCapabilitiesKey_Vtbl, 0xa8809222_07bb_48ea_951c_33158100625b); -impl std::ops::Deref for IGetCapabilitiesKey { +impl core::ops::Deref for IGetCapabilitiesKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8204,7 +8204,7 @@ pub struct IGetCapabilitiesKey_Vtbl { GetCapabilitiesKey: usize, } windows_core::imp::define_interface!(IGraphBuilder, IGraphBuilder_Vtbl, 0x56a868a9_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IGraphBuilder { +impl core::ops::Deref for IGraphBuilder { type Target = IFilterGraph; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8266,7 +8266,7 @@ pub struct IGraphBuilder_Vtbl { pub ShouldOperationContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGraphConfig, IGraphConfig_Vtbl, 0x03a1eb8e_32bf_4245_8502_114d08a9cb88); -impl std::ops::Deref for IGraphConfig { +impl core::ops::Deref for IGraphConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8377,7 +8377,7 @@ pub struct IGraphConfig_Vtbl { RemoveFilterEx: usize, } windows_core::imp::define_interface!(IGraphConfigCallback, IGraphConfigCallback_Vtbl, 0xade0fd60_d19d_11d2_abf6_00a0c905f375); -impl std::ops::Deref for IGraphConfigCallback { +impl core::ops::Deref for IGraphConfigCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8395,7 +8395,7 @@ pub struct IGraphConfigCallback_Vtbl { pub Reconfigure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGraphVersion, IGraphVersion_Vtbl, 0x56a868ab_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IGraphVersion { +impl core::ops::Deref for IGraphVersion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8414,7 +8414,7 @@ pub struct IGraphVersion_Vtbl { pub QueryVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIPDVDec, IIPDVDec_Vtbl, 0xb8e8bd60_0bfe_11d0_af91_00aa00b67a42); -impl std::ops::Deref for IIPDVDec { +impl core::ops::Deref for IIPDVDec { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8437,7 +8437,7 @@ pub struct IIPDVDec_Vtbl { pub SetIPDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMPEG2PIDMap, IMPEG2PIDMap_Vtbl, 0xafb6c2a1_2c41_11d3_8a60_0000f81e0e4a); -impl std::ops::Deref for IMPEG2PIDMap { +impl core::ops::Deref for IMPEG2PIDMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8464,7 +8464,7 @@ pub struct IMPEG2PIDMap_Vtbl { pub EnumPIDMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMPEG2StreamIdMap, IMPEG2StreamIdMap_Vtbl, 0xd0e04c47_25b8_4369_925a_362a01d95444); -impl std::ops::Deref for IMPEG2StreamIdMap { +impl core::ops::Deref for IMPEG2StreamIdMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8493,7 +8493,7 @@ pub struct IMPEG2StreamIdMap_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMediaControl, IMediaControl_Vtbl, 0x56a868b1_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMediaControl { +impl core::ops::Deref for IMediaControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8570,7 +8570,7 @@ pub struct IMediaControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMediaEvent, IMediaEvent_Vtbl, 0x56a868b6_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMediaEvent { +impl core::ops::Deref for IMediaEvent { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8615,7 +8615,7 @@ pub struct IMediaEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMediaEventEx, IMediaEventEx_Vtbl, 0x56a868c0_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMediaEventEx { +impl core::ops::Deref for IMediaEventEx { type Target = IMediaEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8645,7 +8645,7 @@ pub struct IMediaEventEx_Vtbl { pub GetNotifyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaEventSink, IMediaEventSink_Vtbl, 0x56a868a2_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IMediaEventSink { +impl core::ops::Deref for IMediaEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8665,7 +8665,7 @@ pub struct IMediaEventSink_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMediaFilter, IMediaFilter_Vtbl, 0x56a86899_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMediaFilter { +impl core::ops::Deref for IMediaFilter { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8711,7 +8711,7 @@ pub struct IMediaFilter_Vtbl { pub GetSyncSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaParamInfo, IMediaParamInfo_Vtbl, 0x6d6cbb60_a223_44aa_842f_a2f06750be6d); -impl std::ops::Deref for IMediaParamInfo { +impl core::ops::Deref for IMediaParamInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8753,7 +8753,7 @@ pub struct IMediaParamInfo_Vtbl { pub GetCurrentTimeFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaParams, IMediaParams_Vtbl, 0x6d6cbb61_a223_44aa_842f_a2f06750be6e); -impl std::ops::Deref for IMediaParams { +impl core::ops::Deref for IMediaParams { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8790,7 +8790,7 @@ pub struct IMediaParams_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMediaPosition, IMediaPosition_Vtbl, 0x56a868b2_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMediaPosition { +impl core::ops::Deref for IMediaPosition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8860,7 +8860,7 @@ pub struct IMediaPosition_Vtbl { #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::define_interface!(IMediaPropertyBag, IMediaPropertyBag_Vtbl, 0x6025a880_c0d5_11d0_bd4e_00a0c911ce86); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl std::ops::Deref for IMediaPropertyBag { +impl core::ops::Deref for IMediaPropertyBag { type Target = super::super::System::Com::StructuredStorage::IPropertyBag; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8881,7 +8881,7 @@ pub struct IMediaPropertyBag_Vtbl { pub EnumProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaSample, IMediaSample_Vtbl, 0x56a8689a_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IMediaSample { +impl core::ops::Deref for IMediaSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8978,7 +8978,7 @@ pub struct IMediaSample_Vtbl { pub SetMediaTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const i64, *const i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaSample2, IMediaSample2_Vtbl, 0x36b73884_c2c8_11cf_8b46_00805f6cef60); -impl std::ops::Deref for IMediaSample2 { +impl core::ops::Deref for IMediaSample2 { type Target = IMediaSample; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9000,7 +9000,7 @@ pub struct IMediaSample2_Vtbl { pub SetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaSample2Config, IMediaSample2Config_Vtbl, 0x68961e68_832b_41ea_bc91_63593f3e70e3); -impl std::ops::Deref for IMediaSample2Config { +impl core::ops::Deref for IMediaSample2Config { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9019,7 +9019,7 @@ pub struct IMediaSample2Config_Vtbl { pub GetSurface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaSeeking, IMediaSeeking_Vtbl, 0x36b73880_c2c8_11cf_8b46_00805f6cef60); -impl std::ops::Deref for IMediaSeeking { +impl core::ops::Deref for IMediaSeeking { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9109,7 +9109,7 @@ pub struct IMediaSeeking_Vtbl { pub GetPreroll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaStream, IMediaStream_Vtbl, 0xb502d1bd_9a57_11d0_8fde_00c04fd9189d); -impl std::ops::Deref for IMediaStream { +impl core::ops::Deref for IMediaStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9158,7 +9158,7 @@ pub struct IMediaStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMediaStreamFilter, IMediaStreamFilter_Vtbl, 0xbebe595e_9a6f_11d0_8fde_00c04fd9189d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMediaStreamFilter { +impl core::ops::Deref for IMediaStreamFilter { type Target = IBaseFilter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9225,7 +9225,7 @@ pub struct IMediaStreamFilter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMediaTypeInfo, IMediaTypeInfo_Vtbl, 0x56a868bc_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMediaTypeInfo { +impl core::ops::Deref for IMediaTypeInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9252,7 +9252,7 @@ pub struct IMediaTypeInfo_Vtbl { pub Subtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemAllocator, IMemAllocator_Vtbl, 0x56a8689c_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IMemAllocator { +impl core::ops::Deref for IMemAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9295,7 +9295,7 @@ pub struct IMemAllocator_Vtbl { pub ReleaseBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemAllocatorCallbackTemp, IMemAllocatorCallbackTemp_Vtbl, 0x379a0cf0_c1de_11d2_abf5_00a0c905f375); -impl std::ops::Deref for IMemAllocatorCallbackTemp { +impl core::ops::Deref for IMemAllocatorCallbackTemp { type Target = IMemAllocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9321,7 +9321,7 @@ pub struct IMemAllocatorCallbackTemp_Vtbl { pub GetFreeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemAllocatorNotifyCallbackTemp, IMemAllocatorNotifyCallbackTemp_Vtbl, 0x92980b30_c1de_11d2_abf5_00a0c905f375); -impl std::ops::Deref for IMemAllocatorNotifyCallbackTemp { +impl core::ops::Deref for IMemAllocatorNotifyCallbackTemp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9339,7 +9339,7 @@ pub struct IMemAllocatorNotifyCallbackTemp_Vtbl { pub NotifyRelease: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemInputPin, IMemInputPin_Vtbl, 0x56a8689d_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IMemInputPin { +impl core::ops::Deref for IMemInputPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9387,7 +9387,7 @@ pub struct IMemInputPin_Vtbl { pub ReceiveCanBlock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemoryData, IMemoryData_Vtbl, 0x327fc560_af60_11d0_8212_00c04fc32c45); -impl std::ops::Deref for IMemoryData { +impl core::ops::Deref for IMemoryData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9413,7 +9413,7 @@ pub struct IMemoryData_Vtbl { pub SetActual: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMixerOCX, IMixerOCX_Vtbl, 0x81a3bd32_dee1_11d1_8508_00a0c91f9ca0); -impl std::ops::Deref for IMixerOCX { +impl core::ops::Deref for IMixerOCX { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9470,7 +9470,7 @@ pub struct IMixerOCX_Vtbl { pub UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMixerOCXNotify, IMixerOCXNotify_Vtbl, 0x81a3bd31_dee1_11d1_8508_00a0c91f9ca0); -impl std::ops::Deref for IMixerOCXNotify { +impl core::ops::Deref for IMixerOCXNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9496,7 +9496,7 @@ pub struct IMixerOCXNotify_Vtbl { pub OnDataChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMixerPinConfig, IMixerPinConfig_Vtbl, 0x593cdde1_0759_11d1_9e69_00c04fd7c15b); -impl std::ops::Deref for IMixerPinConfig { +impl core::ops::Deref for IMixerPinConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9561,7 +9561,7 @@ pub struct IMixerPinConfig_Vtbl { pub GetStreamTransparent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMixerPinConfig2, IMixerPinConfig2_Vtbl, 0xebf47182_8764_11d1_9e69_00c04fd7c15b); -impl std::ops::Deref for IMixerPinConfig2 { +impl core::ops::Deref for IMixerPinConfig2 { type Target = IMixerPinConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9591,7 +9591,7 @@ pub struct IMixerPinConfig2_Vtbl { GetOverlaySurfaceColorControls: usize, } windows_core::imp::define_interface!(IMpeg2Demultiplexer, IMpeg2Demultiplexer_Vtbl, 0x436eee9c_264f_4242_90e1_4e330c107512); -impl std::ops::Deref for IMpeg2Demultiplexer { +impl core::ops::Deref for IMpeg2Demultiplexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9635,7 +9635,7 @@ pub struct IMpeg2Demultiplexer_Vtbl { pub DeleteOutputPin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMpegAudioDecoder, IMpegAudioDecoder_Vtbl, 0xb45dd570_3c77_11d1_abe1_00a0c905f375); -impl std::ops::Deref for IMpegAudioDecoder { +impl core::ops::Deref for IMpegAudioDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9710,7 +9710,7 @@ pub struct IMpegAudioDecoder_Vtbl { AudioFormat: usize, } windows_core::imp::define_interface!(IMultiMediaStream, IMultiMediaStream_Vtbl, 0xb502d1bc_9a57_11d0_8fde_00c04fd9189d); -impl std::ops::Deref for IMultiMediaStream { +impl core::ops::Deref for IMultiMediaStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9766,7 +9766,7 @@ pub struct IMultiMediaStream_Vtbl { pub GetEndOfStreamEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOverlay, IOverlay_Vtbl, 0x56a868a1_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IOverlay { +impl core::ops::Deref for IOverlay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9838,7 +9838,7 @@ pub struct IOverlay_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOverlayNotify, IOverlayNotify_Vtbl, 0x56a868a0_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IOverlayNotify { +impl core::ops::Deref for IOverlayNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9876,7 +9876,7 @@ pub struct IOverlayNotify_Vtbl { pub OnPositionChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOverlayNotify2, IOverlayNotify2_Vtbl, 0x680efa10_d535_11d1_87c8_00a0c9223196); -impl std::ops::Deref for IOverlayNotify2 { +impl core::ops::Deref for IOverlayNotify2 { type Target = IOverlayNotify; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9903,7 +9903,7 @@ pub struct IOverlayNotify2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistMediaPropertyBag, IPersistMediaPropertyBag_Vtbl, 0x5738e040_b67f_11d0_bd4d_00a0c911ce86); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistMediaPropertyBag { +impl core::ops::Deref for IPersistMediaPropertyBag { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9949,7 +9949,7 @@ pub struct IPersistMediaPropertyBag_Vtbl { Save: usize, } windows_core::imp::define_interface!(IPin, IPin_Vtbl, 0x56a86891_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IPin { +impl core::ops::Deref for IPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10053,7 +10053,7 @@ pub struct IPin_Vtbl { pub NewSegment: unsafe extern "system" fn(*mut core::ffi::c_void, i64, i64, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPinConnection, IPinConnection_Vtbl, 0x4a9a62d3_27d4_403d_91e9_89f540e55534); -impl std::ops::Deref for IPinConnection { +impl core::ops::Deref for IPinConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10090,7 +10090,7 @@ pub struct IPinConnection_Vtbl { pub DynamicDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPinFlowControl, IPinFlowControl_Vtbl, 0xc56e9858_dbf3_4f6b_8119_384af2060deb); -impl std::ops::Deref for IPinFlowControl { +impl core::ops::Deref for IPinFlowControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10113,7 +10113,7 @@ pub struct IPinFlowControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPinInfo, IPinInfo_Vtbl, 0x56a868bd_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPinInfo { +impl core::ops::Deref for IPinInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10220,7 +10220,7 @@ pub struct IPinInfo_Vtbl { pub Render: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQualProp, IQualProp_Vtbl, 0x1bd0ecb0_f8e2_11ce_aac6_0020af0b99a3); -impl std::ops::Deref for IQualProp { +impl core::ops::Deref for IQualProp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10264,7 +10264,7 @@ pub struct IQualProp_Vtbl { pub DevSyncOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQualityControl, IQualityControl_Vtbl, 0x56a868a5_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IQualityControl { +impl core::ops::Deref for IQualityControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10296,7 +10296,7 @@ pub struct IQualityControl_Vtbl { pub SetSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueueCommand, IQueueCommand_Vtbl, 0x56a868b7_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IQueueCommand { +impl core::ops::Deref for IQueueCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10320,7 +10320,7 @@ pub struct IQueueCommand_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRegFilterInfo, IRegFilterInfo_Vtbl, 0x56a868bb_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRegFilterInfo { +impl core::ops::Deref for IRegFilterInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10351,7 +10351,7 @@ pub struct IRegFilterInfo_Vtbl { Filter: usize, } windows_core::imp::define_interface!(IRegisterServiceProvider, IRegisterServiceProvider_Vtbl, 0x7b3a2f01_0751_48dd_b556_004785171c54); -impl std::ops::Deref for IRegisterServiceProvider { +impl core::ops::Deref for IRegisterServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10372,7 +10372,7 @@ pub struct IRegisterServiceProvider_Vtbl { pub RegisterService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceConsumer, IResourceConsumer_Vtbl, 0x56a868ad_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IResourceConsumer { +impl core::ops::Deref for IResourceConsumer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10394,7 +10394,7 @@ pub struct IResourceConsumer_Vtbl { pub ReleaseResource: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceManager, IResourceManager_Vtbl, 0x56a868ac_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IResourceManager { +impl core::ops::Deref for IResourceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10468,7 +10468,7 @@ pub struct IResourceManager_Vtbl { pub ReleaseFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISeekingPassThru, ISeekingPassThru_Vtbl, 0x36b73883_c2c8_11cf_8b46_00805f6cef60); -impl std::ops::Deref for ISeekingPassThru { +impl core::ops::Deref for ISeekingPassThru { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10490,7 +10490,7 @@ pub struct ISeekingPassThru_Vtbl { pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISelector, ISelector_Vtbl, 0x1abdaeca_68b6_4f83_9371_b413907c7b9f); -impl std::ops::Deref for ISelector { +impl core::ops::Deref for ISelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10518,7 +10518,7 @@ pub struct ISelector_Vtbl { pub SetSourceNodeId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpecifyParticularPages, ISpecifyParticularPages_Vtbl, 0x4c437b91_6e9e_11d1_a704_006097c4e476); -impl std::ops::Deref for ISpecifyParticularPages { +impl core::ops::Deref for ISpecifyParticularPages { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10541,7 +10541,7 @@ pub struct ISpecifyParticularPages_Vtbl { GetPages: usize, } windows_core::imp::define_interface!(IStreamBuilder, IStreamBuilder_Vtbl, 0x56a868bf_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IStreamBuilder { +impl core::ops::Deref for IStreamBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10571,7 +10571,7 @@ pub struct IStreamBuilder_Vtbl { pub Backout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamSample, IStreamSample_Vtbl, 0xb502d1be_9a57_11d0_8fde_00c04fd9189d); -impl std::ops::Deref for IStreamSample { +impl core::ops::Deref for IStreamSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10608,7 +10608,7 @@ pub struct IStreamSample_Vtbl { pub CompletionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRAspectRatioControl, IVMRAspectRatioControl_Vtbl, 0xede80b5c_bad6_4623_b537_65586c9f8dfd); -impl std::ops::Deref for IVMRAspectRatioControl { +impl core::ops::Deref for IVMRAspectRatioControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10631,7 +10631,7 @@ pub struct IVMRAspectRatioControl_Vtbl { pub SetAspectRatioMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRAspectRatioControl9, IVMRAspectRatioControl9_Vtbl, 0x00d96c29_bbde_4efc_9901_bb5036392146); -impl std::ops::Deref for IVMRAspectRatioControl9 { +impl core::ops::Deref for IVMRAspectRatioControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10654,7 +10654,7 @@ pub struct IVMRAspectRatioControl9_Vtbl { pub SetAspectRatioMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRDeinterlaceControl, IVMRDeinterlaceControl_Vtbl, 0xbb057577_0db8_4e6a_87a7_1a8c9a505a0f); -impl std::ops::Deref for IVMRDeinterlaceControl { +impl core::ops::Deref for IVMRDeinterlaceControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10699,7 +10699,7 @@ pub struct IVMRDeinterlaceControl_Vtbl { pub GetActualDeinterlaceMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRDeinterlaceControl9, IVMRDeinterlaceControl9_Vtbl, 0xa215fb8d_13c2_4f7f_993c_003d6271a459); -impl std::ops::Deref for IVMRDeinterlaceControl9 { +impl core::ops::Deref for IVMRDeinterlaceControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10744,7 +10744,7 @@ pub struct IVMRDeinterlaceControl9_Vtbl { pub GetActualDeinterlaceMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRFilterConfig, IVMRFilterConfig_Vtbl, 0x9e5530c5_7034_48b4_bb46_0b8a6efc8e36); -impl std::ops::Deref for IVMRFilterConfig { +impl core::ops::Deref for IVMRFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10792,7 +10792,7 @@ pub struct IVMRFilterConfig_Vtbl { pub GetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRFilterConfig9, IVMRFilterConfig9_Vtbl, 0x5a804648_4f66_4867_9c43_4f5c822cf1b8); -impl std::ops::Deref for IVMRFilterConfig9 { +impl core::ops::Deref for IVMRFilterConfig9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10840,7 +10840,7 @@ pub struct IVMRFilterConfig9_Vtbl { pub GetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRImageCompositor, IVMRImageCompositor_Vtbl, 0x7a4fb5af_479f_4074_bb40_ce6722e43c82); -impl std::ops::Deref for IVMRImageCompositor { +impl core::ops::Deref for IVMRImageCompositor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10901,7 +10901,7 @@ pub struct IVMRImageCompositor_Vtbl { CompositeImage: usize, } windows_core::imp::define_interface!(IVMRImageCompositor9, IVMRImageCompositor9_Vtbl, 0x4a5c89eb_df51_4654_ac2a_e48e02bbabf6); -impl std::ops::Deref for IVMRImageCompositor9 { +impl core::ops::Deref for IVMRImageCompositor9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10952,7 +10952,7 @@ pub struct IVMRImageCompositor9_Vtbl { CompositeImage: usize, } windows_core::imp::define_interface!(IVMRImagePresenter, IVMRImagePresenter_Vtbl, 0xce704fe7_e71e_41fb_baa2_c4403e1182f5); -impl std::ops::Deref for IVMRImagePresenter { +impl core::ops::Deref for IVMRImagePresenter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10982,7 +10982,7 @@ pub struct IVMRImagePresenter_Vtbl { PresentImage: usize, } windows_core::imp::define_interface!(IVMRImagePresenter9, IVMRImagePresenter9_Vtbl, 0x69188c61_12a3_40f0_8ffc_342e7b433fd7); -impl std::ops::Deref for IVMRImagePresenter9 { +impl core::ops::Deref for IVMRImagePresenter9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11012,7 +11012,7 @@ pub struct IVMRImagePresenter9_Vtbl { PresentImage: usize, } windows_core::imp::define_interface!(IVMRImagePresenterConfig, IVMRImagePresenterConfig_Vtbl, 0x9f3a1c85_8555_49ba_935f_be5b5b29d178); -impl std::ops::Deref for IVMRImagePresenterConfig { +impl core::ops::Deref for IVMRImagePresenterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11035,7 +11035,7 @@ pub struct IVMRImagePresenterConfig_Vtbl { pub GetRenderingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRImagePresenterConfig9, IVMRImagePresenterConfig9_Vtbl, 0x45c15cab_6e22_420a_8043_ae1f0ac02c7d); -impl std::ops::Deref for IVMRImagePresenterConfig9 { +impl core::ops::Deref for IVMRImagePresenterConfig9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11058,7 +11058,7 @@ pub struct IVMRImagePresenterConfig9_Vtbl { pub GetRenderingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRImagePresenterExclModeConfig, IVMRImagePresenterExclModeConfig_Vtbl, 0xe6f7ce40_4673_44f1_8f77_5499d68cb4ea); -impl std::ops::Deref for IVMRImagePresenterExclModeConfig { +impl core::ops::Deref for IVMRImagePresenterExclModeConfig { type Target = IVMRImagePresenterConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11092,7 +11092,7 @@ pub struct IVMRImagePresenterExclModeConfig_Vtbl { GetXlcModeDDObjAndPrimarySurface: usize, } windows_core::imp::define_interface!(IVMRMixerBitmap, IVMRMixerBitmap_Vtbl, 0x1e673275_0257_40aa_af20_7c608d4a0428); -impl std::ops::Deref for IVMRMixerBitmap { +impl core::ops::Deref for IVMRMixerBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11130,7 +11130,7 @@ pub struct IVMRMixerBitmap_Vtbl { GetAlphaBitmapParameters: usize, } windows_core::imp::define_interface!(IVMRMixerBitmap9, IVMRMixerBitmap9_Vtbl, 0xced175e5_1935_4820_81bd_ff6ad00c9108); -impl std::ops::Deref for IVMRMixerBitmap9 { +impl core::ops::Deref for IVMRMixerBitmap9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11168,7 +11168,7 @@ pub struct IVMRMixerBitmap9_Vtbl { GetAlphaBitmapParameters: usize, } windows_core::imp::define_interface!(IVMRMixerControl, IVMRMixerControl_Vtbl, 0x1c1a17b0_bed0_415d_974b_dc6696131599); -impl std::ops::Deref for IVMRMixerControl { +impl core::ops::Deref for IVMRMixerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11229,7 +11229,7 @@ pub struct IVMRMixerControl_Vtbl { pub GetMixingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRMixerControl9, IVMRMixerControl9_Vtbl, 0x1a777eaa_47c8_4930_b2c9_8fee1c1b0f3b); -impl std::ops::Deref for IVMRMixerControl9 { +impl core::ops::Deref for IVMRMixerControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11302,7 +11302,7 @@ pub struct IVMRMixerControl9_Vtbl { pub GetProcAmpControlRange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut VMR9ProcAmpControlRange) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRMonitorConfig, IVMRMonitorConfig_Vtbl, 0x9cf0b1b6_fbaa_4b7f_88cf_cf1f130a0dce); -impl std::ops::Deref for IVMRMonitorConfig { +impl core::ops::Deref for IVMRMonitorConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11340,7 +11340,7 @@ pub struct IVMRMonitorConfig_Vtbl { GetAvailableMonitors: usize, } windows_core::imp::define_interface!(IVMRMonitorConfig9, IVMRMonitorConfig9_Vtbl, 0x46c2e457_8ba0_4eef_b80b_0680f0978749); -impl std::ops::Deref for IVMRMonitorConfig9 { +impl core::ops::Deref for IVMRMonitorConfig9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11380,7 +11380,7 @@ pub struct IVMRMonitorConfig9_Vtbl { GetAvailableMonitors: usize, } windows_core::imp::define_interface!(IVMRSurface, IVMRSurface_Vtbl, 0xa9849bbe_9ec8_4263_b764_62730f0d15d0); -impl std::ops::Deref for IVMRSurface { +impl core::ops::Deref for IVMRSurface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11416,7 +11416,7 @@ pub struct IVMRSurface_Vtbl { GetSurface: usize, } windows_core::imp::define_interface!(IVMRSurface9, IVMRSurface9_Vtbl, 0xdfc581a1_6e1f_4c3a_8d0a_5e9792ea2afc); -impl std::ops::Deref for IVMRSurface9 { +impl core::ops::Deref for IVMRSurface9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11452,7 +11452,7 @@ pub struct IVMRSurface9_Vtbl { GetSurface: usize, } windows_core::imp::define_interface!(IVMRSurfaceAllocator, IVMRSurfaceAllocator_Vtbl, 0x31ce832e_4484_458b_8cca_f4d7e3db0b52); -impl std::ops::Deref for IVMRSurfaceAllocator { +impl core::ops::Deref for IVMRSurfaceAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11496,7 +11496,7 @@ pub struct IVMRSurfaceAllocator_Vtbl { pub AdviseNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRSurfaceAllocator9, IVMRSurfaceAllocator9_Vtbl, 0x8d5148ea_3f5d_46cf_9df1_d1b896eedb1f); -impl std::ops::Deref for IVMRSurfaceAllocator9 { +impl core::ops::Deref for IVMRSurfaceAllocator9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11538,7 +11538,7 @@ pub struct IVMRSurfaceAllocator9_Vtbl { pub AdviseNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRSurfaceAllocatorEx9, IVMRSurfaceAllocatorEx9_Vtbl, 0x6de9a68a_a928_4522_bf57_655ae3866456); -impl std::ops::Deref for IVMRSurfaceAllocatorEx9 { +impl core::ops::Deref for IVMRSurfaceAllocatorEx9 { type Target = IVMRSurfaceAllocator9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11560,7 +11560,7 @@ pub struct IVMRSurfaceAllocatorEx9_Vtbl { GetSurfaceEx: usize, } windows_core::imp::define_interface!(IVMRSurfaceAllocatorNotify, IVMRSurfaceAllocatorNotify_Vtbl, 0xaada05a8_5a4e_4729_af0b_cea27aed51e2); -impl std::ops::Deref for IVMRSurfaceAllocatorNotify { +impl core::ops::Deref for IVMRSurfaceAllocatorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11620,7 +11620,7 @@ pub struct IVMRSurfaceAllocatorNotify_Vtbl { pub SetBorderColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRSurfaceAllocatorNotify9, IVMRSurfaceAllocatorNotify9_Vtbl, 0xdca3f5df_bb3a_4d03_bd81_84614bfbfa0c); -impl std::ops::Deref for IVMRSurfaceAllocatorNotify9 { +impl core::ops::Deref for IVMRSurfaceAllocatorNotify9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11677,7 +11677,7 @@ pub struct IVMRSurfaceAllocatorNotify9_Vtbl { pub NotifyEvent: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize, isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRVideoStreamControl, IVMRVideoStreamControl_Vtbl, 0x058d1f11_2a54_4bef_bd54_df706626b727); -impl std::ops::Deref for IVMRVideoStreamControl { +impl core::ops::Deref for IVMRVideoStreamControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11720,7 +11720,7 @@ pub struct IVMRVideoStreamControl_Vtbl { pub GetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRVideoStreamControl9, IVMRVideoStreamControl9_Vtbl, 0xd0cfe38b_93e7_4772_8957_0400c49a4485); -impl std::ops::Deref for IVMRVideoStreamControl9 { +impl core::ops::Deref for IVMRVideoStreamControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11746,7 +11746,7 @@ pub struct IVMRVideoStreamControl9_Vtbl { pub GetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRWindowlessControl, IVMRWindowlessControl_Vtbl, 0x0eb1088c_4dcd_46f0_878f_39dae86a51b7); -impl std::ops::Deref for IVMRWindowlessControl { +impl core::ops::Deref for IVMRWindowlessControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11841,7 +11841,7 @@ pub struct IVMRWindowlessControl_Vtbl { pub GetColorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::COLORREF) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVMRWindowlessControl9, IVMRWindowlessControl9_Vtbl, 0x8f537d09_f85e_4414_b23b_502e54c79927); -impl std::ops::Deref for IVMRWindowlessControl9 { +impl core::ops::Deref for IVMRWindowlessControl9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11924,7 +11924,7 @@ pub struct IVMRWindowlessControl9_Vtbl { pub GetBorderColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::COLORREF) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVPBaseConfig, IVPBaseConfig_Vtbl, 0); -impl std::ops::Deref for IVPBaseConfig { +impl core::ops::Deref for IVPBaseConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12007,7 +12007,7 @@ pub struct IVPBaseConfig_Vtbl { pub SetSurfaceParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVPBaseNotify, IVPBaseNotify_Vtbl, 0); -impl std::ops::Deref for IVPBaseNotify { +impl core::ops::Deref for IVPBaseNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12025,7 +12025,7 @@ pub struct IVPBaseNotify_Vtbl { pub RenegotiateVPParameters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVPConfig, IVPConfig_Vtbl, 0xbc29a660_30e3_11d0_9e69_00c04fd7c15b); -impl std::ops::Deref for IVPConfig { +impl core::ops::Deref for IVPConfig { type Target = IVPBaseConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12047,7 +12047,7 @@ pub struct IVPConfig_Vtbl { pub SetScalingFactors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AMVPSIZE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVPManager, IVPManager_Vtbl, 0xaac18c18_e186_46d2_825d_a1f8dc8e395a); -impl std::ops::Deref for IVPManager { +impl core::ops::Deref for IVPManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12070,7 +12070,7 @@ pub struct IVPManager_Vtbl { pub GetVideoPortIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVPNotify, IVPNotify_Vtbl, 0xc76794a1_d6c5_11d0_9e69_00c04fd7c15b); -impl std::ops::Deref for IVPNotify { +impl core::ops::Deref for IVPNotify { type Target = IVPBaseNotify; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12092,7 +12092,7 @@ pub struct IVPNotify_Vtbl { pub GetDeinterlaceMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AMVP_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVPNotify2, IVPNotify2_Vtbl, 0xebf47183_8764_11d1_9e69_00c04fd7c15b); -impl std::ops::Deref for IVPNotify2 { +impl core::ops::Deref for IVPNotify2 { type Target = IVPNotify; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12117,7 +12117,7 @@ pub struct IVPNotify2_Vtbl { pub GetVPSyncMaster: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVPVBIConfig, IVPVBIConfig_Vtbl, 0xec529b00_1a1f_11d1_bad9_00609744111a); -impl std::ops::Deref for IVPVBIConfig { +impl core::ops::Deref for IVPVBIConfig { type Target = IVPBaseConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12130,7 +12130,7 @@ pub struct IVPVBIConfig_Vtbl { pub base__: IVPBaseConfig_Vtbl, } windows_core::imp::define_interface!(IVPVBINotify, IVPVBINotify_Vtbl, 0xec529b01_1a1f_11d1_bad9_00609744111a); -impl std::ops::Deref for IVPVBINotify { +impl core::ops::Deref for IVPVBINotify { type Target = IVPBaseNotify; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12143,7 +12143,7 @@ pub struct IVPVBINotify_Vtbl { pub base__: IVPBaseNotify_Vtbl, } windows_core::imp::define_interface!(IVideoEncoder, IVideoEncoder_Vtbl, 0x02997c3b_8e1b_460e_9270_545e0de9563e); -impl std::ops::Deref for IVideoEncoder { +impl core::ops::Deref for IVideoEncoder { type Target = IEncoderAPI; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12156,7 +12156,7 @@ pub struct IVideoEncoder_Vtbl { pub base__: IEncoderAPI_Vtbl, } windows_core::imp::define_interface!(IVideoFrameStep, IVideoFrameStep_Vtbl, 0xe46a9787_2b71_444d_a4b5_1fab7b708d6a); -impl std::ops::Deref for IVideoFrameStep { +impl core::ops::Deref for IVideoFrameStep { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12188,7 +12188,7 @@ pub struct IVideoFrameStep_Vtbl { pub CancelStep: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoProcAmp, IVideoProcAmp_Vtbl, 0x4050560e_42a7_413a_85c2_09269a2d0f44); -impl std::ops::Deref for IVideoProcAmp { +impl core::ops::Deref for IVideoProcAmp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12360,7 +12360,7 @@ pub struct IVideoProcAmp_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IVideoWindow, IVideoWindow_Vtbl, 0x56a868b4_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IVideoWindow { +impl core::ops::Deref for IVideoWindow { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12556,7 +12556,7 @@ pub struct IVideoWindow_Vtbl { pub IsCursorHidden: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecAMVideoAccelerator, IWMCodecAMVideoAccelerator_Vtbl, 0xd98ee251_34e0_4a2d_9312_9b4c788d9fa1); -impl std::ops::Deref for IWMCodecAMVideoAccelerator { +impl core::ops::Deref for IWMCodecAMVideoAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12596,7 +12596,7 @@ pub struct IWMCodecAMVideoAccelerator_Vtbl { SetPlayerNotify: usize, } windows_core::imp::define_interface!(IWMCodecVideoAccelerator, IWMCodecVideoAccelerator_Vtbl, 0x990641b0_739f_4e94_a808_9888da8f75af); -impl std::ops::Deref for IWMCodecVideoAccelerator { +impl core::ops::Deref for IWMCodecVideoAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs index 4a31915109..9f46fbb811 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -58,7 +58,7 @@ pub unsafe fn MoInitMediaType(pmt: *mut DMO_MEDIA_TYPE, cbformat: u32) -> window MoInitMediaType(pmt, cbformat).ok() } windows_core::imp::define_interface!(IDMOQualityControl, IDMOQualityControl_Vtbl, 0x65abea96_cf36_453f_af8a_705e98f16260); -impl std::ops::Deref for IDMOQualityControl { +impl core::ops::Deref for IDMOQualityControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -85,7 +85,7 @@ pub struct IDMOQualityControl_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDMOVideoOutputOptimizations, IDMOVideoOutputOptimizations_Vtbl, 0xbe8f4f4e_5b16_4d29_b350_7f6b5d9298ac); -impl std::ops::Deref for IDMOVideoOutputOptimizations { +impl core::ops::Deref for IDMOVideoOutputOptimizations { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -118,7 +118,7 @@ pub struct IDMOVideoOutputOptimizations_Vtbl { pub GetCurrentSampleRequirements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDMO, IEnumDMO_Vtbl, 0x2c3cd98a_2bfa_4a53_9c27_5249ba64ba0f); -impl std::ops::Deref for IEnumDMO { +impl core::ops::Deref for IEnumDMO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -149,7 +149,7 @@ pub struct IEnumDMO_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaBuffer, IMediaBuffer_Vtbl, 0x59eff8b9_938c_4a26_82f2_95cb84cdc837); -impl std::ops::Deref for IMediaBuffer { +impl core::ops::Deref for IMediaBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -176,7 +176,7 @@ pub struct IMediaBuffer_Vtbl { pub GetBufferAndLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaObject, IMediaObject_Vtbl, 0xd8ad0f58_5494_4102_97c5_ec798e59bcf4); -impl std::ops::Deref for IMediaObject { +impl core::ops::Deref for IMediaObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -281,7 +281,7 @@ pub struct IMediaObject_Vtbl { pub Lock: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaObjectInPlace, IMediaObjectInPlace_Vtbl, 0x651b9ad0_0fc7_4aa9_9538_d89931010741); -impl std::ops::Deref for IMediaObjectInPlace { +impl core::ops::Deref for IMediaObjectInPlace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs index f0d674d022..9904b98a85 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -112,7 +112,7 @@ where KsSynchronousDeviceControl(handle.param().abi(), iocontrol, core::mem::transmute(inbuffer.unwrap_or(std::ptr::null())), inlength, core::mem::transmute(outbuffer.unwrap_or(std::ptr::null_mut())), outlength, core::mem::transmute(bytesreturned.unwrap_or(std::ptr::null_mut()))).ok() } windows_core::imp::define_interface!(IKsAggregateControl, IKsAggregateControl_Vtbl, 0x7f40eac0_3947_11d2_874e_00a0c9223196); -impl std::ops::Deref for IKsAggregateControl { +impl core::ops::Deref for IKsAggregateControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -134,7 +134,7 @@ pub struct IKsAggregateControl_Vtbl { pub KsRemoveAggregate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsAllocator, IKsAllocator_Vtbl, 0x8da64899_c0d9_11d0_8413_0000f822fe8a); -impl std::ops::Deref for IKsAllocator { +impl core::ops::Deref for IKsAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -164,7 +164,7 @@ pub struct IKsAllocator_Vtbl { pub KsSetAllocatorMode: unsafe extern "system" fn(*mut core::ffi::c_void, KSALLOCATORMODE), } windows_core::imp::define_interface!(IKsAllocatorEx, IKsAllocatorEx_Vtbl, 0x091bb63a_603f_11d1_b067_00a0c9062802); -impl std::ops::Deref for IKsAllocatorEx { +impl core::ops::Deref for IKsAllocatorEx { type Target = IKsAllocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -200,7 +200,7 @@ pub struct IKsAllocatorEx_Vtbl { pub KsCreateAllocatorAndGetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } windows_core::imp::define_interface!(IKsClockPropertySet, IKsClockPropertySet_Vtbl, 0x5c5cbd84_e755_11d0_ac18_00a0c9223196); -impl std::ops::Deref for IKsClockPropertySet { +impl core::ops::Deref for IKsClockPropertySet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -260,7 +260,7 @@ pub struct IKsClockPropertySet_Vtbl { pub KsGetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSSTATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsControl, IKsControl_Vtbl, 0x28f54685_06fd_11d2_b27a_00a0c9223196); -impl std::ops::Deref for IKsControl { +impl core::ops::Deref for IKsControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -286,7 +286,7 @@ pub struct IKsControl_Vtbl { pub KsEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const KSIDENTIFIER, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsDataTypeCompletion, IKsDataTypeCompletion_Vtbl, 0x827d1a0e_0f73_11d2_b27a_00a0c9223196); -impl std::ops::Deref for IKsDataTypeCompletion { +impl core::ops::Deref for IKsDataTypeCompletion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -311,7 +311,7 @@ pub struct IKsDataTypeCompletion_Vtbl { KsCompleteMediaType: usize, } windows_core::imp::define_interface!(IKsDataTypeHandler, IKsDataTypeHandler_Vtbl, 0x5ffbaa02_49a3_11d0_9f36_00aa00a216a1); -impl std::ops::Deref for IKsDataTypeHandler { +impl core::ops::Deref for IKsDataTypeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -365,7 +365,7 @@ pub struct IKsDataTypeHandler_Vtbl { KsSetMediaType: usize, } windows_core::imp::define_interface!(IKsFormatSupport, IKsFormatSupport_Vtbl, 0x3cb4a69d_bb6f_4d2b_95b7_452d2c155db5); -impl std::ops::Deref for IKsFormatSupport { +impl core::ops::Deref for IKsFormatSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -388,7 +388,7 @@ pub struct IKsFormatSupport_Vtbl { pub GetDevicePreferredFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut KSDATAFORMAT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsInterfaceHandler, IKsInterfaceHandler_Vtbl, 0xd3abc7e0_9a61_11d0_a40d_00a0c9223196); -impl std::ops::Deref for IKsInterfaceHandler { +impl core::ops::Deref for IKsInterfaceHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -424,7 +424,7 @@ pub struct IKsInterfaceHandler_Vtbl { pub KsCompleteIo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSSTREAM_SEGMENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsJackContainerId, IKsJackContainerId_Vtbl, 0xc99af463_d629_4ec4_8c00_e54d68154248); -impl std::ops::Deref for IKsJackContainerId { +impl core::ops::Deref for IKsJackContainerId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -443,7 +443,7 @@ pub struct IKsJackContainerId_Vtbl { pub GetJackContainerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsJackDescription, IKsJackDescription_Vtbl, 0x4509f757_2d46_4637_8e62_ce7db944f57b); -impl std::ops::Deref for IKsJackDescription { +impl core::ops::Deref for IKsJackDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -466,7 +466,7 @@ pub struct IKsJackDescription_Vtbl { pub GetJackDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut KSJACK_DESCRIPTION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsJackDescription2, IKsJackDescription2_Vtbl, 0x478f3a9b_e0c9_4827_9228_6f5505ffe76a); -impl std::ops::Deref for IKsJackDescription2 { +impl core::ops::Deref for IKsJackDescription2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -490,7 +490,7 @@ pub struct IKsJackDescription2_Vtbl { pub GetJackDescription2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut KSJACK_DESCRIPTION2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsJackDescription3, IKsJackDescription3_Vtbl, 0xe3f6778b_6660_4cc8_a291_ecc4192d9967); -impl std::ops::Deref for IKsJackDescription3 { +impl core::ops::Deref for IKsJackDescription3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -514,7 +514,7 @@ pub struct IKsJackDescription3_Vtbl { pub GetJackDescription3: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut KSJACK_DESCRIPTION3) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsJackSinkInformation, IKsJackSinkInformation_Vtbl, 0xd9bd72ed_290f_4581_9ff3_61027a8fe532); -impl std::ops::Deref for IKsJackSinkInformation { +impl core::ops::Deref for IKsJackSinkInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -532,7 +532,7 @@ pub struct IKsJackSinkInformation_Vtbl { pub GetJackSinkInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSJACK_SINK_INFORMATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsNodeControl, IKsNodeControl_Vtbl, 0x11737c14_24a7_4bb5_81a0_0d003813b0c4); -impl std::ops::Deref for IKsNodeControl { +impl core::ops::Deref for IKsNodeControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -554,7 +554,7 @@ pub struct IKsNodeControl_Vtbl { pub SetKsControl: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsNotifyEvent, IKsNotifyEvent_Vtbl, 0x412bd695_f84b_46c1_ac73_54196dbc8fa7); -impl std::ops::Deref for IKsNotifyEvent { +impl core::ops::Deref for IKsNotifyEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -572,7 +572,7 @@ pub struct IKsNotifyEvent_Vtbl { pub KsNotifyEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsObject, IKsObject_Vtbl, 0x423c13a2_2070_11d0_9ef7_00aa00a216a1); -impl std::ops::Deref for IKsObject { +impl core::ops::Deref for IKsObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -590,7 +590,7 @@ pub struct IKsObject_Vtbl { pub KsGetObjectHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } windows_core::imp::define_interface!(IKsPin, IKsPin_Vtbl, 0xb61178d1_a2d9_11cf_9e53_00aa00a216a1); -impl std::ops::Deref for IKsPin { +impl core::ops::Deref for IKsPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -676,7 +676,7 @@ pub struct IKsPin_Vtbl { pub KsQualityNotify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsPinEx, IKsPinEx_Vtbl, 0x7bb38260_d19c_11d2_b38a_00a0c95ec22e); -impl std::ops::Deref for IKsPinEx { +impl core::ops::Deref for IKsPinEx { type Target = IKsPin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -701,7 +701,7 @@ pub struct IKsPinEx_Vtbl { KsNotifyError: usize, } windows_core::imp::define_interface!(IKsPinFactory, IKsPinFactory_Vtbl, 0xcd5ebe6b_8b6e_11d1_8ae0_00a0c9223196); -impl std::ops::Deref for IKsPinFactory { +impl core::ops::Deref for IKsPinFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -720,7 +720,7 @@ pub struct IKsPinFactory_Vtbl { pub KsPinFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsPinPipe, IKsPinPipe_Vtbl, 0xe539cd90_a8b4_11d1_8189_00a0c9062802); -impl std::ops::Deref for IKsPinPipe { +impl core::ops::Deref for IKsPinPipe { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -787,7 +787,7 @@ pub struct IKsPinPipe_Vtbl { pub KsGetFilterName: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PWSTR, } windows_core::imp::define_interface!(IKsPropertySet, IKsPropertySet_Vtbl, 0x31efac30_515c_11d0_a9aa_00aa0061be93); -impl std::ops::Deref for IKsPropertySet { +impl core::ops::Deref for IKsPropertySet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -814,7 +814,7 @@ pub struct IKsPropertySet_Vtbl { pub QuerySupported: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsQualityForwarder, IKsQualityForwarder_Vtbl, 0x97ebaacb_95bd_11d0_a3ea_00a0c9223196); -impl std::ops::Deref for IKsQualityForwarder { +impl core::ops::Deref for IKsQualityForwarder { type Target = IKsObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -835,7 +835,7 @@ pub struct IKsQualityForwarder_Vtbl { pub KsFlushClient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } windows_core::imp::define_interface!(IKsTopology, IKsTopology_Vtbl, 0x28f54683_06fd_11d2_b27a_00a0c9223196); -impl std::ops::Deref for IKsTopology { +impl core::ops::Deref for IKsTopology { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -856,7 +856,7 @@ pub struct IKsTopology_Vtbl { pub CreateNodeInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKsTopologyInfo, IKsTopologyInfo_Vtbl, 0x720d4ac0_7533_11d0_a5d6_28db04c10000); -impl std::ops::Deref for IKsTopologyInfo { +impl core::ops::Deref for IKsTopologyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs index e92691d1d1..8c533ccc92 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDevice, IWindowsMediaLibrarySharingDevice_Vtbl, 0x3dccc293_4fd9_4191_a25b_8e57c5d27bd4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsMediaLibrarySharingDevice { +impl core::ops::Deref for IWindowsMediaLibrarySharingDevice { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -43,7 +43,7 @@ pub struct IWindowsMediaLibrarySharingDevice_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDeviceProperties, IWindowsMediaLibrarySharingDeviceProperties_Vtbl, 0xc4623214_6b06_40c5_a623_b2ff4c076bfd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsMediaLibrarySharingDeviceProperties { +impl core::ops::Deref for IWindowsMediaLibrarySharingDeviceProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -88,7 +88,7 @@ pub struct IWindowsMediaLibrarySharingDeviceProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDeviceProperty, IWindowsMediaLibrarySharingDeviceProperty_Vtbl, 0x81e26927_7a7d_40a7_81d4_bddc02960e3e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsMediaLibrarySharingDeviceProperty { +impl core::ops::Deref for IWindowsMediaLibrarySharingDeviceProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -117,7 +117,7 @@ pub struct IWindowsMediaLibrarySharingDeviceProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDevices, IWindowsMediaLibrarySharingDevices_Vtbl, 0x1803f9d6_fe6d_4546_bf5b_992fe8ec12d1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsMediaLibrarySharingDevices { +impl core::ops::Deref for IWindowsMediaLibrarySharingDevices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -162,7 +162,7 @@ pub struct IWindowsMediaLibrarySharingDevices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsMediaLibrarySharingServices, IWindowsMediaLibrarySharingServices_Vtbl, 0x01f5f85e_0a81_40da_a7c8_21ef3af8440c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsMediaLibrarySharingServices { +impl core::ops::Deref for IWindowsMediaLibrarySharingServices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs index 95485c65c2..20e7520852 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -1854,7 +1854,7 @@ pub unsafe fn OPMXboxGetHDCPStatusAndType(phdcpstatus: *mut OPM_HDCP_STATUS, phd OPMXboxGetHDCPStatusAndType(phdcpstatus, phdcptype).ok() } windows_core::imp::define_interface!(IAdvancedMediaCapture, IAdvancedMediaCapture_Vtbl, 0xd0751585_d216_4344_b5bf_463b68f977bb); -impl std::ops::Deref for IAdvancedMediaCapture { +impl core::ops::Deref for IAdvancedMediaCapture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1873,7 +1873,7 @@ pub struct IAdvancedMediaCapture_Vtbl { pub GetAdvancedMediaCaptureSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdvancedMediaCaptureInitializationSettings, IAdvancedMediaCaptureInitializationSettings_Vtbl, 0x3de21209_8ba6_4f2a_a577_2819b56ff14d); -impl std::ops::Deref for IAdvancedMediaCaptureInitializationSettings { +impl core::ops::Deref for IAdvancedMediaCaptureInitializationSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1894,7 +1894,7 @@ pub struct IAdvancedMediaCaptureInitializationSettings_Vtbl { pub SetDirectxDeviceManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdvancedMediaCaptureSettings, IAdvancedMediaCaptureSettings_Vtbl, 0x24e0485f_a33e_4aa1_b564_6019b1d14f65); -impl std::ops::Deref for IAdvancedMediaCaptureSettings { +impl core::ops::Deref for IAdvancedMediaCaptureSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1913,7 +1913,7 @@ pub struct IAdvancedMediaCaptureSettings_Vtbl { pub GetDirectxDeviceManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSourceProvider, IAudioSourceProvider_Vtbl, 0xebbaf249_afc2_4582_91c6_b60df2e84954); -impl std::ops::Deref for IAudioSourceProvider { +impl core::ops::Deref for IAudioSourceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1931,7 +1931,7 @@ pub struct IAudioSourceProvider_Vtbl { pub ProvideInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClusterDetector, IClusterDetector_Vtbl, 0x3f07f7b7_c680_41d9_9423_915107ec9ff9); -impl std::ops::Deref for IClusterDetector { +impl core::ops::Deref for IClusterDetector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1957,7 +1957,7 @@ pub struct IClusterDetector_Vtbl { pub Detect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, f32, f32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICodecAPI, ICodecAPI_Vtbl, 0x901db4c7_31ce_41a2_85dc_8fa0bf41b8da); -impl std::ops::Deref for ICodecAPI { +impl core::ops::Deref for ICodecAPI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2056,7 +2056,7 @@ pub struct ICodecAPI_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList_Vtbl, 0x3b60536e_ad29_4e64_a269_f853837e5e53); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecodeCommandList { +impl core::ops::Deref for ID3D12VideoDecodeCommandList { type Target = super::super::Graphics::Direct3D12::ID3D12CommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2193,7 +2193,7 @@ pub struct ID3D12VideoDecodeCommandList_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList1_Vtbl, 0xd52f011b_b56e_453c_a05a_a7f311c8f472); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecodeCommandList1 { +impl core::ops::Deref for ID3D12VideoDecodeCommandList1 { type Target = ID3D12VideoDecodeCommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2227,7 +2227,7 @@ pub struct ID3D12VideoDecodeCommandList1_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList2, ID3D12VideoDecodeCommandList2_Vtbl, 0x6e120880_c114_4153_8036_d247051e1729); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecodeCommandList2 { +impl core::ops::Deref for ID3D12VideoDecodeCommandList2 { type Target = ID3D12VideoDecodeCommandList1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2283,7 +2283,7 @@ pub struct ID3D12VideoDecodeCommandList2_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList3, ID3D12VideoDecodeCommandList3_Vtbl, 0x2aee8c37_9562_42da_8abf_61efeb2e4513); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecodeCommandList3 { +impl core::ops::Deref for ID3D12VideoDecodeCommandList3 { type Target = ID3D12VideoDecodeCommandList2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2314,7 +2314,7 @@ pub struct ID3D12VideoDecodeCommandList3_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecoder, ID3D12VideoDecoder_Vtbl, 0xc59b6bdc_7720_4074_a136_17a156037470); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecoder { +impl core::ops::Deref for ID3D12VideoDecoder { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2343,7 +2343,7 @@ pub struct ID3D12VideoDecoder_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecoder1, ID3D12VideoDecoder1_Vtbl, 0x79a2e5fb_ccd2_469a_9fde_195d10951f7e); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecoder1 { +impl core::ops::Deref for ID3D12VideoDecoder1 { type Target = ID3D12VideoDecoder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2373,7 +2373,7 @@ pub struct ID3D12VideoDecoder1_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecoderHeap, ID3D12VideoDecoderHeap_Vtbl, 0x0946b7c9_ebf6_4047_bb73_8683e27dbb1f); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecoderHeap { +impl core::ops::Deref for ID3D12VideoDecoderHeap { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2406,7 +2406,7 @@ pub struct ID3D12VideoDecoderHeap_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoDecoderHeap1, ID3D12VideoDecoderHeap1_Vtbl, 0xda1d98c5_539f_41b2_bf6b_1198a03b6d26); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoDecoderHeap1 { +impl core::ops::Deref for ID3D12VideoDecoderHeap1 { type Target = ID3D12VideoDecoderHeap; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2434,7 +2434,7 @@ pub struct ID3D12VideoDecoderHeap1_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ID3D12VideoDevice, ID3D12VideoDevice_Vtbl, 0x1f052807_0b46_4acc_8a89_364f793718a4); -impl std::ops::Deref for ID3D12VideoDevice { +impl core::ops::Deref for ID3D12VideoDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2449,7 +2449,7 @@ impl ID3D12VideoDevice { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoDecoder)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2457,7 +2457,7 @@ impl ID3D12VideoDevice { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoDecoderHeap)(windows_core::Interface::as_raw(self), pvideodecoderheapdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2465,7 +2465,7 @@ impl ID3D12VideoDevice { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoProcessor)(windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), core::mem::transmute(pinputstreamdescs.as_ptr()), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2486,7 +2486,7 @@ pub struct ID3D12VideoDevice_Vtbl { CreateVideoProcessor: usize, } windows_core::imp::define_interface!(ID3D12VideoDevice1, ID3D12VideoDevice1_Vtbl, 0x981611ad_a144_4c83_9890_f30e26d658ab); -impl std::ops::Deref for ID3D12VideoDevice1 { +impl core::ops::Deref for ID3D12VideoDevice1 { type Target = ID3D12VideoDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2500,7 +2500,7 @@ impl ID3D12VideoDevice1 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoMotionEstimator)(windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -2509,7 +2509,7 @@ impl ID3D12VideoDevice1 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoMotionVectorHeap)(windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2528,7 +2528,7 @@ pub struct ID3D12VideoDevice1_Vtbl { CreateVideoMotionVectorHeap: usize, } windows_core::imp::define_interface!(ID3D12VideoDevice2, ID3D12VideoDevice2_Vtbl, 0xf019ac49_f838_4a95_9b17_579437c8f513); -impl std::ops::Deref for ID3D12VideoDevice2 { +impl core::ops::Deref for ID3D12VideoDevice2 { type Target = ID3D12VideoDevice1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2542,7 +2542,7 @@ impl ID3D12VideoDevice2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoDecoder1)(windows_core::Interface::as_raw(self), pdesc, pprotectedresourcesession.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -2551,7 +2551,7 @@ impl ID3D12VideoDevice2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoDecoderHeap1)(windows_core::Interface::as_raw(self), pvideodecoderheapdesc, pprotectedresourcesession.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -2560,7 +2560,7 @@ impl ID3D12VideoDevice2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoProcessor1)(windows_core::Interface::as_raw(self), nodemask, poutputstreamdesc, pinputstreamdescs.len().try_into().unwrap(), core::mem::transmute(pinputstreamdescs.as_ptr()), pprotectedresourcesession.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2569,7 +2569,7 @@ impl ID3D12VideoDevice2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoExtensionCommand)(windows_core::Interface::as_raw(self), pdesc, pcreationparameters, creationparametersdatasizeinbytes, pprotectedresourcesession.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2607,7 +2607,7 @@ pub struct ID3D12VideoDevice2_Vtbl { ExecuteExtensionCommand: usize, } windows_core::imp::define_interface!(ID3D12VideoDevice3, ID3D12VideoDevice3_Vtbl, 0x4243adb4_3a32_4666_973c_0ccc5625dc44); -impl std::ops::Deref for ID3D12VideoDevice3 { +impl core::ops::Deref for ID3D12VideoDevice3 { type Target = ID3D12VideoDevice2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2620,14 +2620,14 @@ impl ID3D12VideoDevice3 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoEncoder)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateVideoEncoderHeap(&self, pdesc: *const D3D12_VIDEO_ENCODER_HEAP_DESC) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateVideoEncoderHeap)(windows_core::Interface::as_raw(self), pdesc, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2645,7 +2645,7 @@ pub struct ID3D12VideoDevice3_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList_Vtbl, 0x8455293a_0cbd_4831_9b39_fbdbab724723); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoEncodeCommandList { +impl core::ops::Deref for ID3D12VideoEncodeCommandList { type Target = super::super::Graphics::Direct3D12::ID3D12CommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2801,7 +2801,7 @@ pub struct ID3D12VideoEncodeCommandList_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList1_Vtbl, 0x94971eca_2bdb_4769_88cf_3675ea757ebc); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoEncodeCommandList1 { +impl core::ops::Deref for ID3D12VideoEncodeCommandList1 { type Target = ID3D12VideoEncodeCommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2846,7 +2846,7 @@ pub struct ID3D12VideoEncodeCommandList1_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList2, ID3D12VideoEncodeCommandList2_Vtbl, 0x895491e2_e701_46a9_9a1f_8d3480ed867a); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoEncodeCommandList2 { +impl core::ops::Deref for ID3D12VideoEncodeCommandList2 { type Target = ID3D12VideoEncodeCommandList1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2889,7 +2889,7 @@ pub struct ID3D12VideoEncodeCommandList2_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList3, ID3D12VideoEncodeCommandList3_Vtbl, 0x7f027b22_1515_4e85_aa0d_026486580576); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoEncodeCommandList3 { +impl core::ops::Deref for ID3D12VideoEncodeCommandList3 { type Target = ID3D12VideoEncodeCommandList2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2920,7 +2920,7 @@ pub struct ID3D12VideoEncodeCommandList3_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoEncoder, ID3D12VideoEncoder_Vtbl, 0x2e0d212d_8df9_44a6_a770_bb289b182737); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoEncoder { +impl core::ops::Deref for ID3D12VideoEncoder { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2975,7 +2975,7 @@ pub struct ID3D12VideoEncoder_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoEncoderHeap, ID3D12VideoEncoderHeap_Vtbl, 0x22b35d96_876a_44c0_b25e_fb8c9c7f1c4a); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoEncoderHeap { +impl core::ops::Deref for ID3D12VideoEncoderHeap { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3026,7 +3026,7 @@ pub struct ID3D12VideoEncoderHeap_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoExtensionCommand, ID3D12VideoExtensionCommand_Vtbl, 0x554e41e8_ae8e_4a8c_b7d2_5b4f274a30e4); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoExtensionCommand { +impl core::ops::Deref for ID3D12VideoExtensionCommand { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3062,7 +3062,7 @@ pub struct ID3D12VideoExtensionCommand_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoMotionEstimator, ID3D12VideoMotionEstimator_Vtbl, 0x33fdae0e_098b_428f_87bb_34b695de08f8); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoMotionEstimator { +impl core::ops::Deref for ID3D12VideoMotionEstimator { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3102,7 +3102,7 @@ pub struct ID3D12VideoMotionEstimator_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoMotionVectorHeap, ID3D12VideoMotionVectorHeap_Vtbl, 0x5be17987_743a_4061_834b_23d22daea505); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoMotionVectorHeap { +impl core::ops::Deref for ID3D12VideoMotionVectorHeap { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3142,7 +3142,7 @@ pub struct ID3D12VideoMotionVectorHeap_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList_Vtbl, 0xaeb2543a_167f_4682_acc8_d159ed4a6209); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoProcessCommandList { +impl core::ops::Deref for ID3D12VideoProcessCommandList { type Target = super::super::Graphics::Direct3D12::ID3D12CommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3279,7 +3279,7 @@ pub struct ID3D12VideoProcessCommandList_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList1_Vtbl, 0x542c5c4d_7596_434f_8c93_4efa6766f267); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoProcessCommandList1 { +impl core::ops::Deref for ID3D12VideoProcessCommandList1 { type Target = ID3D12VideoProcessCommandList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3313,7 +3313,7 @@ pub struct ID3D12VideoProcessCommandList1_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoProcessCommandList2, ID3D12VideoProcessCommandList2_Vtbl, 0xdb525ae4_6ad6_473c_baa7_59b2e37082e4); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoProcessCommandList2 { +impl core::ops::Deref for ID3D12VideoProcessCommandList2 { type Target = ID3D12VideoProcessCommandList1; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3369,7 +3369,7 @@ pub struct ID3D12VideoProcessCommandList2_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoProcessCommandList3, ID3D12VideoProcessCommandList3_Vtbl, 0x1a0a4ca4_9f08_40ce_9558_b411fd2666ff); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoProcessCommandList3 { +impl core::ops::Deref for ID3D12VideoProcessCommandList3 { type Target = ID3D12VideoProcessCommandList2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3400,7 +3400,7 @@ pub struct ID3D12VideoProcessCommandList3_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoProcessor, ID3D12VideoProcessor_Vtbl, 0x304fdb32_bede_410a_8545_943ac6a46138); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoProcessor { +impl core::ops::Deref for ID3D12VideoProcessor { type Target = super::super::Graphics::Direct3D12::ID3D12Pageable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3449,7 +3449,7 @@ pub struct ID3D12VideoProcessor_Vtbl { #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::define_interface!(ID3D12VideoProcessor1, ID3D12VideoProcessor1_Vtbl, 0xf3cfe615_553f_425c_86d8_ee8c1b1fb01c); #[cfg(feature = "Win32_Graphics_Direct3D12")] -impl std::ops::Deref for ID3D12VideoProcessor1 { +impl core::ops::Deref for ID3D12VideoProcessor1 { type Target = ID3D12VideoProcessor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3477,7 +3477,7 @@ pub struct ID3D12VideoProcessor1_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXVAHD_Device, IDXVAHD_Device_Vtbl, 0x95f12dfd_d77e_49be_815f_57d579634d6d); -impl std::ops::Deref for IDXVAHD_Device { +impl core::ops::Deref for IDXVAHD_Device { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3541,7 +3541,7 @@ pub struct IDXVAHD_Device_Vtbl { pub CreateVideoProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDXVAHD_VideoProcessor, IDXVAHD_VideoProcessor_Vtbl, 0x95f4edf4_6e03_4cd7_be1b_3075d665aa52); -impl std::ops::Deref for IDXVAHD_VideoProcessor { +impl core::ops::Deref for IDXVAHD_VideoProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3582,7 +3582,7 @@ pub struct IDXVAHD_VideoProcessor_Vtbl { VideoProcessBltHD: usize, } windows_core::imp::define_interface!(IDirect3D9ExOverlayExtension, IDirect3D9ExOverlayExtension_Vtbl, 0x187aeb13_aaf5_4c59_876d_e059088c0df8); -impl std::ops::Deref for IDirect3D9ExOverlayExtension { +impl core::ops::Deref for IDirect3D9ExOverlayExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3604,7 +3604,7 @@ pub struct IDirect3D9ExOverlayExtension_Vtbl { CheckDeviceOverlayType: usize, } windows_core::imp::define_interface!(IDirect3DAuthenticatedChannel9, IDirect3DAuthenticatedChannel9_Vtbl, 0xff24beee_da21_4beb_98b5_d2f899f98af9); -impl std::ops::Deref for IDirect3DAuthenticatedChannel9 { +impl core::ops::Deref for IDirect3DAuthenticatedChannel9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3642,7 +3642,7 @@ pub struct IDirect3DAuthenticatedChannel9_Vtbl { Configure: usize, } windows_core::imp::define_interface!(IDirect3DCryptoSession9, IDirect3DCryptoSession9_Vtbl, 0xfa0ab799_7a9c_48ca_8c5b_237e71a54434); -impl std::ops::Deref for IDirect3DCryptoSession9 { +impl core::ops::Deref for IDirect3DCryptoSession9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3715,7 +3715,7 @@ pub struct IDirect3DCryptoSession9_Vtbl { pub GetEncryptionBltKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DDevice9Video, IDirect3DDevice9Video_Vtbl, 0x26dc4561_a1ee_4ae7_96da_118a36c0ec95); -impl std::ops::Deref for IDirect3DDevice9Video { +impl core::ops::Deref for IDirect3DDevice9Video { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3745,7 +3745,7 @@ pub struct IDirect3DDevice9Video_Vtbl { pub CreateCryptoSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirect3DDeviceManager9, IDirect3DDeviceManager9_Vtbl, 0xa0cade0f_06d5_4cf4_a1c7_f3cdd725aa75); -impl std::ops::Deref for IDirect3DDeviceManager9 { +impl core::ops::Deref for IDirect3DDeviceManager9 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3816,7 +3816,7 @@ pub struct IDirect3DDeviceManager9_Vtbl { pub GetVideoService: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectXVideoAccelerationService, IDirectXVideoAccelerationService_Vtbl, 0xfc51a550_d5e7_11d9_af55_00054e43ff02); -impl std::ops::Deref for IDirectXVideoAccelerationService { +impl core::ops::Deref for IDirectXVideoAccelerationService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3838,7 +3838,7 @@ pub struct IDirectXVideoAccelerationService_Vtbl { CreateSurface: usize, } windows_core::imp::define_interface!(IDirectXVideoDecoder, IDirectXVideoDecoder_Vtbl, 0xf2b0810a_fd00_43c9_918c_df94e2d8ef7d); -impl std::ops::Deref for IDirectXVideoDecoder { +impl core::ops::Deref for IDirectXVideoDecoder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3892,7 +3892,7 @@ pub struct IDirectXVideoDecoder_Vtbl { pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *const DXVA2_DecodeExecuteParams) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectXVideoDecoderService, IDirectXVideoDecoderService_Vtbl, 0xfc51a551_d5e7_11d9_af55_00054e43ff02); -impl std::ops::Deref for IDirectXVideoDecoderService { +impl core::ops::Deref for IDirectXVideoDecoderService { type Target = IDirectXVideoAccelerationService; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3935,7 +3935,7 @@ pub struct IDirectXVideoDecoderService_Vtbl { CreateVideoDecoder: usize, } windows_core::imp::define_interface!(IDirectXVideoMemoryConfiguration, IDirectXVideoMemoryConfiguration_Vtbl, 0xb7f916dd_db3b_49c1_84d7_e45ef99ec726); -impl std::ops::Deref for IDirectXVideoMemoryConfiguration { +impl core::ops::Deref for IDirectXVideoMemoryConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3958,7 +3958,7 @@ pub struct IDirectXVideoMemoryConfiguration_Vtbl { pub SetSurfaceType: unsafe extern "system" fn(*mut core::ffi::c_void, DXVA2_SurfaceType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectXVideoProcessor, IDirectXVideoProcessor_Vtbl, 0x8c3a39f0_916e_4690_804f_4c8001355d25); -impl std::ops::Deref for IDirectXVideoProcessor { +impl core::ops::Deref for IDirectXVideoProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4014,7 +4014,7 @@ pub struct IDirectXVideoProcessor_Vtbl { VideoProcessBlt: usize, } windows_core::imp::define_interface!(IDirectXVideoProcessorService, IDirectXVideoProcessorService_Vtbl, 0xfc51a552_d5e7_11d9_af55_00054e43ff02); -impl std::ops::Deref for IDirectXVideoProcessorService { +impl core::ops::Deref for IDirectXVideoProcessorService { type Target = IDirectXVideoAccelerationService; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4091,7 +4091,7 @@ pub struct IDirectXVideoProcessorService_Vtbl { CreateVideoProcessor: usize, } windows_core::imp::define_interface!(IEVRFilterConfig, IEVRFilterConfig_Vtbl, 0x83e91e85_82c1_4ea7_801d_85dc50b75086); -impl std::ops::Deref for IEVRFilterConfig { +impl core::ops::Deref for IEVRFilterConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4114,7 +4114,7 @@ pub struct IEVRFilterConfig_Vtbl { pub GetNumberOfStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEVRFilterConfigEx, IEVRFilterConfigEx_Vtbl, 0xaea36028_796d_454f_beee_b48071e24304); -impl std::ops::Deref for IEVRFilterConfigEx { +impl core::ops::Deref for IEVRFilterConfigEx { type Target = IEVRFilterConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4137,7 +4137,7 @@ pub struct IEVRFilterConfigEx_Vtbl { pub GetConfigPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEVRTrustedVideoPlugin, IEVRTrustedVideoPlugin_Vtbl, 0x83a4ce40_7710_494b_a893_a472049af630); -impl std::ops::Deref for IEVRTrustedVideoPlugin { +impl core::ops::Deref for IEVRTrustedVideoPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4172,7 +4172,7 @@ pub struct IEVRTrustedVideoPlugin_Vtbl { pub DisableImageExport: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEVRVideoStreamControl, IEVRVideoStreamControl_Vtbl, 0xd0cfe38b_93e7_4772_8957_0400c49a4485); -impl std::ops::Deref for IEVRVideoStreamControl { +impl core::ops::Deref for IEVRVideoStreamControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4198,7 +4198,7 @@ pub struct IEVRVideoStreamControl_Vtbl { pub GetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileClient, IFileClient_Vtbl, 0xbfccd196_1244_4840_ab44_480975c4ffe4); -impl std::ops::Deref for IFileClient { +impl core::ops::Deref for IFileClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4230,7 +4230,7 @@ pub struct IFileClient_Vtbl { pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileIo, IFileIo_Vtbl, 0x11993196_1244_4840_ab44_480975c4ffe4); -impl std::ops::Deref for IFileIo { +impl core::ops::Deref for IFileIo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4287,7 +4287,7 @@ pub struct IFileIo_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMF2DBuffer, IMF2DBuffer_Vtbl, 0x7dc9d5f9_9ed9_44ec_9bbf_0600bb589fbb); -impl std::ops::Deref for IMF2DBuffer { +impl core::ops::Deref for IMF2DBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4331,7 +4331,7 @@ pub struct IMF2DBuffer_Vtbl { pub ContiguousCopyFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMF2DBuffer2, IMF2DBuffer2_Vtbl, 0x33ae5ea6_4316_436f_8ddd_d73d22f829ec); -impl std::ops::Deref for IMF2DBuffer2 { +impl core::ops::Deref for IMF2DBuffer2 { type Target = IMF2DBuffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4356,7 +4356,7 @@ pub struct IMF2DBuffer2_Vtbl { pub Copy2DTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFContentInfo, IMFASFContentInfo_Vtbl, 0xb1dca5cd_d5da_4451_8e9e_db5c59914ead); -impl std::ops::Deref for IMFASFContentInfo { +impl core::ops::Deref for IMFASFContentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4419,7 +4419,7 @@ pub struct IMFASFContentInfo_Vtbl { GetEncodingConfigurationPropertyStore: usize, } windows_core::imp::define_interface!(IMFASFIndexer, IMFASFIndexer_Vtbl, 0x53590f48_dc3b_4297_813f_787761ad7b3e); -impl std::ops::Deref for IMFASFIndexer { +impl core::ops::Deref for IMFASFIndexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4507,7 +4507,7 @@ pub struct IMFASFIndexer_Vtbl { pub GetCompletedIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFMultiplexer, IMFASFMultiplexer_Vtbl, 0x57bdd80a_9b38_4838_b737_c58f670d7d4f); -impl std::ops::Deref for IMFASFMultiplexer { +impl core::ops::Deref for IMFASFMultiplexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4568,7 +4568,7 @@ pub struct IMFASFMultiplexer_Vtbl { pub SetSyncTolerance: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFMutualExclusion, IMFASFMutualExclusion_Vtbl, 0x12558291_e399_11d5_bc2a_00b0d0f3f4ab); -impl std::ops::Deref for IMFASFMutualExclusion { +impl core::ops::Deref for IMFASFMutualExclusion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4622,7 +4622,7 @@ pub struct IMFASFMutualExclusion_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFProfile, IMFASFProfile_Vtbl, 0xd267bf6a_028b_4e0d_903d_43f0ef82d0d4); -impl std::ops::Deref for IMFASFProfile { +impl core::ops::Deref for IMFASFProfile { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4721,7 +4721,7 @@ pub struct IMFASFProfile_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFSplitter, IMFASFSplitter_Vtbl, 0x12558295_e399_11d5_bc2a_00b0d0f3f4ab); -impl std::ops::Deref for IMFASFSplitter { +impl core::ops::Deref for IMFASFSplitter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4779,7 +4779,7 @@ pub struct IMFASFSplitter_Vtbl { pub GetLastSendTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFStreamConfig, IMFASFStreamConfig_Vtbl, 0x9e8ae8d2_dbbd_4200_9aca_06e6df484913); -impl std::ops::Deref for IMFASFStreamConfig { +impl core::ops::Deref for IMFASFStreamConfig { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4840,7 +4840,7 @@ pub struct IMFASFStreamConfig_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFStreamPrioritization, IMFASFStreamPrioritization_Vtbl, 0x699bdc27_bbaf_49ff_8e38_9c39c9b5e088); -impl std::ops::Deref for IMFASFStreamPrioritization { +impl core::ops::Deref for IMFASFStreamPrioritization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4876,7 +4876,7 @@ pub struct IMFASFStreamPrioritization_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFASFStreamSelector, IMFASFStreamSelector_Vtbl, 0xd01bad4a_4fa0_4a60_9349_c27e62da9d41); -impl std::ops::Deref for IMFASFStreamSelector { +impl core::ops::Deref for IMFASFStreamSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4956,7 +4956,7 @@ pub struct IMFASFStreamSelector_Vtbl { pub SetStreamSelectorFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFActivate, IMFActivate_Vtbl, 0x7fee9e9a_4a89_47a6_899c_b6a53a70fb67); -impl std::ops::Deref for IMFActivate { +impl core::ops::Deref for IMFActivate { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4968,7 +4968,7 @@ impl IMFActivate { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ActivateObject)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShutdownObject(&self) -> windows_core::Result<()> { @@ -4986,7 +4986,7 @@ pub struct IMFActivate_Vtbl { pub DetachObject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFAsyncCallback, IMFAsyncCallback_Vtbl, 0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); -impl std::ops::Deref for IMFAsyncCallback { +impl core::ops::Deref for IMFAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5011,7 +5011,7 @@ pub struct IMFAsyncCallback_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFAsyncCallbackLogging, IMFAsyncCallbackLogging_Vtbl, 0xc7a4dca1_f5f0_47b6_b92b_bf0106d25791); -impl std::ops::Deref for IMFAsyncCallbackLogging { +impl core::ops::Deref for IMFAsyncCallbackLogging { type Target = IMFAsyncCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5033,7 +5033,7 @@ pub struct IMFAsyncCallbackLogging_Vtbl { pub GetObjectTag: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(IMFAsyncResult, IMFAsyncResult_Vtbl, 0xac6b7889_0740_4d51_8619_905994a55cc6); -impl std::ops::Deref for IMFAsyncResult { +impl core::ops::Deref for IMFAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5069,7 +5069,7 @@ pub struct IMFAsyncResult_Vtbl { pub GetStateNoAddRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } windows_core::imp::define_interface!(IMFAttributes, IMFAttributes_Vtbl, 0x2cd2d921_c447_44a7_a13c_4adabfc247e3); -impl std::ops::Deref for IMFAttributes { +impl core::ops::Deref for IMFAttributes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5135,7 +5135,7 @@ impl IMFAttributes { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetUnknown)(windows_core::Interface::as_raw(self), guidkey, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetItem(&self, guidkey: *const windows_core::GUID, value: *const windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -5229,7 +5229,7 @@ pub struct IMFAttributes_Vtbl { pub CopyAllItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFAudioMediaType, IMFAudioMediaType_Vtbl, 0x26a0adc3_ce26_4672_9304_69552edd3faf); -impl std::ops::Deref for IMFAudioMediaType { +impl core::ops::Deref for IMFAudioMediaType { type Target = IMFMediaType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5251,7 +5251,7 @@ pub struct IMFAudioMediaType_Vtbl { GetAudioFormat: usize, } windows_core::imp::define_interface!(IMFAudioPolicy, IMFAudioPolicy_Vtbl, 0xa0638c2b_6465_4395_9ae7_a321a9fd2856); -impl std::ops::Deref for IMFAudioPolicy { +impl core::ops::Deref for IMFAudioPolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5298,7 +5298,7 @@ pub struct IMFAudioPolicy_Vtbl { pub GetIconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFAudioStreamVolume, IMFAudioStreamVolume_Vtbl, 0x76b1bbdb_4ec8_4f36_b106_70a9316df593); -impl std::ops::Deref for IMFAudioStreamVolume { +impl core::ops::Deref for IMFAudioStreamVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5334,7 +5334,7 @@ pub struct IMFAudioStreamVolume_Vtbl { pub GetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFBufferListNotify, IMFBufferListNotify_Vtbl, 0x24cd47f7_81d8_4785_adb2_af697a963cd2); -impl std::ops::Deref for IMFBufferListNotify { +impl core::ops::Deref for IMFBufferListNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5356,7 +5356,7 @@ pub struct IMFBufferListNotify_Vtbl { pub OnRemoveSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFByteStream, IMFByteStream_Vtbl, 0xad4c1b00_4bf7_422f_9175_756693d9130d); -impl std::ops::Deref for IMFByteStream { +impl core::ops::Deref for IMFByteStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5452,7 +5452,7 @@ pub struct IMFByteStream_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFByteStreamBuffering, IMFByteStreamBuffering_Vtbl, 0x6d66d782_1d4f_4db7_8c63_cb8c77f1ef5e); -impl std::ops::Deref for IMFByteStreamBuffering { +impl core::ops::Deref for IMFByteStreamBuffering { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5481,7 +5481,7 @@ pub struct IMFByteStreamBuffering_Vtbl { pub StopBuffering: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFByteStreamCacheControl, IMFByteStreamCacheControl_Vtbl, 0xf5042ea4_7a96_4a75_aa7b_2be1ef7f88d5); -impl std::ops::Deref for IMFByteStreamCacheControl { +impl core::ops::Deref for IMFByteStreamCacheControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5499,7 +5499,7 @@ pub struct IMFByteStreamCacheControl_Vtbl { pub StopBackgroundTransfer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFByteStreamCacheControl2, IMFByteStreamCacheControl2_Vtbl, 0x71ce469c_f34b_49ea_a56b_2d2a10e51149); -impl std::ops::Deref for IMFByteStreamCacheControl2 { +impl core::ops::Deref for IMFByteStreamCacheControl2 { type Target = IMFByteStreamCacheControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5526,7 +5526,7 @@ pub struct IMFByteStreamCacheControl2_Vtbl { pub IsBackgroundTransferActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFByteStreamHandler, IMFByteStreamHandler_Vtbl, 0xbb420aa4_765b_4a1f_91fe_d6a8a143924c); -impl std::ops::Deref for IMFByteStreamHandler { +impl core::ops::Deref for IMFByteStreamHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5574,7 +5574,7 @@ pub struct IMFByteStreamHandler_Vtbl { pub GetMaxNumberOfBytesRequiredForResolution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFByteStreamProxyClassFactory, IMFByteStreamProxyClassFactory_Vtbl, 0xa6b43f84_5c0a_42e8_a44d_b1857a76992f); -impl std::ops::Deref for IMFByteStreamProxyClassFactory { +impl core::ops::Deref for IMFByteStreamProxyClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5588,7 +5588,7 @@ impl IMFByteStreamProxyClassFactory { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateByteStreamProxy)(windows_core::Interface::as_raw(self), pbytestream.param().abi(), pattributes.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5598,7 +5598,7 @@ pub struct IMFByteStreamProxyClassFactory_Vtbl { pub CreateByteStreamProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFByteStreamTimeSeek, IMFByteStreamTimeSeek_Vtbl, 0x64976bfa_fb61_4041_9069_8c9a5f659beb); -impl std::ops::Deref for IMFByteStreamTimeSeek { +impl core::ops::Deref for IMFByteStreamTimeSeek { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5625,7 +5625,7 @@ pub struct IMFByteStreamTimeSeek_Vtbl { pub GetTimeSeekResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCameraConfigurationManager, IMFCameraConfigurationManager_Vtbl, 0xa624f617_4704_4206_8a6d_ebda4a093985); -impl std::ops::Deref for IMFCameraConfigurationManager { +impl core::ops::Deref for IMFCameraConfigurationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5658,7 +5658,7 @@ pub struct IMFCameraConfigurationManager_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFCameraControlDefaults, IMFCameraControlDefaults_Vtbl, 0x75510662_b034_48f4_88a7_8de61daa4af9); -impl std::ops::Deref for IMFCameraControlDefaults { +impl core::ops::Deref for IMFCameraControlDefaults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5689,7 +5689,7 @@ pub struct IMFCameraControlDefaults_Vtbl { pub UnlockControlData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCameraControlDefaultsCollection, IMFCameraControlDefaultsCollection_Vtbl, 0x92d43d0f_54a8_4bae_96da_356d259a5c26); -impl std::ops::Deref for IMFCameraControlDefaultsCollection { +impl core::ops::Deref for IMFCameraControlDefaultsCollection { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5730,7 +5730,7 @@ pub struct IMFCameraControlDefaultsCollection_Vtbl { pub RemoveAllControls: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCameraControlMonitor, IMFCameraControlMonitor_Vtbl, 0x4d46f2c9_28ba_4970_8c7b_1f0c9d80af69); -impl std::ops::Deref for IMFCameraControlMonitor { +impl core::ops::Deref for IMFCameraControlMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5764,7 +5764,7 @@ pub struct IMFCameraControlMonitor_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFCameraControlNotify, IMFCameraControlNotify_Vtbl, 0xe8f2540d_558a_4449_8b64_4863467a9fe8); -impl std::ops::Deref for IMFCameraControlNotify { +impl core::ops::Deref for IMFCameraControlNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5786,7 +5786,7 @@ pub struct IMFCameraControlNotify_Vtbl { pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT), } windows_core::imp::define_interface!(IMFCameraOcclusionStateMonitor, IMFCameraOcclusionStateMonitor_Vtbl, 0xcc692f46_c697_47e2_a72d_7b064617749b); -impl std::ops::Deref for IMFCameraOcclusionStateMonitor { +impl core::ops::Deref for IMFCameraOcclusionStateMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5812,7 +5812,7 @@ pub struct IMFCameraOcclusionStateMonitor_Vtbl { pub GetSupportedStates: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(IMFCameraOcclusionStateReport, IMFCameraOcclusionStateReport_Vtbl, 0x1640b2cf_74da_4462_a43b_b76d3bdc1434); -impl std::ops::Deref for IMFCameraOcclusionStateReport { +impl core::ops::Deref for IMFCameraOcclusionStateReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5831,7 +5831,7 @@ pub struct IMFCameraOcclusionStateReport_Vtbl { pub GetOcclusionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCameraOcclusionStateReportCallback, IMFCameraOcclusionStateReportCallback_Vtbl, 0x6e5841c7_3889_4019_9035_783fb19b5948); -impl std::ops::Deref for IMFCameraOcclusionStateReportCallback { +impl core::ops::Deref for IMFCameraOcclusionStateReportCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5852,7 +5852,7 @@ pub struct IMFCameraOcclusionStateReportCallback_Vtbl { pub OnOcclusionStateReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCameraSyncObject, IMFCameraSyncObject_Vtbl, 0x6338b23a_3042_49d2_a3ea_ec0fed815407); -impl std::ops::Deref for IMFCameraSyncObject { +impl core::ops::Deref for IMFCameraSyncObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5874,7 +5874,7 @@ pub struct IMFCameraSyncObject_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFCaptureEngine, IMFCaptureEngine_Vtbl, 0xa6bba433_176b_48b2_b375_53aa03473207); -impl std::ops::Deref for IMFCaptureEngine { +impl core::ops::Deref for IMFCaptureEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5932,7 +5932,7 @@ pub struct IMFCaptureEngine_Vtbl { pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureEngineClassFactory, IMFCaptureEngineClassFactory_Vtbl, 0x8f02d140_56fc_4302_a705_3a97c78be779); -impl std::ops::Deref for IMFCaptureEngineClassFactory { +impl core::ops::Deref for IMFCaptureEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5944,7 +5944,7 @@ impl IMFCaptureEngineClassFactory { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -5954,7 +5954,7 @@ pub struct IMFCaptureEngineClassFactory_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureEngineOnEventCallback, IMFCaptureEngineOnEventCallback_Vtbl, 0xaeda51c0_9025_4983_9012_de597b88b089); -impl std::ops::Deref for IMFCaptureEngineOnEventCallback { +impl core::ops::Deref for IMFCaptureEngineOnEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5975,7 +5975,7 @@ pub struct IMFCaptureEngineOnEventCallback_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureEngineOnSampleCallback, IMFCaptureEngineOnSampleCallback_Vtbl, 0x52150b82_ab39_4467_980f_e48bf0822ecd); -impl std::ops::Deref for IMFCaptureEngineOnSampleCallback { +impl core::ops::Deref for IMFCaptureEngineOnSampleCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5996,7 +5996,7 @@ pub struct IMFCaptureEngineOnSampleCallback_Vtbl { pub OnSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureEngineOnSampleCallback2, IMFCaptureEngineOnSampleCallback2_Vtbl, 0xe37ceed7_340f_4514_9f4d_9c2ae026100b); -impl std::ops::Deref for IMFCaptureEngineOnSampleCallback2 { +impl core::ops::Deref for IMFCaptureEngineOnSampleCallback2 { type Target = IMFCaptureEngineOnSampleCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6017,7 +6017,7 @@ pub struct IMFCaptureEngineOnSampleCallback2_Vtbl { pub OnSynchronizedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCapturePhotoConfirmation, IMFCapturePhotoConfirmation_Vtbl, 0x19f68549_ca8a_4706_a4ef_481dbc95e12c); -impl std::ops::Deref for IMFCapturePhotoConfirmation { +impl core::ops::Deref for IMFCapturePhotoConfirmation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6047,7 +6047,7 @@ pub struct IMFCapturePhotoConfirmation_Vtbl { pub GetPixelFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCapturePhotoSink, IMFCapturePhotoSink_Vtbl, 0xd2d43cc8_48bb_4aa7_95db_10c06977e777); -impl std::ops::Deref for IMFCapturePhotoSink { +impl core::ops::Deref for IMFCapturePhotoSink { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6082,7 +6082,7 @@ pub struct IMFCapturePhotoSink_Vtbl { pub SetOutputByteStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCapturePreviewSink, IMFCapturePreviewSink_Vtbl, 0x77346cfd_5b49_4d73_ace0_5b52a859f2e0); -impl std::ops::Deref for IMFCapturePreviewSink { +impl core::ops::Deref for IMFCapturePreviewSink { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6149,7 +6149,7 @@ pub struct IMFCapturePreviewSink_Vtbl { pub SetCustomSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureRecordSink, IMFCaptureRecordSink_Vtbl, 0x3323b55a_f92a_4fe2_8edc_e9bfc0634d77); -impl std::ops::Deref for IMFCaptureRecordSink { +impl core::ops::Deref for IMFCaptureRecordSink { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6200,7 +6200,7 @@ pub struct IMFCaptureRecordSink_Vtbl { pub SetRotation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureSink, IMFCaptureSink_Vtbl, 0x72d6135b_35e9_412c_b926_fd5265f2a885); -impl std::ops::Deref for IMFCaptureSink { +impl core::ops::Deref for IMFCaptureSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6238,7 +6238,7 @@ pub struct IMFCaptureSink_Vtbl { pub RemoveAllStreams: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureSink2, IMFCaptureSink2_Vtbl, 0xf9e4219e_6197_4b5e_b888_bee310ab2c59); -impl std::ops::Deref for IMFCaptureSink2 { +impl core::ops::Deref for IMFCaptureSink2 { type Target = IMFCaptureSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6260,7 +6260,7 @@ pub struct IMFCaptureSink2_Vtbl { pub SetOutputMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCaptureSource, IMFCaptureSource_Vtbl, 0x439a42a8_0d2c_4505_be83_f79b2a05d5c4); -impl std::ops::Deref for IMFCaptureSource { +impl core::ops::Deref for IMFCaptureSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6347,7 +6347,7 @@ pub struct IMFCaptureSource_Vtbl { pub GetStreamIndexFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCdmSuspendNotify, IMFCdmSuspendNotify_Vtbl, 0x7a5645d2_43bd_47fd_87b7_dcd24cc7d692); -impl std::ops::Deref for IMFCdmSuspendNotify { +impl core::ops::Deref for IMFCdmSuspendNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6369,7 +6369,7 @@ pub struct IMFCdmSuspendNotify_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFClock, IMFClock_Vtbl, 0x2eb1e945_18b8_4139_9b1a_d5d584818530); -impl std::ops::Deref for IMFClock { +impl core::ops::Deref for IMFClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6406,7 +6406,7 @@ pub struct IMFClock_Vtbl { pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFCLOCK_PROPERTIES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFClockConsumer, IMFClockConsumer_Vtbl, 0x6ef2a662_47c0_4666_b13d_cbb717f2fa2c); -impl std::ops::Deref for IMFClockConsumer { +impl core::ops::Deref for IMFClockConsumer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6432,7 +6432,7 @@ pub struct IMFClockConsumer_Vtbl { pub GetPresentationClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFClockStateSink, IMFClockStateSink_Vtbl, 0xf6696e82_74f7_4f3d_a178_8a5e09c3659f); -impl std::ops::Deref for IMFClockStateSink { +impl core::ops::Deref for IMFClockStateSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6466,7 +6466,7 @@ pub struct IMFClockStateSink_Vtbl { pub OnClockSetRate: unsafe extern "system" fn(*mut core::ffi::c_void, i64, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFCollection, IMFCollection_Vtbl, 0x5bc8a76b_869a_46a3_9b03_fa218a66aebe); -impl std::ops::Deref for IMFCollection { +impl core::ops::Deref for IMFCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6513,7 +6513,7 @@ pub struct IMFCollection_Vtbl { pub RemoveAllElements: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentDecryptionModule, IMFContentDecryptionModule_Vtbl, 0x87be986c_10be_4943_bf48_4b54ce1983a2); -impl std::ops::Deref for IMFContentDecryptionModule { +impl core::ops::Deref for IMFContentDecryptionModule { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6568,7 +6568,7 @@ pub struct IMFContentDecryptionModule_Vtbl { pub GetProtectionSystemIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentDecryptionModuleAccess, IMFContentDecryptionModuleAccess_Vtbl, 0xa853d1f4_e2a0_4303_9edc_f1a68ee43136); -impl std::ops::Deref for IMFContentDecryptionModuleAccess { +impl core::ops::Deref for IMFContentDecryptionModuleAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6608,7 +6608,7 @@ pub struct IMFContentDecryptionModuleAccess_Vtbl { pub GetKeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentDecryptionModuleFactory, IMFContentDecryptionModuleFactory_Vtbl, 0x7d5abf16_4cbb_4e08_b977_9ba59049943e); -impl std::ops::Deref for IMFContentDecryptionModuleFactory { +impl core::ops::Deref for IMFContentDecryptionModuleFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6642,7 +6642,7 @@ pub struct IMFContentDecryptionModuleFactory_Vtbl { CreateContentDecryptionModuleAccess: usize, } windows_core::imp::define_interface!(IMFContentDecryptionModuleSession, IMFContentDecryptionModuleSession_Vtbl, 0x4e233efd_1dd2_49e8_b577_d63eee4c0d33); -impl std::ops::Deref for IMFContentDecryptionModuleSession { +impl core::ops::Deref for IMFContentDecryptionModuleSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6697,7 +6697,7 @@ pub struct IMFContentDecryptionModuleSession_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentDecryptionModuleSessionCallbacks, IMFContentDecryptionModuleSessionCallbacks_Vtbl, 0x3f96ee40_ad81_4096_8470_59a4b770f89a); -impl std::ops::Deref for IMFContentDecryptionModuleSessionCallbacks { +impl core::ops::Deref for IMFContentDecryptionModuleSessionCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6722,7 +6722,7 @@ pub struct IMFContentDecryptionModuleSessionCallbacks_Vtbl { pub KeyStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentDecryptorContext, IMFContentDecryptorContext_Vtbl, 0x7ec4b1bd_43fb_4763_85d2_64fcb5c5f4cb); -impl std::ops::Deref for IMFContentDecryptorContext { +impl core::ops::Deref for IMFContentDecryptorContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6741,7 +6741,7 @@ pub struct IMFContentDecryptorContext_Vtbl { pub InitializeHardwareKey: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentEnabler, IMFContentEnabler_Vtbl, 0xd3c4ef59_49ce_4381_9071_d5bcd044c770); -impl std::ops::Deref for IMFContentEnabler { +impl core::ops::Deref for IMFContentEnabler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6785,7 +6785,7 @@ pub struct IMFContentEnabler_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentProtectionDevice, IMFContentProtectionDevice_Vtbl, 0xe6257174_a060_4c9a_a088_3b1b471cad28); -impl std::ops::Deref for IMFContentProtectionDevice { +impl core::ops::Deref for IMFContentProtectionDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6807,7 +6807,7 @@ pub struct IMFContentProtectionDevice_Vtbl { pub GetPrivateDataByteCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFContentProtectionManager, IMFContentProtectionManager_Vtbl, 0xacf92459_6a61_42bd_b57c_b43e51203cb0); -impl std::ops::Deref for IMFContentProtectionManager { +impl core::ops::Deref for IMFContentProtectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6838,7 +6838,7 @@ pub struct IMFContentProtectionManager_Vtbl { pub EndEnableContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFD3D12SynchronizationObject, IMFD3D12SynchronizationObject_Vtbl, 0x802302b0_82de_45e1_b421_f19ee5bdaf23); -impl std::ops::Deref for IMFD3D12SynchronizationObject { +impl core::ops::Deref for IMFD3D12SynchronizationObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6863,7 +6863,7 @@ pub struct IMFD3D12SynchronizationObject_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFD3D12SynchronizationObjectCommands, IMFD3D12SynchronizationObjectCommands_Vtbl, 0x09d0f835_92ff_4e53_8efa_40faa551f233); -impl std::ops::Deref for IMFD3D12SynchronizationObjectCommands { +impl core::ops::Deref for IMFD3D12SynchronizationObjectCommands { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6917,7 +6917,7 @@ pub struct IMFD3D12SynchronizationObjectCommands_Vtbl { EnqueueResourceRelease: usize, } windows_core::imp::define_interface!(IMFDLNASinkInit, IMFDLNASinkInit_Vtbl, 0x0c012799_1b61_4c10_bda9_04445be5f561); -impl std::ops::Deref for IMFDLNASinkInit { +impl core::ops::Deref for IMFDLNASinkInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6939,7 +6939,7 @@ pub struct IMFDLNASinkInit_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFDRMNetHelper, IMFDRMNetHelper_Vtbl, 0x3d1ff0ea_679a_4190_8d46_7fa69e8c7e15); -impl std::ops::Deref for IMFDRMNetHelper { +impl core::ops::Deref for IMFDRMNetHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6961,7 +6961,7 @@ pub struct IMFDRMNetHelper_Vtbl { pub GetChainedLicenseResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFDXGIBuffer, IMFDXGIBuffer_Vtbl, 0xe7174cfa_1c9e_48b1_8866_626226bfc258); -impl std::ops::Deref for IMFDXGIBuffer { +impl core::ops::Deref for IMFDXGIBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6995,7 +6995,7 @@ pub struct IMFDXGIBuffer_Vtbl { pub SetUnknown: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFDXGIDeviceManager, IMFDXGIDeviceManager_Vtbl, 0xeb533d5d_2db6_40f8_97a9_494692014f07); -impl std::ops::Deref for IMFDXGIDeviceManager { +impl core::ops::Deref for IMFDXGIDeviceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7058,7 +7058,7 @@ pub struct IMFDXGIDeviceManager_Vtbl { pub UnlockDevice: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFDXGIDeviceManagerSource, IMFDXGIDeviceManagerSource_Vtbl, 0x20bc074b_7a8d_4609_8c3b_64a0a3b5d7ce); -impl std::ops::Deref for IMFDXGIDeviceManagerSource { +impl core::ops::Deref for IMFDXGIDeviceManagerSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7077,7 +7077,7 @@ pub struct IMFDXGIDeviceManagerSource_Vtbl { pub GetManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFDesiredSample, IMFDesiredSample_Vtbl, 0x56c294d0_753e_4260_8d61_a3d8820b1d54); -impl std::ops::Deref for IMFDesiredSample { +impl core::ops::Deref for IMFDesiredSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7103,7 +7103,7 @@ pub struct IMFDesiredSample_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFDeviceTransform, IMFDeviceTransform_Vtbl, 0xd818fbd8_fc46_42f2_87ac_1ea2d1f9bf32); -impl std::ops::Deref for IMFDeviceTransform { +impl core::ops::Deref for IMFDeviceTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7220,7 +7220,7 @@ pub struct IMFDeviceTransform_Vtbl { pub FlushOutputStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFDeviceTransformCallback, IMFDeviceTransformCallback_Vtbl, 0x6d5cb646_29ec_41fb_8179_8c4c6d750811); -impl std::ops::Deref for IMFDeviceTransformCallback { +impl core::ops::Deref for IMFDeviceTransformCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7241,7 +7241,7 @@ pub struct IMFDeviceTransformCallback_Vtbl { pub OnBufferSent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFExtendedCameraControl, IMFExtendedCameraControl_Vtbl, 0x38e33520_fca1_4845_a27a_68b7c6ab3789); -impl std::ops::Deref for IMFExtendedCameraControl { +impl core::ops::Deref for IMFExtendedCameraControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7279,7 +7279,7 @@ pub struct IMFExtendedCameraControl_Vtbl { pub CommitSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFExtendedCameraController, IMFExtendedCameraController_Vtbl, 0xb91ebfee_ca03_4af4_8a82_a31752f4a0fc); -impl std::ops::Deref for IMFExtendedCameraController { +impl core::ops::Deref for IMFExtendedCameraController { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7298,7 +7298,7 @@ pub struct IMFExtendedCameraController_Vtbl { pub GetExtendedCameraControl: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicModel, IMFExtendedCameraIntrinsicModel_Vtbl, 0x5c595e64_4630_4231_855a_12842f733245); -impl std::ops::Deref for IMFExtendedCameraIntrinsicModel { +impl core::ops::Deref for IMFExtendedCameraIntrinsicModel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7325,7 +7325,7 @@ pub struct IMFExtendedCameraIntrinsicModel_Vtbl { pub GetDistortionModelType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFCameraIntrinsic_DistortionModelType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFExtendedCameraIntrinsics, IMFExtendedCameraIntrinsics_Vtbl, 0x687f6dac_6987_4750_a16a_734d1e7a10fe); -impl std::ops::Deref for IMFExtendedCameraIntrinsics { +impl core::ops::Deref for IMFExtendedCameraIntrinsics { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7369,7 +7369,7 @@ pub struct IMFExtendedCameraIntrinsics_Vtbl { pub AddIntrinsicModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicsDistortionModel6KT, IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl, 0x74c2653b_5f55_4eb1_9f0f_18b8f68b7d3d); -impl std::ops::Deref for IMFExtendedCameraIntrinsicsDistortionModel6KT { +impl core::ops::Deref for IMFExtendedCameraIntrinsicsDistortionModel6KT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7391,7 +7391,7 @@ pub struct IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl { pub SetDistortionModel: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFCameraIntrinsic_DistortionModel6KT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl, 0x812d5f95_b572_45dc_bafc_ae24199ddda8); -impl std::ops::Deref for IMFExtendedCameraIntrinsicsDistortionModelArcTan { +impl core::ops::Deref for IMFExtendedCameraIntrinsicsDistortionModelArcTan { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7413,7 +7413,7 @@ pub struct IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl { pub SetDistortionModel: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFCameraIntrinsic_DistortionModelArcTan) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFExtendedDRMTypeSupport, IMFExtendedDRMTypeSupport_Vtbl, 0x332ec562_3758_468d_a784_e38f23552128); -impl std::ops::Deref for IMFExtendedDRMTypeSupport { +impl core::ops::Deref for IMFExtendedDRMTypeSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7436,7 +7436,7 @@ pub struct IMFExtendedDRMTypeSupport_Vtbl { pub IsTypeSupportedEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut MF_MEDIA_ENGINE_CANPLAY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFFieldOfUseMFTUnlock, IMFFieldOfUseMFTUnlock_Vtbl, 0x508e71d3_ec66_4fc3_8775_b4b9ed6ba847); -impl std::ops::Deref for IMFFieldOfUseMFTUnlock { +impl core::ops::Deref for IMFFieldOfUseMFTUnlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7457,7 +7457,7 @@ pub struct IMFFieldOfUseMFTUnlock_Vtbl { pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFFinalizableMediaSink, IMFFinalizableMediaSink_Vtbl, 0xeaecb74a_9a50_42ce_9541_6a7f57aa4ad7); -impl std::ops::Deref for IMFFinalizableMediaSink { +impl core::ops::Deref for IMFFinalizableMediaSink { type Target = IMFMediaSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7486,7 +7486,7 @@ pub struct IMFFinalizableMediaSink_Vtbl { pub EndFinalize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFGetService, IMFGetService_Vtbl, 0xfa993888_4383_415a_a930_dd472a8cf6f7); -impl std::ops::Deref for IMFGetService { +impl core::ops::Deref for IMFGetService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7498,7 +7498,7 @@ impl IMFGetService { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetService)(windows_core::Interface::as_raw(self), guidservice, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -7508,7 +7508,7 @@ pub struct IMFGetService_Vtbl { pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFHDCPStatus, IMFHDCPStatus_Vtbl, 0xde400f54_5bf1_40cf_8964_0bea136b1e3d); -impl std::ops::Deref for IMFHDCPStatus { +impl core::ops::Deref for IMFHDCPStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7530,7 +7530,7 @@ pub struct IMFHDCPStatus_Vtbl { pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, MF_HDCP_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFHttpDownloadRequest, IMFHttpDownloadRequest_Vtbl, 0xf779fddf_26e7_4270_8a8b_b983d1859de0); -impl std::ops::Deref for IMFHttpDownloadRequest { +impl core::ops::Deref for IMFHttpDownloadRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7642,7 +7642,7 @@ pub struct IMFHttpDownloadRequest_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFHttpDownloadSession, IMFHttpDownloadSession_Vtbl, 0x71fa9a2c_53ce_4662_a132_1a7e8cbf62db); -impl std::ops::Deref for IMFHttpDownloadSession { +impl core::ops::Deref for IMFHttpDownloadSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7679,7 +7679,7 @@ pub struct IMFHttpDownloadSession_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFHttpDownloadSessionProvider, IMFHttpDownloadSessionProvider_Vtbl, 0x1b4cf4b9_3a16_4115_839d_03cc5c99df01); -impl std::ops::Deref for IMFHttpDownloadSessionProvider { +impl core::ops::Deref for IMFHttpDownloadSessionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7701,7 +7701,7 @@ pub struct IMFHttpDownloadSessionProvider_Vtbl { pub CreateHttpDownloadSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFImageSharingEngine, IMFImageSharingEngine_Vtbl, 0xcfa0ae8e_7e1c_44d2_ae68_fc4c148a6354); -impl std::ops::Deref for IMFImageSharingEngine { +impl core::ops::Deref for IMFImageSharingEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7730,7 +7730,7 @@ pub struct IMFImageSharingEngine_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFImageSharingEngineClassFactory, IMFImageSharingEngineClassFactory_Vtbl, 0x1fc55727_a7fb_4fc8_83ae_8af024990af1); -impl std::ops::Deref for IMFImageSharingEngineClassFactory { +impl core::ops::Deref for IMFImageSharingEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7752,7 +7752,7 @@ pub struct IMFImageSharingEngineClassFactory_Vtbl { pub CreateInstanceFromUDN: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFInputTrustAuthority, IMFInputTrustAuthority_Vtbl, 0xd19f8e98_b126_4446_890c_5dcb7ad71453); -impl std::ops::Deref for IMFInputTrustAuthority { +impl core::ops::Deref for IMFInputTrustAuthority { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7792,7 +7792,7 @@ pub struct IMFInputTrustAuthority_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFLocalMFTRegistration, IMFLocalMFTRegistration_Vtbl, 0x149c4d73_b4be_4f8d_8b87_079e926b6add); -impl std::ops::Deref for IMFLocalMFTRegistration { +impl core::ops::Deref for IMFLocalMFTRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7810,7 +7810,7 @@ pub struct IMFLocalMFTRegistration_Vtbl { pub RegisterMFTs: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFT_REGISTRATION_INFO, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaBuffer, IMFMediaBuffer_Vtbl, 0x045fa593_8799_42b8_bc8d_8968c6453507); -impl std::ops::Deref for IMFMediaBuffer { +impl core::ops::Deref for IMFMediaBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7846,7 +7846,7 @@ pub struct IMFMediaBuffer_Vtbl { pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngine, IMFMediaEngine_Vtbl, 0x98a1b0bb_03eb_4935_ae7c_93c1fa0e1c93); -impl std::ops::Deref for IMFMediaEngine { +impl core::ops::Deref for IMFMediaEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8056,7 +8056,7 @@ pub struct IMFMediaEngine_Vtbl { pub OnVideoStreamTick: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineAudioEndpointId, IMFMediaEngineAudioEndpointId_Vtbl, 0x7a3bac98_0e76_49fb_8c20_8a86fd98eaf2); -impl std::ops::Deref for IMFMediaEngineAudioEndpointId { +impl core::ops::Deref for IMFMediaEngineAudioEndpointId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8082,7 +8082,7 @@ pub struct IMFMediaEngineAudioEndpointId_Vtbl { pub GetAudioEndpointId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineClassFactory, IMFMediaEngineClassFactory_Vtbl, 0x4d645ace_26aa_4688_9be1_df3516990b93); -impl std::ops::Deref for IMFMediaEngineClassFactory { +impl core::ops::Deref for IMFMediaEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8114,7 +8114,7 @@ pub struct IMFMediaEngineClassFactory_Vtbl { pub CreateError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineClassFactory2, IMFMediaEngineClassFactory2_Vtbl, 0x09083cef_867f_4bf6_8776_dee3a7b42fca); -impl std::ops::Deref for IMFMediaEngineClassFactory2 { +impl core::ops::Deref for IMFMediaEngineClassFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8138,7 +8138,7 @@ pub struct IMFMediaEngineClassFactory2_Vtbl { pub CreateMediaKeys2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineClassFactory3, IMFMediaEngineClassFactory3_Vtbl, 0x3787614f_65f7_4003_b673_ead8293a0e60); -impl std::ops::Deref for IMFMediaEngineClassFactory3 { +impl core::ops::Deref for IMFMediaEngineClassFactory3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8164,7 +8164,7 @@ pub struct IMFMediaEngineClassFactory3_Vtbl { CreateMediaKeySystemAccess: usize, } windows_core::imp::define_interface!(IMFMediaEngineClassFactory4, IMFMediaEngineClassFactory4_Vtbl, 0xfbe256c1_43cf_4a9b_8cb8_ce8632a34186); -impl std::ops::Deref for IMFMediaEngineClassFactory4 { +impl core::ops::Deref for IMFMediaEngineClassFactory4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8185,7 +8185,7 @@ pub struct IMFMediaEngineClassFactory4_Vtbl { pub CreateContentDecryptionModuleFactory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineClassFactoryEx, IMFMediaEngineClassFactoryEx_Vtbl, 0xc56156c6_ea5b_48a5_9df8_fbe035d0929e); -impl std::ops::Deref for IMFMediaEngineClassFactoryEx { +impl core::ops::Deref for IMFMediaEngineClassFactoryEx { type Target = IMFMediaEngineClassFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8225,7 +8225,7 @@ pub struct IMFMediaEngineClassFactoryEx_Vtbl { pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineEME, IMFMediaEngineEME_Vtbl, 0x50dc93e4_ba4f_4275_ae66_83e836e57469); -impl std::ops::Deref for IMFMediaEngineEME { +impl core::ops::Deref for IMFMediaEngineEME { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8251,7 +8251,7 @@ pub struct IMFMediaEngineEME_Vtbl { pub SetMediaKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineEMENotify, IMFMediaEngineEMENotify_Vtbl, 0x9e184d15_cdb7_4f86_b49e_566689f4a601); -impl std::ops::Deref for IMFMediaEngineEMENotify { +impl core::ops::Deref for IMFMediaEngineEMENotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8276,7 +8276,7 @@ pub struct IMFMediaEngineEMENotify_Vtbl { pub WaitingForKey: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFMediaEngineEx, IMFMediaEngineEx_Vtbl, 0x83015ead_b1e6_40d0_a98a_37145ffe1ad1); -impl std::ops::Deref for IMFMediaEngineEx { +impl core::ops::Deref for IMFMediaEngineEx { type Target = IMFMediaEngine; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8482,7 +8482,7 @@ pub struct IMFMediaEngineEx_Vtbl { pub EnableTimeUpdateTimer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineExtension, IMFMediaEngineExtension_Vtbl, 0x2f69d622_20b5_41e9_afdf_89ced1dda04e); -impl std::ops::Deref for IMFMediaEngineExtension { +impl core::ops::Deref for IMFMediaEngineExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8530,7 +8530,7 @@ pub struct IMFMediaEngineExtension_Vtbl { pub EndCreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineNeedKeyNotify, IMFMediaEngineNeedKeyNotify_Vtbl, 0x46a30204_a696_4b18_8804_246b8f031bb1); -impl std::ops::Deref for IMFMediaEngineNeedKeyNotify { +impl core::ops::Deref for IMFMediaEngineNeedKeyNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8548,7 +8548,7 @@ pub struct IMFMediaEngineNeedKeyNotify_Vtbl { pub NeedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32), } windows_core::imp::define_interface!(IMFMediaEngineNotify, IMFMediaEngineNotify_Vtbl, 0xfee7c112_e776_42b5_9bbf_0048524e2bd5); -impl std::ops::Deref for IMFMediaEngineNotify { +impl core::ops::Deref for IMFMediaEngineNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8566,7 +8566,7 @@ pub struct IMFMediaEngineNotify_Vtbl { pub EventNotify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineOPMInfo, IMFMediaEngineOPMInfo_Vtbl, 0x765763e6_6c01_4b01_bb0f_b829f60ed28c); -impl std::ops::Deref for IMFMediaEngineOPMInfo { +impl core::ops::Deref for IMFMediaEngineOPMInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8584,7 +8584,7 @@ pub struct IMFMediaEngineOPMInfo_Vtbl { pub GetOPMInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_MEDIA_ENGINE_OPM_STATUS, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineProtectedContent, IMFMediaEngineProtectedContent_Vtbl, 0x9f8021e8_9c8c_487e_bb5c_79aa4779938c); -impl std::ops::Deref for IMFMediaEngineProtectedContent { +impl core::ops::Deref for IMFMediaEngineProtectedContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8636,7 +8636,7 @@ pub struct IMFMediaEngineProtectedContent_Vtbl { pub SetApplicationCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineSrcElements, IMFMediaEngineSrcElements_Vtbl, 0x7a5e5354_b114_4c72_b991_3131d75032ea); -impl std::ops::Deref for IMFMediaEngineSrcElements { +impl core::ops::Deref for IMFMediaEngineSrcElements { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8682,7 +8682,7 @@ pub struct IMFMediaEngineSrcElements_Vtbl { pub RemoveAllElements: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineSrcElementsEx, IMFMediaEngineSrcElementsEx_Vtbl, 0x654a6bb3_e1a3_424a_9908_53a43a0dfda0); -impl std::ops::Deref for IMFMediaEngineSrcElementsEx { +impl core::ops::Deref for IMFMediaEngineSrcElementsEx { type Target = IMFMediaEngineSrcElements; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8711,7 +8711,7 @@ pub struct IMFMediaEngineSrcElementsEx_Vtbl { pub GetKeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineSupportsSourceTransfer, IMFMediaEngineSupportsSourceTransfer_Vtbl, 0xa724b056_1b2e_4642_a6f3_db9420c52908); -impl std::ops::Deref for IMFMediaEngineSupportsSourceTransfer { +impl core::ops::Deref for IMFMediaEngineSupportsSourceTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8743,7 +8743,7 @@ pub struct IMFMediaEngineSupportsSourceTransfer_Vtbl { pub AttachMediaSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineTransferSource, IMFMediaEngineTransferSource_Vtbl, 0x24230452_fe54_40cc_94f3_fcc394c340d6); -impl std::ops::Deref for IMFMediaEngineTransferSource { +impl core::ops::Deref for IMFMediaEngineTransferSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8764,7 +8764,7 @@ pub struct IMFMediaEngineTransferSource_Vtbl { pub TransferSourceToMediaEngine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEngineWebSupport, IMFMediaEngineWebSupport_Vtbl, 0xba2743a1_07e0_48ef_84b6_9a2ed023ca6c); -impl std::ops::Deref for IMFMediaEngineWebSupport { +impl core::ops::Deref for IMFMediaEngineWebSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8791,7 +8791,7 @@ pub struct IMFMediaEngineWebSupport_Vtbl { pub DisconnectWebAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaError, IMFMediaError_Vtbl, 0xfc0e10d2_ab2a_4501_a951_06bb1075184c); -impl std::ops::Deref for IMFMediaError { +impl core::ops::Deref for IMFMediaError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8821,7 +8821,7 @@ pub struct IMFMediaError_Vtbl { pub SetExtendedErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEvent, IMFMediaEvent_Vtbl, 0xdf598932_f10c_4e39_bba2_c308f101daa3); -impl std::ops::Deref for IMFMediaEvent { +impl core::ops::Deref for IMFMediaEvent { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8855,7 +8855,7 @@ pub struct IMFMediaEvent_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEventGenerator, IMFMediaEventGenerator_Vtbl, 0x2cd0bd52_bcd5_4b89_b62c_eadc0c031e7d); -impl std::ops::Deref for IMFMediaEventGenerator { +impl core::ops::Deref for IMFMediaEventGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8894,7 +8894,7 @@ pub struct IMFMediaEventGenerator_Vtbl { pub QueueEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, windows_core::HRESULT, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaEventQueue, IMFMediaEventQueue_Vtbl, 0x36f846fc_2256_48b6_b58e_e2b638316581); -impl std::ops::Deref for IMFMediaEventQueue { +impl core::ops::Deref for IMFMediaEventQueue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8951,7 +8951,7 @@ pub struct IMFMediaEventQueue_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaKeySession, IMFMediaKeySession_Vtbl, 0x24fa67d5_d1d0_4dc5_995c_c0efdc191fb5); -impl std::ops::Deref for IMFMediaKeySession { +impl core::ops::Deref for IMFMediaKeySession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8987,7 +8987,7 @@ pub struct IMFMediaKeySession_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaKeySession2, IMFMediaKeySession2_Vtbl, 0xe9707e05_6d55_4636_b185_3de21210bd75); -impl std::ops::Deref for IMFMediaKeySession2 { +impl core::ops::Deref for IMFMediaKeySession2 { type Target = IMFMediaKeySession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9033,7 +9033,7 @@ pub struct IMFMediaKeySession2_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaKeySessionNotify, IMFMediaKeySessionNotify_Vtbl, 0x6a0083f9_8947_4c1d_9ce0_cdee22b23135); -impl std::ops::Deref for IMFMediaKeySessionNotify { +impl core::ops::Deref for IMFMediaKeySessionNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9062,7 +9062,7 @@ pub struct IMFMediaKeySessionNotify_Vtbl { pub KeyError: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u32), } windows_core::imp::define_interface!(IMFMediaKeySessionNotify2, IMFMediaKeySessionNotify2_Vtbl, 0xc3a9e92a_da88_46b0_a110_6cf953026cb9); -impl std::ops::Deref for IMFMediaKeySessionNotify2 { +impl core::ops::Deref for IMFMediaKeySessionNotify2 { type Target = IMFMediaKeySessionNotify; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9087,7 +9087,7 @@ pub struct IMFMediaKeySessionNotify2_Vtbl { pub KeyStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFMediaKeySystemAccess, IMFMediaKeySystemAccess_Vtbl, 0xaec63fda_7a97_4944_b35c_6c6df8085cc3); -impl std::ops::Deref for IMFMediaKeySystemAccess { +impl core::ops::Deref for IMFMediaKeySystemAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9127,7 +9127,7 @@ pub struct IMFMediaKeySystemAccess_Vtbl { pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaKeys, IMFMediaKeys_Vtbl, 0x5cb31c05_61ff_418f_afda_caaf41421a38); -impl std::ops::Deref for IMFMediaKeys { +impl core::ops::Deref for IMFMediaKeys { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9164,7 +9164,7 @@ pub struct IMFMediaKeys_Vtbl { pub GetSuspendNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaKeys2, IMFMediaKeys2_Vtbl, 0x45892507_ad66_4de2_83a2_acbb13cd8d43); -impl std::ops::Deref for IMFMediaKeys2 { +impl core::ops::Deref for IMFMediaKeys2 { type Target = IMFMediaKeys; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9195,7 +9195,7 @@ pub struct IMFMediaKeys2_Vtbl { pub GetDOMException: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSession, IMFMediaSession_Vtbl, 0x90377834_21d0_4dee_8214_ba2e3e6c1127); -impl std::ops::Deref for IMFMediaSession { +impl core::ops::Deref for IMFMediaSession { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9255,7 +9255,7 @@ pub struct IMFMediaSession_Vtbl { pub GetFullTopology: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSharingEngine, IMFMediaSharingEngine_Vtbl, 0x8d3ce1bf_2367_40e0_9eee_40d377cc1b46); -impl std::ops::Deref for IMFMediaSharingEngine { +impl core::ops::Deref for IMFMediaSharingEngine { type Target = IMFMediaEngine; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9273,7 +9273,7 @@ pub struct IMFMediaSharingEngine_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEVICE_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSharingEngineClassFactory, IMFMediaSharingEngineClassFactory_Vtbl, 0x524d2bc4_b2b1_4fe5_8fac_fa4e4512b4e0); -impl std::ops::Deref for IMFMediaSharingEngineClassFactory { +impl core::ops::Deref for IMFMediaSharingEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9295,7 +9295,7 @@ pub struct IMFMediaSharingEngineClassFactory_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSink, IMFMediaSink_Vtbl, 0x6ef2a660_47c0_4666_b13d_cbb717f2fa2c); -impl std::ops::Deref for IMFMediaSink { +impl core::ops::Deref for IMFMediaSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9357,7 +9357,7 @@ pub struct IMFMediaSink_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSinkPreroll, IMFMediaSinkPreroll_Vtbl, 0x5dfd4b2a_7674_4110_a4e6_8a68fd5f3688); -impl std::ops::Deref for IMFMediaSinkPreroll { +impl core::ops::Deref for IMFMediaSinkPreroll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9375,7 +9375,7 @@ pub struct IMFMediaSinkPreroll_Vtbl { pub NotifyPreroll: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSource, IMFMediaSource_Vtbl, 0x279a808d_aec7_40c8_9c6b_a6b492c78a66); -impl std::ops::Deref for IMFMediaSource { +impl core::ops::Deref for IMFMediaSource { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9418,7 +9418,7 @@ pub struct IMFMediaSource_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSource2, IMFMediaSource2_Vtbl, 0xfbb03414_d13b_4786_8319_5ac51fc0a136); -impl std::ops::Deref for IMFMediaSource2 { +impl core::ops::Deref for IMFMediaSource2 { type Target = IMFMediaSourceEx; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9439,7 +9439,7 @@ pub struct IMFMediaSource2_Vtbl { pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSourceEx, IMFMediaSourceEx_Vtbl, 0x3c9b2eb9_86d5_4514_a394_f56664f9f0d8); -impl std::ops::Deref for IMFMediaSourceEx { +impl core::ops::Deref for IMFMediaSourceEx { type Target = IMFMediaSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9470,7 +9470,7 @@ pub struct IMFMediaSourceEx_Vtbl { pub SetD3DManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSourceExtension, IMFMediaSourceExtension_Vtbl, 0xe467b94e_a713_4562_a802_816a42e9008a); -impl std::ops::Deref for IMFMediaSourceExtension { +impl core::ops::Deref for IMFMediaSourceExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9535,7 +9535,7 @@ pub struct IMFMediaSourceExtension_Vtbl { pub GetSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, } windows_core::imp::define_interface!(IMFMediaSourceExtensionLiveSeekableRange, IMFMediaSourceExtensionLiveSeekableRange_Vtbl, 0x5d1abfd6_450a_4d92_9efc_d6b6cbc1f4da); -impl std::ops::Deref for IMFMediaSourceExtensionLiveSeekableRange { +impl core::ops::Deref for IMFMediaSourceExtensionLiveSeekableRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9557,7 +9557,7 @@ pub struct IMFMediaSourceExtensionLiveSeekableRange_Vtbl { pub ClearLiveSeekableRange: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSourceExtensionNotify, IMFMediaSourceExtensionNotify_Vtbl, 0xa7901327_05dd_4469_a7b7_0e01979e361d); -impl std::ops::Deref for IMFMediaSourceExtensionNotify { +impl core::ops::Deref for IMFMediaSourceExtensionNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9583,7 +9583,7 @@ pub struct IMFMediaSourceExtensionNotify_Vtbl { pub OnSourceClose: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFMediaSourcePresentationProvider, IMFMediaSourcePresentationProvider_Vtbl, 0x0e1d600a_c9f3_442d_8c51_a42d2d49452f); -impl std::ops::Deref for IMFMediaSourcePresentationProvider { +impl core::ops::Deref for IMFMediaSourcePresentationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9604,7 +9604,7 @@ pub struct IMFMediaSourcePresentationProvider_Vtbl { pub ForceEndOfPresentation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaSourceTopologyProvider, IMFMediaSourceTopologyProvider_Vtbl, 0x0e1d6009_c9f3_442d_8c51_a42d2d49452f); -impl std::ops::Deref for IMFMediaSourceTopologyProvider { +impl core::ops::Deref for IMFMediaSourceTopologyProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9626,7 +9626,7 @@ pub struct IMFMediaSourceTopologyProvider_Vtbl { pub GetMediaSourceTopology: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaStream, IMFMediaStream_Vtbl, 0xd182108f_4ec6_443f_aa42_a71106ec825f); -impl std::ops::Deref for IMFMediaStream { +impl core::ops::Deref for IMFMediaStream { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9657,7 +9657,7 @@ pub struct IMFMediaStream_Vtbl { pub RequestSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaStream2, IMFMediaStream2_Vtbl, 0xc5bc37d6_75c7_46a1_a132_81b5f723c20f); -impl std::ops::Deref for IMFMediaStream2 { +impl core::ops::Deref for IMFMediaStream2 { type Target = IMFMediaStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9680,7 +9680,7 @@ pub struct IMFMediaStream2_Vtbl { pub GetStreamState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_STREAM_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaStreamSourceSampleRequest, IMFMediaStreamSourceSampleRequest_Vtbl, 0x380b9af9_a85b_4e78_a2af_ea5ce645c6b4); -impl std::ops::Deref for IMFMediaStreamSourceSampleRequest { +impl core::ops::Deref for IMFMediaStreamSourceSampleRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9701,7 +9701,7 @@ pub struct IMFMediaStreamSourceSampleRequest_Vtbl { pub SetSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaTimeRange, IMFMediaTimeRange_Vtbl, 0xdb71a2fc_078a_414e_9df9_8c2531b0aa6c); -impl std::ops::Deref for IMFMediaTimeRange { +impl core::ops::Deref for IMFMediaTimeRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9741,7 +9741,7 @@ pub struct IMFMediaTimeRange_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaType, IMFMediaType_Vtbl, 0x44ae0fa8_ea31_4109_8d2e_4cae4997c555); -impl std::ops::Deref for IMFMediaType { +impl core::ops::Deref for IMFMediaType { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9781,7 +9781,7 @@ pub struct IMFMediaType_Vtbl { pub FreeRepresentation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMediaTypeHandler, IMFMediaTypeHandler_Vtbl, 0xe93dcf6c_4b07_4e1e_8123_aa16ed6eadf5); -impl std::ops::Deref for IMFMediaTypeHandler { +impl core::ops::Deref for IMFMediaTypeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9829,7 +9829,7 @@ pub struct IMFMediaTypeHandler_Vtbl { pub GetMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMetadata, IMFMetadata_Vtbl, 0xf88cfb8c_ef16_4991_b450_cb8c69e51704); -impl std::ops::Deref for IMFMetadata { +impl core::ops::Deref for IMFMetadata { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9887,7 +9887,7 @@ pub struct IMFMetadata_Vtbl { pub GetAllPropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMetadataProvider, IMFMetadataProvider_Vtbl, 0x56181d2d_e221_4adb_b1c8_3cee6a53f76f); -impl std::ops::Deref for IMFMetadataProvider { +impl core::ops::Deref for IMFMetadataProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9909,7 +9909,7 @@ pub struct IMFMetadataProvider_Vtbl { pub GetMFMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMuxStreamAttributesManager, IMFMuxStreamAttributesManager_Vtbl, 0xce8bd576_e440_43b3_be34_1e53f565f7e8); -impl std::ops::Deref for IMFMuxStreamAttributesManager { +impl core::ops::Deref for IMFMuxStreamAttributesManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9933,7 +9933,7 @@ pub struct IMFMuxStreamAttributesManager_Vtbl { pub GetAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMuxStreamMediaTypeManager, IMFMuxStreamMediaTypeManager_Vtbl, 0x505a2c72_42f7_4690_aeab_8f513d0ffdb8); -impl std::ops::Deref for IMFMuxStreamMediaTypeManager { +impl core::ops::Deref for IMFMuxStreamMediaTypeManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9975,7 +9975,7 @@ pub struct IMFMuxStreamMediaTypeManager_Vtbl { pub GetStreamConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFMuxStreamSampleManager, IMFMuxStreamSampleManager_Vtbl, 0x74abbc19_b1cc_4e41_bb8b_9d9b86a8f6ca); -impl std::ops::Deref for IMFMuxStreamSampleManager { +impl core::ops::Deref for IMFMuxStreamSampleManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10003,7 +10003,7 @@ pub struct IMFMuxStreamSampleManager_Vtbl { pub GetStreamConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } windows_core::imp::define_interface!(IMFNetCredential, IMFNetCredential_Vtbl, 0x5b87ef6a_7ed8_434f_ba0e_184fac1628d1); -impl std::ops::Deref for IMFNetCredential { +impl core::ops::Deref for IMFNetCredential { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10050,7 +10050,7 @@ pub struct IMFNetCredential_Vtbl { pub LoggedOnUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFNetCredentialCache, IMFNetCredentialCache_Vtbl, 0x5b87ef6c_7ed8_434f_ba0e_184fac1628d1); -impl std::ops::Deref for IMFNetCredentialCache { +impl core::ops::Deref for IMFNetCredentialCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10087,7 +10087,7 @@ pub struct IMFNetCredentialCache_Vtbl { pub SetUserOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFNetCredentialManager, IMFNetCredentialManager_Vtbl, 0x5b87ef6b_7ed8_434f_ba0e_184fac1628d1); -impl std::ops::Deref for IMFNetCredentialManager { +impl core::ops::Deref for IMFNetCredentialManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10125,7 +10125,7 @@ pub struct IMFNetCredentialManager_Vtbl { pub SetGood: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFNetCrossOriginSupport, IMFNetCrossOriginSupport_Vtbl, 0xbc2b7d44_a72d_49d5_8376_1480dee58b22); -impl std::ops::Deref for IMFNetCrossOriginSupport { +impl core::ops::Deref for IMFNetCrossOriginSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10157,7 +10157,7 @@ pub struct IMFNetCrossOriginSupport_Vtbl { pub IsSameOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFNetProxyLocator, IMFNetProxyLocator_Vtbl, 0xe9cd0383_a268_4bb4_82de_658d53574d41); -impl std::ops::Deref for IMFNetProxyLocator { +impl core::ops::Deref for IMFNetProxyLocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10197,7 +10197,7 @@ pub struct IMFNetProxyLocator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFNetProxyLocatorFactory, IMFNetProxyLocatorFactory_Vtbl, 0xe9cd0384_a268_4bb4_82de_658d53574d41); -impl std::ops::Deref for IMFNetProxyLocatorFactory { +impl core::ops::Deref for IMFNetProxyLocatorFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10219,7 +10219,7 @@ pub struct IMFNetProxyLocatorFactory_Vtbl { pub CreateProxyLocator: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFNetResourceFilter, IMFNetResourceFilter_Vtbl, 0x091878a3_bf11_4a5c_bc9f_33995b06ef2d); -impl std::ops::Deref for IMFNetResourceFilter { +impl core::ops::Deref for IMFNetResourceFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10248,7 +10248,7 @@ pub struct IMFNetResourceFilter_Vtbl { pub OnSendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFNetSchemeHandlerConfig, IMFNetSchemeHandlerConfig_Vtbl, 0x7be19e73_c9bf_468a_ac5a_a5e8653bec87); -impl std::ops::Deref for IMFNetSchemeHandlerConfig { +impl core::ops::Deref for IMFNetSchemeHandlerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10276,7 +10276,7 @@ pub struct IMFNetSchemeHandlerConfig_Vtbl { pub ResetProtocolRolloverSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFObjectReferenceStream, IMFObjectReferenceStream_Vtbl, 0x09ef5be3_c8a7_469e_8b70_73bf25bb193f); -impl std::ops::Deref for IMFObjectReferenceStream { +impl core::ops::Deref for IMFObjectReferenceStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10301,7 +10301,7 @@ pub struct IMFObjectReferenceStream_Vtbl { pub LoadReference: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFOutputPolicy, IMFOutputPolicy_Vtbl, 0x7f00f10a_daed_41af_ab26_5fdfa4dfba3c); -impl std::ops::Deref for IMFOutputPolicy { +impl core::ops::Deref for IMFOutputPolicy { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10330,7 +10330,7 @@ pub struct IMFOutputPolicy_Vtbl { pub GetMinimumGRLVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFOutputSchema, IMFOutputSchema_Vtbl, 0x7be0fc5b_abd9_44fb_a5c8_f50136e71599); -impl std::ops::Deref for IMFOutputSchema { +impl core::ops::Deref for IMFOutputSchema { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10359,7 +10359,7 @@ pub struct IMFOutputSchema_Vtbl { pub GetOriginatorID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFOutputTrustAuthority, IMFOutputTrustAuthority_Vtbl, 0xd19f8e94_b126_4446_890c_5dcb7ad71453); -impl std::ops::Deref for IMFOutputTrustAuthority { +impl core::ops::Deref for IMFOutputTrustAuthority { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10382,7 +10382,7 @@ pub struct IMFOutputTrustAuthority_Vtbl { pub SetPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPMPClient, IMFPMPClient_Vtbl, 0x6c4e655d_ead8_4421_b6b9_54dcdbbdf820); -impl std::ops::Deref for IMFPMPClient { +impl core::ops::Deref for IMFPMPClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10403,7 +10403,7 @@ pub struct IMFPMPClient_Vtbl { pub SetPMPHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPMPClientApp, IMFPMPClientApp_Vtbl, 0xc004f646_be2c_48f3_93a2_a0983eba1108); -impl std::ops::Deref for IMFPMPClientApp { +impl core::ops::Deref for IMFPMPClientApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10424,7 +10424,7 @@ pub struct IMFPMPClientApp_Vtbl { pub SetPMPHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPMPHost, IMFPMPHost_Vtbl, 0xf70ca1a9_fdc7_4782_b994_adffb1c98606); -impl std::ops::Deref for IMFPMPHost { +impl core::ops::Deref for IMFPMPHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10444,7 +10444,7 @@ impl IMFPMPHost { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateObjectByCLSID)(windows_core::Interface::as_raw(self), clsid, pstream.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10459,7 +10459,7 @@ pub struct IMFPMPHost_Vtbl { CreateObjectByCLSID: usize, } windows_core::imp::define_interface!(IMFPMPHostApp, IMFPMPHostApp_Vtbl, 0x84d2054a_3aa1_4728_a3b0_440a418cf49c); -impl std::ops::Deref for IMFPMPHostApp { +impl core::ops::Deref for IMFPMPHostApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10480,7 +10480,7 @@ impl IMFPMPHostApp { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ActivateClassById)(windows_core::Interface::as_raw(self), id.param().abi(), pstream.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10495,7 +10495,7 @@ pub struct IMFPMPHostApp_Vtbl { ActivateClassById: usize, } windows_core::imp::define_interface!(IMFPMPServer, IMFPMPServer_Vtbl, 0x994e23af_1cc2_493c_b9fa_46f1cb040fa4); -impl std::ops::Deref for IMFPMPServer { +impl core::ops::Deref for IMFPMPServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10513,7 +10513,7 @@ impl IMFPMPServer { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateObjectByCLSID)(windows_core::Interface::as_raw(self), clsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10525,7 +10525,7 @@ pub struct IMFPMPServer_Vtbl { pub CreateObjectByCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPMediaItem, IMFPMediaItem_Vtbl, 0x90eb3e6b_ecbf_45cc_b1da_c6fe3ea70d57); -impl std::ops::Deref for IMFPMediaItem { +impl core::ops::Deref for IMFPMediaItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10637,7 +10637,7 @@ pub struct IMFPMediaItem_Vtbl { GetMetadata: usize, } windows_core::imp::define_interface!(IMFPMediaPlayer, IMFPMediaPlayer_Vtbl, 0xa714590a_58af_430a_85bf_44f5ec838d85); -impl std::ops::Deref for IMFPMediaPlayer { +impl core::ops::Deref for IMFPMediaPlayer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10834,7 +10834,7 @@ pub struct IMFPMediaPlayer_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPMediaPlayerCallback, IMFPMediaPlayerCallback_Vtbl, 0x766c8ffb_5fdb_4fea_a28d_b912996f51bd); -impl std::ops::Deref for IMFPMediaPlayerCallback { +impl core::ops::Deref for IMFPMediaPlayerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10856,7 +10856,7 @@ pub struct IMFPMediaPlayerCallback_Vtbl { OnMediaPlayerEvent: usize, } windows_core::imp::define_interface!(IMFPluginControl, IMFPluginControl_Vtbl, 0x5c6c44bf_1db6_435b_9249_e8cd10fdec96); -impl std::ops::Deref for IMFPluginControl { +impl core::ops::Deref for IMFPluginControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10905,7 +10905,7 @@ pub struct IMFPluginControl_Vtbl { pub SetDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPluginControl2, IMFPluginControl2_Vtbl, 0xc6982083_3ddc_45cb_af5e_0f7a8ce4de77); -impl std::ops::Deref for IMFPluginControl2 { +impl core::ops::Deref for IMFPluginControl2 { type Target = IMFPluginControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10923,7 +10923,7 @@ pub struct IMFPluginControl2_Vtbl { pub SetPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, MF_PLUGIN_CONTROL_POLICY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPresentationClock, IMFPresentationClock_Vtbl, 0x868ce85c_8ea9_4f55_ab82_b009a910a805); -impl std::ops::Deref for IMFPresentationClock { +impl core::ops::Deref for IMFPresentationClock { type Target = IMFClock; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10980,7 +10980,7 @@ pub struct IMFPresentationClock_Vtbl { pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPresentationDescriptor, IMFPresentationDescriptor_Vtbl, 0x03cb2711_24d7_4db6_a17f_f3a7a479a536); -impl std::ops::Deref for IMFPresentationDescriptor { +impl core::ops::Deref for IMFPresentationDescriptor { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11016,7 +11016,7 @@ pub struct IMFPresentationDescriptor_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFPresentationTimeSource, IMFPresentationTimeSource_Vtbl, 0x7ff12cce_f76f_41c2_863b_1666c8e5e139); -impl std::ops::Deref for IMFPresentationTimeSource { +impl core::ops::Deref for IMFPresentationTimeSource { type Target = IMFClock; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11035,7 +11035,7 @@ pub struct IMFPresentationTimeSource_Vtbl { pub GetUnderlyingClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFProtectedEnvironmentAccess, IMFProtectedEnvironmentAccess_Vtbl, 0xef5dc845_f0d9_4ec9_b00c_cb5183d38434); -impl std::ops::Deref for IMFProtectedEnvironmentAccess { +impl core::ops::Deref for IMFProtectedEnvironmentAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11057,7 +11057,7 @@ pub struct IMFProtectedEnvironmentAccess_Vtbl { pub ReadGRL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFQualityAdvise, IMFQualityAdvise_Vtbl, 0xec15e2e9_e36b_4f7c_8758_77d452ef4ce7); -impl std::ops::Deref for IMFQualityAdvise { +impl core::ops::Deref for IMFQualityAdvise { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11093,7 +11093,7 @@ pub struct IMFQualityAdvise_Vtbl { pub DropTime: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFQualityAdvise2, IMFQualityAdvise2_Vtbl, 0xf3706f0d_8ea2_4886_8000_7155e9ec2eae); -impl std::ops::Deref for IMFQualityAdvise2 { +impl core::ops::Deref for IMFQualityAdvise2 { type Target = IMFQualityAdvise; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11115,7 +11115,7 @@ pub struct IMFQualityAdvise2_Vtbl { pub NotifyQualityEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFQualityAdviseLimits, IMFQualityAdviseLimits_Vtbl, 0xdfcd8e4d_30b5_4567_acaa_8eb5b7853dc9); -impl std::ops::Deref for IMFQualityAdviseLimits { +impl core::ops::Deref for IMFQualityAdviseLimits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11139,7 +11139,7 @@ pub struct IMFQualityAdviseLimits_Vtbl { pub GetMinimumQualityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_QUALITY_LEVEL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFQualityManager, IMFQualityManager_Vtbl, 0x8d009d86_5b9f_4115_b1fc_9f80d52ab8ab); -impl std::ops::Deref for IMFQualityManager { +impl core::ops::Deref for IMFQualityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11195,7 +11195,7 @@ pub struct IMFQualityManager_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRateControl, IMFRateControl_Vtbl, 0x88ddcd21_03c3_4275_91ed_55ee3929328f); -impl std::ops::Deref for IMFRateControl { +impl core::ops::Deref for IMFRateControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11220,7 +11220,7 @@ pub struct IMFRateControl_Vtbl { pub GetRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRateSupport, IMFRateSupport_Vtbl, 0x0a9ccdbc_d797_4563_9667_94ec5d79292d); -impl std::ops::Deref for IMFRateSupport { +impl core::ops::Deref for IMFRateSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11257,7 +11257,7 @@ pub struct IMFRateSupport_Vtbl { pub IsRateSupported: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, f32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFReadWriteClassFactory, IMFReadWriteClassFactory_Vtbl, 0xe7fe2e12_661c_40da_92f9_4f002ab67627); -impl std::ops::Deref for IMFReadWriteClassFactory { +impl core::ops::Deref for IMFReadWriteClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11271,7 +11271,7 @@ impl IMFReadWriteClassFactory { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstanceFromURL)(windows_core::Interface::as_raw(self), clsid, pwszurl.param().abi(), pattributes.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateInstanceFromObject(&self, clsid: *const windows_core::GUID, punkobject: P0, pattributes: P1) -> windows_core::Result @@ -11280,7 +11280,7 @@ impl IMFReadWriteClassFactory { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstanceFromObject)(windows_core::Interface::as_raw(self), clsid, punkobject.param().abi(), pattributes.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11291,7 +11291,7 @@ pub struct IMFReadWriteClassFactory_Vtbl { pub CreateInstanceFromObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRealTimeClient, IMFRealTimeClient_Vtbl, 0x2347d60b_3fb5_480c_8803_8df3adcd3ef0); -impl std::ops::Deref for IMFRealTimeClient { +impl core::ops::Deref for IMFRealTimeClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11320,7 +11320,7 @@ pub struct IMFRealTimeClient_Vtbl { pub SetWorkQueue: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRealTimeClientEx, IMFRealTimeClientEx_Vtbl, 0x03910848_ab16_4611_b100_17b88ae2f248); -impl std::ops::Deref for IMFRealTimeClientEx { +impl core::ops::Deref for IMFRealTimeClientEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11349,7 +11349,7 @@ pub struct IMFRealTimeClientEx_Vtbl { pub SetWorkQueueEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRelativePanelReport, IMFRelativePanelReport_Vtbl, 0xf25362ea_2c0e_447f_81e2_755914cdc0c3); -impl std::ops::Deref for IMFRelativePanelReport { +impl core::ops::Deref for IMFRelativePanelReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11368,7 +11368,7 @@ pub struct IMFRelativePanelReport_Vtbl { pub GetRelativePanel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRelativePanelWatcher, IMFRelativePanelWatcher_Vtbl, 0x421af7f6_573e_4ad0_8fda_2e57cedb18c6); -impl std::ops::Deref for IMFRelativePanelWatcher { +impl core::ops::Deref for IMFRelativePanelWatcher { type Target = IMFShutdown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11403,7 +11403,7 @@ pub struct IMFRelativePanelWatcher_Vtbl { pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRemoteAsyncCallback, IMFRemoteAsyncCallback_Vtbl, 0xa27003d0_2354_4f2a_8d6a_ab7cff15437e); -impl std::ops::Deref for IMFRemoteAsyncCallback { +impl core::ops::Deref for IMFRemoteAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11424,7 +11424,7 @@ pub struct IMFRemoteAsyncCallback_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRemoteDesktopPlugin, IMFRemoteDesktopPlugin_Vtbl, 0x1cde6309_cae0_4940_907e_c1ec9c3d1d4a); -impl std::ops::Deref for IMFRemoteDesktopPlugin { +impl core::ops::Deref for IMFRemoteDesktopPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11445,7 +11445,7 @@ pub struct IMFRemoteDesktopPlugin_Vtbl { pub UpdateTopology: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFRemoteProxy, IMFRemoteProxy_Vtbl, 0x994e23ad_1cc2_493c_b9fa_46f1cb040fa4); -impl std::ops::Deref for IMFRemoteProxy { +impl core::ops::Deref for IMFRemoteProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11467,7 +11467,7 @@ pub struct IMFRemoteProxy_Vtbl { pub GetRemoteHost: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSAMIStyle, IMFSAMIStyle_Vtbl, 0xa7e025dd_5303_4a62_89d6_e747e1efac73); -impl std::ops::Deref for IMFSAMIStyle { +impl core::ops::Deref for IMFSAMIStyle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11503,7 +11503,7 @@ pub struct IMFSAMIStyle_Vtbl { pub GetSelectedStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSSLCertificateManager, IMFSSLCertificateManager_Vtbl, 0x61f7d887_1230_4a8b_aeba_8ad434d1a64d); -impl std::ops::Deref for IMFSSLCertificateManager { +impl core::ops::Deref for IMFSSLCertificateManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11555,7 +11555,7 @@ pub struct IMFSSLCertificateManager_Vtbl { pub OnServerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSample, IMFSample_Vtbl, 0xc40a00f2_b93a_4d80_ae8c_5a1c634f58e4); -impl std::ops::Deref for IMFSample { +impl core::ops::Deref for IMFSample { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11638,7 +11638,7 @@ pub struct IMFSample_Vtbl { pub CopyToBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSampleAllocatorControl, IMFSampleAllocatorControl_Vtbl, 0xda62b958_3a38_4a97_bd27_149c640c0771); -impl std::ops::Deref for IMFSampleAllocatorControl { +impl core::ops::Deref for IMFSampleAllocatorControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11663,7 +11663,7 @@ pub struct IMFSampleAllocatorControl_Vtbl { pub GetAllocatorUsage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut MFSampleAllocatorUsage) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSampleGrabberSinkCallback, IMFSampleGrabberSinkCallback_Vtbl, 0x8c7b80bf_ee42_4b59_b1df_55668e1bdca8); -impl std::ops::Deref for IMFSampleGrabberSinkCallback { +impl core::ops::Deref for IMFSampleGrabberSinkCallback { type Target = IMFClockStateSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11692,7 +11692,7 @@ pub struct IMFSampleGrabberSinkCallback_Vtbl { pub OnShutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSampleGrabberSinkCallback2, IMFSampleGrabberSinkCallback2_Vtbl, 0xca86aa50_c46e_429e_ab27_16d6ac6844cb); -impl std::ops::Deref for IMFSampleGrabberSinkCallback2 { +impl core::ops::Deref for IMFSampleGrabberSinkCallback2 { type Target = IMFSampleGrabberSinkCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11713,7 +11713,7 @@ pub struct IMFSampleGrabberSinkCallback2_Vtbl { pub OnProcessSampleEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, i64, i64, *const u8, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSampleOutputStream, IMFSampleOutputStream_Vtbl, 0x8feed468_6f7e_440d_869a_49bdd283ad0d); -impl std::ops::Deref for IMFSampleOutputStream { +impl core::ops::Deref for IMFSampleOutputStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11747,7 +11747,7 @@ pub struct IMFSampleOutputStream_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSampleProtection, IMFSampleProtection_Vtbl, 0x8e36395f_c7b9_43c4_a54d_512b4af63c95); -impl std::ops::Deref for IMFSampleProtection { +impl core::ops::Deref for IMFSampleProtection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11783,7 +11783,7 @@ pub struct IMFSampleProtection_Vtbl { pub InitInputProtection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSaveJob, IMFSaveJob_Vtbl, 0xe9931663_80bf_4c6e_98af_5dcf58747d1f); -impl std::ops::Deref for IMFSaveJob { +impl core::ops::Deref for IMFSaveJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11822,7 +11822,7 @@ pub struct IMFSaveJob_Vtbl { pub GetProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSchemeHandler, IMFSchemeHandler_Vtbl, 0x6d4c7b74_52a0_4bb7_b0db_55f29f47a668); -impl std::ops::Deref for IMFSchemeHandler { +impl core::ops::Deref for IMFSchemeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11864,7 +11864,7 @@ pub struct IMFSchemeHandler_Vtbl { pub CancelObjectCreation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSecureBuffer, IMFSecureBuffer_Vtbl, 0xc1209904_e584_4752_a2d6_7f21693f8b21); -impl std::ops::Deref for IMFSecureBuffer { +impl core::ops::Deref for IMFSecureBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11883,7 +11883,7 @@ pub struct IMFSecureBuffer_Vtbl { pub GetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSecureChannel, IMFSecureChannel_Vtbl, 0xd0ae555d_3b12_4d97_b060_0990bc5aeb67); -impl std::ops::Deref for IMFSecureChannel { +impl core::ops::Deref for IMFSecureChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11905,7 +11905,7 @@ pub struct IMFSecureChannel_Vtbl { pub SetupSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSeekInfo, IMFSeekInfo_Vtbl, 0x26afea53_d9ed_42b5_ab80_e64f9ee34779); -impl std::ops::Deref for IMFSeekInfo { +impl core::ops::Deref for IMFSeekInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11923,7 +11923,7 @@ pub struct IMFSeekInfo_Vtbl { pub GetNearestKeyFrames: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorActivitiesReport, IMFSensorActivitiesReport_Vtbl, 0x683f7a5e_4a19_43cd_b1a9_dbf4ab3f7777); -impl std::ops::Deref for IMFSensorActivitiesReport { +impl core::ops::Deref for IMFSensorActivitiesReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11955,7 +11955,7 @@ pub struct IMFSensorActivitiesReport_Vtbl { pub GetActivityReportByDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorActivitiesReportCallback, IMFSensorActivitiesReportCallback_Vtbl, 0xde5072ee_dbe3_46dc_8a87_b6f631194751); -impl std::ops::Deref for IMFSensorActivitiesReportCallback { +impl core::ops::Deref for IMFSensorActivitiesReportCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11976,7 +11976,7 @@ pub struct IMFSensorActivitiesReportCallback_Vtbl { pub OnActivitiesReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorActivityMonitor, IMFSensorActivityMonitor_Vtbl, 0xd0cef145_b3f4_4340_a2e5_7a5080ca05cb); -impl std::ops::Deref for IMFSensorActivityMonitor { +impl core::ops::Deref for IMFSensorActivityMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11998,7 +11998,7 @@ pub struct IMFSensorActivityMonitor_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorActivityReport, IMFSensorActivityReport_Vtbl, 0x3e8c4be1_a8c2_4528_90de_2851bde5fead); -impl std::ops::Deref for IMFSensorActivityReport { +impl core::ops::Deref for IMFSensorActivityReport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12030,7 +12030,7 @@ pub struct IMFSensorActivityReport_Vtbl { pub GetProcessActivity: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorDevice, IMFSensorDevice_Vtbl, 0xfb9f48f2_2a18_4e28_9730_786f30f04dc4); -impl std::ops::Deref for IMFSensorDevice { +impl core::ops::Deref for IMFSensorDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12087,7 +12087,7 @@ pub struct IMFSensorDevice_Vtbl { pub GetSensorDeviceMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFSensorDeviceMode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorGroup, IMFSensorGroup_Vtbl, 0x4110243a_9757_461f_89f1_f22345bcab4e); -impl std::ops::Deref for IMFSensorGroup { +impl core::ops::Deref for IMFSensorGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12139,7 +12139,7 @@ pub struct IMFSensorGroup_Vtbl { pub CreateMediaSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorProcessActivity, IMFSensorProcessActivity_Vtbl, 0x39dc7f4a_b141_4719_813c_a7f46162a2b8); -impl std::ops::Deref for IMFSensorProcessActivity { +impl core::ops::Deref for IMFSensorProcessActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12173,7 +12173,7 @@ pub struct IMFSensorProcessActivity_Vtbl { pub GetReportTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorProfile, IMFSensorProfile_Vtbl, 0x22f765d1_8dab_4107_846d_56baf72215e7); -impl std::ops::Deref for IMFSensorProfile { +impl core::ops::Deref for IMFSensorProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12213,7 +12213,7 @@ pub struct IMFSensorProfile_Vtbl { pub AddBlockedControl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorProfileCollection, IMFSensorProfileCollection_Vtbl, 0xc95ea55b_0187_48be_9353_8d2507662351); -impl std::ops::Deref for IMFSensorProfileCollection { +impl core::ops::Deref for IMFSensorProfileCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12256,7 +12256,7 @@ pub struct IMFSensorProfileCollection_Vtbl { pub RemoveProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *const SENSORPROFILEID), } windows_core::imp::define_interface!(IMFSensorStream, IMFSensorStream_Vtbl, 0xe9a42171_c56e_498a_8b39_eda5a070b7fc); -impl std::ops::Deref for IMFSensorStream { +impl core::ops::Deref for IMFSensorStream { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12285,7 +12285,7 @@ pub struct IMFSensorStream_Vtbl { pub CloneSensorStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSensorTransformFactory, IMFSensorTransformFactory_Vtbl, 0xeed9c2ee_66b4_4f18_a697_ac7d3960215c); -impl std::ops::Deref for IMFSensorTransformFactory { +impl core::ops::Deref for IMFSensorTransformFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12329,7 +12329,7 @@ pub struct IMFSensorTransformFactory_Vtbl { pub CreateTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSequencerSource, IMFSequencerSource_Vtbl, 0x197cd219_19cb_4de1_a64c_acf2edcbe59e); -impl std::ops::Deref for IMFSequencerSource { +impl core::ops::Deref for IMFSequencerSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12373,7 +12373,7 @@ pub struct IMFSequencerSource_Vtbl { pub UpdateTopologyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSharingEngineClassFactory, IMFSharingEngineClassFactory_Vtbl, 0x2ba61f92_8305_413b_9733_faf15f259384); -impl std::ops::Deref for IMFSharingEngineClassFactory { +impl core::ops::Deref for IMFSharingEngineClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12395,7 +12395,7 @@ pub struct IMFSharingEngineClassFactory_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFShutdown, IMFShutdown_Vtbl, 0x97ec2ea4_0e42_4937_97ac_9d6d328824e1); -impl std::ops::Deref for IMFShutdown { +impl core::ops::Deref for IMFShutdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12418,7 +12418,7 @@ pub struct IMFShutdown_Vtbl { pub GetShutdownStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFSHUTDOWN_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSignedLibrary, IMFSignedLibrary_Vtbl, 0x4a724bca_ff6a_4c07_8e0d_7a358421cf06); -impl std::ops::Deref for IMFSignedLibrary { +impl core::ops::Deref for IMFSignedLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12439,7 +12439,7 @@ pub struct IMFSignedLibrary_Vtbl { pub GetProcedureAddress: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSimpleAudioVolume, IMFSimpleAudioVolume_Vtbl, 0x089edf13_cf71_4338_8d13_9e569dbdc319); -impl std::ops::Deref for IMFSimpleAudioVolume { +impl core::ops::Deref for IMFSimpleAudioVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12474,7 +12474,7 @@ pub struct IMFSimpleAudioVolume_Vtbl { pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSinkWriter, IMFSinkWriter_Vtbl, 0x3137f1cd_fe5e_4805_a5d8_fb477448cb3d); -impl std::ops::Deref for IMFSinkWriter { +impl core::ops::Deref for IMFSinkWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12543,7 +12543,7 @@ pub struct IMFSinkWriter_Vtbl { pub GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MF_SINK_WRITER_STATISTICS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSinkWriterCallback, IMFSinkWriterCallback_Vtbl, 0x666f76de_33d2_41b9_a458_29ed0a972c58); -impl std::ops::Deref for IMFSinkWriterCallback { +impl core::ops::Deref for IMFSinkWriterCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12565,7 +12565,7 @@ pub struct IMFSinkWriterCallback_Vtbl { pub OnMarker: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSinkWriterCallback2, IMFSinkWriterCallback2_Vtbl, 0x2456bd58_c067_4513_84fe_8d0c88ffdc61); -impl std::ops::Deref for IMFSinkWriterCallback2 { +impl core::ops::Deref for IMFSinkWriterCallback2 { type Target = IMFSinkWriterCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12587,7 +12587,7 @@ pub struct IMFSinkWriterCallback2_Vtbl { pub OnStreamError: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSinkWriterEncoderConfig, IMFSinkWriterEncoderConfig_Vtbl, 0x17c3779e_3cde_4ede_8c60_3899f5f53ad6); -impl std::ops::Deref for IMFSinkWriterEncoderConfig { +impl core::ops::Deref for IMFSinkWriterEncoderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12616,7 +12616,7 @@ pub struct IMFSinkWriterEncoderConfig_Vtbl { pub PlaceEncodingParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSinkWriterEx, IMFSinkWriterEx_Vtbl, 0x588d72ab_5bc1_496a_8714_b70617141b25); -impl std::ops::Deref for IMFSinkWriterEx { +impl core::ops::Deref for IMFSinkWriterEx { type Target = IMFSinkWriter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12634,7 +12634,7 @@ pub struct IMFSinkWriterEx_Vtbl { pub GetTransformForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceBuffer, IMFSourceBuffer_Vtbl, 0xe2cd3a4b_af25_4d3d_9110_da0e6f8ee877); -impl std::ops::Deref for IMFSourceBuffer { +impl core::ops::Deref for IMFSourceBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12700,7 +12700,7 @@ pub struct IMFSourceBuffer_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceBufferAppendMode, IMFSourceBufferAppendMode_Vtbl, 0x19666fb4_babe_4c55_bc03_0a074da37e2a); -impl std::ops::Deref for IMFSourceBufferAppendMode { +impl core::ops::Deref for IMFSourceBufferAppendMode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12722,7 +12722,7 @@ pub struct IMFSourceBufferAppendMode_Vtbl { pub SetAppendMode: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MSE_APPEND_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceBufferList, IMFSourceBufferList_Vtbl, 0x249981f8_8325_41f3_b80c_3b9e3aad0cbe); -impl std::ops::Deref for IMFSourceBufferList { +impl core::ops::Deref for IMFSourceBufferList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12744,7 +12744,7 @@ pub struct IMFSourceBufferList_Vtbl { pub GetSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, } windows_core::imp::define_interface!(IMFSourceBufferNotify, IMFSourceBufferNotify_Vtbl, 0x87e47623_2ceb_45d6_9b88_d8520c4dcbbc); -impl std::ops::Deref for IMFSourceBufferNotify { +impl core::ops::Deref for IMFSourceBufferNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12778,7 +12778,7 @@ pub struct IMFSourceBufferNotify_Vtbl { pub OnUpdateEnd: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFSourceOpenMonitor, IMFSourceOpenMonitor_Vtbl, 0x059054b3_027c_494c_a27d_9113291cf87f); -impl std::ops::Deref for IMFSourceOpenMonitor { +impl core::ops::Deref for IMFSourceOpenMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12799,7 +12799,7 @@ pub struct IMFSourceOpenMonitor_Vtbl { pub OnSourceEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceReader, IMFSourceReader_Vtbl, 0x70ae66f2_c809_4e4f_8915_bdcb406b7993); -impl std::ops::Deref for IMFSourceReader { +impl core::ops::Deref for IMFSourceReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12863,7 +12863,7 @@ pub struct IMFSourceReader_Vtbl { pub GetPresentationAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceReaderCallback, IMFSourceReaderCallback_Vtbl, 0xdeec8d99_fa1d_4d82_84c2_2c8969944867); -impl std::ops::Deref for IMFSourceReaderCallback { +impl core::ops::Deref for IMFSourceReaderCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12895,7 +12895,7 @@ pub struct IMFSourceReaderCallback_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceReaderCallback2, IMFSourceReaderCallback2_Vtbl, 0xcf839fe6_8c2a_4dd2_b6ea_c22d6961af05); -impl std::ops::Deref for IMFSourceReaderCallback2 { +impl core::ops::Deref for IMFSourceReaderCallback2 { type Target = IMFSourceReaderCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12917,7 +12917,7 @@ pub struct IMFSourceReaderCallback2_Vtbl { pub OnStreamError: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceReaderEx, IMFSourceReaderEx_Vtbl, 0x7b981cf0_560e_4116_9875_b099895f23d7); -impl std::ops::Deref for IMFSourceReaderEx { +impl core::ops::Deref for IMFSourceReaderEx { type Target = IMFSourceReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12954,7 +12954,7 @@ pub struct IMFSourceReaderEx_Vtbl { pub GetTransformForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSourceResolver, IMFSourceResolver_Vtbl, 0xfbe5a32d_a497_4b61_bb85_97b1a848a6e3); -impl std::ops::Deref for IMFSourceResolver { +impl core::ops::Deref for IMFSourceResolver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13043,7 +13043,7 @@ pub struct IMFSourceResolver_Vtbl { pub CancelObjectCreation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSpatialAudioObjectBuffer, IMFSpatialAudioObjectBuffer_Vtbl, 0xd396ec8c_605e_4249_978d_72ad1c312872); -impl std::ops::Deref for IMFSpatialAudioObjectBuffer { +impl core::ops::Deref for IMFSpatialAudioObjectBuffer { type Target = IMFMediaBuffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13092,7 +13092,7 @@ pub struct IMFSpatialAudioObjectBuffer_Vtbl { GetMetadataItems: usize, } windows_core::imp::define_interface!(IMFSpatialAudioSample, IMFSpatialAudioSample_Vtbl, 0xabf28a9b_3393_4290_ba79_5ffc46d986b2); -impl std::ops::Deref for IMFSpatialAudioSample { +impl core::ops::Deref for IMFSpatialAudioSample { type Target = IMFSample; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13123,7 +13123,7 @@ pub struct IMFSpatialAudioSample_Vtbl { pub GetSpatialAudioObjectByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFStreamDescriptor, IMFStreamDescriptor_Vtbl, 0x56c03d9c_9dbb_45f5_ab4b_d80f47c05938); -impl std::ops::Deref for IMFStreamDescriptor { +impl core::ops::Deref for IMFStreamDescriptor { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13147,7 +13147,7 @@ pub struct IMFStreamDescriptor_Vtbl { pub GetMediaTypeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFStreamSink, IMFStreamSink_Vtbl, 0x0a97b3cf_8e7c_4a3d_8f8c_0c843dc247fb); -impl std::ops::Deref for IMFStreamSink { +impl core::ops::Deref for IMFStreamSink { type Target = IMFMediaEventGenerator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13191,7 +13191,7 @@ pub struct IMFStreamSink_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFStreamingSinkConfig, IMFStreamingSinkConfig_Vtbl, 0x9db7aa41_3cc5_40d4_8509_555804ad34cc); -impl std::ops::Deref for IMFStreamingSinkConfig { +impl core::ops::Deref for IMFStreamingSinkConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13212,7 +13212,7 @@ pub struct IMFStreamingSinkConfig_Vtbl { pub StartStreaming: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFSystemId, IMFSystemId_Vtbl, 0xfff4af3a_1fc1_4ef9_a29b_d26c49e2f31a); -impl std::ops::Deref for IMFSystemId { +impl core::ops::Deref for IMFSystemId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13234,7 +13234,7 @@ pub struct IMFSystemId_Vtbl { pub Setup: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimecodeTranslate, IMFTimecodeTranslate_Vtbl, 0xab9d8661_f7e8_4ef4_9861_89f334f94e74); -impl std::ops::Deref for IMFTimecodeTranslate { +impl core::ops::Deref for IMFTimecodeTranslate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13280,7 +13280,7 @@ pub struct IMFTimecodeTranslate_Vtbl { pub EndConvertHNSToTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedText, IMFTimedText_Vtbl, 0x1f2a94c9_a3df_430d_9d0f_acd85ddc29af); -impl std::ops::Deref for IMFTimedText { +impl core::ops::Deref for IMFTimedText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13386,7 +13386,7 @@ pub struct IMFTimedText_Vtbl { pub IsInBandEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IMFTimedTextBinary, IMFTimedTextBinary_Vtbl, 0x4ae3a412_0545_43c4_bf6f_6b97a5c6c432); -impl std::ops::Deref for IMFTimedTextBinary { +impl core::ops::Deref for IMFTimedTextBinary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13404,7 +13404,7 @@ pub struct IMFTimedTextBinary_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextBouten, IMFTimedTextBouten_Vtbl, 0x3c5f3e8a_90c0_464e_8136_898d2975f847); -impl std::ops::Deref for IMFTimedTextBouten { +impl core::ops::Deref for IMFTimedTextBouten { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13433,7 +13433,7 @@ pub struct IMFTimedTextBouten_Vtbl { pub GetBoutenPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TIMED_TEXT_BOUTEN_POSITION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextCue, IMFTimedTextCue_Vtbl, 0x1e560447_9a2b_43e1_a94c_b0aaabfbfbc9); -impl std::ops::Deref for IMFTimedTextCue { +impl core::ops::Deref for IMFTimedTextCue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13496,7 +13496,7 @@ pub struct IMFTimedTextCue_Vtbl { pub GetLine: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextCueList, IMFTimedTextCueList_Vtbl, 0xad128745_211b_40a0_9981_fe65f166d0fd); -impl std::ops::Deref for IMFTimedTextCueList { +impl core::ops::Deref for IMFTimedTextCueList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13550,7 +13550,7 @@ pub struct IMFTimedTextCueList_Vtbl { pub RemoveCue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextFormattedText, IMFTimedTextFormattedText_Vtbl, 0xe13af3c1_4d47_4354_b1f5_e83ae0ecae60); -impl std::ops::Deref for IMFTimedTextFormattedText { +impl core::ops::Deref for IMFTimedTextFormattedText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13577,7 +13577,7 @@ pub struct IMFTimedTextFormattedText_Vtbl { pub GetSubformatting: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextNotify, IMFTimedTextNotify_Vtbl, 0xdf6b87b6_ce12_45db_aba7_432fe054e57d); -impl std::ops::Deref for IMFTimedTextNotify { +impl core::ops::Deref for IMFTimedTextNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13625,7 +13625,7 @@ pub struct IMFTimedTextNotify_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMFTimedTextRegion, IMFTimedTextRegion_Vtbl, 0xc8d22afc_bc47_4bdf_9b04_787e49ce3f58); -impl std::ops::Deref for IMFTimedTextRegion { +impl core::ops::Deref for IMFTimedTextRegion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13695,7 +13695,7 @@ pub struct IMFTimedTextRegion_Vtbl { pub GetScrollMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TIMED_TEXT_SCROLL_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextRuby, IMFTimedTextRuby_Vtbl, 0x76c6a6f5_4955_4de5_b27b_14b734cc14b4); -impl std::ops::Deref for IMFTimedTextRuby { +impl core::ops::Deref for IMFTimedTextRuby { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13729,7 +13729,7 @@ pub struct IMFTimedTextRuby_Vtbl { pub GetRubyReserve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TIMED_TEXT_RUBY_RESERVE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextStyle, IMFTimedTextStyle_Vtbl, 0x09b2455d_b834_4f01_a347_9052e21c450e); -impl std::ops::Deref for IMFTimedTextStyle { +impl core::ops::Deref for IMFTimedTextStyle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13805,7 +13805,7 @@ pub struct IMFTimedTextStyle_Vtbl { pub GetTextOutline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFARGB, *mut f64, *mut f64, *mut MF_TIMED_TEXT_UNIT_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextStyle2, IMFTimedTextStyle2_Vtbl, 0xdb639199_c809_4c89_bfca_d0bbb9729d6e); -impl std::ops::Deref for IMFTimedTextStyle2 { +impl core::ops::Deref for IMFTimedTextStyle2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13839,7 +13839,7 @@ pub struct IMFTimedTextStyle2_Vtbl { pub GetFontAngleInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextTrack, IMFTimedTextTrack_Vtbl, 0x8822c32d_654e_4233_bf21_d7f2e67d30d4); -impl std::ops::Deref for IMFTimedTextTrack { +impl core::ops::Deref for IMFTimedTextTrack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13913,7 +13913,7 @@ pub struct IMFTimedTextTrack_Vtbl { pub GetCueList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimedTextTrackList, IMFTimedTextTrackList_Vtbl, 0x23ff334c_442c_445f_bccc_edc438aa11e2); -impl std::ops::Deref for IMFTimedTextTrackList { +impl core::ops::Deref for IMFTimedTextTrackList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13941,7 +13941,7 @@ pub struct IMFTimedTextTrackList_Vtbl { pub GetTrackById: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTimer, IMFTimer_Vtbl, 0xe56e4cbd_8f70_49d8_a0f8_edb3d6ab9bf2); -impl std::ops::Deref for IMFTimer { +impl core::ops::Deref for IMFTimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13971,7 +13971,7 @@ pub struct IMFTimer_Vtbl { pub CancelTimer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTopoLoader, IMFTopoLoader_Vtbl, 0xde9a6157_f660_4643_b56a_df9f7998c7cd); -impl std::ops::Deref for IMFTopoLoader { +impl core::ops::Deref for IMFTopoLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13993,7 +13993,7 @@ pub struct IMFTopoLoader_Vtbl { pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTopology, IMFTopology_Vtbl, 0x83cf873a_f6da_4bc8_823f_bacfd55dc433); -impl std::ops::Deref for IMFTopology { +impl core::ops::Deref for IMFTopology { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14062,7 +14062,7 @@ pub struct IMFTopology_Vtbl { pub GetOutputNodeCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTopologyNode, IMFTopologyNode_Vtbl, 0x83cf873a_f6da_4bc8_823f_bacfd55dc430); -impl std::ops::Deref for IMFTopologyNode { +impl core::ops::Deref for IMFTopologyNode { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14162,7 +14162,7 @@ pub struct IMFTopologyNode_Vtbl { pub CloneFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTopologyNodeAttributeEditor, IMFTopologyNodeAttributeEditor_Vtbl, 0x676aa6dd_238a_410d_bb99_65668d01605a); -impl std::ops::Deref for IMFTopologyNodeAttributeEditor { +impl core::ops::Deref for IMFTopologyNodeAttributeEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14180,7 +14180,7 @@ pub struct IMFTopologyNodeAttributeEditor_Vtbl { pub UpdateNodeAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *const MFTOPONODE_ATTRIBUTE_UPDATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTopologyServiceLookup, IMFTopologyServiceLookup_Vtbl, 0xfa993889_4383_415a_a930_dd472a8cf6f7); -impl std::ops::Deref for IMFTopologyServiceLookup { +impl core::ops::Deref for IMFTopologyServiceLookup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14198,7 +14198,7 @@ pub struct IMFTopologyServiceLookup_Vtbl { pub LookupService: unsafe extern "system" fn(*mut core::ffi::c_void, MF_SERVICE_LOOKUP_TYPE, u32, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTopologyServiceLookupClient, IMFTopologyServiceLookupClient_Vtbl, 0xfa99388a_4383_415a_a930_dd472a8cf6f7); -impl std::ops::Deref for IMFTopologyServiceLookupClient { +impl core::ops::Deref for IMFTopologyServiceLookupClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14223,7 +14223,7 @@ pub struct IMFTopologyServiceLookupClient_Vtbl { pub ReleaseServicePointers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTrackedSample, IMFTrackedSample_Vtbl, 0x245bf8e9_0755_40f7_88a5_ae0f18d55e17); -impl std::ops::Deref for IMFTrackedSample { +impl core::ops::Deref for IMFTrackedSample { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14245,7 +14245,7 @@ pub struct IMFTrackedSample_Vtbl { pub SetAllocator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTranscodeProfile, IMFTranscodeProfile_Vtbl, 0x4adfdba3_7ab0_4953_a62b_461e7ff3da1e); -impl std::ops::Deref for IMFTranscodeProfile { +impl core::ops::Deref for IMFTranscodeProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14295,7 +14295,7 @@ pub struct IMFTranscodeProfile_Vtbl { pub GetContainerAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTranscodeSinkInfoProvider, IMFTranscodeSinkInfoProvider_Vtbl, 0x8cffcd2e_5a03_4a3a_aff7_edcd107c620e); -impl std::ops::Deref for IMFTranscodeSinkInfoProvider { +impl core::ops::Deref for IMFTranscodeSinkInfoProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14335,7 +14335,7 @@ pub struct IMFTranscodeSinkInfoProvider_Vtbl { pub GetSinkInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TRANSCODE_SINK_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTransform, IMFTransform_Vtbl, 0xbf94c121_5b05_4e6f_8000_ba598961414d); -impl std::ops::Deref for IMFTransform { +impl core::ops::Deref for IMFTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14463,7 +14463,7 @@ pub struct IMFTransform_Vtbl { pub ProcessOutput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut MFT_OUTPUT_DATA_BUFFER, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTrustedInput, IMFTrustedInput_Vtbl, 0x542612c4_a1b8_4632_b521_de11ea64a0b0); -impl std::ops::Deref for IMFTrustedInput { +impl core::ops::Deref for IMFTrustedInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14482,7 +14482,7 @@ pub struct IMFTrustedInput_Vtbl { pub GetInputTrustAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFTrustedOutput, IMFTrustedOutput_Vtbl, 0xd19f8e95_b126_4446_890c_5dcb7ad71453); -impl std::ops::Deref for IMFTrustedOutput { +impl core::ops::Deref for IMFTrustedOutput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14511,7 +14511,7 @@ pub struct IMFTrustedOutput_Vtbl { pub IsFinal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoCaptureSampleAllocator, IMFVideoCaptureSampleAllocator_Vtbl, 0x725b77c7_ca9f_4fe5_9d72_9946bf9b3c70); -impl std::ops::Deref for IMFVideoCaptureSampleAllocator { +impl core::ops::Deref for IMFVideoCaptureSampleAllocator { type Target = IMFVideoSampleAllocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14533,7 +14533,7 @@ pub struct IMFVideoCaptureSampleAllocator_Vtbl { pub InitializeCaptureSampleAllocator: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoDeviceID, IMFVideoDeviceID_Vtbl, 0xa38d9567_5a9c_4f3c_b293_8eb415b279ba); -impl std::ops::Deref for IMFVideoDeviceID { +impl core::ops::Deref for IMFVideoDeviceID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14552,7 +14552,7 @@ pub struct IMFVideoDeviceID_Vtbl { pub GetDeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoDisplayControl, IMFVideoDisplayControl_Vtbl, 0xa490b1e4_ab84_4d31_a1b2_181e03b1077a); -impl std::ops::Deref for IMFVideoDisplayControl { +impl core::ops::Deref for IMFVideoDisplayControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14648,7 +14648,7 @@ pub struct IMFVideoDisplayControl_Vtbl { pub GetFullscreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoMediaType, IMFVideoMediaType_Vtbl, 0xb99f381f_a8f9_47a2_a5af_ca3a225a3890); -impl std::ops::Deref for IMFVideoMediaType { +impl core::ops::Deref for IMFVideoMediaType { type Target = IMFMediaType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14670,7 +14670,7 @@ pub struct IMFVideoMediaType_Vtbl { pub GetVideoRepresentation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoMixerBitmap, IMFVideoMixerBitmap_Vtbl, 0x814c7b20_0fdb_4eec_af8f_f957c8f69edc); -impl std::ops::Deref for IMFVideoMixerBitmap { +impl core::ops::Deref for IMFVideoMixerBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14704,7 +14704,7 @@ pub struct IMFVideoMixerBitmap_Vtbl { pub GetAlphaBitmapParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFVideoAlphaBitmapParams) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoMixerControl, IMFVideoMixerControl_Vtbl, 0xa5c6c53f_c202_4aa5_9695_175ba8c508a5); -impl std::ops::Deref for IMFVideoMixerControl { +impl core::ops::Deref for IMFVideoMixerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14736,7 +14736,7 @@ pub struct IMFVideoMixerControl_Vtbl { pub GetStreamOutputRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MFVideoNormalizedRect) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoMixerControl2, IMFVideoMixerControl2_Vtbl, 0x8459616d_966e_4930_b658_54fa7e5a16d3); -impl std::ops::Deref for IMFVideoMixerControl2 { +impl core::ops::Deref for IMFVideoMixerControl2 { type Target = IMFVideoMixerControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14759,7 +14759,7 @@ pub struct IMFVideoMixerControl2_Vtbl { pub GetMixingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoPositionMapper, IMFVideoPositionMapper_Vtbl, 0x1f6a9f17_e70b_4e24_8ae4_0b2c3ba7a4ae); -impl std::ops::Deref for IMFVideoPositionMapper { +impl core::ops::Deref for IMFVideoPositionMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14777,7 +14777,7 @@ pub struct IMFVideoPositionMapper_Vtbl { pub MapOutputCoordinateToInputStream: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, u32, u32, *mut f32, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoPresenter, IMFVideoPresenter_Vtbl, 0x29aff080_182a_4a5d_af3b_448f3a6346cb); -impl std::ops::Deref for IMFVideoPresenter { +impl core::ops::Deref for IMFVideoPresenter { type Target = IMFClockStateSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14800,7 +14800,7 @@ pub struct IMFVideoPresenter_Vtbl { pub GetCurrentMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoProcessor, IMFVideoProcessor_Vtbl, 0x6ab0000c_fece_4d1f_a2ac_a9573530656e); -impl std::ops::Deref for IMFVideoProcessor { +impl core::ops::Deref for IMFVideoProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14875,7 +14875,7 @@ pub struct IMFVideoProcessor_Vtbl { pub SetBackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoProcessorControl, IMFVideoProcessorControl_Vtbl, 0xa3f675d5_6119_4f7f_a100_1d8b280f0efb); -impl std::ops::Deref for IMFVideoProcessorControl { +impl core::ops::Deref for IMFVideoProcessorControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14913,7 +14913,7 @@ pub struct IMFVideoProcessorControl_Vtbl { pub SetConstrictionSize: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SIZE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoProcessorControl2, IMFVideoProcessorControl2_Vtbl, 0xbde633d3_e1dc_4a7f_a693_bbae399c4a20); -impl std::ops::Deref for IMFVideoProcessorControl2 { +impl core::ops::Deref for IMFVideoProcessorControl2 { type Target = IMFVideoProcessorControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14943,7 +14943,7 @@ pub struct IMFVideoProcessorControl2_Vtbl { pub GetSupportedHardwareEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoProcessorControl3, IMFVideoProcessorControl3_Vtbl, 0x2424b3f2_eb23_40f1_91aa_74bddeea0883); -impl std::ops::Deref for IMFVideoProcessorControl3 { +impl core::ops::Deref for IMFVideoProcessorControl3 { type Target = IMFVideoProcessorControl2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14980,7 +14980,7 @@ pub struct IMFVideoProcessorControl3_Vtbl { pub SetOutputDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoRenderer, IMFVideoRenderer_Vtbl, 0xdfdfd197_a9ca_43d8_b341_6af3503792cd); -impl std::ops::Deref for IMFVideoRenderer { +impl core::ops::Deref for IMFVideoRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15002,7 +15002,7 @@ pub struct IMFVideoRenderer_Vtbl { pub InitializeRenderer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoRendererEffectControl, IMFVideoRendererEffectControl_Vtbl, 0x604d33d7_cf23_41d5_8224_5bbbb1a87475); -impl std::ops::Deref for IMFVideoRendererEffectControl { +impl core::ops::Deref for IMFVideoRendererEffectControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15023,7 +15023,7 @@ pub struct IMFVideoRendererEffectControl_Vtbl { pub OnAppServiceConnectionEstablished: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoSampleAllocator, IMFVideoSampleAllocator_Vtbl, 0x86cbc910_e533_4751_8e3b_f19b5b806a03); -impl std::ops::Deref for IMFVideoSampleAllocator { +impl core::ops::Deref for IMFVideoSampleAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15060,7 +15060,7 @@ pub struct IMFVideoSampleAllocator_Vtbl { pub AllocateSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoSampleAllocatorCallback, IMFVideoSampleAllocatorCallback_Vtbl, 0x992388b4_3372_4f67_8b6f_c84c071f4751); -impl std::ops::Deref for IMFVideoSampleAllocatorCallback { +impl core::ops::Deref for IMFVideoSampleAllocatorCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15086,7 +15086,7 @@ pub struct IMFVideoSampleAllocatorCallback_Vtbl { pub GetFreeSampleCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoSampleAllocatorEx, IMFVideoSampleAllocatorEx_Vtbl, 0x545b3a48_3283_4f62_866f_a62d8f598f9f); -impl std::ops::Deref for IMFVideoSampleAllocatorEx { +impl core::ops::Deref for IMFVideoSampleAllocatorEx { type Target = IMFVideoSampleAllocator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15108,7 +15108,7 @@ pub struct IMFVideoSampleAllocatorEx_Vtbl { pub InitializeSampleAllocatorEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoSampleAllocatorNotify, IMFVideoSampleAllocatorNotify_Vtbl, 0xa792cdbe_c374_4e89_8335_278e7b9956a4); -impl std::ops::Deref for IMFVideoSampleAllocatorNotify { +impl core::ops::Deref for IMFVideoSampleAllocatorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15126,7 +15126,7 @@ pub struct IMFVideoSampleAllocatorNotify_Vtbl { pub NotifyRelease: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVideoSampleAllocatorNotifyEx, IMFVideoSampleAllocatorNotifyEx_Vtbl, 0x3978aa1a_6d5b_4b7f_a340_90899189ae34); -impl std::ops::Deref for IMFVideoSampleAllocatorNotifyEx { +impl core::ops::Deref for IMFVideoSampleAllocatorNotifyEx { type Target = IMFVideoSampleAllocatorNotify; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15147,7 +15147,7 @@ pub struct IMFVideoSampleAllocatorNotifyEx_Vtbl { pub NotifyPrune: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFVirtualCamera, IMFVirtualCamera_Vtbl, 0x1c08a864_ef6c_4c75_af59_5f2d68da9563); -impl std::ops::Deref for IMFVirtualCamera { +impl core::ops::Deref for IMFVirtualCamera { type Target = IMFAttributes; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15228,7 +15228,7 @@ pub struct IMFVirtualCamera_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFWorkQueueServices, IMFWorkQueueServices_Vtbl, 0x35fe1bb8_a3a9_40fe_bbec_eb569c9ccca3); -impl std::ops::Deref for IMFWorkQueueServices { +impl core::ops::Deref for IMFWorkQueueServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15322,7 +15322,7 @@ pub struct IMFWorkQueueServices_Vtbl { pub GetPlatformWorkQueueMMCSSTaskId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMFWorkQueueServicesEx, IMFWorkQueueServicesEx_Vtbl, 0x96bf961b_40fe_42f1_ba9d_320238b49700); -impl std::ops::Deref for IMFWorkQueueServicesEx { +impl core::ops::Deref for IMFWorkQueueServicesEx { type Target = IMFWorkQueueServices; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15355,7 +15355,7 @@ pub struct IMFWorkQueueServicesEx_Vtbl { pub GetPlatformWorkQueueMMCSSPriority: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOPMVideoOutput, IOPMVideoOutput_Vtbl, 0x0a15159d_41c7_4456_93e1_284cd61d4e8d); -impl std::ops::Deref for IOPMVideoOutput { +impl core::ops::Deref for IOPMVideoOutput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15389,7 +15389,7 @@ pub struct IOPMVideoOutput_Vtbl { pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, *const OPM_CONFIGURE_PARAMETERS, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayToControl, IPlayToControl_Vtbl, 0x607574eb_f4b6_45c1_b08c_cb715122901d); -impl std::ops::Deref for IPlayToControl { +impl core::ops::Deref for IPlayToControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15414,7 +15414,7 @@ pub struct IPlayToControl_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayToControlWithCapabilities, IPlayToControlWithCapabilities_Vtbl, 0xaa9dd80f_c50a_4220_91c1_332287f82a34); -impl std::ops::Deref for IPlayToControlWithCapabilities { +impl core::ops::Deref for IPlayToControlWithCapabilities { type Target = IPlayToControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15433,7 +15433,7 @@ pub struct IPlayToControlWithCapabilities_Vtbl { pub GetCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PLAYTO_SOURCE_CREATEFLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayToSourceClassFactory, IPlayToSourceClassFactory_Vtbl, 0x842b32a3_9b9b_4d1c_b3f3_49193248a554); -impl std::ops::Deref for IPlayToSourceClassFactory { +impl core::ops::Deref for IPlayToSourceClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15455,7 +15455,7 @@ pub struct IPlayToSourceClassFactory_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToc, IToc_Vtbl, 0xd6f05441_a919_423b_91a0_89d5b4a8ab77); -impl std::ops::Deref for IToc { +impl core::ops::Deref for IToc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15523,7 +15523,7 @@ pub struct IToc_Vtbl { pub RemoveEntryListByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITocCollection, ITocCollection_Vtbl, 0x23fee831_ae96_42df_b170_25a04847a3ca); -impl std::ops::Deref for ITocCollection { +impl core::ops::Deref for ITocCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15564,7 +15564,7 @@ pub struct ITocCollection_Vtbl { pub RemoveEntryByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITocEntry, ITocEntry_Vtbl, 0xf22f5e06_585c_4def_8523_6555cfbc0cb3); -impl std::ops::Deref for ITocEntry { +impl core::ops::Deref for ITocEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15613,7 +15613,7 @@ pub struct ITocEntry_Vtbl { pub GetDescriptionData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITocEntryList, ITocEntryList_Vtbl, 0x3a8cccbd_0efd_43a3_b838_f38a552ba237); -impl std::ops::Deref for ITocEntryList { +impl core::ops::Deref for ITocEntryList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15654,7 +15654,7 @@ pub struct ITocEntryList_Vtbl { pub RemoveEntryByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITocParser, ITocParser_Vtbl, 0xecfb9a55_9298_4f49_887f_0b36206599d2); -impl std::ops::Deref for ITocParser { +impl core::ops::Deref for ITocParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15708,7 +15708,7 @@ pub struct ITocParser_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IValidateBinding, IValidateBinding_Vtbl, 0x04a578b2_e778_422a_a805_b3ee54d90bd9); -impl std::ops::Deref for IValidateBinding { +impl core::ops::Deref for IValidateBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15726,7 +15726,7 @@ pub struct IValidateBinding_Vtbl { pub GetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecLeakyBucket, IWMCodecLeakyBucket_Vtbl, 0xa81ba647_6227_43b7_b231_c7b15135dd7d); -impl std::ops::Deref for IWMCodecLeakyBucket { +impl core::ops::Deref for IWMCodecLeakyBucket { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15756,7 +15756,7 @@ pub struct IWMCodecLeakyBucket_Vtbl { pub GetBufferFullnessBits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecOutputTimestamp, IWMCodecOutputTimestamp_Vtbl, 0xb72adf95_7adc_4a72_bc05_577d8ea6bf68); -impl std::ops::Deref for IWMCodecOutputTimestamp { +impl core::ops::Deref for IWMCodecOutputTimestamp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15774,7 +15774,7 @@ pub struct IWMCodecOutputTimestamp_Vtbl { pub GetNextOutputTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecPrivateData, IWMCodecPrivateData_Vtbl, 0x73f0be8e_57f7_4f01_aa66_9f57340cfe0e); -impl std::ops::Deref for IWMCodecPrivateData { +impl core::ops::Deref for IWMCodecPrivateData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15800,7 +15800,7 @@ pub struct IWMCodecPrivateData_Vtbl { pub GetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecProps, IWMCodecProps_Vtbl, 0x2573e11a_f01a_4fdd_a98d_63b8e0ba9589); -impl std::ops::Deref for IWMCodecProps { +impl core::ops::Deref for IWMCodecProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15832,7 +15832,7 @@ pub struct IWMCodecProps_Vtbl { pub GetCodecProp: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut WMT_PROP_DATATYPE, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecStrings, IWMCodecStrings_Vtbl, 0xa7b2504b_e58a_47fb_958b_cac7165a057d); -impl std::ops::Deref for IWMCodecStrings { +impl core::ops::Deref for IWMCodecStrings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15862,7 +15862,7 @@ pub struct IWMCodecStrings_Vtbl { GetDescription: usize, } windows_core::imp::define_interface!(IWMColorConvProps, IWMColorConvProps_Vtbl, 0xe6a49e22_c099_421d_aad3_c061fb4ae85b); -impl std::ops::Deref for IWMColorConvProps { +impl core::ops::Deref for IWMColorConvProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15884,7 +15884,7 @@ pub struct IWMColorConvProps_Vtbl { pub SetFullCroppingParam: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMColorLegalizerProps, IWMColorLegalizerProps_Vtbl, 0x776c93b3_b72d_4508_b6d0_208785f553e7); -impl std::ops::Deref for IWMColorLegalizerProps { +impl core::ops::Deref for IWMColorLegalizerProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15902,7 +15902,7 @@ pub struct IWMColorLegalizerProps_Vtbl { pub SetColorLegalizerQuality: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMFrameInterpProps, IWMFrameInterpProps_Vtbl, 0x4c06bb9b_626c_4614_8329_cc6a21b93fa0); -impl std::ops::Deref for IWMFrameInterpProps { +impl core::ops::Deref for IWMFrameInterpProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15935,7 +15935,7 @@ pub struct IWMFrameInterpProps_Vtbl { pub SetComplexityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMInterlaceProps, IWMInterlaceProps_Vtbl, 0x7b12e5d1_bd22_48ea_bc06_98e893221c89); -impl std::ops::Deref for IWMInterlaceProps { +impl core::ops::Deref for IWMInterlaceProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15961,7 +15961,7 @@ pub struct IWMInterlaceProps_Vtbl { pub SetLastFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMResamplerProps, IWMResamplerProps_Vtbl, 0xe7e9984f_f09f_4da4_903f_6e2e0efe56b5); -impl std::ops::Deref for IWMResamplerProps { +impl core::ops::Deref for IWMResamplerProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15983,7 +15983,7 @@ pub struct IWMResamplerProps_Vtbl { pub SetUserChannelMtx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMResizerProps, IWMResizerProps_Vtbl, 0x57665d4c_0414_4faa_905b_10e546f81c33); -impl std::ops::Deref for IWMResizerProps { +impl core::ops::Deref for IWMResizerProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16017,7 +16017,7 @@ pub struct IWMResizerProps_Vtbl { pub GetFullCropRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSampleExtensionSupport, IWMSampleExtensionSupport_Vtbl, 0x9bca9884_0604_4c2a_87da_793ff4d586c3); -impl std::ops::Deref for IWMSampleExtensionSupport { +impl core::ops::Deref for IWMSampleExtensionSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16038,7 +16038,7 @@ pub struct IWMSampleExtensionSupport_Vtbl { pub SetUseSampleExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMValidate, IWMValidate_Vtbl, 0xcee3def2_3808_414d_be66_fafd472210bc); -impl std::ops::Deref for IWMValidate { +impl core::ops::Deref for IWMValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16056,7 +16056,7 @@ pub struct IWMValidate_Vtbl { pub SetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMVideoDecoderHurryup, IWMVideoDecoderHurryup_Vtbl, 0x352bb3bd_2d4d_4323_9e71_dcdcfbd53ca6); -impl std::ops::Deref for IWMVideoDecoderHurryup { +impl core::ops::Deref for IWMVideoDecoderHurryup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16078,7 +16078,7 @@ pub struct IWMVideoDecoderHurryup_Vtbl { pub GetHurryup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMVideoDecoderReconBuffer, IWMVideoDecoderReconBuffer_Vtbl, 0x45bda2ac_88e2_4923_98ba_3949080711a3); -impl std::ops::Deref for IWMVideoDecoderReconBuffer { +impl core::ops::Deref for IWMVideoDecoderReconBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16118,7 +16118,7 @@ pub struct IWMVideoDecoderReconBuffer_Vtbl { SetReconstructedVideoFrame: usize, } windows_core::imp::define_interface!(IWMVideoForceKeyFrame, IWMVideoForceKeyFrame_Vtbl, 0x9f8496be_5b9a_41b9_a9e8_f21cd80596c2); -impl std::ops::Deref for IWMVideoForceKeyFrame { +impl core::ops::Deref for IWMVideoForceKeyFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16136,7 +16136,7 @@ pub struct IWMVideoForceKeyFrame_Vtbl { pub SetKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(MFASYNCRESULT, MFASYNCRESULT_Vtbl, 0); -impl std::ops::Deref for MFASYNCRESULT { +impl core::ops::Deref for MFASYNCRESULT { type Target = IMFAsyncResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs index 780dbb1ac5..0913b4477e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeed, IFeed_Vtbl, 0xf7f915d8_2ede_42bc_98e7_a5d05063a757); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeed { +impl core::ops::Deref for IFeed { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -259,7 +259,7 @@ pub struct IFeed_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeed2, IFeed2_Vtbl, 0x33f2ea09_1398_4ab9_b6a4_f94b49d0a42e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeed2 { +impl core::ops::Deref for IFeed2 { type Target = IFeed; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -314,7 +314,7 @@ pub struct IFeed2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedEnclosure, IFeedEnclosure_Vtbl, 0x361c26f7_90a4_4e67_ae09_3a36a546436a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedEnclosure { +impl core::ops::Deref for IFeedEnclosure { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -404,7 +404,7 @@ pub struct IFeedEnclosure_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedEvents, IFeedEvents_Vtbl, 0xabf35c99_0681_47ea_9a8c_1436a375a99e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedEvents { +impl core::ops::Deref for IFeedEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -478,7 +478,7 @@ pub struct IFeedEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedFolder, IFeedFolder_Vtbl, 0x81f04ad1_4194_4d7d_86d6_11813cec163c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedFolder { +impl core::ops::Deref for IFeedFolder { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -641,7 +641,7 @@ pub struct IFeedFolder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedFolderEvents, IFeedFolderEvents_Vtbl, 0x20a59fa6_a844_4630_9e98_175f70b4d55b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedFolderEvents { +impl core::ops::Deref for IFeedFolderEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -775,7 +775,7 @@ pub struct IFeedFolderEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedItem, IFeedItem_Vtbl, 0x0a1e6cad_0a47_4da2_a13d_5baaa5c8bd4f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedItem { +impl core::ops::Deref for IFeedItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -888,7 +888,7 @@ pub struct IFeedItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedItem2, IFeedItem2_Vtbl, 0x79ac9ef4_f9c1_4d2b_a50b_a7ffba4dcf37); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedItem2 { +impl core::ops::Deref for IFeedItem2 { type Target = IFeedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -912,7 +912,7 @@ pub struct IFeedItem2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedsEnum, IFeedsEnum_Vtbl, 0xe3cd0028_2eed_4c60_8fae_a3225309a836); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedsEnum { +impl core::ops::Deref for IFeedsEnum { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -954,7 +954,7 @@ pub struct IFeedsEnum_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFeedsManager, IFeedsManager_Vtbl, 0xa74029cc_1f1a_4906_88f0_810638d86591); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFeedsManager { +impl core::ops::Deref for IFeedsManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1089,7 +1089,7 @@ pub struct IFeedsManager_Vtbl { pub ItemCountLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPAudioRenderConfig, IWMPAudioRenderConfig_Vtbl, 0xe79c6349_5997_4ce4_917c_22a3391ec564); -impl std::ops::Deref for IWMPAudioRenderConfig { +impl core::ops::Deref for IWMPAudioRenderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1116,7 +1116,7 @@ pub struct IWMPAudioRenderConfig_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCdrom, IWMPCdrom_Vtbl, 0xcfab6e98_8730_11d3_b388_00c04f68574b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPCdrom { +impl core::ops::Deref for IWMPCdrom { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1150,7 +1150,7 @@ pub struct IWMPCdrom_Vtbl { pub eject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPCdromBurn, IWMPCdromBurn_Vtbl, 0xbd94dbeb_417f_4928_aa06_087d56ed9b59); -impl std::ops::Deref for IWMPCdromBurn { +impl core::ops::Deref for IWMPCdromBurn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1243,7 +1243,7 @@ pub struct IWMPCdromBurn_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCdromCollection, IWMPCdromCollection_Vtbl, 0xee4c8fe2_34b2_11d3_a3bf_006097c9b344); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPCdromCollection { +impl core::ops::Deref for IWMPCdromCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1285,7 +1285,7 @@ pub struct IWMPCdromCollection_Vtbl { getByDriveSpecifier: usize, } windows_core::imp::define_interface!(IWMPCdromRip, IWMPCdromRip_Vtbl, 0x56e2294f_69ed_4629_a869_aea72c0dcc2c); -impl std::ops::Deref for IWMPCdromRip { +impl core::ops::Deref for IWMPCdromRip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1317,7 +1317,7 @@ pub struct IWMPCdromRip_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPClosedCaption, IWMPClosedCaption_Vtbl, 0x4f2df574_c588_11d3_9ed0_00c04fb6e937); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPClosedCaption { +impl core::ops::Deref for IWMPClosedCaption { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1380,7 +1380,7 @@ pub struct IWMPClosedCaption_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPClosedCaption2, IWMPClosedCaption2_Vtbl, 0x350ba78b_6bc8_4113_a5f5_312056934eb6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPClosedCaption2 { +impl core::ops::Deref for IWMPClosedCaption2 { type Target = IWMPClosedCaption; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1417,7 +1417,7 @@ pub struct IWMPClosedCaption2_Vtbl { pub getSAMIStyleName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPContentContainer, IWMPContentContainer_Vtbl, 0xad7f4d9c_1a9f_4ed2_9815_ecc0b58cb616); -impl std::ops::Deref for IWMPContentContainer { +impl core::ops::Deref for IWMPContentContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1461,7 +1461,7 @@ pub struct IWMPContentContainer_Vtbl { pub GetContentID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPContentContainerList, IWMPContentContainerList_Vtbl, 0xa9937f78_0802_4af8_8b8d_e3f045bc8ab5); -impl std::ops::Deref for IWMPContentContainerList { +impl core::ops::Deref for IWMPContentContainerList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1490,7 +1490,7 @@ pub struct IWMPContentContainerList_Vtbl { pub GetContainer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPContentPartner, IWMPContentPartner_Vtbl, 0x55455073_41b5_4e75_87b8_f13bdb291d08); -impl std::ops::Deref for IWMPContentPartner { +impl core::ops::Deref for IWMPContentPartner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1675,7 +1675,7 @@ pub struct IWMPContentPartner_Vtbl { pub VerifyPermission: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPContentPartnerCallback, IWMPContentPartnerCallback_Vtbl, 0x9e8f7da2_0695_403c_b697_da10fafaa676); -impl std::ops::Deref for IWMPContentPartnerCallback { +impl core::ops::Deref for IWMPContentPartnerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1766,7 +1766,7 @@ pub struct IWMPContentPartnerCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPControls, IWMPControls_Vtbl, 0x74c09e02_f828_11d2_a74b_00a0c905f36e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPControls { +impl core::ops::Deref for IWMPControls { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1871,7 +1871,7 @@ pub struct IWMPControls_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPControls2, IWMPControls2_Vtbl, 0x6f030d25_0890_480f_9775_1f7e40ab5b8e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPControls2 { +impl core::ops::Deref for IWMPControls2 { type Target = IWMPControls; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1894,7 +1894,7 @@ pub struct IWMPControls2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPControls3, IWMPControls3_Vtbl, 0xa1d1110e_d545_476a_9a78_ac3e4cb1e6bd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPControls3 { +impl core::ops::Deref for IWMPControls3 { type Target = IWMPControls2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1954,7 +1954,7 @@ pub struct IWMPControls3_Vtbl { pub SetcurrentPositionTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPConvert, IWMPConvert_Vtbl, 0xd683162f_57d4_4108_8373_4a9676d1c2e9); -impl std::ops::Deref for IWMPConvert { +impl core::ops::Deref for IWMPConvert { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1982,7 +1982,7 @@ pub struct IWMPConvert_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCore, IWMPCore_Vtbl, 0xd84cca99_cce2_11d2_9ecc_0000f8085981); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPCore { +impl core::ops::Deref for IWMPCore { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2155,7 +2155,7 @@ pub struct IWMPCore_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCore2, IWMPCore2_Vtbl, 0xbc17e5b7_7561_4c18_bb90_17d485775659); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPCore2 { +impl core::ops::Deref for IWMPCore2 { type Target = IWMPCore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2183,7 +2183,7 @@ pub struct IWMPCore2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPCore3, IWMPCore3_Vtbl, 0x7587c667_628f_499f_88e7_6a6f4e888464); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPCore3 { +impl core::ops::Deref for IWMPCore3 { type Target = IWMPCore2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2227,7 +2227,7 @@ pub struct IWMPCore3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPDVD, IWMPDVD_Vtbl, 0x8da61686_4668_4a5c_ae5d_803193293dbe); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPDVD { +impl core::ops::Deref for IWMPDVD { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2273,7 +2273,7 @@ pub struct IWMPDVD_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPDownloadCollection, IWMPDownloadCollection_Vtbl, 0x0a319c7f_85f9_436c_b88e_82fd88000e1c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPDownloadCollection { +impl core::ops::Deref for IWMPDownloadCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2330,7 +2330,7 @@ pub struct IWMPDownloadCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPDownloadItem, IWMPDownloadItem_Vtbl, 0xc9470e8e_3f6b_46a9_a0a9_452815c34297); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPDownloadItem { +impl core::ops::Deref for IWMPDownloadItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2381,7 +2381,7 @@ pub struct IWMPDownloadItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPDownloadItem2, IWMPDownloadItem2_Vtbl, 0x9fbb3336_6da3_479d_b8ff_67d46e20a987); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPDownloadItem2 { +impl core::ops::Deref for IWMPDownloadItem2 { type Target = IWMPDownloadItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2407,7 +2407,7 @@ pub struct IWMPDownloadItem2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPDownloadManager, IWMPDownloadManager_Vtbl, 0xe15e9ad1_8f20_4cc4_9ec7_1a328ca86a0d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPDownloadManager { +impl core::ops::Deref for IWMPDownloadManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2442,7 +2442,7 @@ pub struct IWMPDownloadManager_Vtbl { createDownloadCollection: usize, } windows_core::imp::define_interface!(IWMPEffects, IWMPEffects_Vtbl, 0xd3984c13_c3cb_48e2_8be5_5168340b4f35); -impl std::ops::Deref for IWMPEffects { +impl core::ops::Deref for IWMPEffects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2516,7 +2516,7 @@ pub struct IWMPEffects_Vtbl { pub RenderFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedLevel) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPEffects2, IWMPEffects2_Vtbl, 0x695386ec_aa3c_4618_a5e1_dd9a8b987632); -impl std::ops::Deref for IWMPEffects2 { +impl core::ops::Deref for IWMPEffects2 { type Target = IWMPEffects; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2580,7 +2580,7 @@ pub struct IWMPEffects2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPError, IWMPError_Vtbl, 0xa12dcf7d_14ab_4c1b_a8cd_63909f06025b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPError { +impl core::ops::Deref for IWMPError { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2620,7 +2620,7 @@ pub struct IWMPError_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPErrorItem, IWMPErrorItem_Vtbl, 0x3614c646_3b3b_4de7_a81e_930e3f2127b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPErrorItem { +impl core::ops::Deref for IWMPErrorItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2659,7 +2659,7 @@ pub struct IWMPErrorItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPErrorItem2, IWMPErrorItem2_Vtbl, 0xf75ccec0_c67c_475c_931e_8719870bee7d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPErrorItem2 { +impl core::ops::Deref for IWMPErrorItem2 { type Target = IWMPErrorItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2680,7 +2680,7 @@ pub struct IWMPErrorItem2_Vtbl { pub condition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPEvents, IWMPEvents_Vtbl, 0x19a6627b_da9e_47c1_bb23_00b5e668236a); -impl std::ops::Deref for IWMPEvents { +impl core::ops::Deref for IWMPEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2955,7 +2955,7 @@ pub struct IWMPEvents_Vtbl { pub MouseUp: unsafe extern "system" fn(*mut core::ffi::c_void, i16, i16, i32, i32), } windows_core::imp::define_interface!(IWMPEvents2, IWMPEvents2_Vtbl, 0x1e7601fa_47ea_4107_9ea9_9004ed9684ff); -impl std::ops::Deref for IWMPEvents2 { +impl core::ops::Deref for IWMPEvents2 { type Target = IWMPEvents; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3016,7 +3016,7 @@ pub struct IWMPEvents2_Vtbl { pub CreatePartnershipComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT), } windows_core::imp::define_interface!(IWMPEvents3, IWMPEvents3_Vtbl, 0x1f504270_a66b_4223_8e96_26a06c63d69f); -impl std::ops::Deref for IWMPEvents3 { +impl core::ops::Deref for IWMPEvents3 { type Target = IWMPEvents2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3126,7 +3126,7 @@ pub struct IWMPEvents3_Vtbl { MediaCollectionMediaRemoved: usize, } windows_core::imp::define_interface!(IWMPEvents4, IWMPEvents4_Vtbl, 0x26dabcfa_306b_404d_9a6f_630a8405048d); -impl std::ops::Deref for IWMPEvents4 { +impl core::ops::Deref for IWMPEvents4 { type Target = IWMPEvents3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3147,7 +3147,7 @@ pub struct IWMPEvents4_Vtbl { pub DeviceEstimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT, i64, i64), } windows_core::imp::define_interface!(IWMPFolderMonitorServices, IWMPFolderMonitorServices_Vtbl, 0x788c8743_e57f_439d_a468_5bc77f2e59c6); -impl std::ops::Deref for IWMPFolderMonitorServices { +impl core::ops::Deref for IWMPFolderMonitorServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3208,7 +3208,7 @@ pub struct IWMPFolderMonitorServices_Vtbl { pub stopScan: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPGraphCreation, IWMPGraphCreation_Vtbl, 0xbfb377e5_c594_4369_a970_de896d5ece74); -impl std::ops::Deref for IWMPGraphCreation { +impl core::ops::Deref for IWMPGraphCreation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3241,7 +3241,7 @@ pub struct IWMPGraphCreation_Vtbl { pub GetGraphCreationFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPLibrary, IWMPLibrary_Vtbl, 0x3df47861_7df1_4c1f_a81b_4c26f0f7a7c6); -impl std::ops::Deref for IWMPLibrary { +impl core::ops::Deref for IWMPLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3279,7 +3279,7 @@ pub struct IWMPLibrary_Vtbl { pub isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPLibrary2, IWMPLibrary2_Vtbl, 0xdd578a4e_79b1_426c_bf8f_3add9072500b); -impl std::ops::Deref for IWMPLibrary2 { +impl core::ops::Deref for IWMPLibrary2 { type Target = IWMPLibrary; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3300,7 +3300,7 @@ pub struct IWMPLibrary2_Vtbl { pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPLibraryServices, IWMPLibraryServices_Vtbl, 0x39c2f8d5_1cf2_4d5e_ae09_d73492cf9eaa); -impl std::ops::Deref for IWMPLibraryServices { +impl core::ops::Deref for IWMPLibraryServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3323,7 +3323,7 @@ pub struct IWMPLibraryServices_Vtbl { pub getLibraryByType: unsafe extern "system" fn(*mut core::ffi::c_void, WMPLibraryType, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPLibrarySharingServices, IWMPLibrarySharingServices_Vtbl, 0x82cba86b_9f04_474b_a365_d6dd1466e541); -impl std::ops::Deref for IWMPLibrarySharingServices { +impl core::ops::Deref for IWMPLibrarySharingServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3351,7 +3351,7 @@ pub struct IWMPLibrarySharingServices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMedia, IWMPMedia_Vtbl, 0x94d55e95_3fac_11d3_b155_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPMedia { +impl core::ops::Deref for IWMPMedia { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3469,7 +3469,7 @@ pub struct IWMPMedia_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMedia2, IWMPMedia2_Vtbl, 0xab7c88bb_143e_4ea4_acc3_e4350b2106c3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPMedia2 { +impl core::ops::Deref for IWMPMedia2 { type Target = IWMPMedia; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3497,7 +3497,7 @@ pub struct IWMPMedia2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMedia3, IWMPMedia3_Vtbl, 0xf118efc7_f03a_4fb4_99c9_1c02a5c1065b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPMedia3 { +impl core::ops::Deref for IWMPMedia3 { type Target = IWMPMedia2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3532,7 +3532,7 @@ pub struct IWMPMedia3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMediaCollection, IWMPMediaCollection_Vtbl, 0x8363bc22_b4b4_4b19_989d_1cd765749dd1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPMediaCollection { +impl core::ops::Deref for IWMPMediaCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3688,7 +3688,7 @@ pub struct IWMPMediaCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMediaCollection2, IWMPMediaCollection2_Vtbl, 0x8ba957f5_fd8c_4791_b82d_f840401ee474); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPMediaCollection2 { +impl core::ops::Deref for IWMPMediaCollection2 { type Target = IWMPMediaCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3759,7 +3759,7 @@ pub struct IWMPMediaCollection2_Vtbl { getByAttributeAndMediaType: usize, } windows_core::imp::define_interface!(IWMPMediaPluginRegistrar, IWMPMediaPluginRegistrar_Vtbl, 0x68e27045_05bd_40b2_9720_23088c78e390); -impl std::ops::Deref for IWMPMediaPluginRegistrar { +impl core::ops::Deref for IWMPMediaPluginRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3788,7 +3788,7 @@ pub struct IWMPMediaPluginRegistrar_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMetadataPicture, IWMPMetadataPicture_Vtbl, 0x5c29bbe0_f87d_4c45_aa28_a70f0230ffa9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPMetadataPicture { +impl core::ops::Deref for IWMPMetadataPicture { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3823,7 +3823,7 @@ pub struct IWMPMetadataPicture_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPMetadataText, IWMPMetadataText_Vtbl, 0x769a72db_13d2_45e2_9c48_53ca9d5b7450); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPMetadataText { +impl core::ops::Deref for IWMPMetadataText { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3850,7 +3850,7 @@ pub struct IWMPMetadataText_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPNetwork, IWMPNetwork_Vtbl, 0xec21b779_edef_462d_bba4_ad9dde2b29a7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPNetwork { +impl core::ops::Deref for IWMPNetwork { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4012,7 +4012,7 @@ pub struct IWMPNetwork_Vtbl { pub framesSkipped: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPNodeRealEstate, IWMPNodeRealEstate_Vtbl, 0x42751198_5a50_4460_bcb4_709f8bdc8e59); -impl std::ops::Deref for IWMPNodeRealEstate { +impl core::ops::Deref for IWMPNodeRealEstate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4060,7 +4060,7 @@ pub struct IWMPNodeRealEstate_Vtbl { pub GetFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPNodeRealEstateHost, IWMPNodeRealEstateHost_Vtbl, 0x1491087d_2c6b_44c8_b019_b3c929d2ada9); -impl std::ops::Deref for IWMPNodeRealEstateHost { +impl core::ops::Deref for IWMPNodeRealEstateHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4085,7 +4085,7 @@ pub struct IWMPNodeRealEstateHost_Vtbl { pub OnFullScreenTransition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPNodeWindowed, IWMPNodeWindowed_Vtbl, 0x96740bfa_c56a_45d1_a3a4_762914d4ade9); -impl std::ops::Deref for IWMPNodeWindowed { +impl core::ops::Deref for IWMPNodeWindowed { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4107,7 +4107,7 @@ pub struct IWMPNodeWindowed_Vtbl { pub GetOwnerWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPNodeWindowedHost, IWMPNodeWindowedHost_Vtbl, 0xa300415a_54aa_4081_adbf_3b13610d8958); -impl std::ops::Deref for IWMPNodeWindowedHost { +impl core::ops::Deref for IWMPNodeWindowedHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4129,7 +4129,7 @@ pub struct IWMPNodeWindowedHost_Vtbl { pub OnWindowMessageFromRenderer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPNodeWindowless, IWMPNodeWindowless_Vtbl, 0x9b9199ad_780c_4eda_b816_261eba5d1575); -impl std::ops::Deref for IWMPNodeWindowless { +impl core::ops::Deref for IWMPNodeWindowless { type Target = IWMPWindowMessageSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4147,7 +4147,7 @@ pub struct IWMPNodeWindowless_Vtbl { pub OnDraw: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPNodeWindowlessHost, IWMPNodeWindowlessHost_Vtbl, 0xbe7017c6_ce34_4901_8106_770381aa6e3e); -impl std::ops::Deref for IWMPNodeWindowlessHost { +impl core::ops::Deref for IWMPNodeWindowlessHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4170,7 +4170,7 @@ pub struct IWMPNodeWindowlessHost_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlayer, IWMPPlayer_Vtbl, 0x6bf52a4f_394a_11d3_b153_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlayer { +impl core::ops::Deref for IWMPPlayer { type Target = IWMPCore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4233,7 +4233,7 @@ pub struct IWMPPlayer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlayer2, IWMPPlayer2_Vtbl, 0x0e6b01d1_d407_4c85_bf5f_1c01f6150280); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlayer2 { +impl core::ops::Deref for IWMPPlayer2 { type Target = IWMPCore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4318,7 +4318,7 @@ pub struct IWMPPlayer2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlayer3, IWMPPlayer3_Vtbl, 0x54062b68_052a_4c25_a39f_8b63346511d4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlayer3 { +impl core::ops::Deref for IWMPPlayer3 { type Target = IWMPCore2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4403,7 +4403,7 @@ pub struct IWMPPlayer3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlayer4, IWMPPlayer4_Vtbl, 0x6c497d62_8919_413c_82db_e935fb3ec584); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlayer4 { +impl core::ops::Deref for IWMPPlayer4 { type Target = IWMPCore3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4508,7 +4508,7 @@ pub struct IWMPPlayer4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlayerApplication, IWMPPlayerApplication_Vtbl, 0x40897764_ceab_47be_ad4a_8e28537f9bbf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlayerApplication { +impl core::ops::Deref for IWMPPlayerApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4541,7 +4541,7 @@ pub struct IWMPPlayerApplication_Vtbl { pub hasDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPPlayerServices, IWMPPlayerServices_Vtbl, 0x1d01fbdb_ade2_4c8d_9842_c190b95c3306); -impl std::ops::Deref for IWMPPlayerServices { +impl core::ops::Deref for IWMPPlayerServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4578,7 +4578,7 @@ pub struct IWMPPlayerServices_Vtbl { pub setTaskPaneURL: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPPlayerServices2, IWMPPlayerServices2_Vtbl, 0x1bb1592f_f040_418a_9f71_17c7512b4d70); -impl std::ops::Deref for IWMPPlayerServices2 { +impl core::ops::Deref for IWMPPlayerServices2 { type Target = IWMPPlayerServices; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4601,7 +4601,7 @@ pub struct IWMPPlayerServices2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlaylist, IWMPPlaylist_Vtbl, 0xd5f0f4f1_130c_11d3_b14e_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlaylist { +impl core::ops::Deref for IWMPPlaylist { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4719,7 +4719,7 @@ pub struct IWMPPlaylist_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlaylistArray, IWMPPlaylistArray_Vtbl, 0x679409c0_99f7_11d3_9fb7_00105aa620bb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlaylistArray { +impl core::ops::Deref for IWMPPlaylistArray { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4751,7 +4751,7 @@ pub struct IWMPPlaylistArray_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPPlaylistCollection, IWMPPlaylistCollection_Vtbl, 0x10a13217_23a7_439b_b1c0_d847c79b7774); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPPlaylistCollection { +impl core::ops::Deref for IWMPPlaylistCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4847,7 +4847,7 @@ pub struct IWMPPlaylistCollection_Vtbl { importPlaylist: usize, } windows_core::imp::define_interface!(IWMPPlugin, IWMPPlugin_Vtbl, 0xf1392a70_024c_42bb_a998_73dfdfe7d5a7); -impl std::ops::Deref for IWMPPlugin { +impl core::ops::Deref for IWMPPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4888,7 +4888,7 @@ pub struct IWMPPlugin_Vtbl { pub UnAdviseWMPServices: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPPluginEnable, IWMPPluginEnable_Vtbl, 0x5fca444c_7ad1_479d_a4ef_40566a5309d6); -impl std::ops::Deref for IWMPPluginEnable { +impl core::ops::Deref for IWMPPluginEnable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4913,7 +4913,7 @@ pub struct IWMPPluginEnable_Vtbl { pub GetEnable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPPluginUI, IWMPPluginUI_Vtbl, 0x4c5e8f9f_ad3e_4bf9_9753_fcd30d6d38dd); -impl std::ops::Deref for IWMPPluginUI { +impl core::ops::Deref for IWMPPluginUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4980,7 +4980,7 @@ pub struct IWMPPluginUI_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPQuery, IWMPQuery_Vtbl, 0xa00918f3_a6b0_4bfb_9189_fd834c7bc5a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPQuery { +impl core::ops::Deref for IWMPQuery { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5010,7 +5010,7 @@ pub struct IWMPQuery_Vtbl { pub beginNextGroup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPRemoteMediaServices, IWMPRemoteMediaServices_Vtbl, 0xcbb92747_741f_44fe_ab5b_f1a48f3b2a59); -impl std::ops::Deref for IWMPRemoteMediaServices { +impl core::ops::Deref for IWMPRemoteMediaServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5044,7 +5044,7 @@ pub struct IWMPRemoteMediaServices_Vtbl { pub GetCustomUIMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPRenderConfig, IWMPRenderConfig_Vtbl, 0x959506c1_0314_4ec5_9e61_8528db5e5478); -impl std::ops::Deref for IWMPRenderConfig { +impl core::ops::Deref for IWMPRenderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5069,7 +5069,7 @@ pub struct IWMPRenderConfig_Vtbl { pub inProcOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPServices, IWMPServices_Vtbl, 0xafb6b76b_1e20_4198_83b3_191db6e0b149); -impl std::ops::Deref for IWMPServices { +impl core::ops::Deref for IWMPServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5093,7 +5093,7 @@ pub struct IWMPServices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPSettings, IWMPSettings_Vtbl, 0x9104d1ab_80c9_4fed_abf0_2e6417a6df14); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPSettings { +impl core::ops::Deref for IWMPSettings { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5232,7 +5232,7 @@ pub struct IWMPSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPSettings2, IWMPSettings2_Vtbl, 0xfda937a4_eece_4da5_a0b6_39bf89ade2c2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPSettings2 { +impl core::ops::Deref for IWMPSettings2 { type Target = IWMPSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5264,7 +5264,7 @@ pub struct IWMPSettings2_Vtbl { pub requestMediaAccessRights: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSkinManager, IWMPSkinManager_Vtbl, 0x076f2fa6_ed30_448b_8cc5_3f3ef3529c7a); -impl std::ops::Deref for IWMPSkinManager { +impl core::ops::Deref for IWMPSkinManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5287,7 +5287,7 @@ pub struct IWMPSkinManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPStringCollection, IWMPStringCollection_Vtbl, 0x4a976298_8c0d_11d3_b389_00c04f68574b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPStringCollection { +impl core::ops::Deref for IWMPStringCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5314,7 +5314,7 @@ pub struct IWMPStringCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMPStringCollection2, IWMPStringCollection2_Vtbl, 0x46ad648d_53f1_4a74_92e2_2a1b68d63fd4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMPStringCollection2 { +impl core::ops::Deref for IWMPStringCollection2 { type Target = IWMPStringCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5365,7 +5365,7 @@ pub struct IWMPStringCollection2_Vtbl { pub getItemInfoByType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSubscriptionService, IWMPSubscriptionService_Vtbl, 0x376055f8_2a59_4a73_9501_dca5273a7a10); -impl std::ops::Deref for IWMPSubscriptionService { +impl core::ops::Deref for IWMPSubscriptionService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5422,7 +5422,7 @@ pub struct IWMPSubscriptionService_Vtbl { pub startBackgroundProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSubscriptionService2, IWMPSubscriptionService2_Vtbl, 0xa94c120e_d600_4ec6_b05e_ec9d56d84de0); -impl std::ops::Deref for IWMPSubscriptionService2 { +impl core::ops::Deref for IWMPSubscriptionService2 { type Target = IWMPSubscriptionService; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5461,7 +5461,7 @@ pub struct IWMPSubscriptionService2_Vtbl { pub prepareForSync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSubscriptionServiceCallback, IWMPSubscriptionServiceCallback_Vtbl, 0xdd01d127_2dc2_4c3a_876e_63312079f9b0); -impl std::ops::Deref for IWMPSubscriptionServiceCallback { +impl core::ops::Deref for IWMPSubscriptionServiceCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5479,7 +5479,7 @@ pub struct IWMPSubscriptionServiceCallback_Vtbl { pub onComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSyncDevice, IWMPSyncDevice_Vtbl, 0x82a2986c_0293_4fd0_b279_b21b86c058be); -impl std::ops::Deref for IWMPSyncDevice { +impl core::ops::Deref for IWMPSyncDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5569,7 +5569,7 @@ pub struct IWMPSyncDevice_Vtbl { pub isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSyncDevice2, IWMPSyncDevice2_Vtbl, 0x88afb4b2_140a_44d2_91e6_4543da467cd1); -impl std::ops::Deref for IWMPSyncDevice2 { +impl core::ops::Deref for IWMPSyncDevice2 { type Target = IWMPSyncDevice; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5591,7 +5591,7 @@ pub struct IWMPSyncDevice2_Vtbl { pub setItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSyncDevice3, IWMPSyncDevice3_Vtbl, 0xb22c85f9_263c_4372_a0da_b518db9b4098); -impl std::ops::Deref for IWMPSyncDevice3 { +impl core::ops::Deref for IWMPSyncDevice3 { type Target = IWMPSyncDevice2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5621,7 +5621,7 @@ pub struct IWMPSyncDevice3_Vtbl { pub cancelEstimation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPSyncServices, IWMPSyncServices_Vtbl, 0x8b5050ff_e0a4_4808_b3a8_893a9e1ed894); -impl std::ops::Deref for IWMPSyncServices { +impl core::ops::Deref for IWMPSyncServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5644,7 +5644,7 @@ pub struct IWMPSyncServices_Vtbl { pub getDevice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPTranscodePolicy, IWMPTranscodePolicy_Vtbl, 0xb64cbac3_401c_4327_a3e8_b9feb3a8c25c); -impl std::ops::Deref for IWMPTranscodePolicy { +impl core::ops::Deref for IWMPTranscodePolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5662,7 +5662,7 @@ pub struct IWMPTranscodePolicy_Vtbl { pub allowTranscode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPUserEventSink, IWMPUserEventSink_Vtbl, 0xcfccfa72_c343_48c3_a2de_b7a4402e39f2); -impl std::ops::Deref for IWMPUserEventSink { +impl core::ops::Deref for IWMPUserEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5680,7 +5680,7 @@ pub struct IWMPUserEventSink_Vtbl { pub NotifyUserEvent: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPVideoRenderConfig, IWMPVideoRenderConfig_Vtbl, 0x6d6cf803_1ec0_4c8d_b3ca_f18e27282074); -impl std::ops::Deref for IWMPVideoRenderConfig { +impl core::ops::Deref for IWMPVideoRenderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5705,7 +5705,7 @@ pub struct IWMPVideoRenderConfig_Vtbl { SetpresenterActivate: usize, } windows_core::imp::define_interface!(IWMPWindowMessageSink, IWMPWindowMessageSink_Vtbl, 0x3a0daa30_908d_4789_ba87_aed879b5c49b); -impl std::ops::Deref for IWMPWindowMessageSink { +impl core::ops::Deref for IWMPWindowMessageSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5727,7 +5727,7 @@ pub struct IWMPWindowMessageSink_Vtbl { pub OnWindowMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeed, IXFeed_Vtbl, 0xa44179a4_e0f6_403b_af8d_d080f425a451); -impl std::ops::Deref for IXFeed { +impl core::ops::Deref for IXFeed { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5778,7 +5778,7 @@ impl IXFeed { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastWriteTime(&self) -> windows_core::Result { @@ -5827,7 +5827,7 @@ impl IXFeed { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), uiid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MarkAllItemsRead(&self) -> windows_core::Result<()> { @@ -5914,7 +5914,7 @@ impl IXFeed { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetWatcher)(windows_core::Interface::as_raw(self), scope, mask, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnreadItemCount(&self) -> windows_core::Result { @@ -5981,7 +5981,7 @@ pub struct IXFeed_Vtbl { pub ItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeed2, IXFeed2_Vtbl, 0xce528e77_3716_4eb7_956d_f5e37502e12a); -impl std::ops::Deref for IXFeed2 { +impl core::ops::Deref for IXFeed2 { type Target = IXFeed; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5993,7 +5993,7 @@ impl IXFeed2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetItemByEffectiveId)(windows_core::Interface::as_raw(self), uieffectiveid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LastItemDownloadTime(&self) -> windows_core::Result { @@ -6030,7 +6030,7 @@ pub struct IXFeed2_Vtbl { pub ClearCredentials: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedEnclosure, IXFeedEnclosure_Vtbl, 0xbfbfb953_644f_4792_b69c_dfaca4cbf89a); -impl std::ops::Deref for IXFeedEnclosure { +impl core::ops::Deref for IXFeedEnclosure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6072,7 +6072,7 @@ impl IXFeedEnclosure { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DownloadUrl(&self) -> windows_core::Result { @@ -6114,7 +6114,7 @@ pub struct IXFeedEnclosure_Vtbl { pub SetFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedEvents, IXFeedEvents_Vtbl, 0x1630852e_1263_465b_98e5_fe60ffec4ac2); -impl std::ops::Deref for IXFeedEvents { +impl core::ops::Deref for IXFeedEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6183,7 +6183,7 @@ pub struct IXFeedEvents_Vtbl { pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedFolder, IXFeedFolder_Vtbl, 0x4c963678_3a51_4b88_8531_98b90b6508f2); -impl std::ops::Deref for IXFeedFolder { +impl core::ops::Deref for IXFeedFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6205,7 +6205,7 @@ impl IXFeedFolder { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFeed)(windows_core::Interface::as_raw(self), pszname.param().abi(), pszurl.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateSubfolder(&self, pszname: P0) -> windows_core::Result @@ -6213,7 +6213,7 @@ impl IXFeedFolder { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateSubfolder)(windows_core::Interface::as_raw(self), pszname.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExistsFeed(&self, pszname: P0, pbfeedexists: *const super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -6233,7 +6233,7 @@ impl IXFeedFolder { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFeed)(windows_core::Interface::as_raw(self), pszname.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSubfolder(&self, pszname: P0) -> windows_core::Result @@ -6241,7 +6241,7 @@ impl IXFeedFolder { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetSubfolder)(windows_core::Interface::as_raw(self), pszname.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -6271,7 +6271,7 @@ impl IXFeedFolder { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRoot(&self) -> windows_core::Result { @@ -6282,7 +6282,7 @@ impl IXFeedFolder { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetWatcher)(windows_core::Interface::as_raw(self), scope, mask, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn TotalUnreadItemCount(&self) -> windows_core::Result { @@ -6317,7 +6317,7 @@ pub struct IXFeedFolder_Vtbl { pub TotalItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedFolderEvents, IXFeedFolderEvents_Vtbl, 0x7964b769_234a_4bb1_a5f4_90454c8ad07e); -impl std::ops::Deref for IXFeedFolderEvents { +impl core::ops::Deref for IXFeedFolderEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6446,7 +6446,7 @@ pub struct IXFeedFolderEvents_Vtbl { pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedItem, IXFeedItem_Vtbl, 0xe757b2f5_e73e_434e_a1bf_2bd7c3e60fcb); -impl std::ops::Deref for IXFeedItem { +impl core::ops::Deref for IXFeedItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6491,7 +6491,7 @@ impl IXFeedItem { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Enclosure)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRead(&self) -> windows_core::Result { @@ -6512,7 +6512,7 @@ impl IXFeedItem { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Parent)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -6556,7 +6556,7 @@ pub struct IXFeedItem_Vtbl { pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedItem2, IXFeedItem2_Vtbl, 0x6cda2dc7_9013_4522_9970_2a9dd9ead5a3); -impl std::ops::Deref for IXFeedItem2 { +impl core::ops::Deref for IXFeedItem2 { type Target = IXFeedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6575,7 +6575,7 @@ pub struct IXFeedItem2_Vtbl { pub EffectiveId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedsEnum, IXFeedsEnum_Vtbl, 0xdc43a9d5_5015_4301_8c96_a47434b4d658); -impl std::ops::Deref for IXFeedsEnum { +impl core::ops::Deref for IXFeedsEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6591,7 +6591,7 @@ impl IXFeedsEnum { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Item)(windows_core::Interface::as_raw(self), uiindex, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6602,7 +6602,7 @@ pub struct IXFeedsEnum_Vtbl { pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXFeedsManager, IXFeedsManager_Vtbl, 0x5357e238_fb12_4aca_a930_cab7832b84bf); -impl std::ops::Deref for IXFeedsManager { +impl core::ops::Deref for IXFeedsManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6614,7 +6614,7 @@ impl IXFeedsManager { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RootFolder)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsSubscribed(&self, pszurl: P0) -> windows_core::Result @@ -6636,7 +6636,7 @@ impl IXFeedsManager { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFeed)(windows_core::Interface::as_raw(self), pszpath.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetFeedByUrl(&self, pszurl: P0) -> windows_core::Result @@ -6644,7 +6644,7 @@ impl IXFeedsManager { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFeedByUrl)(windows_core::Interface::as_raw(self), pszurl.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExistsFolder(&self, pszpath: P0) -> windows_core::Result @@ -6659,7 +6659,7 @@ impl IXFeedsManager { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), pszpath.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteFeed(&self, pszpath: P0) -> windows_core::Result<()> @@ -6730,7 +6730,7 @@ pub struct IXFeedsManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_WMPOCXEvents, _WMPOCXEvents_Vtbl, 0x6bf52a51_394a_11d3_b153_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _WMPOCXEvents { +impl core::ops::Deref for _WMPOCXEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs index 5fa1f145c5..9e4234f2c0 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -1236,7 +1236,7 @@ where sndOpenSound(eventname.param().abi(), appname.param().abi(), flags, filehandle) } windows_core::imp::define_interface!(IAVIEditStream, IAVIEditStream_Vtbl, 0x00020024_0000_0000_c000_000000000046); -impl std::ops::Deref for IAVIEditStream { +impl core::ops::Deref for IAVIEditStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1274,7 +1274,7 @@ pub struct IAVIEditStream_Vtbl { pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const AVISTREAMINFOW, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAVIFile, IAVIFile_Vtbl, 0x00020020_0000_0000_c000_000000000046); -impl std::ops::Deref for IAVIFile { +impl core::ops::Deref for IAVIFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1318,7 +1318,7 @@ pub struct IAVIFile_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAVIPersistFile, IAVIPersistFile_Vtbl, 0x00020025_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAVIPersistFile { +impl core::ops::Deref for IAVIPersistFile { type Target = super::super::System::Com::IPersistFile; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1339,7 +1339,7 @@ pub struct IAVIPersistFile_Vtbl { pub Reserved1: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAVIStream, IAVIStream_Vtbl, 0x00020021_0000_0000_c000_000000000046); -impl std::ops::Deref for IAVIStream { +impl core::ops::Deref for IAVIStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1401,7 +1401,7 @@ pub struct IAVIStream_Vtbl { pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const AVISTREAMINFOW, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAVIStreaming, IAVIStreaming_Vtbl, 0x00020022_0000_0000_c000_000000000046); -impl std::ops::Deref for IAVIStreaming { +impl core::ops::Deref for IAVIStreaming { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1423,7 +1423,7 @@ pub struct IAVIStreaming_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetFrame, IGetFrame_Vtbl, 0x00020023_0000_0000_c000_000000000046); -impl std::ops::Deref for IGetFrame { +impl core::ops::Deref for IGetFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs index ffa7af3e44..47b0633173 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IPhotoAcquire, IPhotoAcquire_Vtbl, 0x00f23353_e31b_4955_a8ad_ca5ebf31e2ce); -impl std::ops::Deref for IPhotoAcquire { +impl core::ops::Deref for IPhotoAcquire { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -41,7 +41,7 @@ pub struct IPhotoAcquire_Vtbl { EnumResults: usize, } windows_core::imp::define_interface!(IPhotoAcquireDeviceSelectionDialog, IPhotoAcquireDeviceSelectionDialog_Vtbl, 0x00f28837_55dd_4f37_aaf5_6855a9640467); -impl std::ops::Deref for IPhotoAcquireDeviceSelectionDialog { +impl core::ops::Deref for IPhotoAcquireDeviceSelectionDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -76,7 +76,7 @@ pub struct IPhotoAcquireDeviceSelectionDialog_Vtbl { pub DoModal: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, *mut core::mem::MaybeUninit, *mut DEVICE_SELECTION_DEVICE_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireItem, IPhotoAcquireItem_Vtbl, 0x00f21c97_28bf_4c02_b842_5e4e90139a30); -impl std::ops::Deref for IPhotoAcquireItem { +impl core::ops::Deref for IPhotoAcquireItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -149,7 +149,7 @@ pub struct IPhotoAcquireItem_Vtbl { pub GetSubItemAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireOptionsDialog, IPhotoAcquireOptionsDialog_Vtbl, 0x00f2b3ee_bf64_47ee_89f4_4dedd79643f2); -impl std::ops::Deref for IPhotoAcquireOptionsDialog { +impl core::ops::Deref for IPhotoAcquireOptionsDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -193,7 +193,7 @@ pub struct IPhotoAcquireOptionsDialog_Vtbl { pub SaveData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquirePlugin, IPhotoAcquirePlugin_Vtbl, 0x00f2dceb_ecb8_4f77_8e47_e7a987c83dd0); -impl std::ops::Deref for IPhotoAcquirePlugin { +impl core::ops::Deref for IPhotoAcquirePlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -240,7 +240,7 @@ pub struct IPhotoAcquirePlugin_Vtbl { pub DisplayConfigureDialog: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireProgressCB, IPhotoAcquireProgressCB_Vtbl, 0x00f2ce1e_935e_4248_892c_130f32c45cb4); -impl std::ops::Deref for IPhotoAcquireProgressCB { +impl core::ops::Deref for IPhotoAcquireProgressCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -369,7 +369,7 @@ pub struct IPhotoAcquireProgressCB_Vtbl { pub GetUserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireSettings, IPhotoAcquireSettings_Vtbl, 0x00f2b868_dd67_487c_9553_049240767e91); -impl std::ops::Deref for IPhotoAcquireSettings { +impl core::ops::Deref for IPhotoAcquireSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -453,7 +453,7 @@ pub struct IPhotoAcquireSettings_Vtbl { pub GetAcquisitionTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoAcquireSource, IPhotoAcquireSource_Vtbl, 0x00f2c703_8613_4282_a53b_6ec59c5883ac); -impl std::ops::Deref for IPhotoAcquireSource { +impl core::ops::Deref for IPhotoAcquireSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -512,7 +512,7 @@ pub struct IPhotoAcquireSource_Vtbl { pub BindToObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoProgressActionCB, IPhotoProgressActionCB_Vtbl, 0x00f242d0_b206_4e7d_b4c1_4755bcbb9c9f); -impl std::ops::Deref for IPhotoProgressActionCB { +impl core::ops::Deref for IPhotoProgressActionCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -533,7 +533,7 @@ pub struct IPhotoProgressActionCB_Vtbl { pub DoAction: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPhotoProgressDialog, IPhotoProgressDialog_Vtbl, 0x00f246f9_0750_4f08_9381_2cd8e906a4ae); -impl std::ops::Deref for IPhotoProgressDialog { +impl core::ops::Deref for IPhotoProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -666,7 +666,7 @@ pub struct IPhotoProgressDialog_Vtbl { pub GetUserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserInputString, IUserInputString_Vtbl, 0x00f243a1_205b_45ba_ae26_abbc53aa7a6f); -impl std::ops::Deref for IUserInputString { +impl core::ops::Deref for IUserInputString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs index e32142ea70..227954e83d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IEnumSpObjectTokens, IEnumSpObjectTokens_Vtbl, 0x06b64f9e_7fda_11d2_b4f2_00c04f797396); -impl std::ops::Deref for IEnumSpObjectTokens { +impl core::ops::Deref for IEnumSpObjectTokens { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -41,7 +41,7 @@ pub struct IEnumSpObjectTokens_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpAudio, ISpAudio_Vtbl, 0xc05c768f_fae8_4ec2_8e07_338321c12452); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpAudio { +impl core::ops::Deref for ISpAudio { type Target = ISpStreamFormat; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -110,7 +110,7 @@ pub struct ISpAudio_Vtbl { pub SetBufferNotifySize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpCFGInterpreter, ISpCFGInterpreter_Vtbl, 0xf3d3f926_11fc_11d3_bb97_00c04f8ee6c0); -impl std::ops::Deref for ISpCFGInterpreter { +impl core::ops::Deref for ISpCFGInterpreter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -139,7 +139,7 @@ pub struct ISpCFGInterpreter_Vtbl { pub Interpret: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpCFGInterpreterSite, ISpCFGInterpreterSite_Vtbl, 0x6a6ffad8_78b6_473d_b844_98152e4fb16b); -impl std::ops::Deref for ISpCFGInterpreterSite { +impl core::ops::Deref for ISpCFGInterpreterSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct ISpCFGInterpreterSite_Vtbl { pub GetResourceValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpContainerLexicon, ISpContainerLexicon_Vtbl, 0x8565572f_c094_41cc_b56e_10bd9c3ff044); -impl std::ops::Deref for ISpContainerLexicon { +impl core::ops::Deref for ISpContainerLexicon { type Target = ISpLexicon; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -190,7 +190,7 @@ pub struct ISpContainerLexicon_Vtbl { pub AddLexicon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpDataKey, ISpDataKey_Vtbl, 0x14056581_e16c_11d2_bb90_00c04f8ee6c0); -impl std::ops::Deref for ISpDataKey { +impl core::ops::Deref for ISpDataKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -288,7 +288,7 @@ pub struct ISpDataKey_Vtbl { pub EnumValues: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpDisplayAlternates, ISpDisplayAlternates_Vtbl, 0xc8d7c7e2_0dde_44b7_afe3_b0c991fbeb5e); -impl std::ops::Deref for ISpDisplayAlternates { +impl core::ops::Deref for ISpDisplayAlternates { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -310,7 +310,7 @@ pub struct ISpDisplayAlternates_Vtbl { pub SetFullStopTrailSpace: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpEnginePronunciation, ISpEnginePronunciation_Vtbl, 0xc360ce4b_76d1_4214_ad68_52657d5083da); -impl std::ops::Deref for ISpEnginePronunciation { +impl core::ops::Deref for ISpEnginePronunciation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -342,7 +342,7 @@ pub struct ISpEnginePronunciation_Vtbl { pub GetPronunciations: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u16, *mut SPWORDPRONUNCIATIONLIST) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpErrorLog, ISpErrorLog_Vtbl, 0xf4711347_e608_11d2_a086_00c04f8ef9b5); -impl std::ops::Deref for ISpErrorLog { +impl core::ops::Deref for ISpErrorLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -364,7 +364,7 @@ pub struct ISpErrorLog_Vtbl { pub AddError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, windows_core::HRESULT, windows_core::PCWSTR, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpEventSink, ISpEventSink_Vtbl, 0xbe7a9cc9_5f9e_11d2_960f_00c04f8ee628); -impl std::ops::Deref for ISpEventSink { +impl core::ops::Deref for ISpEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -386,7 +386,7 @@ pub struct ISpEventSink_Vtbl { pub GetEventInterest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpEventSource, ISpEventSource_Vtbl, 0xbe7a9cce_5f9e_11d2_960f_00c04f8ee628); -impl std::ops::Deref for ISpEventSource { +impl core::ops::Deref for ISpEventSource { type Target = ISpNotifySource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -412,7 +412,7 @@ pub struct ISpEventSource_Vtbl { pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPEVENTSOURCEINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpEventSource2, ISpEventSource2_Vtbl, 0x2373a435_6a4b_429e_a6ac_d4231a61975b); -impl std::ops::Deref for ISpEventSource2 { +impl core::ops::Deref for ISpEventSource2 { type Target = ISpEventSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -430,7 +430,7 @@ pub struct ISpEventSource2_Vtbl { pub GetEventsEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut SPEVENTEX, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpGramCompBackend, ISpGramCompBackend_Vtbl, 0x3ddca27c_665c_4786_9f97_8c90c3488b61); -impl std::ops::Deref for ISpGramCompBackend { +impl core::ops::Deref for ISpGramCompBackend { type Target = ISpGrammarBuilder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -460,7 +460,7 @@ pub struct ISpGramCompBackend_Vtbl { pub InitFromBinaryGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPBINARYGRAMMAR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpGrammarBuilder, ISpGrammarBuilder_Vtbl, 0x8137828f_591a_4a42_be58_49ea7ebaac68); -impl std::ops::Deref for ISpGrammarBuilder { +impl core::ops::Deref for ISpGrammarBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -532,7 +532,7 @@ pub struct ISpGrammarBuilder_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpGrammarBuilder2, ISpGrammarBuilder2_Vtbl, 0x8ab10026_20cc_4b20_8c22_a49c9ba78f60); -impl std::ops::Deref for ISpGrammarBuilder2 { +impl core::ops::Deref for ISpGrammarBuilder2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -559,7 +559,7 @@ pub struct ISpGrammarBuilder2_Vtbl { pub SetPhoneticAlphabet: unsafe extern "system" fn(*mut core::ffi::c_void, PHONETICALPHABET) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpGrammarCompiler, ISpGrammarCompiler_Vtbl, 0xb1e29d58_a675_11d2_8302_00c04f8ee6c0); -impl std::ops::Deref for ISpGrammarCompiler { +impl core::ops::Deref for ISpGrammarCompiler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -588,7 +588,7 @@ pub struct ISpGrammarCompiler_Vtbl { CompileStream: usize, } windows_core::imp::define_interface!(ISpITNProcessor, ISpITNProcessor_Vtbl, 0x12d7360f_a1c9_11d3_bc90_00c04f72df9f); -impl std::ops::Deref for ISpITNProcessor { +impl core::ops::Deref for ISpITNProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -616,7 +616,7 @@ pub struct ISpITNProcessor_Vtbl { pub ITNPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpLexicon, ISpLexicon_Vtbl, 0xda41a7c2_5383_4db2_916b_6c1719e3db58); -impl std::ops::Deref for ISpLexicon { +impl core::ops::Deref for ISpLexicon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -665,7 +665,7 @@ pub struct ISpLexicon_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpMMSysAudio, ISpMMSysAudio_Vtbl, 0x15806f6e_1d70_4b48_98e6_3b1a007509ab); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpMMSysAudio { +impl core::ops::Deref for ISpMMSysAudio { type Target = ISpAudio; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -716,7 +716,7 @@ pub struct ISpNotifyCallback_Vtbl { pub NotifyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpNotifySink, ISpNotifySink_Vtbl, 0x259684dc_37c3_11d2_9603_00c04f8ee628); -impl std::ops::Deref for ISpNotifySink { +impl core::ops::Deref for ISpNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -734,7 +734,7 @@ pub struct ISpNotifySink_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpNotifySource, ISpNotifySource_Vtbl, 0x5eff4aef_8487_11d2_961c_00c04f8ee628); -impl std::ops::Deref for ISpNotifySource { +impl core::ops::Deref for ISpNotifySource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -793,7 +793,7 @@ pub struct ISpNotifySource_Vtbl { pub GetNotifyEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } windows_core::imp::define_interface!(ISpNotifyTranslator, ISpNotifyTranslator_Vtbl, 0xaca16614_5d3d_11d2_960e_00c04f8ee628); -impl std::ops::Deref for ISpNotifyTranslator { +impl core::ops::Deref for ISpNotifyTranslator { type Target = ISpNotifySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -849,7 +849,7 @@ pub struct ISpNotifyTranslator_Vtbl { pub GetEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } windows_core::imp::define_interface!(ISpObjectToken, ISpObjectToken_Vtbl, 0x14056589_e16c_11d2_bb90_00c04f8ee6c0); -impl std::ops::Deref for ISpObjectToken { +impl core::ops::Deref for ISpObjectToken { type Target = ISpDataKey; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -935,7 +935,7 @@ pub struct ISpObjectToken_Vtbl { pub MatchesAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpObjectTokenCategory, ISpObjectTokenCategory_Vtbl, 0x2d3d3845_39af_4850_bbf9_40b49780011d); -impl std::ops::Deref for ISpObjectTokenCategory { +impl core::ops::Deref for ISpObjectTokenCategory { type Target = ISpDataKey; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -988,7 +988,7 @@ pub struct ISpObjectTokenCategory_Vtbl { pub GetDefaultTokenId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpObjectTokenEnumBuilder, ISpObjectTokenEnumBuilder_Vtbl, 0x06b64f9f_7fda_11d2_b4f2_00c04f797396); -impl std::ops::Deref for ISpObjectTokenEnumBuilder { +impl core::ops::Deref for ISpObjectTokenEnumBuilder { type Target = IEnumSpObjectTokens; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1037,7 +1037,7 @@ pub struct ISpObjectTokenEnumBuilder_Vtbl { pub Sort: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpObjectTokenInit, ISpObjectTokenInit_Vtbl, 0xb8aab0cf_346f_49d8_9499_c8b03f161d51); -impl std::ops::Deref for ISpObjectTokenInit { +impl core::ops::Deref for ISpObjectTokenInit { type Target = ISpObjectToken; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1060,7 +1060,7 @@ pub struct ISpObjectTokenInit_Vtbl { pub InitFromDataKey: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpObjectWithToken, ISpObjectWithToken_Vtbl, 0x5b559f40_e952_11d2_bb91_00c04f8ee6c0); -impl std::ops::Deref for ISpObjectWithToken { +impl core::ops::Deref for ISpObjectWithToken { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1086,7 +1086,7 @@ pub struct ISpObjectWithToken_Vtbl { pub GetObjectToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpPhoneConverter, ISpPhoneConverter_Vtbl, 0x8445c581_0cac_4a38_abfe_9b2ce2826455); -impl std::ops::Deref for ISpPhoneConverter { +impl core::ops::Deref for ISpPhoneConverter { type Target = ISpObjectWithToken; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1112,7 +1112,7 @@ pub struct ISpPhoneConverter_Vtbl { pub IdToPhone: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpPhoneticAlphabetConverter, ISpPhoneticAlphabetConverter_Vtbl, 0x133adcd4_19b4_4020_9fdc_842e78253b17); -impl std::ops::Deref for ISpPhoneticAlphabetConverter { +impl core::ops::Deref for ISpPhoneticAlphabetConverter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1151,7 +1151,7 @@ pub struct ISpPhoneticAlphabetConverter_Vtbl { pub GetMaxConvertLength: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpPhoneticAlphabetSelection, ISpPhoneticAlphabetSelection_Vtbl, 0xb2745efd_42ce_48ca_81f1_a96e02538a90); -impl std::ops::Deref for ISpPhoneticAlphabetSelection { +impl core::ops::Deref for ISpPhoneticAlphabetSelection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1177,7 +1177,7 @@ pub struct ISpPhoneticAlphabetSelection_Vtbl { pub SetAlphabetToUPS: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpPhrase, ISpPhrase_Vtbl, 0x1a5c0354_b621_4b5a_8791_d306ed379e53); -impl std::ops::Deref for ISpPhrase { +impl core::ops::Deref for ISpPhrase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1212,7 +1212,7 @@ pub struct ISpPhrase_Vtbl { pub Discard: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpPhrase2, ISpPhrase2_Vtbl, 0xf264da52_e457_4696_b856_a737b717af79); -impl std::ops::Deref for ISpPhrase2 { +impl core::ops::Deref for ISpPhrase2 { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1243,7 +1243,7 @@ pub struct ISpPhrase2_Vtbl { GetAudio: usize, } windows_core::imp::define_interface!(ISpPhraseAlt, ISpPhraseAlt_Vtbl, 0x8fcebc98_4e49_4067_9c6c_d86a0e092e3d); -impl std::ops::Deref for ISpPhraseAlt { +impl core::ops::Deref for ISpPhraseAlt { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1265,7 +1265,7 @@ pub struct ISpPhraseAlt_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpPhraseBuilder, ISpPhraseBuilder_Vtbl, 0x88a3342a_0bed_4834_922b_88d43173162f); -impl std::ops::Deref for ISpPhraseBuilder { +impl core::ops::Deref for ISpPhraseBuilder { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1311,7 +1311,7 @@ pub struct ISpPhraseBuilder_Vtbl { pub AddReplacements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const SPPHRASEREPLACEMENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpPrivateEngineCallEx, ISpPrivateEngineCallEx_Vtbl, 0xdefd682a_fe0a_42b9_bfa1_56d3d6cecfaf); -impl std::ops::Deref for ISpPrivateEngineCallEx { +impl core::ops::Deref for ISpPrivateEngineCallEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1333,7 +1333,7 @@ pub struct ISpPrivateEngineCallEx_Vtbl { pub CallEngineImmediate: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpProperties, ISpProperties_Vtbl, 0x5b4fb971_b115_4de1_ad97_e482e3bf6ee4); -impl std::ops::Deref for ISpProperties { +impl core::ops::Deref for ISpProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1377,7 +1377,7 @@ pub struct ISpProperties_Vtbl { pub GetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRecoContext, ISpRecoContext_Vtbl, 0xf740a62f_7c15_489e_8234_940a33d9272d); -impl std::ops::Deref for ISpRecoContext { +impl core::ops::Deref for ISpRecoContext { type Target = ISpEventSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1485,7 +1485,7 @@ pub struct ISpRecoContext_Vtbl { pub GetContextState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPCONTEXTSTATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRecoContext2, ISpRecoContext2_Vtbl, 0xbead311c_52ff_437f_9464_6b21054ca73d); -impl std::ops::Deref for ISpRecoContext2 { +impl core::ops::Deref for ISpRecoContext2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1515,7 +1515,7 @@ pub struct ISpRecoContext2_Vtbl { pub SetAdaptationData2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, SPADAPTATIONRELEVANCE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRecoGrammar, ISpRecoGrammar_Vtbl, 0x2177db29_7f45_47d0_8554_067e91c80502); -impl std::ops::Deref for ISpRecoGrammar { +impl core::ops::Deref for ISpRecoGrammar { type Target = ISpGrammarBuilder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1632,7 +1632,7 @@ pub struct ISpRecoGrammar_Vtbl { pub GetGrammarState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPGRAMMARSTATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRecoGrammar2, ISpRecoGrammar2_Vtbl, 0x4b37bc9e_9ed6_44a3_93d3_18f022b79ec3); -impl std::ops::Deref for ISpRecoGrammar2 { +impl core::ops::Deref for ISpRecoGrammar2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1707,7 +1707,7 @@ pub struct ISpRecoGrammar2_Vtbl { SetSMLSecurityManager: usize, } windows_core::imp::define_interface!(ISpRecoResult, ISpRecoResult_Vtbl, 0x20b053be_e235_43cd_9a2a_8d17a48b7842); -impl std::ops::Deref for ISpRecoResult { +impl core::ops::Deref for ISpRecoResult { type Target = ISpPhrase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1759,7 +1759,7 @@ pub struct ISpRecoResult_Vtbl { pub GetRecoContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRecoResult2, ISpRecoResult2_Vtbl, 0x27cac6c4_88f2_41f2_8817_0c95e59f1e6e); -impl std::ops::Deref for ISpRecoResult2 { +impl core::ops::Deref for ISpRecoResult2 { type Target = ISpRecoResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1796,7 +1796,7 @@ pub struct ISpRecoResult2_Vtbl { pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRecognizer, ISpRecognizer_Vtbl, 0xc2b5f241_daa0_4507_9e16_5a1eaa2b7a5c); -impl std::ops::Deref for ISpRecognizer { +impl core::ops::Deref for ISpRecognizer { type Target = ISpProperties; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1908,7 +1908,7 @@ pub struct ISpRecognizer_Vtbl { pub EmulateRecognition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRecognizer2, ISpRecognizer2_Vtbl, 0x8fc6d974_c81e_4098_93c5_0147f61ed4d3); -impl std::ops::Deref for ISpRecognizer2 { +impl core::ops::Deref for ISpRecognizer2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1941,7 +1941,7 @@ pub struct ISpRecognizer2_Vtbl { pub ResetAcousticModelAdaptation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpRegDataKey, ISpRegDataKey_Vtbl, 0x92a66e2b_c830_4149_83df_6fc2ba1e7a5b); -impl std::ops::Deref for ISpRegDataKey { +impl core::ops::Deref for ISpRegDataKey { type Target = ISpDataKey; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1969,7 +1969,7 @@ pub struct ISpRegDataKey_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpResourceManager, ISpResourceManager_Vtbl, 0x93384e18_5014_43d5_adbb_a78e055926bd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpResourceManager { +impl core::ops::Deref for ISpResourceManager { type Target = super::super::System::Com::IServiceProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2000,7 +2000,7 @@ pub struct ISpResourceManager_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpSRAlternates, ISpSRAlternates_Vtbl, 0xfece8294_2be1_408f_8e68_2de377092f0e); -impl std::ops::Deref for ISpSRAlternates { +impl core::ops::Deref for ISpSRAlternates { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2022,7 +2022,7 @@ pub struct ISpSRAlternates_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPPHRASEALTREQUEST, *const SPPHRASEALT, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpSRAlternates2, ISpSRAlternates2_Vtbl, 0xf338f437_cb33_4020_9cab_c71ff9ce12d3); -impl std::ops::Deref for ISpSRAlternates2 { +impl core::ops::Deref for ISpSRAlternates2 { type Target = ISpSRAlternates; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2043,7 +2043,7 @@ pub struct ISpSRAlternates2_Vtbl { pub CommitText: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPPHRASEALTREQUEST, windows_core::PCWSTR, SPCOMMITFLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpSREngine, ISpSREngine_Vtbl, 0x2f472991_854b_4465_b613_fbafb3ad8ed8); -impl std::ops::Deref for ISpSREngine { +impl core::ops::Deref for ISpSREngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2230,7 +2230,7 @@ pub struct ISpSREngine_Vtbl { pub SetContextState: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, SPCONTEXTSTATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpSREngine2, ISpSREngine2_Vtbl, 0x7ba627d8_33f9_4375_90c5_9985aee5ede5); -impl std::ops::Deref for ISpSREngine2 { +impl core::ops::Deref for ISpSREngine2 { type Target = ISpSREngine; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2308,7 +2308,7 @@ pub struct ISpSREngine2_Vtbl { pub OnUnloadCFG: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpSREngineSite, ISpSREngineSite_Vtbl, 0x3b414aec_720c_4883_b9ef_178cd394fb3a); -impl std::ops::Deref for ISpSREngineSite { +impl core::ops::Deref for ISpSREngineSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2430,7 +2430,7 @@ pub struct ISpSREngineSite_Vtbl { pub UpdateRecoPos: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpSREngineSite2, ISpSREngineSite2_Vtbl, 0x7bc6e012_684a_493e_bdd4_2bf5fbf48cfe); -impl std::ops::Deref for ISpSREngineSite2 { +impl core::ops::Deref for ISpSREngineSite2 { type Target = ISpSREngineSite; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2463,7 +2463,7 @@ pub struct ISpSREngineSite2_Vtbl { pub RecognitionEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPRECORESULTINFOEX) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpSerializeState, ISpSerializeState_Vtbl, 0x21b501a0_0ec7_46c9_92c3_a2bc784c54b9); -impl std::ops::Deref for ISpSerializeState { +impl core::ops::Deref for ISpSerializeState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2485,7 +2485,7 @@ pub struct ISpSerializeState_Vtbl { pub SetSerializedState: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpShortcut, ISpShortcut_Vtbl, 0x3df681e2_ea56_11d9_8bde_f66bad1e3f3a); -impl std::ops::Deref for ISpShortcut { +impl core::ops::Deref for ISpShortcut { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2542,7 +2542,7 @@ pub struct ISpShortcut_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpStream, ISpStream_Vtbl, 0x12e3cca9_7518_44c5_a5e7_ba5a79cb929e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpStream { +impl core::ops::Deref for ISpStream { type Target = ISpStreamFormat; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2596,7 +2596,7 @@ pub struct ISpStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpStreamFormat, ISpStreamFormat_Vtbl, 0xbed530be_2606_4f4d_a1c0_54c5cda5566f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpStreamFormat { +impl core::ops::Deref for ISpStreamFormat { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2624,7 +2624,7 @@ pub struct ISpStreamFormat_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpStreamFormatConverter, ISpStreamFormatConverter_Vtbl, 0x678a932c_ea71_4446_9b41_78fda6280a29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpStreamFormatConverter { +impl core::ops::Deref for ISpStreamFormatConverter { type Target = ISpStreamFormat; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2685,7 +2685,7 @@ pub struct ISpStreamFormatConverter_Vtbl { pub ScaleBaseToConvertedOffset: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpTTSEngine, ISpTTSEngine_Vtbl, 0xa74d7c8e_4cc5_4f2f_a6eb_804dee18500e); -impl std::ops::Deref for ISpTTSEngine { +impl core::ops::Deref for ISpTTSEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2718,7 +2718,7 @@ pub struct ISpTTSEngine_Vtbl { GetOutputFormat: usize, } windows_core::imp::define_interface!(ISpTTSEngineSite, ISpTTSEngineSite_Vtbl, 0x9880499b_cce9_11d2_b503_00c04f797396); -impl std::ops::Deref for ISpTTSEngineSite { +impl core::ops::Deref for ISpTTSEngineSite { type Target = ISpEventSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2769,7 +2769,7 @@ pub struct ISpTask_Vtbl { pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpTaskManager, ISpTaskManager_Vtbl, 0x2baeef81_2ca3_4331_98f3_26ec5abefb03); -impl std::ops::Deref for ISpTaskManager { +impl core::ops::Deref for ISpTaskManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2825,7 +2825,7 @@ pub struct ISpTaskManager_Vtbl { pub TerminateTaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpThreadControl, ISpThreadControl_Vtbl, 0xa6be4d73_4403_4358_b22d_0346e23b1764); -impl std::ops::Deref for ISpThreadControl { +impl core::ops::Deref for ISpThreadControl { type Target = ISpNotifySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2910,7 +2910,7 @@ pub struct ISpThreadTask_Vtbl { pub WindowMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT, } windows_core::imp::define_interface!(ISpTokenUI, ISpTokenUI_Vtbl, 0xf8e690f0_39cb_4843_b8d7_c84696e1119d); -impl std::ops::Deref for ISpTokenUI { +impl core::ops::Deref for ISpTokenUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2944,7 +2944,7 @@ pub struct ISpTokenUI_Vtbl { pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, *const core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpTranscript, ISpTranscript_Vtbl, 0x10f63bce_201a_11d3_ac70_00c04f8ee6c0); -impl std::ops::Deref for ISpTranscript { +impl core::ops::Deref for ISpTranscript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2970,7 +2970,7 @@ pub struct ISpTranscript_Vtbl { pub AppendTranscript: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpVoice, ISpVoice_Vtbl, 0x6c44df74_72b9_4992_a1ec_ef996e0422d4); -impl std::ops::Deref for ISpVoice { +impl core::ops::Deref for ISpVoice { type Target = ISpEventSource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3119,7 +3119,7 @@ pub struct ISpVoice_Vtbl { pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpXMLRecoResult, ISpXMLRecoResult_Vtbl, 0xae39362b_45a8_4074_9b9e_ccf49aa2d0b6); -impl std::ops::Deref for ISpXMLRecoResult { +impl core::ops::Deref for ISpXMLRecoResult { type Target = ISpRecoResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3143,7 +3143,7 @@ pub struct ISpXMLRecoResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechAudio, ISpeechAudio_Vtbl, 0xcff8e175_019e_11d3_a08e_00c04f8ef9b5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechAudio { +impl core::ops::Deref for ISpeechAudio { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3216,7 +3216,7 @@ pub struct ISpeechAudio_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechAudioBufferInfo, ISpeechAudioBufferInfo_Vtbl, 0x11b103d8_1142_4edf_a093_82fb3915f8cc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechAudioBufferInfo { +impl core::ops::Deref for ISpeechAudioBufferInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3262,7 +3262,7 @@ pub struct ISpeechAudioBufferInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechAudioFormat, ISpeechAudioFormat_Vtbl, 0xe6e9c590_3e18_40e3_8299_061f98bde7c7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechAudioFormat { +impl core::ops::Deref for ISpeechAudioFormat { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3322,7 +3322,7 @@ pub struct ISpeechAudioFormat_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechAudioStatus, ISpeechAudioStatus_Vtbl, 0xc62d9c91_7458_47f6_862d_1ef86fb0b278); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechAudioStatus { +impl core::ops::Deref for ISpeechAudioStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3366,7 +3366,7 @@ pub struct ISpeechAudioStatus_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechBaseStream, ISpeechBaseStream_Vtbl, 0x6450336f_7d49_4ced_8097_49d6dee37294); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechBaseStream { +impl core::ops::Deref for ISpeechBaseStream { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3425,7 +3425,7 @@ pub struct ISpeechBaseStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechCustomStream, ISpeechCustomStream_Vtbl, 0x1a9e9f4f_104f_4db8_a115_efd7fd0c97ae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechCustomStream { +impl core::ops::Deref for ISpeechCustomStream { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3456,7 +3456,7 @@ pub struct ISpeechCustomStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechDataKey, ISpeechDataKey_Vtbl, 0xce17c09b_4efa_44d5_a4c9_59d9585ab0cd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechDataKey { +impl core::ops::Deref for ISpeechDataKey { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3570,7 +3570,7 @@ pub struct ISpeechDataKey_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechFileStream, ISpeechFileStream_Vtbl, 0xaf67f125_ab39_4e93_b4a2_cc2e66e182a7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechFileStream { +impl core::ops::Deref for ISpeechFileStream { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3601,7 +3601,7 @@ pub struct ISpeechFileStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechGrammarRule, ISpeechGrammarRule_Vtbl, 0xafe719cf_5dd1_44f2_999c_7a399f1cfccc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechGrammarRule { +impl core::ops::Deref for ISpeechGrammarRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3665,7 +3665,7 @@ pub struct ISpeechGrammarRule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechGrammarRuleState, ISpeechGrammarRuleState_Vtbl, 0xd4286f2c_ee67_45ae_b928_28d695362eda); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechGrammarRuleState { +impl core::ops::Deref for ISpeechGrammarRuleState { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3741,7 +3741,7 @@ pub struct ISpeechGrammarRuleState_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechGrammarRuleStateTransition, ISpeechGrammarRuleStateTransition_Vtbl, 0xcafd1db1_41d1_4a06_9863_e2e81da17a9a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechGrammarRuleStateTransition { +impl core::ops::Deref for ISpeechGrammarRuleStateTransition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3808,7 +3808,7 @@ pub struct ISpeechGrammarRuleStateTransition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechGrammarRuleStateTransitions, ISpeechGrammarRuleStateTransitions_Vtbl, 0xeabce657_75bc_44a2_aa7f_c56476742963); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechGrammarRuleStateTransitions { +impl core::ops::Deref for ISpeechGrammarRuleStateTransitions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3846,7 +3846,7 @@ pub struct ISpeechGrammarRuleStateTransitions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechGrammarRules, ISpeechGrammarRules_Vtbl, 0x6ffa3b44_fc2d_40d1_8afc_32911c7f1ad1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechGrammarRules { +impl core::ops::Deref for ISpeechGrammarRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3921,7 +3921,7 @@ pub struct ISpeechGrammarRules_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechLexicon, ISpeechLexicon_Vtbl, 0x3da7627a_c7ae_4b23_8708_638c50362c25); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechLexicon { +impl core::ops::Deref for ISpeechLexicon { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4003,7 +4003,7 @@ pub struct ISpeechLexicon_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechLexiconPronunciation, ISpeechLexiconPronunciation_Vtbl, 0x95252c5d_9e43_4f4a_9899_48ee73352f9f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechLexiconPronunciation { +impl core::ops::Deref for ISpeechLexiconPronunciation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4047,7 +4047,7 @@ pub struct ISpeechLexiconPronunciation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechLexiconPronunciations, ISpeechLexiconPronunciations_Vtbl, 0x72829128_5682_4704_a0d4_3e2bb6f2ead3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechLexiconPronunciations { +impl core::ops::Deref for ISpeechLexiconPronunciations { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4085,7 +4085,7 @@ pub struct ISpeechLexiconPronunciations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechLexiconWord, ISpeechLexiconWord_Vtbl, 0x4e5b933c_c9be_48ed_8842_1ee51bb1d4ff); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechLexiconWord { +impl core::ops::Deref for ISpeechLexiconWord { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4128,7 +4128,7 @@ pub struct ISpeechLexiconWord_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechLexiconWords, ISpeechLexiconWords_Vtbl, 0x8d199862_415e_47d5_ac4f_faa608b424e6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechLexiconWords { +impl core::ops::Deref for ISpeechLexiconWords { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4166,7 +4166,7 @@ pub struct ISpeechLexiconWords_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechMMSysAudio, ISpeechMMSysAudio_Vtbl, 0x3c76af6d_1fd7_4831_81d1_3b71d5a13c44); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechMMSysAudio { +impl core::ops::Deref for ISpeechMMSysAudio { type Target = ISpeechAudio; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4208,7 +4208,7 @@ pub struct ISpeechMMSysAudio_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechMemoryStream, ISpeechMemoryStream_Vtbl, 0xeeb14b68_808b_4abe_a5ea_b51da7588008); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechMemoryStream { +impl core::ops::Deref for ISpeechMemoryStream { type Target = ISpeechBaseStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4239,7 +4239,7 @@ pub struct ISpeechMemoryStream_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechObjectToken, ISpeechObjectToken_Vtbl, 0xc74a3adc_b727_4500_a84a_b526721c8b8c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechObjectToken { +impl core::ops::Deref for ISpeechObjectToken { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4363,7 +4363,7 @@ pub struct ISpeechObjectToken_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechObjectTokenCategory, ISpeechObjectTokenCategory_Vtbl, 0xca7eac50_2d01_4145_86d4_5ae7d70f4469); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechObjectTokenCategory { +impl core::ops::Deref for ISpeechObjectTokenCategory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4429,7 +4429,7 @@ pub struct ISpeechObjectTokenCategory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechObjectTokens, ISpeechObjectTokens_Vtbl, 0x9285b776_2e7b_4bc0_b53e_580eb6fa967f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechObjectTokens { +impl core::ops::Deref for ISpeechObjectTokens { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4467,7 +4467,7 @@ pub struct ISpeechObjectTokens_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhoneConverter, ISpeechPhoneConverter_Vtbl, 0xc3e4f353_433f_43d6_89a1_6a62a7054c3d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhoneConverter { +impl core::ops::Deref for ISpeechPhoneConverter { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4511,7 +4511,7 @@ pub struct ISpeechPhoneConverter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseAlternate, ISpeechPhraseAlternate_Vtbl, 0x27864a2a_2b9f_4cb8_92d3_0d2722fd1e73); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseAlternate { +impl core::ops::Deref for ISpeechPhraseAlternate { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4562,7 +4562,7 @@ pub struct ISpeechPhraseAlternate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseAlternates, ISpeechPhraseAlternates_Vtbl, 0xb238b6d5_f276_4c3d_a6c1_2974801c3cc2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseAlternates { +impl core::ops::Deref for ISpeechPhraseAlternates { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4600,7 +4600,7 @@ pub struct ISpeechPhraseAlternates_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseElement, ISpeechPhraseElement_Vtbl, 0xe6176f96_e373_4801_b223_3b62c068c0b4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseElement { +impl core::ops::Deref for ISpeechPhraseElement { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4684,7 +4684,7 @@ pub struct ISpeechPhraseElement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseElements, ISpeechPhraseElements_Vtbl, 0x0626b328_3478_467d_a0b3_d0853b93dda3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseElements { +impl core::ops::Deref for ISpeechPhraseElements { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4722,7 +4722,7 @@ pub struct ISpeechPhraseElements_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseInfo, ISpeechPhraseInfo_Vtbl, 0x961559cf_4e67_4662_8bf0_d93f1fcd61b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseInfo { +impl core::ops::Deref for ISpeechPhraseInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4843,7 +4843,7 @@ pub struct ISpeechPhraseInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseInfoBuilder, ISpeechPhraseInfoBuilder_Vtbl, 0x3b151836_df3a_4e0a_846c_d2adc9334333); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseInfoBuilder { +impl core::ops::Deref for ISpeechPhraseInfoBuilder { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4871,7 +4871,7 @@ pub struct ISpeechPhraseInfoBuilder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseProperties, ISpeechPhraseProperties_Vtbl, 0x08166b47_102e_4b23_a599_bdb98dbfd1f4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseProperties { +impl core::ops::Deref for ISpeechPhraseProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4909,7 +4909,7 @@ pub struct ISpeechPhraseProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseProperty, ISpeechPhraseProperty_Vtbl, 0xce563d48_961e_4732_a2e1_378a42b430be); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseProperty { +impl core::ops::Deref for ISpeechPhraseProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4981,7 +4981,7 @@ pub struct ISpeechPhraseProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseReplacement, ISpeechPhraseReplacement_Vtbl, 0x2890a410_53a7_4fb5_94ec_06d4998e3d02); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseReplacement { +impl core::ops::Deref for ISpeechPhraseReplacement { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5020,7 +5020,7 @@ pub struct ISpeechPhraseReplacement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseReplacements, ISpeechPhraseReplacements_Vtbl, 0x38bc662f_2257_4525_959e_2069d2596c05); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseReplacements { +impl core::ops::Deref for ISpeechPhraseReplacements { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5058,7 +5058,7 @@ pub struct ISpeechPhraseReplacements_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseRule, ISpeechPhraseRule_Vtbl, 0xa7bfe112_a4a0_48d9_b602_c313843f6964); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseRule { +impl core::ops::Deref for ISpeechPhraseRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5125,7 +5125,7 @@ pub struct ISpeechPhraseRule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechPhraseRules, ISpeechPhraseRules_Vtbl, 0x9047d593_01dd_4b72_81a3_e4a0ca69f407); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechPhraseRules { +impl core::ops::Deref for ISpeechPhraseRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5163,7 +5163,7 @@ pub struct ISpeechPhraseRules_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoContext, ISpeechRecoContext_Vtbl, 0x580aa49d_7e1e_4809_b8e2_57da806104b8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecoContext { +impl core::ops::Deref for ISpeechRecoContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5342,7 +5342,7 @@ pub struct ISpeechRecoContext_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoGrammar, ISpeechRecoGrammar_Vtbl, 0xb6d6f79f_2158_4e50_b5bc_9a9ccd852a09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecoGrammar { +impl core::ops::Deref for ISpeechRecoGrammar { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5493,7 +5493,7 @@ pub struct ISpeechRecoGrammar_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoResult, ISpeechRecoResult_Vtbl, 0xed2879cf_ced9_4ee6_a534_de0191d5468d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecoResult { +impl core::ops::Deref for ISpeechRecoResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5591,7 +5591,7 @@ pub struct ISpeechRecoResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoResult2, ISpeechRecoResult2_Vtbl, 0x8e0a246d_d3c8_45de_8657_04290c458c3c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecoResult2 { +impl core::ops::Deref for ISpeechRecoResult2 { type Target = ISpeechRecoResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5618,7 +5618,7 @@ pub struct ISpeechRecoResult2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoResultDispatch, ISpeechRecoResultDispatch_Vtbl, 0x6d60eb64_aced_40a6_bbf3_4e557f71dee2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecoResultDispatch { +impl core::ops::Deref for ISpeechRecoResultDispatch { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5733,7 +5733,7 @@ pub struct ISpeechRecoResultDispatch_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecoResultTimes, ISpeechRecoResultTimes_Vtbl, 0x62b3b8fb_f6e7_41be_bdcb_056b1c29efc0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecoResultTimes { +impl core::ops::Deref for ISpeechRecoResultTimes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5772,7 +5772,7 @@ pub struct ISpeechRecoResultTimes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecognizer, ISpeechRecognizer_Vtbl, 0x2d5f1c0c_bd75_4b08_9478_3b11fea2586c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecognizer { +impl core::ops::Deref for ISpeechRecognizer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6017,7 +6017,7 @@ pub struct ISpeechRecognizer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechRecognizerStatus, ISpeechRecognizerStatus_Vtbl, 0xbff9e781_53ec_484e_bb8a_0e1b5551e35c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechRecognizerStatus { +impl core::ops::Deref for ISpeechRecognizerStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6070,7 +6070,7 @@ pub struct ISpeechRecognizerStatus_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechResourceLoader, ISpeechResourceLoader_Vtbl, 0xb9ac5783_fcd0_4b21_b119_b4f8da8fd2c3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechResourceLoader { +impl core::ops::Deref for ISpeechResourceLoader { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6111,7 +6111,7 @@ pub struct ISpeechResourceLoader_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechTextSelectionInformation, ISpeechTextSelectionInformation_Vtbl, 0x3b9c7e7a_6eee_4ded_9092_11657279adbe); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechTextSelectionInformation { +impl core::ops::Deref for ISpeechTextSelectionInformation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6166,7 +6166,7 @@ pub struct ISpeechTextSelectionInformation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechVoice, ISpeechVoice_Vtbl, 0x269316d8_57bd_11d2_9eee_00c04f797396); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechVoice { +impl core::ops::Deref for ISpeechVoice { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6408,7 +6408,7 @@ pub struct ISpeechVoice_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechVoiceStatus, ISpeechVoiceStatus_Vtbl, 0x8be47b07_57f6_11d2_9eee_00c04f797396); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechVoiceStatus { +impl core::ops::Deref for ISpeechVoiceStatus { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6487,7 +6487,7 @@ pub struct ISpeechVoiceStatus_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechWaveFormatEx, ISpeechWaveFormatEx_Vtbl, 0x7a1ef0d5_1581_4741_88e4_209a49f11a10); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechWaveFormatEx { +impl core::ops::Deref for ISpeechWaveFormatEx { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6572,7 +6572,7 @@ pub struct ISpeechWaveFormatEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISpeechXMLRecoResult, ISpeechXMLRecoResult_Vtbl, 0xaaec54af_8f85_4924_944d_b79d39d72e19); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISpeechXMLRecoResult { +impl core::ops::Deref for ISpeechXMLRecoResult { type Target = ISpeechRecoResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6598,7 +6598,7 @@ pub struct ISpeechXMLRecoResult_Vtbl { pub GetXMLErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(_ISpPrivateEngineCall, _ISpPrivateEngineCall_Vtbl, 0x8e7c791e_4467_11d3_9723_00c04f72db08); -impl std::ops::Deref for _ISpPrivateEngineCall { +impl core::ops::Deref for _ISpPrivateEngineCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6622,7 +6622,7 @@ pub struct _ISpPrivateEngineCall_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_ISpeechRecoContextEvents, _ISpeechRecoContextEvents_Vtbl, 0x7b8fcb42_0e9d_4f00_a048_7b04d6179d3d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _ISpeechRecoContextEvents { +impl core::ops::Deref for _ISpeechRecoContextEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6640,7 +6640,7 @@ pub struct _ISpeechRecoContextEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_ISpeechVoiceEvents, _ISpeechVoiceEvents_Vtbl, 0xa372acd1_3bef_4bbd_8ffb_cb3e2b416af8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _ISpeechVoiceEvents { +impl core::ops::Deref for _ISpeechVoiceEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs index 0ac297bc1f..0f589b09c5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -79,7 +79,7 @@ where WMIsContentProtected(pwszfilename.param().abi(), pfisprotected).ok() } windows_core::imp::define_interface!(INSNetSourceCreator, INSNetSourceCreator_Vtbl, 0x0c0e4080_9081_11d2_beec_0060082f2054); -impl std::ops::Deref for INSNetSourceCreator { +impl core::ops::Deref for INSNetSourceCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -141,7 +141,7 @@ pub struct INSNetSourceCreator_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INSSBuffer, INSSBuffer_Vtbl, 0xe1cd3524_03d7_11d2_9eed_006097d2d7cf); -impl std::ops::Deref for INSSBuffer { +impl core::ops::Deref for INSSBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -178,7 +178,7 @@ pub struct INSSBuffer_Vtbl { pub GetBufferAndLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INSSBuffer2, INSSBuffer2_Vtbl, 0x4f528693_1035_43fe_b428_757561ad3a68); -impl std::ops::Deref for INSSBuffer2 { +impl core::ops::Deref for INSSBuffer2 { type Target = INSSBuffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -201,7 +201,7 @@ pub struct INSSBuffer2_Vtbl { pub SetSampleProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INSSBuffer3, INSSBuffer3_Vtbl, 0xc87ceaaf_75be_4bc4_84eb_ac2798507672); -impl std::ops::Deref for INSSBuffer3 { +impl core::ops::Deref for INSSBuffer3 { type Target = INSSBuffer2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -223,7 +223,7 @@ pub struct INSSBuffer3_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INSSBuffer4, INSSBuffer4_Vtbl, 0xb6b8fd5a_32e2_49d4_a910_c26cc85465ed); -impl std::ops::Deref for INSSBuffer4 { +impl core::ops::Deref for INSSBuffer4 { type Target = INSSBuffer3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -246,7 +246,7 @@ pub struct INSSBuffer4_Vtbl { pub GetPropertyByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMAddressAccess, IWMAddressAccess_Vtbl, 0xbb3c6389_1633_4e92_af14_9f3173ba39d0); -impl std::ops::Deref for IWMAddressAccess { +impl core::ops::Deref for IWMAddressAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -278,7 +278,7 @@ pub struct IWMAddressAccess_Vtbl { pub RemoveAccessEntry: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMAddressAccess2, IWMAddressAccess2_Vtbl, 0x65a83fc2_3e98_4d4d_81b5_2a742886b33d); -impl std::ops::Deref for IWMAddressAccess2 { +impl core::ops::Deref for IWMAddressAccess2 { type Target = IWMAddressAccess; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -304,7 +304,7 @@ pub struct IWMAddressAccess2_Vtbl { pub AddAccessEntryEx: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMAuthorizer, IWMAuthorizer_Vtbl, 0xd9b67d36_a9ad_4eb4_baef_db284ef5504c); -impl std::ops::Deref for IWMAuthorizer { +impl core::ops::Deref for IWMAuthorizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -333,7 +333,7 @@ pub struct IWMAuthorizer_Vtbl { pub GetSharedData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *const u8, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMBackupRestoreProps, IWMBackupRestoreProps_Vtbl, 0x3c8e0da6_996f_4ff3_a1af_4838f9377e2e); -impl std::ops::Deref for IWMBackupRestoreProps { +impl core::ops::Deref for IWMBackupRestoreProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -381,7 +381,7 @@ pub struct IWMBackupRestoreProps_Vtbl { pub RemoveAllProps: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMBandwidthSharing, IWMBandwidthSharing_Vtbl, 0xad694af1_f8d9_42f8_bc47_70311b0c4f9e); -impl std::ops::Deref for IWMBandwidthSharing { +impl core::ops::Deref for IWMBandwidthSharing { type Target = IWMStreamList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -412,7 +412,7 @@ pub struct IWMBandwidthSharing_Vtbl { pub SetBandwidth: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMClientConnections, IWMClientConnections_Vtbl, 0x73c66010_a299_41df_b1f0_ccf03b09c1c6); -impl std::ops::Deref for IWMClientConnections { +impl core::ops::Deref for IWMClientConnections { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -436,7 +436,7 @@ pub struct IWMClientConnections_Vtbl { pub GetClientProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut WM_CLIENT_PROPERTIES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMClientConnections2, IWMClientConnections2_Vtbl, 0x4091571e_4701_4593_bb3d_d5f5f0c74246); -impl std::ops::Deref for IWMClientConnections2 { +impl core::ops::Deref for IWMClientConnections2 { type Target = IWMClientConnections; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -454,7 +454,7 @@ pub struct IWMClientConnections2_Vtbl { pub GetClientInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32, windows_core::PWSTR, *mut u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecInfo, IWMCodecInfo_Vtbl, 0xa970f41e_34de_4a98_b3ba_e4b3ca7528f0); -impl std::ops::Deref for IWMCodecInfo { +impl core::ops::Deref for IWMCodecInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -483,7 +483,7 @@ pub struct IWMCodecInfo_Vtbl { pub GetCodecFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecInfo2, IWMCodecInfo2_Vtbl, 0xaa65e273_b686_4056_91ec_dd768d4df710); -impl std::ops::Deref for IWMCodecInfo2 { +impl core::ops::Deref for IWMCodecInfo2 { type Target = IWMCodecInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -505,7 +505,7 @@ pub struct IWMCodecInfo2_Vtbl { pub GetCodecFormatDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *mut *mut core::ffi::c_void, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCodecInfo3, IWMCodecInfo3_Vtbl, 0x7e51f487_4d93_4f98_8ab4_27d0565adc51); -impl std::ops::Deref for IWMCodecInfo3 { +impl core::ops::Deref for IWMCodecInfo3 { type Target = IWMCodecInfo2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -547,7 +547,7 @@ pub struct IWMCodecInfo3_Vtbl { pub GetCodecEnumerationSetting: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMCredentialCallback, IWMCredentialCallback_Vtbl, 0x342e0eb7_e651_450c_975b_2ace2c90c48e); -impl std::ops::Deref for IWMCredentialCallback { +impl core::ops::Deref for IWMCredentialCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -569,7 +569,7 @@ pub struct IWMCredentialCallback_Vtbl { pub AcquireCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PWSTR, u32, windows_core::PWSTR, u32, windows_core::HRESULT, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMEditor, IWMDRMEditor_Vtbl, 0xff130ebc_a6c3_42a6_b401_c3382c3e08b3); -impl std::ops::Deref for IWMDRMEditor { +impl core::ops::Deref for IWMDRMEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -590,7 +590,7 @@ pub struct IWMDRMEditor_Vtbl { pub GetDRMProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMMessageParser, IWMDRMMessageParser_Vtbl, 0xa73a0072_25a0_4c99_b4a5_ede8101a6c39); -impl std::ops::Deref for IWMDRMMessageParser { +impl core::ops::Deref for IWMDRMMessageParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -612,7 +612,7 @@ pub struct IWMDRMMessageParser_Vtbl { pub ParseLicenseRequestMsg: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void, *mut DRM_VAL16, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMReader, IWMDRMReader_Vtbl, 0xd2827540_3ee7_432c_b14c_dc17f085d3b3); -impl std::ops::Deref for IWMDRMReader { +impl core::ops::Deref for IWMDRMReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -664,7 +664,7 @@ pub struct IWMDRMReader_Vtbl { pub GetDRMProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMReader2, IWMDRMReader2_Vtbl, 0xbefe7a75_9f1d_4075_b9d9_a3c37bda49a0); -impl std::ops::Deref for IWMDRMReader2 { +impl core::ops::Deref for IWMDRMReader2 { type Target = IWMDRMReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -697,7 +697,7 @@ pub struct IWMDRMReader2_Vtbl { pub TryNextLicense: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMReader3, IWMDRMReader3_Vtbl, 0xe08672de_f1e7_4ff4_a0a3_fc4b08e4caf8); -impl std::ops::Deref for IWMDRMReader3 { +impl core::ops::Deref for IWMDRMReader3 { type Target = IWMDRMReader2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -715,7 +715,7 @@ pub struct IWMDRMReader3_Vtbl { pub GetInclusionList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMTranscryptionManager, IWMDRMTranscryptionManager_Vtbl, 0xb1a887b2_a4f0_407a_b02e_efbd23bbecdf); -impl std::ops::Deref for IWMDRMTranscryptionManager { +impl core::ops::Deref for IWMDRMTranscryptionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -734,7 +734,7 @@ pub struct IWMDRMTranscryptionManager_Vtbl { pub CreateTranscryptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMTranscryptor, IWMDRMTranscryptor_Vtbl, 0x69059850_6e6f_4bb2_806f_71863ddfc471); -impl std::ops::Deref for IWMDRMTranscryptor { +impl core::ops::Deref for IWMDRMTranscryptor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -768,7 +768,7 @@ pub struct IWMDRMTranscryptor_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMTranscryptor2, IWMDRMTranscryptor2_Vtbl, 0xe0da439f_d331_496a_bece_18e5bac5dd23); -impl std::ops::Deref for IWMDRMTranscryptor2 { +impl core::ops::Deref for IWMDRMTranscryptor2 { type Target = IWMDRMTranscryptor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -806,7 +806,7 @@ pub struct IWMDRMTranscryptor2_Vtbl { pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMWriter, IWMDRMWriter_Vtbl, 0xd6ea5dd0_12a0_43f4_90ab_a3fd451e6a07); -impl std::ops::Deref for IWMDRMWriter { +impl core::ops::Deref for IWMDRMWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -839,7 +839,7 @@ pub struct IWMDRMWriter_Vtbl { pub SetDRMAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u16, windows_core::PCWSTR, WMT_ATTR_DATATYPE, *const u8, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMWriter2, IWMDRMWriter2_Vtbl, 0x38ee7a94_40e2_4e10_aa3f_33fd3210ed5b); -impl std::ops::Deref for IWMDRMWriter2 { +impl core::ops::Deref for IWMDRMWriter2 { type Target = IWMDRMWriter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -860,7 +860,7 @@ pub struct IWMDRMWriter2_Vtbl { pub SetWMDRMNetEncryption: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDRMWriter3, IWMDRMWriter3_Vtbl, 0xa7184082_a4aa_4dde_ac9c_e75dbd1117ce); -impl std::ops::Deref for IWMDRMWriter3 { +impl core::ops::Deref for IWMDRMWriter3 { type Target = IWMDRMWriter2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -878,7 +878,7 @@ pub struct IWMDRMWriter3_Vtbl { pub SetProtectStreamSamples: unsafe extern "system" fn(*mut core::ffi::c_void, *const WMDRM_IMPORT_INIT_STRUCT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMDeviceRegistration, IWMDeviceRegistration_Vtbl, 0xf6211f03_8d21_4e94_93e6_8510805f2d99); -impl std::ops::Deref for IWMDeviceRegistration { +impl core::ops::Deref for IWMDeviceRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -921,7 +921,7 @@ pub struct IWMDeviceRegistration_Vtbl { pub GetRegisteredDeviceByID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, DRM_VAL16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMGetSecureChannel, IWMGetSecureChannel_Vtbl, 0x94bc0598_c3d2_11d3_bedf_00c04f612986); -impl std::ops::Deref for IWMGetSecureChannel { +impl core::ops::Deref for IWMGetSecureChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -940,7 +940,7 @@ pub struct IWMGetSecureChannel_Vtbl { pub GetPeerSecureChannelInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMHeaderInfo, IWMHeaderInfo_Vtbl, 0x96406bda_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMHeaderInfo { +impl core::ops::Deref for IWMHeaderInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1018,7 +1018,7 @@ pub struct IWMHeaderInfo_Vtbl { pub RemoveScript: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMHeaderInfo2, IWMHeaderInfo2_Vtbl, 0x15cf9781_454e_482e_b393_85fae487a810); -impl std::ops::Deref for IWMHeaderInfo2 { +impl core::ops::Deref for IWMHeaderInfo2 { type Target = IWMHeaderInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1041,7 +1041,7 @@ pub struct IWMHeaderInfo2_Vtbl { pub GetCodecInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u16, windows_core::PWSTR, *mut u16, windows_core::PWSTR, *mut WMT_CODEC_INFO_TYPE, *mut u16, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMHeaderInfo3, IWMHeaderInfo3_Vtbl, 0x15cc68e3_27cc_4ecd_b222_3f5d02d80bd5); -impl std::ops::Deref for IWMHeaderInfo3 { +impl core::ops::Deref for IWMHeaderInfo3 { type Target = IWMHeaderInfo2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1094,7 +1094,7 @@ pub struct IWMHeaderInfo3_Vtbl { pub AddCodecInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, WMT_CODEC_INFO_TYPE, u16, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMIStreamProps, IWMIStreamProps_Vtbl, 0x6816dad3_2b4b_4c8e_8149_874c3483a753); -impl std::ops::Deref for IWMIStreamProps { +impl core::ops::Deref for IWMIStreamProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1115,7 +1115,7 @@ pub struct IWMIStreamProps_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMImageInfo, IWMImageInfo_Vtbl, 0x9f0aa3b6_7267_4d89_88f2_ba915aa5c4c6); -impl std::ops::Deref for IWMImageInfo { +impl core::ops::Deref for IWMImageInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1138,7 +1138,7 @@ pub struct IWMImageInfo_Vtbl { pub GetImage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u16, windows_core::PWSTR, *mut u16, windows_core::PWSTR, *mut u16, *mut u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMIndexer, IWMIndexer_Vtbl, 0x6d7cdc71_9888_11d3_8edc_00c04f6109cf); -impl std::ops::Deref for IWMIndexer { +impl core::ops::Deref for IWMIndexer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1164,7 +1164,7 @@ pub struct IWMIndexer_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMIndexer2, IWMIndexer2_Vtbl, 0xb70f1e42_6255_4df0_a6b9_02b212d9e2bb); -impl std::ops::Deref for IWMIndexer2 { +impl core::ops::Deref for IWMIndexer2 { type Target = IWMIndexer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1182,7 +1182,7 @@ pub struct IWMIndexer2_Vtbl { pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, u16, WMT_INDEXER_TYPE, *const core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMInputMediaProps, IWMInputMediaProps_Vtbl, 0x96406bd5_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMInputMediaProps { +impl core::ops::Deref for IWMInputMediaProps { type Target = IWMMediaProps; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1204,7 +1204,7 @@ pub struct IWMInputMediaProps_Vtbl { pub GetGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMLanguageList, IWMLanguageList_Vtbl, 0xdf683f00_2d49_4d8e_92b7_fb19f6a0dc57); -impl std::ops::Deref for IWMLanguageList { +impl core::ops::Deref for IWMLanguageList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1235,7 +1235,7 @@ pub struct IWMLanguageList_Vtbl { pub AddLanguageByRFC1766String: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMLicenseBackup, IWMLicenseBackup_Vtbl, 0x05e5ac9f_3fb6_4508_bb43_a4067ba1ebe8); -impl std::ops::Deref for IWMLicenseBackup { +impl core::ops::Deref for IWMLicenseBackup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1260,7 +1260,7 @@ pub struct IWMLicenseBackup_Vtbl { pub CancelLicenseBackup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMLicenseRestore, IWMLicenseRestore_Vtbl, 0xc70b6334_a22e_4efb_a245_15e65a004a13); -impl std::ops::Deref for IWMLicenseRestore { +impl core::ops::Deref for IWMLicenseRestore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1285,7 +1285,7 @@ pub struct IWMLicenseRestore_Vtbl { pub CancelLicenseRestore: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMLicenseRevocationAgent, IWMLicenseRevocationAgent_Vtbl, 0x6967f2c9_4e26_4b57_8894_799880f7ac7b); -impl std::ops::Deref for IWMLicenseRevocationAgent { +impl core::ops::Deref for IWMLicenseRevocationAgent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1307,7 +1307,7 @@ pub struct IWMLicenseRevocationAgent_Vtbl { pub ProcessLRB: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMMediaProps, IWMMediaProps_Vtbl, 0x96406bce_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMMediaProps { +impl core::ops::Deref for IWMMediaProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1334,7 +1334,7 @@ pub struct IWMMediaProps_Vtbl { pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *const WM_MEDIA_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMMetadataEditor, IWMMetadataEditor_Vtbl, 0x96406bd9_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMMetadataEditor { +impl core::ops::Deref for IWMMetadataEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1363,7 +1363,7 @@ pub struct IWMMetadataEditor_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMMetadataEditor2, IWMMetadataEditor2_Vtbl, 0x203cffe3_2e18_4fdf_b59d_6e71530534cf); -impl std::ops::Deref for IWMMetadataEditor2 { +impl core::ops::Deref for IWMMetadataEditor2 { type Target = IWMMetadataEditor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1384,7 +1384,7 @@ pub struct IWMMetadataEditor2_Vtbl { pub OpenEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMMutualExclusion, IWMMutualExclusion_Vtbl, 0x96406bde_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMMutualExclusion { +impl core::ops::Deref for IWMMutualExclusion { type Target = IWMStreamList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1407,7 +1407,7 @@ pub struct IWMMutualExclusion_Vtbl { pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMMutualExclusion2, IWMMutualExclusion2_Vtbl, 0x0302b57d_89d1_4ba2_85c9_166f2c53eb91); -impl std::ops::Deref for IWMMutualExclusion2 { +impl core::ops::Deref for IWMMutualExclusion2 { type Target = IWMMutualExclusion; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1468,7 +1468,7 @@ pub struct IWMMutualExclusion2_Vtbl { pub RemoveStreamForRecord: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMOutputMediaProps, IWMOutputMediaProps_Vtbl, 0x96406bd7_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMOutputMediaProps { +impl core::ops::Deref for IWMOutputMediaProps { type Target = IWMMediaProps; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1490,7 +1490,7 @@ pub struct IWMOutputMediaProps_Vtbl { pub GetConnectionName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPacketSize, IWMPacketSize_Vtbl, 0xcdfb97ab_188f_40b3_b643_5b7903975c59); -impl std::ops::Deref for IWMPacketSize { +impl core::ops::Deref for IWMPacketSize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1513,7 +1513,7 @@ pub struct IWMPacketSize_Vtbl { pub SetMaxPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPacketSize2, IWMPacketSize2_Vtbl, 0x8bfc2b9e_b646_4233_a877_1c6a079669dc); -impl std::ops::Deref for IWMPacketSize2 { +impl core::ops::Deref for IWMPacketSize2 { type Target = IWMPacketSize; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1536,7 +1536,7 @@ pub struct IWMPacketSize2_Vtbl { pub SetMinPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPlayerHook, IWMPlayerHook_Vtbl, 0xe5b7ca9a_0f1c_4f66_9002_74ec50d8b304); -impl std::ops::Deref for IWMPlayerHook { +impl core::ops::Deref for IWMPlayerHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1554,7 +1554,7 @@ pub struct IWMPlayerHook_Vtbl { pub PreDecode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPlayerTimestampHook, IWMPlayerTimestampHook_Vtbl, 0x28580dda_d98e_48d0_b7ae_69e473a02825); -impl std::ops::Deref for IWMPlayerTimestampHook { +impl core::ops::Deref for IWMPlayerTimestampHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1573,7 +1573,7 @@ pub struct IWMPlayerTimestampHook_Vtbl { pub MapTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMProfile, IWMProfile_Vtbl, 0x96406bdb_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMProfile { +impl core::ops::Deref for IWMProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1688,7 +1688,7 @@ pub struct IWMProfile_Vtbl { pub CreateNewMutualExclusion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMProfile2, IWMProfile2_Vtbl, 0x07e72d33_d94e_4be7_8843_60ae5ff7e5f5); -impl std::ops::Deref for IWMProfile2 { +impl core::ops::Deref for IWMProfile2 { type Target = IWMProfile; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1707,7 +1707,7 @@ pub struct IWMProfile2_Vtbl { pub GetProfileID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMProfile3, IWMProfile3_Vtbl, 0x00ef96cc_a461_4546_8bcd_c9a28f0e06f5); -impl std::ops::Deref for IWMProfile3 { +impl core::ops::Deref for IWMProfile3 { type Target = IWMProfile2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1785,7 +1785,7 @@ pub struct IWMProfile3_Vtbl { pub GetExpectedPacketCount: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMProfileManager, IWMProfileManager_Vtbl, 0xd16679f2_6ca0_472d_8d31_2f5d55aee155); -impl std::ops::Deref for IWMProfileManager { +impl core::ops::Deref for IWMProfileManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1835,7 +1835,7 @@ pub struct IWMProfileManager_Vtbl { pub LoadSystemProfile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMProfileManager2, IWMProfileManager2_Vtbl, 0x7a924e51_73c1_494d_8019_23d37ed9b89a); -impl std::ops::Deref for IWMProfileManager2 { +impl core::ops::Deref for IWMProfileManager2 { type Target = IWMProfileManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1857,7 +1857,7 @@ pub struct IWMProfileManager2_Vtbl { pub SetSystemProfileVersion: unsafe extern "system" fn(*mut core::ffi::c_void, WMT_VERSION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMProfileManagerLanguage, IWMProfileManagerLanguage_Vtbl, 0xba4dcc78_7ee0_4ab8_b27a_dbce8bc51454); -impl std::ops::Deref for IWMProfileManagerLanguage { +impl core::ops::Deref for IWMProfileManagerLanguage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1879,7 +1879,7 @@ pub struct IWMProfileManagerLanguage_Vtbl { pub SetUserLanguageID: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMPropertyVault, IWMPropertyVault_Vtbl, 0x72995a79_5090_42a4_9c8c_d9d0b6d34be5); -impl std::ops::Deref for IWMPropertyVault { +impl core::ops::Deref for IWMPropertyVault { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1926,7 +1926,7 @@ pub struct IWMPropertyVault_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMProximityDetection, IWMProximityDetection_Vtbl, 0x6a9fd8ee_b651_4bf0_b849_7d4ece79a2b1); -impl std::ops::Deref for IWMProximityDetection { +impl core::ops::Deref for IWMProximityDetection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1947,7 +1947,7 @@ pub struct IWMProximityDetection_Vtbl { pub StartDetection: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, u32, *mut *mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReader, IWMReader_Vtbl, 0x96406bd6_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMReader { +impl core::ops::Deref for IWMReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2016,7 +2016,7 @@ pub struct IWMReader_Vtbl { pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderAccelerator, IWMReaderAccelerator_Vtbl, 0xbddc4d08_944d_4d52_a612_46c3fda07dd4); -impl std::ops::Deref for IWMReaderAccelerator { +impl core::ops::Deref for IWMReaderAccelerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2038,7 +2038,7 @@ pub struct IWMReaderAccelerator_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const WM_MEDIA_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderAdvanced, IWMReaderAdvanced_Vtbl, 0x96406bea_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMReaderAdvanced { +impl core::ops::Deref for IWMReaderAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2159,7 +2159,7 @@ pub struct IWMReaderAdvanced_Vtbl { pub NotifyLateDelivery: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderAdvanced2, IWMReaderAdvanced2_Vtbl, 0xae14a945_b90c_4d0d_9127_80d665f7d73e); -impl std::ops::Deref for IWMReaderAdvanced2 { +impl core::ops::Deref for IWMReaderAdvanced2 { type Target = IWMReaderAdvanced; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2256,7 +2256,7 @@ pub struct IWMReaderAdvanced2_Vtbl { OpenStream: usize, } windows_core::imp::define_interface!(IWMReaderAdvanced3, IWMReaderAdvanced3_Vtbl, 0x5dc0674b_f04b_4a4e_9f2a_b1afde2c8100); -impl std::ops::Deref for IWMReaderAdvanced3 { +impl core::ops::Deref for IWMReaderAdvanced3 { type Target = IWMReaderAdvanced2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2278,7 +2278,7 @@ pub struct IWMReaderAdvanced3_Vtbl { pub StartAtPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *const core::ffi::c_void, *const core::ffi::c_void, WMT_OFFSET_FORMAT, f32, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderAdvanced4, IWMReaderAdvanced4_Vtbl, 0x945a76a2_12ae_4d48_bd3c_cd1d90399b85); -impl std::ops::Deref for IWMReaderAdvanced4 { +impl core::ops::Deref for IWMReaderAdvanced4 { type Target = IWMReaderAdvanced3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2337,7 +2337,7 @@ pub struct IWMReaderAdvanced4_Vtbl { pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderAdvanced5, IWMReaderAdvanced5_Vtbl, 0x24c44db0_55d1_49ae_a5cc_f13815e36363); -impl std::ops::Deref for IWMReaderAdvanced5 { +impl core::ops::Deref for IWMReaderAdvanced5 { type Target = IWMReaderAdvanced4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2358,7 +2358,7 @@ pub struct IWMReaderAdvanced5_Vtbl { pub SetPlayerHook: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderAdvanced6, IWMReaderAdvanced6_Vtbl, 0x18a2e7f8_428f_4acd_8a00_e64639bc93de); -impl std::ops::Deref for IWMReaderAdvanced6 { +impl core::ops::Deref for IWMReaderAdvanced6 { type Target = IWMReaderAdvanced5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2376,7 +2376,7 @@ pub struct IWMReaderAdvanced6_Vtbl { pub SetProtectStreamSamples: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderAllocatorEx, IWMReaderAllocatorEx_Vtbl, 0x9f762fa7_a22e_428d_93c9_ac82f3aafe5a); -impl std::ops::Deref for IWMReaderAllocatorEx { +impl core::ops::Deref for IWMReaderAllocatorEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2398,7 +2398,7 @@ pub struct IWMReaderAllocatorEx_Vtbl { pub AllocateForOutputEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void, u32, u64, u64, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderCallback, IWMReaderCallback_Vtbl, 0x96406bd8_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMReaderCallback { +impl core::ops::Deref for IWMReaderCallback { type Target = IWMStatusCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2419,7 +2419,7 @@ pub struct IWMReaderCallback_Vtbl { pub OnSample: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u64, u32, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderCallbackAdvanced, IWMReaderCallbackAdvanced_Vtbl, 0x96406beb_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMReaderCallbackAdvanced { +impl core::ops::Deref for IWMReaderCallbackAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2460,7 +2460,7 @@ pub struct IWMReaderCallbackAdvanced_Vtbl { pub AllocateForOutput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderNetworkConfig, IWMReaderNetworkConfig_Vtbl, 0x96406bec_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMReaderNetworkConfig { +impl core::ops::Deref for IWMReaderNetworkConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2669,7 +2669,7 @@ pub struct IWMReaderNetworkConfig_Vtbl { pub ResetLoggingUrlList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderNetworkConfig2, IWMReaderNetworkConfig2_Vtbl, 0xd979a853_042b_4050_8387_c939db22013f); -impl std::ops::Deref for IWMReaderNetworkConfig2 { +impl core::ops::Deref for IWMReaderNetworkConfig2 { type Target = IWMReaderNetworkConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2754,7 +2754,7 @@ pub struct IWMReaderNetworkConfig2_Vtbl { pub GetMaxNetPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderPlaylistBurn, IWMReaderPlaylistBurn_Vtbl, 0xf28c0300_9baa_4477_a846_1744d9cbf533); -impl std::ops::Deref for IWMReaderPlaylistBurn { +impl core::ops::Deref for IWMReaderPlaylistBurn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2788,7 +2788,7 @@ pub struct IWMReaderPlaylistBurn_Vtbl { pub EndPlaylistBurn: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderStreamClock, IWMReaderStreamClock_Vtbl, 0x96406bed_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMReaderStreamClock { +impl core::ops::Deref for IWMReaderStreamClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2815,7 +2815,7 @@ pub struct IWMReaderStreamClock_Vtbl { pub KillTimer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderTimecode, IWMReaderTimecode_Vtbl, 0xf369e2f0_e081_4fe6_8450_b810b2f410d1); -impl std::ops::Deref for IWMReaderTimecode { +impl core::ops::Deref for IWMReaderTimecode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2838,7 +2838,7 @@ pub struct IWMReaderTimecode_Vtbl { pub GetTimecodeRangeBounds: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMReaderTypeNegotiation, IWMReaderTypeNegotiation_Vtbl, 0xfdbe5592_81a1_41ea_93bd_735cad1adc05); -impl std::ops::Deref for IWMReaderTypeNegotiation { +impl core::ops::Deref for IWMReaderTypeNegotiation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2859,7 +2859,7 @@ pub struct IWMReaderTypeNegotiation_Vtbl { pub TryOutputProps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMRegisterCallback, IWMRegisterCallback_Vtbl, 0xcf4b1f99_4de2_4e49_a363_252740d99bc1); -impl std::ops::Deref for IWMRegisterCallback { +impl core::ops::Deref for IWMRegisterCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2887,7 +2887,7 @@ pub struct IWMRegisterCallback_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMRegisteredDevice, IWMRegisteredDevice_Vtbl, 0xa4503bec_5508_4148_97ac_bfa75760a70d); -impl std::ops::Deref for IWMRegisteredDevice { +impl core::ops::Deref for IWMRegisteredDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2976,7 +2976,7 @@ pub struct IWMRegisteredDevice_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSBufferAllocator, IWMSBufferAllocator_Vtbl, 0x61103ca4_2033_11d2_9ef1_006097d2d7cf); -impl std::ops::Deref for IWMSBufferAllocator { +impl core::ops::Deref for IWMSBufferAllocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3000,7 +3000,7 @@ pub struct IWMSBufferAllocator_Vtbl { pub AllocatePageSizeBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSInternalAdminNetSource, IWMSInternalAdminNetSource_Vtbl, 0x8bb23e5f_d127_4afb_8d02_ae5b66d54c78); -impl std::ops::Deref for IWMSInternalAdminNetSource { +impl core::ops::Deref for IWMSInternalAdminNetSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3084,7 +3084,7 @@ pub struct IWMSInternalAdminNetSource_Vtbl { pub IsUsingIE: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSInternalAdminNetSource2, IWMSInternalAdminNetSource2_Vtbl, 0xe74d58c3_cf77_4b51_af17_744687c43eae); -impl std::ops::Deref for IWMSInternalAdminNetSource2 { +impl core::ops::Deref for IWMSInternalAdminNetSource2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3138,7 +3138,7 @@ pub struct IWMSInternalAdminNetSource2_Vtbl { pub FindProxyForURLEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut core::mem::MaybeUninit, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSInternalAdminNetSource3, IWMSInternalAdminNetSource3_Vtbl, 0x6b63d08e_4590_44af_9eb3_57ff1e73bf80); -impl std::ops::Deref for IWMSInternalAdminNetSource3 { +impl core::ops::Deref for IWMSInternalAdminNetSource3 { type Target = IWMSInternalAdminNetSource2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3203,7 +3203,7 @@ pub struct IWMSInternalAdminNetSource3_Vtbl { pub GetCredentialsEx2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut NETSOURCE_URLCREDPOLICY_SETTINGS, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSecureChannel, IWMSecureChannel_Vtbl, 0x2720598a_d0f2_4189_bd10_91c46ef0936f); -impl std::ops::Deref for IWMSecureChannel { +impl core::ops::Deref for IWMSecureChannel { type Target = IWMAuthorizer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3268,7 +3268,7 @@ pub struct IWMSecureChannel_Vtbl { pub WMSC_SetSharedData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMStatusCallback, IWMStatusCallback_Vtbl, 0x6d7cdc70_9888_11d3_8edc_00c04f6109cf); -impl std::ops::Deref for IWMStatusCallback { +impl core::ops::Deref for IWMStatusCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3286,7 +3286,7 @@ pub struct IWMStatusCallback_Vtbl { pub OnStatus: unsafe extern "system" fn(*mut core::ffi::c_void, WMT_STATUS, windows_core::HRESULT, WMT_ATTR_DATATYPE, *const u8, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMStreamConfig, IWMStreamConfig_Vtbl, 0x96406bdc_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMStreamConfig { +impl core::ops::Deref for IWMStreamConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3354,7 +3354,7 @@ pub struct IWMStreamConfig_Vtbl { pub SetBufferWindow: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMStreamConfig2, IWMStreamConfig2_Vtbl, 0x7688d8cb_fc0d_43bd_9459_5a8dec200cfa); -impl std::ops::Deref for IWMStreamConfig2 { +impl core::ops::Deref for IWMStreamConfig2 { type Target = IWMStreamConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3394,7 +3394,7 @@ pub struct IWMStreamConfig2_Vtbl { pub RemoveAllDataUnitExtensions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMStreamConfig3, IWMStreamConfig3_Vtbl, 0xcb164104_3aa9_45a7_9ac9_4daee131d6e1); -impl std::ops::Deref for IWMStreamConfig3 { +impl core::ops::Deref for IWMStreamConfig3 { type Target = IWMStreamConfig2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3419,7 +3419,7 @@ pub struct IWMStreamConfig3_Vtbl { pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMStreamList, IWMStreamList_Vtbl, 0x96406bdd_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMStreamList { +impl core::ops::Deref for IWMStreamList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3445,7 +3445,7 @@ pub struct IWMStreamList_Vtbl { pub RemoveStream: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMStreamPrioritization, IWMStreamPrioritization_Vtbl, 0x8c1c6090_f9a8_4748_8ec3_dd1108ba1e77); -impl std::ops::Deref for IWMStreamPrioritization { +impl core::ops::Deref for IWMStreamPrioritization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3467,7 +3467,7 @@ pub struct IWMStreamPrioritization_Vtbl { pub SetPriorityRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *const WM_STREAM_PRIORITY_RECORD, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMSyncReader, IWMSyncReader_Vtbl, 0x9397f121_7705_4dc9_b049_98b698188414); -impl std::ops::Deref for IWMSyncReader { +impl core::ops::Deref for IWMSyncReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3597,7 +3597,7 @@ pub struct IWMSyncReader_Vtbl { OpenStream: usize, } windows_core::imp::define_interface!(IWMSyncReader2, IWMSyncReader2_Vtbl, 0xfaed3d21_1b6b_4af7_8cb6_3e189bbc187b); -impl std::ops::Deref for IWMSyncReader2 { +impl core::ops::Deref for IWMSyncReader2 { type Target = IWMSyncReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3644,7 +3644,7 @@ pub struct IWMSyncReader2_Vtbl { pub GetAllocateForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMVideoMediaProps, IWMVideoMediaProps_Vtbl, 0x96406bcf_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMVideoMediaProps { +impl core::ops::Deref for IWMVideoMediaProps { type Target = IWMMediaProps; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3676,7 +3676,7 @@ pub struct IWMVideoMediaProps_Vtbl { pub SetQuality: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWatermarkInfo, IWMWatermarkInfo_Vtbl, 0x6f497062_f2e2_4624_8ea7_9dd40d81fc8d); -impl std::ops::Deref for IWMWatermarkInfo { +impl core::ops::Deref for IWMWatermarkInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3699,7 +3699,7 @@ pub struct IWMWatermarkInfo_Vtbl { pub GetWatermarkEntry: unsafe extern "system" fn(*mut core::ffi::c_void, WMT_WATERMARK_ENTRY_TYPE, u32, *mut WMT_WATERMARK_ENTRY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriter, IWMWriter_Vtbl, 0x96406bd4_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMWriter { +impl core::ops::Deref for IWMWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3782,7 +3782,7 @@ pub struct IWMWriter_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterAdvanced, IWMWriterAdvanced_Vtbl, 0x96406be3_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMWriterAdvanced { +impl core::ops::Deref for IWMWriterAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3857,7 +3857,7 @@ pub struct IWMWriterAdvanced_Vtbl { pub GetSyncTolerance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterAdvanced2, IWMWriterAdvanced2_Vtbl, 0x962dc1ec_c046_4db8_9cc7_26ceae500817); -impl std::ops::Deref for IWMWriterAdvanced2 { +impl core::ops::Deref for IWMWriterAdvanced2 { type Target = IWMWriterAdvanced; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3885,7 +3885,7 @@ pub struct IWMWriterAdvanced2_Vtbl { pub SetInputSetting: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, WMT_ATTR_DATATYPE, *const u8, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterAdvanced3, IWMWriterAdvanced3_Vtbl, 0x2cd6492d_7c37_4e76_9d3b_59261183a22e); -impl std::ops::Deref for IWMWriterAdvanced3 { +impl core::ops::Deref for IWMWriterAdvanced3 { type Target = IWMWriterAdvanced2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3907,7 +3907,7 @@ pub struct IWMWriterAdvanced3_Vtbl { pub SetNonBlocking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterFileSink, IWMWriterFileSink_Vtbl, 0x96406be5_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMWriterFileSink { +impl core::ops::Deref for IWMWriterFileSink { type Target = IWMWriterSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3928,7 +3928,7 @@ pub struct IWMWriterFileSink_Vtbl { pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterFileSink2, IWMWriterFileSink2_Vtbl, 0x14282ba7_4aef_4205_8ce5_c229035a05bc); -impl std::ops::Deref for IWMWriterFileSink2 { +impl core::ops::Deref for IWMWriterFileSink2 { type Target = IWMWriterFileSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3974,7 +3974,7 @@ pub struct IWMWriterFileSink2_Vtbl { pub IsClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterFileSink3, IWMWriterFileSink3_Vtbl, 0x3fea4feb_2945_47a7_a1dd_c53a8fc4c45c); -impl std::ops::Deref for IWMWriterFileSink3 { +impl core::ops::Deref for IWMWriterFileSink3 { type Target = IWMWriterFileSink2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4033,7 +4033,7 @@ pub struct IWMWriterFileSink3_Vtbl { pub CompleteOperations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterNetworkSink, IWMWriterNetworkSink_Vtbl, 0x96406be7_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMWriterNetworkSink { +impl core::ops::Deref for IWMWriterNetworkSink { type Target = IWMWriterSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4081,7 +4081,7 @@ pub struct IWMWriterNetworkSink_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterPostView, IWMWriterPostView_Vtbl, 0x81e20ce4_75ef_491a_8004_fc53c45bdc3e); -impl std::ops::Deref for IWMWriterPostView { +impl core::ops::Deref for IWMWriterPostView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4148,7 +4148,7 @@ pub struct IWMWriterPostView_Vtbl { pub GetAllocateForPostView: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterPostViewCallback, IWMWriterPostViewCallback_Vtbl, 0xd9d6549d_a193_4f24_b308_03123d9b7f8d); -impl std::ops::Deref for IWMWriterPostViewCallback { +impl core::ops::Deref for IWMWriterPostViewCallback { type Target = IWMStatusCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4173,7 +4173,7 @@ pub struct IWMWriterPostViewCallback_Vtbl { pub AllocateForPostView: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u32, *mut *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterPreprocess, IWMWriterPreprocess_Vtbl, 0xfc54a285_38c4_45b5_aa23_85b9f7cb424b); -impl std::ops::Deref for IWMWriterPreprocess { +impl core::ops::Deref for IWMWriterPreprocess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4211,7 +4211,7 @@ pub struct IWMWriterPreprocess_Vtbl { pub EndPreprocessingPass: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterPushSink, IWMWriterPushSink_Vtbl, 0xdc10e6a5_072c_467d_bf57_6330a9dde12a); -impl std::ops::Deref for IWMWriterPushSink { +impl core::ops::Deref for IWMWriterPushSink { type Target = IWMWriterSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4242,7 +4242,7 @@ pub struct IWMWriterPushSink_Vtbl { pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWMWriterSink, IWMWriterSink_Vtbl, 0x96406be4_2b2b_11d3_b36b_00c04f6108ff); -impl std::ops::Deref for IWMWriterSink { +impl core::ops::Deref for IWMWriterSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/mod.rs index ffe21cba56..a7d7e4a49e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/mod.rs @@ -60,7 +60,7 @@ pub unsafe fn timeSetEvent(udelay: u32, uresolution: u32, fptc: LPTIMECALLBACK, timeSetEvent(udelay, uresolution, fptc, dwuser, fuevent) } windows_core::imp::define_interface!(IReferenceClock, IReferenceClock_Vtbl, 0x56a86897_0ad4_11ce_b03a_0020af0ba770); -impl std::ops::Deref for IReferenceClock { +impl core::ops::Deref for IReferenceClock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -99,7 +99,7 @@ pub struct IReferenceClock_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReferenceClock2, IReferenceClock2_Vtbl, 0x36b73885_c2c8_11cf_8b46_00805f6cef60); -impl std::ops::Deref for IReferenceClock2 { +impl core::ops::Deref for IReferenceClock2 { type Target = IReferenceClock; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -112,7 +112,7 @@ pub struct IReferenceClock2_Vtbl { pub base__: IReferenceClock_Vtbl, } windows_core::imp::define_interface!(IReferenceClockTimerControl, IReferenceClockTimerControl_Vtbl, 0xebec459c_2eca_4d42_a8af_30df557614b8); -impl std::ops::Deref for IReferenceClockTimerControl { +impl core::ops::Deref for IReferenceClockTimerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs index 83ee1b7d1f..1e6d58e41a 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDummyMBNUCMExt, IDummyMBNUCMExt_Vtbl, 0xdcbbbab6_ffff_4bbb_aaee_338e368af6fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDummyMBNUCMExt { +impl core::ops::Deref for IDummyMBNUCMExt { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17,7 +17,7 @@ pub struct IDummyMBNUCMExt_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IMbnConnection, IMbnConnection_Vtbl, 0xdcbbbab6_200d_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnection { +impl core::ops::Deref for IMbnConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -68,7 +68,7 @@ pub struct IMbnConnection_Vtbl { pub GetActivationNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionContext, IMbnConnectionContext_Vtbl, 0xdcbbbab6_200b_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionContext { +impl core::ops::Deref for IMbnConnectionContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -99,7 +99,7 @@ pub struct IMbnConnectionContext_Vtbl { pub SetProvisionedContext: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_CONTEXT, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionContextEvents, IMbnConnectionContextEvents_Vtbl, 0xdcbbbab6_200c_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionContextEvents { +impl core::ops::Deref for IMbnConnectionContextEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -127,7 +127,7 @@ pub struct IMbnConnectionContextEvents_Vtbl { pub OnSetProvisionedContextComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionEvents, IMbnConnectionEvents_Vtbl, 0xdcbbbab6_200e_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionEvents { +impl core::ops::Deref for IMbnConnectionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct IMbnConnectionEvents_Vtbl { pub OnVoiceCallStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionManager, IMbnConnectionManager_Vtbl, 0xdcbbbab6_201d_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionManager { +impl core::ops::Deref for IMbnConnectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -200,7 +200,7 @@ pub struct IMbnConnectionManager_Vtbl { GetConnections: usize, } windows_core::imp::define_interface!(IMbnConnectionManagerEvents, IMbnConnectionManagerEvents_Vtbl, 0xdcbbbab6_201e_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionManagerEvents { +impl core::ops::Deref for IMbnConnectionManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -228,7 +228,7 @@ pub struct IMbnConnectionManagerEvents_Vtbl { pub OnConnectionRemoval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionProfile, IMbnConnectionProfile_Vtbl, 0xdcbbbab6_2010_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionProfile { +impl core::ops::Deref for IMbnConnectionProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -258,7 +258,7 @@ pub struct IMbnConnectionProfile_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionProfileEvents, IMbnConnectionProfileEvents_Vtbl, 0xdcbbbab6_2011_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionProfileEvents { +impl core::ops::Deref for IMbnConnectionProfileEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -279,7 +279,7 @@ pub struct IMbnConnectionProfileEvents_Vtbl { pub OnProfileUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionProfileManager, IMbnConnectionProfileManager_Vtbl, 0xdcbbbab6_200f_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionProfileManager { +impl core::ops::Deref for IMbnConnectionProfileManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -321,7 +321,7 @@ pub struct IMbnConnectionProfileManager_Vtbl { pub CreateConnectionProfile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnConnectionProfileManagerEvents, IMbnConnectionProfileManagerEvents_Vtbl, 0xdcbbbab6_201f_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnConnectionProfileManagerEvents { +impl core::ops::Deref for IMbnConnectionProfileManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -349,7 +349,7 @@ pub struct IMbnConnectionProfileManagerEvents_Vtbl { pub OnConnectionProfileRemoval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnDeviceService, IMbnDeviceService_Vtbl, 0xb3bb9a71_dc70_4be9_a4da_7886ae8b191b); -impl std::ops::Deref for IMbnDeviceService { +impl core::ops::Deref for IMbnDeviceService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -435,7 +435,7 @@ pub struct IMbnDeviceService_Vtbl { pub IsDataSessionOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnDeviceServiceStateEvents, IMbnDeviceServiceStateEvents_Vtbl, 0x5d3ff196_89ee_49d8_8b60_33ffddffc58d); -impl std::ops::Deref for IMbnDeviceServiceStateEvents { +impl core::ops::Deref for IMbnDeviceServiceStateEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -456,7 +456,7 @@ pub struct IMbnDeviceServiceStateEvents_Vtbl { pub OnSessionsStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, MBN_DEVICE_SERVICE_SESSIONS_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnDeviceServicesContext, IMbnDeviceServicesContext_Vtbl, 0xfc5ac347_1592_4068_80bb_6a57580150d8); -impl std::ops::Deref for IMbnDeviceServicesContext { +impl core::ops::Deref for IMbnDeviceServicesContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -497,7 +497,7 @@ pub struct IMbnDeviceServicesContext_Vtbl { pub MaxDataSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnDeviceServicesEvents, IMbnDeviceServicesEvents_Vtbl, 0x0a900c19_6824_4e97_b76e_cf239d0ca642); -impl std::ops::Deref for IMbnDeviceServicesEvents { +impl core::ops::Deref for IMbnDeviceServicesEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -608,7 +608,7 @@ pub struct IMbnDeviceServicesEvents_Vtbl { pub OnInterfaceStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, MBN_DEVICE_SERVICES_INTERFACE_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnDeviceServicesManager, IMbnDeviceServicesManager_Vtbl, 0x20a26258_6811_4478_ac1d_13324e45e41c); -impl std::ops::Deref for IMbnDeviceServicesManager { +impl core::ops::Deref for IMbnDeviceServicesManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -630,7 +630,7 @@ pub struct IMbnDeviceServicesManager_Vtbl { pub GetDeviceServicesContext: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnInterface, IMbnInterface_Vtbl, 0xdcbbbab6_2001_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnInterface { +impl core::ops::Deref for IMbnInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -710,7 +710,7 @@ pub struct IMbnInterface_Vtbl { pub GetConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnInterfaceEvents, IMbnInterfaceEvents_Vtbl, 0xdcbbbab6_2002_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnInterfaceEvents { +impl core::ops::Deref for IMbnInterfaceEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -780,7 +780,7 @@ pub struct IMbnInterfaceEvents_Vtbl { pub OnScanNetworkComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnInterfaceManager, IMbnInterfaceManager_Vtbl, 0xdcbbbab6_201b_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnInterfaceManager { +impl core::ops::Deref for IMbnInterfaceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -811,7 +811,7 @@ pub struct IMbnInterfaceManager_Vtbl { GetInterfaces: usize, } windows_core::imp::define_interface!(IMbnInterfaceManagerEvents, IMbnInterfaceManagerEvents_Vtbl, 0xdcbbbab6_201c_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnInterfaceManagerEvents { +impl core::ops::Deref for IMbnInterfaceManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -839,7 +839,7 @@ pub struct IMbnInterfaceManagerEvents_Vtbl { pub OnInterfaceRemoval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnMultiCarrier, IMbnMultiCarrier_Vtbl, 0xdcbbbab6_2020_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnMultiCarrier { +impl core::ops::Deref for IMbnMultiCarrier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -895,7 +895,7 @@ pub struct IMbnMultiCarrier_Vtbl { pub ScanNetwork: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnMultiCarrierEvents, IMbnMultiCarrierEvents_Vtbl, 0xdcdddab6_2021_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnMultiCarrierEvents { +impl core::ops::Deref for IMbnMultiCarrierEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -944,7 +944,7 @@ pub struct IMbnMultiCarrierEvents_Vtbl { pub OnInterfaceCapabilityChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnPin, IMbnPin_Vtbl, 0xdcbbbab6_2007_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnPin { +impl core::ops::Deref for IMbnPin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1030,7 +1030,7 @@ pub struct IMbnPin_Vtbl { pub GetPinManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnPinEvents, IMbnPinEvents_Vtbl, 0xdcbbbab6_2008_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnPinEvents { +impl core::ops::Deref for IMbnPinEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1079,7 +1079,7 @@ pub struct IMbnPinEvents_Vtbl { pub OnUnblockComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const MBN_PIN_INFO, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnPinManager, IMbnPinManager_Vtbl, 0xdcbbbab6_2005_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnPinManager { +impl core::ops::Deref for IMbnPinManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1112,7 +1112,7 @@ pub struct IMbnPinManager_Vtbl { pub GetPinState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnPinManagerEvents, IMbnPinManagerEvents_Vtbl, 0xdcbbbab6_2006_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnPinManagerEvents { +impl core::ops::Deref for IMbnPinManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1140,7 +1140,7 @@ pub struct IMbnPinManagerEvents_Vtbl { pub OnGetPinStateComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, MBN_PIN_INFO, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnRadio, IMbnRadio_Vtbl, 0xdccccab6_201f_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnRadio { +impl core::ops::Deref for IMbnRadio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1169,7 +1169,7 @@ pub struct IMbnRadio_Vtbl { pub SetSoftwareRadioState: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_RADIO, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnRadioEvents, IMbnRadioEvents_Vtbl, 0xdcdddab6_201f_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnRadioEvents { +impl core::ops::Deref for IMbnRadioEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1197,7 +1197,7 @@ pub struct IMbnRadioEvents_Vtbl { pub OnSetSoftwareRadioStateComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnRegistration, IMbnRegistration_Vtbl, 0xdcbbbab6_2009_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnRegistration { +impl core::ops::Deref for IMbnRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1264,7 +1264,7 @@ pub struct IMbnRegistration_Vtbl { pub SetRegisterMode: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_REGISTER_MODE, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnRegistrationEvents, IMbnRegistrationEvents_Vtbl, 0xdcbbbab6_200a_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnRegistrationEvents { +impl core::ops::Deref for IMbnRegistrationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1306,7 +1306,7 @@ pub struct IMbnRegistrationEvents_Vtbl { pub OnSetRegisterModeComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnServiceActivation, IMbnServiceActivation_Vtbl, 0xdcbbbab6_2017_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnServiceActivation { +impl core::ops::Deref for IMbnServiceActivation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1329,7 +1329,7 @@ pub struct IMbnServiceActivation_Vtbl { Activate: usize, } windows_core::imp::define_interface!(IMbnServiceActivationEvents, IMbnServiceActivationEvents_Vtbl, 0xdcbbbab6_2018_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnServiceActivationEvents { +impl core::ops::Deref for IMbnServiceActivationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1354,7 +1354,7 @@ pub struct IMbnServiceActivationEvents_Vtbl { OnActivationComplete: usize, } windows_core::imp::define_interface!(IMbnSignal, IMbnSignal_Vtbl, 0xdcbbbab6_2003_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnSignal { +impl core::ops::Deref for IMbnSignal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1378,7 +1378,7 @@ pub struct IMbnSignal_Vtbl { pub GetSignalError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnSignalEvents, IMbnSignalEvents_Vtbl, 0xdcbbbab6_2004_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnSignalEvents { +impl core::ops::Deref for IMbnSignalEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1399,7 +1399,7 @@ pub struct IMbnSignalEvents_Vtbl { pub OnSignalStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnSms, IMbnSms_Vtbl, 0xdcbbbab6_2015_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnSms { +impl core::ops::Deref for IMbnSms { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1470,7 +1470,7 @@ pub struct IMbnSms_Vtbl { pub GetSmsStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_SMS_STATUS_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnSmsConfiguration, IMbnSmsConfiguration_Vtbl, 0xdcbbbab6_2012_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnSmsConfiguration { +impl core::ops::Deref for IMbnSmsConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1515,7 +1515,7 @@ pub struct IMbnSmsConfiguration_Vtbl { pub SetSmsFormat: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_SMS_FORMAT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnSmsEvents, IMbnSmsEvents_Vtbl, 0xdcbbbab6_2016_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnSmsEvents { +impl core::ops::Deref for IMbnSmsEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1587,7 +1587,7 @@ pub struct IMbnSmsEvents_Vtbl { pub OnSmsStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMbnSmsReadMsgPdu, IMbnSmsReadMsgPdu_Vtbl, 0xdcbbbab6_2013_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnSmsReadMsgPdu { +impl core::ops::Deref for IMbnSmsReadMsgPdu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1625,7 +1625,7 @@ pub struct IMbnSmsReadMsgPdu_Vtbl { Message: usize, } windows_core::imp::define_interface!(IMbnSmsReadMsgTextCdma, IMbnSmsReadMsgTextCdma_Vtbl, 0xdcbbbab6_2014_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnSmsReadMsgTextCdma { +impl core::ops::Deref for IMbnSmsReadMsgTextCdma { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1683,7 +1683,7 @@ pub struct IMbnSmsReadMsgTextCdma_Vtbl { Message: usize, } windows_core::imp::define_interface!(IMbnSubscriberInformation, IMbnSubscriberInformation_Vtbl, 0x459ecc43_bcf5_11dc_a8a8_001321f1405f); -impl std::ops::Deref for IMbnSubscriberInformation { +impl core::ops::Deref for IMbnSubscriberInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1716,7 +1716,7 @@ pub struct IMbnSubscriberInformation_Vtbl { TelephoneNumbers: usize, } windows_core::imp::define_interface!(IMbnVendorSpecificEvents, IMbnVendorSpecificEvents_Vtbl, 0xdcbbbab6_201a_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnVendorSpecificEvents { +impl core::ops::Deref for IMbnVendorSpecificEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1752,7 +1752,7 @@ pub struct IMbnVendorSpecificEvents_Vtbl { OnSetVendorSpecificComplete: usize, } windows_core::imp::define_interface!(IMbnVendorSpecificOperation, IMbnVendorSpecificOperation_Vtbl, 0xdcbbbab6_2019_4bbb_aaee_338e368af6fa); -impl std::ops::Deref for IMbnVendorSpecificOperation { +impl core::ops::Deref for IMbnVendorSpecificOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs index bca58ce6fc..728f53a179 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -1445,7 +1445,7 @@ where TraceVprintfExW(dwtraceid, dwflags, lpszformat.param().abi(), arglist) } windows_core::imp::define_interface!(IEnumNetCfgBindingInterface, IEnumNetCfgBindingInterface_Vtbl, 0xc0e8ae90_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for IEnumNetCfgBindingInterface { +impl core::ops::Deref for IEnumNetCfgBindingInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1475,7 +1475,7 @@ pub struct IEnumNetCfgBindingInterface_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumNetCfgBindingPath, IEnumNetCfgBindingPath_Vtbl, 0xc0e8ae91_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for IEnumNetCfgBindingPath { +impl core::ops::Deref for IEnumNetCfgBindingPath { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1505,7 +1505,7 @@ pub struct IEnumNetCfgBindingPath_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumNetCfgComponent, IEnumNetCfgComponent_Vtbl, 0xc0e8ae92_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for IEnumNetCfgComponent { +impl core::ops::Deref for IEnumNetCfgComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1535,7 +1535,7 @@ pub struct IEnumNetCfgComponent_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfg, INetCfg_Vtbl, 0xc0e8ae93_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfg { +impl core::ops::Deref for INetCfg { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1580,7 +1580,7 @@ pub struct INetCfg_Vtbl { pub QueryNetCfgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgBindingInterface, INetCfgBindingInterface_Vtbl, 0xc0e8ae94_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgBindingInterface { +impl core::ops::Deref for INetCfgBindingInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1606,7 +1606,7 @@ pub struct INetCfgBindingInterface_Vtbl { pub GetLowerComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgBindingPath, INetCfgBindingPath_Vtbl, 0xc0e8ae96_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgBindingPath { +impl core::ops::Deref for INetCfgBindingPath { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1662,7 +1662,7 @@ pub struct INetCfgBindingPath_Vtbl { pub EnumBindingInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgClass, INetCfgClass_Vtbl, 0xc0e8ae97_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgClass { +impl core::ops::Deref for INetCfgClass { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1687,7 +1687,7 @@ pub struct INetCfgClass_Vtbl { pub EnumComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgClassSetup, INetCfgClassSetup_Vtbl, 0xc0e8ae9d_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgClassSetup { +impl core::ops::Deref for INetCfgClassSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1724,7 +1724,7 @@ pub struct INetCfgClassSetup_Vtbl { pub DeInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const OBO_TOKEN, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgClassSetup2, INetCfgClassSetup2_Vtbl, 0xc0e8aea0_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgClassSetup2 { +impl core::ops::Deref for INetCfgClassSetup2 { type Target = INetCfgClassSetup; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1745,7 +1745,7 @@ pub struct INetCfgClassSetup2_Vtbl { pub UpdateNonEnumeratedComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponent, INetCfgComponent_Vtbl, 0xc0e8ae99_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgComponent { +impl core::ops::Deref for INetCfgComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1820,7 +1820,7 @@ pub struct INetCfgComponent_Vtbl { pub RaisePropertyUi: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentBindings, INetCfgComponentBindings_Vtbl, 0xc0e8ae9e_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgComponentBindings { +impl core::ops::Deref for INetCfgComponentBindings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1889,7 +1889,7 @@ pub struct INetCfgComponentBindings_Vtbl { pub MoveAfter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentControl, INetCfgComponentControl_Vtbl, 0x932238df_bea1_11d0_9298_00c04fc99dcf); -impl std::ops::Deref for INetCfgComponentControl { +impl core::ops::Deref for INetCfgComponentControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1927,7 +1927,7 @@ pub struct INetCfgComponentControl_Vtbl { pub CancelChanges: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentNotifyBinding, INetCfgComponentNotifyBinding_Vtbl, 0x932238e1_bea1_11d0_9298_00c04fc99dcf); -impl std::ops::Deref for INetCfgComponentNotifyBinding { +impl core::ops::Deref for INetCfgComponentNotifyBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1955,7 +1955,7 @@ pub struct INetCfgComponentNotifyBinding_Vtbl { pub NotifyBindingPath: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentNotifyGlobal, INetCfgComponentNotifyGlobal_Vtbl, 0x932238e2_bea1_11d0_9298_00c04fc99dcf); -impl std::ops::Deref for INetCfgComponentNotifyGlobal { +impl core::ops::Deref for INetCfgComponentNotifyGlobal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1995,7 +1995,7 @@ pub struct INetCfgComponentNotifyGlobal_Vtbl { pub SysNotifyComponent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentPropertyUi, INetCfgComponentPropertyUi_Vtbl, 0x932238e0_bea1_11d0_9298_00c04fc99dcf); -impl std::ops::Deref for INetCfgComponentPropertyUi { +impl core::ops::Deref for INetCfgComponentPropertyUi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2045,7 +2045,7 @@ pub struct INetCfgComponentPropertyUi_Vtbl { pub CancelProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentSetup, INetCfgComponentSetup_Vtbl, 0x932238e3_bea1_11d0_9298_00c04fc99dcf); -impl std::ops::Deref for INetCfgComponentSetup { +impl core::ops::Deref for INetCfgComponentSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2079,7 +2079,7 @@ pub struct INetCfgComponentSetup_Vtbl { pub Removing: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentSysPrep, INetCfgComponentSysPrep_Vtbl, 0xc0e8ae9a_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgComponentSysPrep { +impl core::ops::Deref for INetCfgComponentSysPrep { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2109,7 +2109,7 @@ pub struct INetCfgComponentSysPrep_Vtbl { pub RestoreAdapterParameters: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgComponentUpperEdge, INetCfgComponentUpperEdge_Vtbl, 0x932238e4_bea1_11d0_9298_00c04fc99dcf); -impl std::ops::Deref for INetCfgComponentUpperEdge { +impl core::ops::Deref for INetCfgComponentUpperEdge { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2144,7 +2144,7 @@ pub struct INetCfgComponentUpperEdge_Vtbl { pub RemoveInterfacesFromAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgLock, INetCfgLock_Vtbl, 0xc0e8ae9f_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgLock { +impl core::ops::Deref for INetCfgLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2173,7 +2173,7 @@ pub struct INetCfgLock_Vtbl { pub IsWriteLocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgPnpReconfigCallback, INetCfgPnpReconfigCallback_Vtbl, 0x8d84bd35_e227_11d2_b700_00a0c98a6a85); -impl std::ops::Deref for INetCfgPnpReconfigCallback { +impl core::ops::Deref for INetCfgPnpReconfigCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2195,7 +2195,7 @@ pub struct INetCfgPnpReconfigCallback_Vtbl { pub SendPnpReconfig: unsafe extern "system" fn(*mut core::ffi::c_void, NCPNP_RECONFIG_LAYER, windows_core::PCWSTR, windows_core::PCWSTR, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetCfgSysPrep, INetCfgSysPrep_Vtbl, 0xc0e8ae98_306e_11d1_aacf_00805fc1270e); -impl std::ops::Deref for INetCfgSysPrep { +impl core::ops::Deref for INetCfgSysPrep { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2244,7 +2244,7 @@ pub struct INetCfgSysPrep_Vtbl { pub HrSetupSetFirstMultiSzField: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetLanConnectionUiInfo, INetLanConnectionUiInfo_Vtbl, 0xc08956a6_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for INetLanConnectionUiInfo { +impl core::ops::Deref for INetLanConnectionUiInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2263,7 +2263,7 @@ pub struct INetLanConnectionUiInfo_Vtbl { pub GetDeviceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetRasConnectionIpUiInfo, INetRasConnectionIpUiInfo_Vtbl, 0xfaedcf58_31fe_11d1_aad2_00805fc1270e); -impl std::ops::Deref for INetRasConnectionIpUiInfo { +impl core::ops::Deref for INetRasConnectionIpUiInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2281,7 +2281,7 @@ pub struct INetRasConnectionIpUiInfo_Vtbl { pub GetUiInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RASCON_IPUI) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvisioningDomain, IProvisioningDomain_Vtbl, 0xc96fbd50_24dd_11d8_89fb_00904b2ea9c6); -impl std::ops::Deref for IProvisioningDomain { +impl core::ops::Deref for IProvisioningDomain { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2316,7 +2316,7 @@ pub struct IProvisioningDomain_Vtbl { Query: usize, } windows_core::imp::define_interface!(IProvisioningProfileWireless, IProvisioningProfileWireless_Vtbl, 0xc96fbd51_24dd_11d8_89fb_00904b2ea9c6); -impl std::ops::Deref for IProvisioningProfileWireless { +impl core::ops::Deref for IProvisioningProfileWireless { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs index 56597b9519..7595ccc503 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -120,7 +120,7 @@ pub unsafe fn NdfRepairIncident(handle: *const core::ffi::c_void, repairex: *con NdfRepairIncident(handle, repairex, dwwait).ok() } windows_core::imp::define_interface!(INetDiagExtensibleHelper, INetDiagExtensibleHelper_Vtbl, 0xc0b35748_ebf5_11d8_bbe9_505054503030); -impl std::ops::Deref for INetDiagExtensibleHelper { +impl core::ops::Deref for INetDiagExtensibleHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct INetDiagExtensibleHelper_Vtbl { pub ResolveAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const HELPER_ATTRIBUTE, *mut u32, *mut *mut HELPER_ATTRIBUTE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetDiagHelper, INetDiagHelper_Vtbl, 0xc0b35746_ebf5_11d8_bbe9_505054503030); -impl std::ops::Deref for INetDiagHelper { +impl core::ops::Deref for INetDiagHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -233,7 +233,7 @@ pub struct INetDiagHelper_Vtbl { pub Cleanup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetDiagHelperEx, INetDiagHelperEx_Vtbl, 0x972dab4d_e4e3_4fc6_ae54_5f65ccde4a15); -impl std::ops::Deref for INetDiagHelperEx { +impl core::ops::Deref for INetDiagHelperEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -262,7 +262,7 @@ pub struct INetDiagHelperEx_Vtbl { pub ReproduceFailure: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetDiagHelperInfo, INetDiagHelperInfo_Vtbl, 0xc0b35747_ebf5_11d8_bbe9_505054503030); -impl std::ops::Deref for INetDiagHelperInfo { +impl core::ops::Deref for INetDiagHelperInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -280,7 +280,7 @@ pub struct INetDiagHelperInfo_Vtbl { pub GetAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut HelperAttributeInfo) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetDiagHelperUtilFactory, INetDiagHelperUtilFactory_Vtbl, 0x104613fb_bc57_4178_95ba_88809698354a); -impl std::ops::Deref for INetDiagHelperUtilFactory { +impl core::ops::Deref for INetDiagHelperUtilFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -292,7 +292,7 @@ impl INetDiagHelperUtilFactory { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateUtilityInstance)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs index ebaa96b7b6..76c3e20886 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISdo, ISdo_Vtbl, 0x56bc53de_96db_11d1_bf3f_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISdo { +impl core::ops::Deref for ISdo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -51,7 +51,7 @@ pub struct ISdo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISdoCollection, ISdoCollection_Vtbl, 0x56bc53e2_96db_11d1_bf3f_000000000000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISdoCollection { +impl core::ops::Deref for ISdoCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -127,7 +127,7 @@ pub struct ISdoCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISdoDictionaryOld, ISdoDictionaryOld_Vtbl, 0xd432e5f4_53d8_11d2_9a3a_00c04fb998ac); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISdoDictionaryOld { +impl core::ops::Deref for ISdoDictionaryOld { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -178,7 +178,7 @@ pub struct ISdoDictionaryOld_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISdoMachine, ISdoMachine_Vtbl, 0x479f6e75_49a2_11d2_8eca_00c04fc2f519); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISdoMachine { +impl core::ops::Deref for ISdoMachine { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -250,7 +250,7 @@ pub struct ISdoMachine_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISdoMachine2, ISdoMachine2_Vtbl, 0x518e5ffe_d8ce_4f7e_a5db_b40a35419d3b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISdoMachine2 { +impl core::ops::Deref for ISdoMachine2 { type Target = ISdoMachine; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -301,7 +301,7 @@ pub struct ISdoMachine2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISdoServiceControl, ISdoServiceControl_Vtbl, 0x479f6e74_49a2_11d2_8eca_00c04fc2f519); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISdoServiceControl { +impl core::ops::Deref for ISdoServiceControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -337,7 +337,7 @@ pub struct ISdoServiceControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITemplateSdo, ITemplateSdo_Vtbl, 0x8aa85302_d2e2_4e20_8b1f_a571e437d6c9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITemplateSdo { +impl core::ops::Deref for ITemplateSdo { type Target = ISdo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs index 756f02a9eb..6033731499 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -497,7 +497,7 @@ where WlanUIEditProfile(dwclientversion, wstrprofilename.param().abi(), pinterfaceguid, hwnd.param().abi(), wlstartpage, core::mem::transmute(preserved.unwrap_or(std::ptr::null())), core::mem::transmute(pwlanreasoncode.unwrap_or(std::ptr::null_mut()))) } windows_core::imp::define_interface!(IDot11AdHocInterface, IDot11AdHocInterface_Vtbl, 0x8f10cc2b_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IDot11AdHocInterface { +impl core::ops::Deref for IDot11AdHocInterface { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -551,7 +551,7 @@ pub struct IDot11AdHocInterface_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDot11AdHocInterfaceNotificationSink, IDot11AdHocInterfaceNotificationSink_Vtbl, 0x8f10cc2f_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IDot11AdHocInterfaceNotificationSink { +impl core::ops::Deref for IDot11AdHocInterfaceNotificationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -569,7 +569,7 @@ pub struct IDot11AdHocInterfaceNotificationSink_Vtbl { pub OnConnectionStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDot11AdHocManager, IDot11AdHocManager_Vtbl, 0x8f10cc26_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IDot11AdHocManager { +impl core::ops::Deref for IDot11AdHocManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -618,7 +618,7 @@ pub struct IDot11AdHocManager_Vtbl { pub GetNetwork: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDot11AdHocManagerNotificationSink, IDot11AdHocManagerNotificationSink_Vtbl, 0x8f10cc27_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IDot11AdHocManagerNotificationSink { +impl core::ops::Deref for IDot11AdHocManagerNotificationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -654,7 +654,7 @@ pub struct IDot11AdHocManagerNotificationSink_Vtbl { pub OnInterfaceRemove: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDot11AdHocNetwork, IDot11AdHocNetwork_Vtbl, 0x8f10cc29_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IDot11AdHocNetwork { +impl core::ops::Deref for IDot11AdHocNetwork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -725,7 +725,7 @@ pub struct IDot11AdHocNetwork_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDot11AdHocNetworkNotificationSink, IDot11AdHocNetworkNotificationSink_Vtbl, 0x8f10cc2a_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IDot11AdHocNetworkNotificationSink { +impl core::ops::Deref for IDot11AdHocNetworkNotificationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -747,7 +747,7 @@ pub struct IDot11AdHocNetworkNotificationSink_Vtbl { pub OnConnectFail: unsafe extern "system" fn(*mut core::ffi::c_void, DOT11_ADHOC_CONNECT_FAIL_REASON) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDot11AdHocSecuritySettings, IDot11AdHocSecuritySettings_Vtbl, 0x8f10cc2e_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IDot11AdHocSecuritySettings { +impl core::ops::Deref for IDot11AdHocSecuritySettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -769,7 +769,7 @@ pub struct IDot11AdHocSecuritySettings_Vtbl { pub GetDot11CipherAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DOT11_ADHOC_CIPHER_ALGORITHM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDot11AdHocInterfaces, IEnumDot11AdHocInterfaces_Vtbl, 0x8f10cc2c_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IEnumDot11AdHocInterfaces { +impl core::ops::Deref for IEnumDot11AdHocInterfaces { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -800,7 +800,7 @@ pub struct IEnumDot11AdHocInterfaces_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDot11AdHocNetworks, IEnumDot11AdHocNetworks_Vtbl, 0x8f10cc28_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IEnumDot11AdHocNetworks { +impl core::ops::Deref for IEnumDot11AdHocNetworks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -831,7 +831,7 @@ pub struct IEnumDot11AdHocNetworks_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDot11AdHocSecuritySettings, IEnumDot11AdHocSecuritySettings_Vtbl, 0x8f10cc2d_cf0d_42a0_acbe_e2de7007384d); -impl std::ops::Deref for IEnumDot11AdHocSecuritySettings { +impl core::ops::Deref for IEnumDot11AdHocSecuritySettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs index c1531aad74..7badded526 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IWCNConnectNotify, IWCNConnectNotify_Vtbl, 0xc100be9f_d33a_4a4b_bf23_bbef4663d017); -impl std::ops::Deref for IWCNConnectNotify { +impl core::ops::Deref for IWCNConnectNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21,7 +21,7 @@ pub struct IWCNConnectNotify_Vtbl { pub ConnectFailed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWCNDevice, IWCNDevice_Vtbl, 0xc100be9c_d33a_4a4b_bf23_bbef4663d017); -impl std::ops::Deref for IWCNDevice { +impl core::ops::Deref for IWCNDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs index 7b84805eab..d2e8d89e27 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -96,7 +96,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDynamicPortMapping, IDynamicPortMapping_Vtbl, 0x4fc80282_23b6_4378_9a27_cd8f17c9400c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDynamicPortMapping { +impl core::ops::Deref for IDynamicPortMapping { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -190,7 +190,7 @@ pub struct IDynamicPortMapping_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDynamicPortMappingCollection, IDynamicPortMappingCollection_Vtbl, 0xb60de00f_156e_4e8d_9ec1_3a2342c10899); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDynamicPortMappingCollection { +impl core::ops::Deref for IDynamicPortMappingCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -254,7 +254,7 @@ pub struct IDynamicPortMappingCollection_Vtbl { Add: usize, } windows_core::imp::define_interface!(IEnumNetConnection, IEnumNetConnection_Vtbl, 0xc08956a0_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for IEnumNetConnection { +impl core::ops::Deref for IEnumNetConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -285,7 +285,7 @@ pub struct IEnumNetConnection_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumNetSharingEveryConnection, IEnumNetSharingEveryConnection_Vtbl, 0xc08956b8_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for IEnumNetSharingEveryConnection { +impl core::ops::Deref for IEnumNetSharingEveryConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -316,7 +316,7 @@ pub struct IEnumNetSharingEveryConnection_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumNetSharingPortMapping, IEnumNetSharingPortMapping_Vtbl, 0xc08956b0_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for IEnumNetSharingPortMapping { +impl core::ops::Deref for IEnumNetSharingPortMapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -347,7 +347,7 @@ pub struct IEnumNetSharingPortMapping_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumNetSharingPrivateConnection, IEnumNetSharingPrivateConnection_Vtbl, 0xc08956b5_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for IEnumNetSharingPrivateConnection { +impl core::ops::Deref for IEnumNetSharingPrivateConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -378,7 +378,7 @@ pub struct IEnumNetSharingPrivateConnection_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumNetSharingPublicConnection, IEnumNetSharingPublicConnection_Vtbl, 0xc08956b4_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for IEnumNetSharingPublicConnection { +impl core::ops::Deref for IEnumNetSharingPublicConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -411,7 +411,7 @@ pub struct IEnumNetSharingPublicConnection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INATEventManager, INATEventManager_Vtbl, 0x624bd588_9060_4109_b0b0_1adbbcac32df); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INATEventManager { +impl core::ops::Deref for INATEventManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -442,7 +442,7 @@ pub struct INATEventManager_Vtbl { pub SetNumberOfEntriesCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INATExternalIPAddressCallback, INATExternalIPAddressCallback_Vtbl, 0x9c416740_a34e_446f_ba06_abd04c3149ae); -impl std::ops::Deref for INATExternalIPAddressCallback { +impl core::ops::Deref for INATExternalIPAddressCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -463,7 +463,7 @@ pub struct INATExternalIPAddressCallback_Vtbl { pub NewExternalIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INATNumberOfEntriesCallback, INATNumberOfEntriesCallback_Vtbl, 0xc83a0a74_91ee_41b6_b67a_67e0f00bbd78); -impl std::ops::Deref for INATNumberOfEntriesCallback { +impl core::ops::Deref for INATNumberOfEntriesCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -481,7 +481,7 @@ pub struct INATNumberOfEntriesCallback_Vtbl { pub NewNumberOfEntries: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetConnection, INetConnection_Vtbl, 0xc08956a1_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for INetConnection { +impl core::ops::Deref for INetConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -532,7 +532,7 @@ pub struct INetConnection_Vtbl { pub Rename: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetConnectionConnectUi, INetConnectionConnectUi_Vtbl, 0xc08956a3_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for INetConnectionConnectUi { +impl core::ops::Deref for INetConnectionConnectUi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -567,7 +567,7 @@ pub struct INetConnectionConnectUi_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetConnectionManager, INetConnectionManager_Vtbl, 0xc08956a2_1cd3_11d1_b1c5_00805fc1270e); -impl std::ops::Deref for INetConnectionManager { +impl core::ops::Deref for INetConnectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -588,7 +588,7 @@ pub struct INetConnectionManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetConnectionProps, INetConnectionProps_Vtbl, 0xf4277c95_ce5b_463d_8167_5662d9bcaa72); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetConnectionProps { +impl core::ops::Deref for INetConnectionProps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -637,7 +637,7 @@ pub struct INetConnectionProps_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwAuthorizedApplication, INetFwAuthorizedApplication_Vtbl, 0xb5e64ffa_c2c5_444e_a301_fb5e00018050); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwAuthorizedApplication { +impl core::ops::Deref for INetFwAuthorizedApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -722,7 +722,7 @@ pub struct INetFwAuthorizedApplication_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwAuthorizedApplications, INetFwAuthorizedApplications_Vtbl, 0x644efd52_ccf9_486c_97a2_39f352570b30); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwAuthorizedApplications { +impl core::ops::Deref for INetFwAuthorizedApplications { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -781,7 +781,7 @@ pub struct INetFwAuthorizedApplications_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwIcmpSettings, INetFwIcmpSettings_Vtbl, 0xa6207b2e_7cdd_426a_951e_5e1cbc5afead); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwIcmpSettings { +impl core::ops::Deref for INetFwIcmpSettings { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -920,7 +920,7 @@ pub struct INetFwIcmpSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwMgr, INetFwMgr_Vtbl, 0xf7898af5_cac4_4632_a2ec_da06e5111af2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwMgr { +impl core::ops::Deref for INetFwMgr { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -972,7 +972,7 @@ pub struct INetFwMgr_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwOpenPort, INetFwOpenPort_Vtbl, 0xe0483ba0_47ff_4d9c_a6d6_7741d0b195f7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwOpenPort { +impl core::ops::Deref for INetFwOpenPort { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1068,7 +1068,7 @@ pub struct INetFwOpenPort_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwOpenPorts, INetFwOpenPorts_Vtbl, 0xc0e9d7fa_e07e_430a_b19a_090ce82d92e2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwOpenPorts { +impl core::ops::Deref for INetFwOpenPorts { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1121,7 +1121,7 @@ pub struct INetFwOpenPorts_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwPolicy, INetFwPolicy_Vtbl, 0xd46d2478_9ac9_4008_9dc7_5563ce5536cc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwPolicy { +impl core::ops::Deref for INetFwPolicy { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1158,7 +1158,7 @@ pub struct INetFwPolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwPolicy2, INetFwPolicy2_Vtbl, 0x98325047_c671_4174_8d81_defcd3f03186); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwPolicy2 { +impl core::ops::Deref for INetFwPolicy2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1311,7 +1311,7 @@ pub struct INetFwPolicy2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwProduct, INetFwProduct_Vtbl, 0x71881699_18f4_458b_b892_3ffce5e07f75); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwProduct { +impl core::ops::Deref for INetFwProduct { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1359,7 +1359,7 @@ pub struct INetFwProduct_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwProducts, INetFwProducts_Vtbl, 0x39eb36e0_2097_40bd_8af2_63a13b525362); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwProducts { +impl core::ops::Deref for INetFwProducts { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1409,7 +1409,7 @@ pub struct INetFwProducts_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwProfile, INetFwProfile_Vtbl, 0x174a0dda_e9f9_449d_993b_21ab667ca456); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwProfile { +impl core::ops::Deref for INetFwProfile { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1526,7 +1526,7 @@ pub struct INetFwProfile_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwRemoteAdminSettings, INetFwRemoteAdminSettings_Vtbl, 0xd4becddf_6f73_4a83_b832_9c66874cd20e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwRemoteAdminSettings { +impl core::ops::Deref for INetFwRemoteAdminSettings { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1587,7 +1587,7 @@ pub struct INetFwRemoteAdminSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwRule, INetFwRule_Vtbl, 0xaf230d27_baba_4e42_aced_f524f22cfce2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwRule { +impl core::ops::Deref for INetFwRule { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1810,7 +1810,7 @@ pub struct INetFwRule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwRule2, INetFwRule2_Vtbl, 0x9c27c8da_189b_4dde_89f7_8b39a316782c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwRule2 { +impl core::ops::Deref for INetFwRule2 { type Target = INetFwRule; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1838,7 +1838,7 @@ pub struct INetFwRule2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwRule3, INetFwRule3_Vtbl, 0xb21563ff_d696_4222_ab46_4e89b73ab34a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwRule3 { +impl core::ops::Deref for INetFwRule3 { type Target = INetFwRule2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1926,7 +1926,7 @@ pub struct INetFwRule3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwRules, INetFwRules_Vtbl, 0x9c4c6277_5027_441e_afae_ca1f542da009); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwRules { +impl core::ops::Deref for INetFwRules { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1985,7 +1985,7 @@ pub struct INetFwRules_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwService, INetFwService_Vtbl, 0x79fd57c8_908e_4a36_9888_d5b3f0a444cf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwService { +impl core::ops::Deref for INetFwService { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2070,7 +2070,7 @@ pub struct INetFwService_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwServiceRestriction, INetFwServiceRestriction_Vtbl, 0x8267bbe3_f890_491c_b7b6_2db1ef0e5d2b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwServiceRestriction { +impl core::ops::Deref for INetFwServiceRestriction { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2117,7 +2117,7 @@ pub struct INetFwServiceRestriction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetFwServices, INetFwServices_Vtbl, 0x79649bb4_903e_421b_94c9_79848e79f6ee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetFwServices { +impl core::ops::Deref for INetFwServices { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2155,7 +2155,7 @@ pub struct INetFwServices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingConfiguration, INetSharingConfiguration_Vtbl, 0xc08956b6_1cd3_11d1_b1c5_00805fc1270e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingConfiguration { +impl core::ops::Deref for INetSharingConfiguration { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2238,7 +2238,7 @@ pub struct INetSharingConfiguration_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingEveryConnectionCollection, INetSharingEveryConnectionCollection_Vtbl, 0x33c4643c_7811_46fa_a89a_768597bd7223); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingEveryConnectionCollection { +impl core::ops::Deref for INetSharingEveryConnectionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2267,7 +2267,7 @@ pub struct INetSharingEveryConnectionCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingManager, INetSharingManager_Vtbl, 0xc08956b7_1cd3_11d1_b1c5_00805fc1270e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingManager { +impl core::ops::Deref for INetSharingManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2342,7 +2342,7 @@ pub struct INetSharingManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingPortMapping, INetSharingPortMapping_Vtbl, 0xc08956b1_1cd3_11d1_b1c5_00805fc1270e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingPortMapping { +impl core::ops::Deref for INetSharingPortMapping { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2382,7 +2382,7 @@ pub struct INetSharingPortMapping_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingPortMappingCollection, INetSharingPortMappingCollection_Vtbl, 0x02e4a2de_da20_4e34_89c8_ac22275a010b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingPortMappingCollection { +impl core::ops::Deref for INetSharingPortMappingCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2411,7 +2411,7 @@ pub struct INetSharingPortMappingCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingPortMappingProps, INetSharingPortMappingProps_Vtbl, 0x24b7e9b5_e38f_4685_851b_00892cf5f940); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingPortMappingProps { +impl core::ops::Deref for INetSharingPortMappingProps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2470,7 +2470,7 @@ pub struct INetSharingPortMappingProps_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingPrivateConnectionCollection, INetSharingPrivateConnectionCollection_Vtbl, 0x38ae69e0_4409_402a_a2cb_e965c727f840); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingPrivateConnectionCollection { +impl core::ops::Deref for INetSharingPrivateConnectionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2499,7 +2499,7 @@ pub struct INetSharingPrivateConnectionCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetSharingPublicConnectionCollection, INetSharingPublicConnectionCollection_Vtbl, 0x7d7a6355_f372_4971_a149_bfc927be762a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetSharingPublicConnectionCollection { +impl core::ops::Deref for INetSharingPublicConnectionCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2528,7 +2528,7 @@ pub struct INetSharingPublicConnectionCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IStaticPortMapping, IStaticPortMapping_Vtbl, 0x6f10711f_729b_41e5_93b8_f21d0f818df1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IStaticPortMapping { +impl core::ops::Deref for IStaticPortMapping { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2607,7 +2607,7 @@ pub struct IStaticPortMapping_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IStaticPortMappingCollection, IStaticPortMappingCollection_Vtbl, 0xcd1f3e77_66d6_4664_82c7_36dbb641d0f1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IStaticPortMappingCollection { +impl core::ops::Deref for IStaticPortMappingCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2670,7 +2670,7 @@ pub struct IStaticPortMappingCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUPnPNAT, IUPnPNAT_Vtbl, 0xb171c812_cc76_485a_94d8_b6b3a2794e99); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUPnPNAT { +impl core::ops::Deref for IUPnPNAT { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs index b318e19d24..142308b068 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -1302,7 +1302,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADs, IADs_Vtbl, 0xfd8256d0_fd15_11ce_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADs { +impl core::ops::Deref for IADs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1398,7 +1398,7 @@ pub struct IADs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsADSystemInfo, IADsADSystemInfo_Vtbl, 0x5bb11929_afd1_11d2_9cb9_0000f87a369e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsADSystemInfo { +impl core::ops::Deref for IADsADSystemInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1484,7 +1484,7 @@ pub struct IADsADSystemInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsAccessControlEntry, IADsAccessControlEntry_Vtbl, 0xb4f3a14c_9bdd_11d0_852c_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsAccessControlEntry { +impl core::ops::Deref for IADsAccessControlEntry { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1575,7 +1575,7 @@ pub struct IADsAccessControlEntry_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsAccessControlList, IADsAccessControlList_Vtbl, 0xb7ee91cc_9bdd_11d0_852c_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsAccessControlList { +impl core::ops::Deref for IADsAccessControlList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1648,7 +1648,7 @@ pub struct IADsAccessControlList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsAcl, IADsAcl_Vtbl, 0x8452d3ab_0869_11d1_a377_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsAcl { +impl core::ops::Deref for IADsAcl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1707,7 +1707,7 @@ pub struct IADsAcl_Vtbl { CopyAcl: usize, } windows_core::imp::define_interface!(IADsAggregatee, IADsAggregatee_Vtbl, 0x1346ce8c_9039_11d0_8528_00c04fd8d503); -impl std::ops::Deref for IADsAggregatee { +impl core::ops::Deref for IADsAggregatee { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1740,7 +1740,7 @@ pub struct IADsAggregatee_Vtbl { pub RestoreInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IADsAggregator, IADsAggregator_Vtbl, 0x52db5fb0_941f_11d0_8529_00c04fd8d503); -impl std::ops::Deref for IADsAggregator { +impl core::ops::Deref for IADsAggregator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1767,7 +1767,7 @@ pub struct IADsAggregator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsBackLink, IADsBackLink_Vtbl, 0xfd1302bd_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsBackLink { +impl core::ops::Deref for IADsBackLink { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1807,7 +1807,7 @@ pub struct IADsBackLink_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsCaseIgnoreList, IADsCaseIgnoreList_Vtbl, 0x7b66b533_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsCaseIgnoreList { +impl core::ops::Deref for IADsCaseIgnoreList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1838,7 +1838,7 @@ pub struct IADsCaseIgnoreList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsClass, IADsClass_Vtbl, 0xc8f93dd0_4ae0_11cf_9e73_00aa004a5691); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsClass { +impl core::ops::Deref for IADsClass { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2036,7 +2036,7 @@ pub struct IADsClass_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsCollection, IADsCollection_Vtbl, 0x72b945e0_253b_11cf_a988_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsCollection { +impl core::ops::Deref for IADsCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2083,7 +2083,7 @@ pub struct IADsCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsComputer, IADsComputer_Vtbl, 0xefe3cc70_1d9f_11cf_b1f3_02608c9e7553); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsComputer { +impl core::ops::Deref for IADsComputer { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2292,7 +2292,7 @@ pub struct IADsComputer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsComputerOperations, IADsComputerOperations_Vtbl, 0xef497680_1d9f_11cf_b1f3_02608c9e7553); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsComputerOperations { +impl core::ops::Deref for IADsComputerOperations { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2327,7 +2327,7 @@ pub struct IADsComputerOperations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsContainer, IADsContainer_Vtbl, 0x001677d0_fd16_11ce_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsContainer { +impl core::ops::Deref for IADsContainer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2440,7 +2440,7 @@ pub struct IADsContainer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsDNWithBinary, IADsDNWithBinary_Vtbl, 0x7e99c0a2_f935_11d2_ba96_00c04fb6d0d1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsDNWithBinary { +impl core::ops::Deref for IADsDNWithBinary { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2483,7 +2483,7 @@ pub struct IADsDNWithBinary_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsDNWithString, IADsDNWithString_Vtbl, 0x370df02e_f934_11d2_ba96_00c04fb6d0d1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsDNWithString { +impl core::ops::Deref for IADsDNWithString { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2526,7 +2526,7 @@ pub struct IADsDNWithString_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsDeleteOps, IADsDeleteOps_Vtbl, 0xb2bd0902_8878_11d1_8c21_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsDeleteOps { +impl core::ops::Deref for IADsDeleteOps { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2549,7 +2549,7 @@ pub struct IADsDeleteOps_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsDomain, IADsDomain_Vtbl, 0x00e4c220_fd16_11ce_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsDomain { +impl core::ops::Deref for IADsDomain { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2645,7 +2645,7 @@ pub struct IADsDomain_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsEmail, IADsEmail_Vtbl, 0x97af011a_478e_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsEmail { +impl core::ops::Deref for IADsEmail { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2683,7 +2683,7 @@ pub struct IADsEmail_Vtbl { pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IADsExtension, IADsExtension_Vtbl, 0x3d35553c_d2b0_11d1_b17b_0000f87593a0); -impl std::ops::Deref for IADsExtension { +impl core::ops::Deref for IADsExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2721,7 +2721,7 @@ pub struct IADsExtension_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsFaxNumber, IADsFaxNumber_Vtbl, 0xa910dea9_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsFaxNumber { +impl core::ops::Deref for IADsFaxNumber { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2764,7 +2764,7 @@ pub struct IADsFaxNumber_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsFileService, IADsFileService_Vtbl, 0xa89d1900_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsFileService { +impl core::ops::Deref for IADsFileService { type Target = IADsService; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2804,7 +2804,7 @@ pub struct IADsFileService_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsFileServiceOperations, IADsFileServiceOperations_Vtbl, 0xa02ded10_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsFileServiceOperations { +impl core::ops::Deref for IADsFileServiceOperations { type Target = IADsServiceOperations; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2841,7 +2841,7 @@ pub struct IADsFileServiceOperations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsFileShare, IADsFileShare_Vtbl, 0xeb6dcaf0_4b83_11cf_a995_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsFileShare { +impl core::ops::Deref for IADsFileShare { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2910,7 +2910,7 @@ pub struct IADsFileShare_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsGroup, IADsGroup_Vtbl, 0x27636b00_410f_11cf_b1ff_02608c9e7553); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsGroup { +impl core::ops::Deref for IADsGroup { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2972,7 +2972,7 @@ pub struct IADsGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsHold, IADsHold_Vtbl, 0xb3eb3b37_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsHold { +impl core::ops::Deref for IADsHold { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3012,7 +3012,7 @@ pub struct IADsHold_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsLargeInteger, IADsLargeInteger_Vtbl, 0x9068270b_0939_11d1_8be1_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsLargeInteger { +impl core::ops::Deref for IADsLargeInteger { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3049,7 +3049,7 @@ pub struct IADsLargeInteger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsLocality, IADsLocality_Vtbl, 0xa05e03a2_effe_11cf_8abc_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsLocality { +impl core::ops::Deref for IADsLocality { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3116,7 +3116,7 @@ pub struct IADsLocality_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsMembers, IADsMembers_Vtbl, 0x451a0030_72ec_11cf_b03b_00aa006e0975); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsMembers { +impl core::ops::Deref for IADsMembers { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3157,7 +3157,7 @@ pub struct IADsMembers_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsNameTranslate, IADsNameTranslate_Vtbl, 0xb1b272a3_3625_11d1_a3a4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsNameTranslate { +impl core::ops::Deref for IADsNameTranslate { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3221,7 +3221,7 @@ pub struct IADsNameTranslate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsNamespaces, IADsNamespaces_Vtbl, 0x28b96ba0_b330_11cf_a9ad_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsNamespaces { +impl core::ops::Deref for IADsNamespaces { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3252,7 +3252,7 @@ pub struct IADsNamespaces_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsNetAddress, IADsNetAddress_Vtbl, 0xb21a50a9_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsNetAddress { +impl core::ops::Deref for IADsNetAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3292,7 +3292,7 @@ pub struct IADsNetAddress_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsO, IADsO_Vtbl, 0xa1cd2dc6_effe_11cf_8abc_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsO { +impl core::ops::Deref for IADsO { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3383,7 +3383,7 @@ pub struct IADsO_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsOU, IADsOU_Vtbl, 0xa2f733b8_effe_11cf_8abc_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsOU { +impl core::ops::Deref for IADsOU { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3486,7 +3486,7 @@ pub struct IADsOU_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsObjectOptions, IADsObjectOptions_Vtbl, 0x46f14fda_232b_11d1_a808_00c04fd8d5a8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsObjectOptions { +impl core::ops::Deref for IADsObjectOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3517,7 +3517,7 @@ pub struct IADsObjectOptions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsOctetList, IADsOctetList_Vtbl, 0x7b28b80f_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsOctetList { +impl core::ops::Deref for IADsOctetList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3548,7 +3548,7 @@ pub struct IADsOctetList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsOpenDSObject, IADsOpenDSObject_Vtbl, 0xddf2891e_0f9c_11d0_8ad4_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsOpenDSObject { +impl core::ops::Deref for IADsOpenDSObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3581,7 +3581,7 @@ pub struct IADsOpenDSObject_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPath, IADsPath_Vtbl, 0xb287fcd5_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPath { +impl core::ops::Deref for IADsPath { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3633,7 +3633,7 @@ pub struct IADsPath_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPathname, IADsPathname_Vtbl, 0xd592aed4_f420_11d0_a36e_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPathname { +impl core::ops::Deref for IADsPathname { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3715,7 +3715,7 @@ pub struct IADsPathname_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPostalAddress, IADsPostalAddress_Vtbl, 0x7adecf29_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPostalAddress { +impl core::ops::Deref for IADsPostalAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3746,7 +3746,7 @@ pub struct IADsPostalAddress_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPrintJob, IADsPrintJob_Vtbl, 0x32fb6780_1ed0_11cf_a988_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPrintJob { +impl core::ops::Deref for IADsPrintJob { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3858,7 +3858,7 @@ pub struct IADsPrintJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPrintJobOperations, IADsPrintJobOperations_Vtbl, 0x9a52db30_1ecf_11cf_a988_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPrintJobOperations { +impl core::ops::Deref for IADsPrintJobOperations { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3909,7 +3909,7 @@ pub struct IADsPrintJobOperations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPrintQueue, IADsPrintQueue_Vtbl, 0xb15160d0_1226_11cf_a985_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPrintQueue { +impl core::ops::Deref for IADsPrintQueue { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4072,7 +4072,7 @@ pub struct IADsPrintQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPrintQueueOperations, IADsPrintQueueOperations_Vtbl, 0x124be5c0_156e_11cf_a986_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPrintQueueOperations { +impl core::ops::Deref for IADsPrintQueueOperations { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4117,7 +4117,7 @@ pub struct IADsPrintQueueOperations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsProperty, IADsProperty_Vtbl, 0xc8f93dd3_4ae0_11cf_9e73_00aa004a5691); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsProperty { +impl core::ops::Deref for IADsProperty { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4199,7 +4199,7 @@ pub struct IADsProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPropertyEntry, IADsPropertyEntry_Vtbl, 0x05792c8e_941f_11d0_8529_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPropertyEntry { +impl core::ops::Deref for IADsPropertyEntry { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4264,7 +4264,7 @@ pub struct IADsPropertyEntry_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPropertyList, IADsPropertyList_Vtbl, 0xc6f602b6_8f69_11d0_8528_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPropertyList { +impl core::ops::Deref for IADsPropertyList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4334,7 +4334,7 @@ pub struct IADsPropertyList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPropertyValue, IADsPropertyValue_Vtbl, 0x79fa9ad0_a97c_11d0_8534_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPropertyValue { +impl core::ops::Deref for IADsPropertyValue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4505,7 +4505,7 @@ pub struct IADsPropertyValue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsPropertyValue2, IADsPropertyValue2_Vtbl, 0x306e831c_5bc7_11d1_a3b8_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsPropertyValue2 { +impl core::ops::Deref for IADsPropertyValue2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4535,7 +4535,7 @@ pub struct IADsPropertyValue2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsReplicaPointer, IADsReplicaPointer_Vtbl, 0xf60fb803_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsReplicaPointer { +impl core::ops::Deref for IADsReplicaPointer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4605,7 +4605,7 @@ pub struct IADsReplicaPointer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsResource, IADsResource_Vtbl, 0x34a05b20_4aab_11cf_ae2c_00aa006ebfb9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsResource { +impl core::ops::Deref for IADsResource { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4644,7 +4644,7 @@ pub struct IADsResource_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsSecurityDescriptor, IADsSecurityDescriptor_Vtbl, 0xb8c787ca_9bdd_11d0_852c_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsSecurityDescriptor { +impl core::ops::Deref for IADsSecurityDescriptor { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4802,7 +4802,7 @@ pub struct IADsSecurityDescriptor_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsSecurityUtility, IADsSecurityUtility_Vtbl, 0xa63251b2_5f21_474b_ab52_4a8efad10895); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsSecurityUtility { +impl core::ops::Deref for IADsSecurityUtility { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4854,7 +4854,7 @@ pub struct IADsSecurityUtility_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsService, IADsService_Vtbl, 0x68af66e0_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsService { +impl core::ops::Deref for IADsService { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5008,7 +5008,7 @@ pub struct IADsService_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsServiceOperations, IADsServiceOperations_Vtbl, 0x5d7b33f0_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsServiceOperations { +impl core::ops::Deref for IADsServiceOperations { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5055,7 +5055,7 @@ pub struct IADsServiceOperations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsSession, IADsSession_Vtbl, 0x398b7da0_4aab_11cf_ae2c_00aa006ebfb9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsSession { +impl core::ops::Deref for IADsSession { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5104,7 +5104,7 @@ pub struct IADsSession_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsSyntax, IADsSyntax_Vtbl, 0xc8f93dd2_4ae0_11cf_9e73_00aa004a5691); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsSyntax { +impl core::ops::Deref for IADsSyntax { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5132,7 +5132,7 @@ pub struct IADsSyntax_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsTimestamp, IADsTimestamp_Vtbl, 0xb2f5a901_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsTimestamp { +impl core::ops::Deref for IADsTimestamp { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5169,7 +5169,7 @@ pub struct IADsTimestamp_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsTypedName, IADsTypedName_Vtbl, 0xb371a349_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsTypedName { +impl core::ops::Deref for IADsTypedName { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5218,7 +5218,7 @@ pub struct IADsTypedName_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsUser, IADsUser_Vtbl, 0x3e37e320_17e2_11cf_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsUser { +impl core::ops::Deref for IADsUser { type Target = IADs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5762,7 +5762,7 @@ pub struct IADsUser_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsWinNTSystemInfo, IADsWinNTSystemInfo_Vtbl, 0x6c6d65dc_afd1_11d2_9cb9_0000f87a369e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsWinNTSystemInfo { +impl core::ops::Deref for IADsWinNTSystemInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5799,7 +5799,7 @@ pub struct IADsWinNTSystemInfo_Vtbl { pub PDC: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommonQuery, ICommonQuery_Vtbl, 0xab50dec0_6f1d_11d0_a1c4_00aa00c16e65); -impl std::ops::Deref for ICommonQuery { +impl core::ops::Deref for ICommonQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5824,7 +5824,7 @@ pub struct ICommonQuery_Vtbl { OpenQueryWindow: usize, } windows_core::imp::define_interface!(IDirectoryObject, IDirectoryObject_Vtbl, 0xe798de2c_22e4_11d0_84fe_00c04fd8d503); -impl std::ops::Deref for IDirectoryObject { +impl core::ops::Deref for IDirectoryObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5871,7 +5871,7 @@ pub struct IDirectoryObject_Vtbl { pub DeleteDSObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectorySchemaMgmt, IDirectorySchemaMgmt_Vtbl, 0x75db3b9c_a4d8_11d0_a79c_00c04fd8d5a8); -impl std::ops::Deref for IDirectorySchemaMgmt { +impl core::ops::Deref for IDirectorySchemaMgmt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5935,7 +5935,7 @@ pub struct IDirectorySchemaMgmt_Vtbl { pub DeleteClassDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDirectorySearch, IDirectorySearch_Vtbl, 0x109ba8ec_92f0_11d0_a790_00c04fd8d5a8); -impl std::ops::Deref for IDirectorySearch { +impl core::ops::Deref for IDirectorySearch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6015,7 +6015,7 @@ pub struct IDirectorySearch_Vtbl { pub CloseSearchHandle: unsafe extern "system" fn(*mut core::ffi::c_void, ADS_SEARCH_HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDsAdminCreateObj, IDsAdminCreateObj_Vtbl, 0x53554a38_f902_11d2_82b9_00c04f68928b); -impl std::ops::Deref for IDsAdminCreateObj { +impl core::ops::Deref for IDsAdminCreateObj { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6054,7 +6054,7 @@ pub struct IDsAdminCreateObj_Vtbl { CreateModal: usize, } windows_core::imp::define_interface!(IDsAdminNewObj, IDsAdminNewObj_Vtbl, 0xf2573587_e6fc_11d2_82af_00c04f68928b); -impl std::ops::Deref for IDsAdminNewObj { +impl core::ops::Deref for IDsAdminNewObj { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6079,7 +6079,7 @@ pub struct IDsAdminNewObj_Vtbl { pub GetPageCounts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDsAdminNewObjExt, IDsAdminNewObjExt_Vtbl, 0x6088eae2_e7bf_11d2_82af_00c04f68928b); -impl std::ops::Deref for IDsAdminNewObjExt { +impl core::ops::Deref for IDsAdminNewObjExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6147,7 +6147,7 @@ pub struct IDsAdminNewObjExt_Vtbl { pub GetSummaryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDsAdminNewObjPrimarySite, IDsAdminNewObjPrimarySite_Vtbl, 0xbe2b487e_f904_11d2_82b9_00c04f68928b); -impl std::ops::Deref for IDsAdminNewObjPrimarySite { +impl core::ops::Deref for IDsAdminNewObjPrimarySite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6172,7 +6172,7 @@ pub struct IDsAdminNewObjPrimarySite_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDsAdminNotifyHandler, IDsAdminNotifyHandler_Vtbl, 0xe4a2b8b3_5a18_11d2_97c1_00a0c9a06d2d); -impl std::ops::Deref for IDsAdminNotifyHandler { +impl core::ops::Deref for IDsAdminNotifyHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6217,7 +6217,7 @@ pub struct IDsAdminNotifyHandler_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDsBrowseDomainTree, IDsBrowseDomainTree_Vtbl, 0x7cabcf1e_78f5_11d2_960c_00c04fa31a86); -impl std::ops::Deref for IDsBrowseDomainTree { +impl core::ops::Deref for IDsBrowseDomainTree { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6259,7 +6259,7 @@ pub struct IDsBrowseDomainTree_Vtbl { pub SetComputer: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDsDisplaySpecifier, IDsDisplaySpecifier_Vtbl, 0x1ab4a8c0_6a0b_11d2_ad49_00c04fa31a86); -impl std::ops::Deref for IDsDisplaySpecifier { +impl core::ops::Deref for IDsDisplaySpecifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6356,7 +6356,7 @@ pub struct IDsDisplaySpecifier_Vtbl { pub GetAttributeADsType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> ADSTYPE, } windows_core::imp::define_interface!(IDsObjectPicker, IDsObjectPicker_Vtbl, 0x0c87e64e_3b7a_11d2_b9e0_00c04fd8dbf7); -impl std::ops::Deref for IDsObjectPicker { +impl core::ops::Deref for IDsObjectPicker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6386,7 +6386,7 @@ pub struct IDsObjectPicker_Vtbl { InvokeDialog: usize, } windows_core::imp::define_interface!(IDsObjectPickerCredentials, IDsObjectPickerCredentials_Vtbl, 0xe2d3ec9b_d041_445a_8f16_4748de8fb1cf); -impl std::ops::Deref for IDsObjectPickerCredentials { +impl core::ops::Deref for IDsObjectPickerCredentials { type Target = IDsObjectPicker; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6410,7 +6410,7 @@ pub struct IDsObjectPickerCredentials_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistQuery, IPersistQuery_Vtbl, 0x1a3114b8_a62e_11d0_a6c5_00a0c906af45); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistQuery { +impl core::ops::Deref for IPersistQuery { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6480,7 +6480,7 @@ pub struct IPersistQuery_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrivateDispatch, IPrivateDispatch_Vtbl, 0x86ab4bbe_65f6_11d1_8c13_00c04fd8d503); -impl std::ops::Deref for IPrivateDispatch { +impl core::ops::Deref for IPrivateDispatch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6525,7 +6525,7 @@ pub struct IPrivateDispatch_Vtbl { ADSIInvoke: usize, } windows_core::imp::define_interface!(IPrivateUnknown, IPrivateUnknown_Vtbl, 0x89126bab_6ead_11d1_8c18_00c04fd8d503); -impl std::ops::Deref for IPrivateUnknown { +impl core::ops::Deref for IPrivateUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6551,7 +6551,7 @@ pub struct IPrivateUnknown_Vtbl { pub ADSIReleaseObject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryForm, IQueryForm_Vtbl, 0x8cfcee30_39bd_11d0_b8d1_00a024ab2dbb); -impl std::ops::Deref for IQueryForm { +impl core::ops::Deref for IQueryForm { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs index de29fb9771..364ea0229d 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(AsyncIBackgroundCopyCallback, AsyncIBackgroundCopyCallback_Vtbl, 0xca29d251_b4bb_4679_a3d9_ae8006119d54); -impl std::ops::Deref for AsyncIBackgroundCopyCallback { +impl core::ops::Deref for AsyncIBackgroundCopyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -49,7 +49,7 @@ pub struct AsyncIBackgroundCopyCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBITSExtensionSetup, IBITSExtensionSetup_Vtbl, 0x29cfbbf7_09e4_4b97_b0bc_f2287e3d8eb3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBITSExtensionSetup { +impl core::ops::Deref for IBITSExtensionSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -86,7 +86,7 @@ pub struct IBITSExtensionSetup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBITSExtensionSetupFactory, IBITSExtensionSetupFactory_Vtbl, 0xd5d2d542_5503_4e64_8b48_72ef91a32ee1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBITSExtensionSetupFactory { +impl core::ops::Deref for IBITSExtensionSetupFactory { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -115,7 +115,7 @@ pub struct IBITSExtensionSetupFactory_Vtbl { GetObject: usize, } windows_core::imp::define_interface!(IBackgroundCopyCallback, IBackgroundCopyCallback_Vtbl, 0x97ea99c7_0186_4ad4_8df9_c5b4e0ed6b22); -impl std::ops::Deref for IBackgroundCopyCallback { +impl core::ops::Deref for IBackgroundCopyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -151,7 +151,7 @@ pub struct IBackgroundCopyCallback_Vtbl { pub JobModification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyCallback1, IBackgroundCopyCallback1_Vtbl, 0x084f6593_3800_4e08_9b59_99fa59addf82); -impl std::ops::Deref for IBackgroundCopyCallback1 { +impl core::ops::Deref for IBackgroundCopyCallback1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -189,7 +189,7 @@ pub struct IBackgroundCopyCallback1_Vtbl { pub OnProgressEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyCallback2, IBackgroundCopyCallback2_Vtbl, 0x659cdeac_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IBackgroundCopyCallback2 { +impl core::ops::Deref for IBackgroundCopyCallback2 { type Target = IBackgroundCopyCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -211,7 +211,7 @@ pub struct IBackgroundCopyCallback2_Vtbl { pub FileTransferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyCallback3, IBackgroundCopyCallback3_Vtbl, 0x98c97bd2_e32b_4ad8_a528_95fd8b16bd42); -impl std::ops::Deref for IBackgroundCopyCallback3 { +impl core::ops::Deref for IBackgroundCopyCallback3 { type Target = IBackgroundCopyCallback2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -233,7 +233,7 @@ pub struct IBackgroundCopyCallback3_Vtbl { pub FileRangesTransferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const BG_FILE_RANGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyError, IBackgroundCopyError_Vtbl, 0x19c613a0_fcb8_4f28_81ae_897c3d078f81); -impl std::ops::Deref for IBackgroundCopyError { +impl core::ops::Deref for IBackgroundCopyError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -271,7 +271,7 @@ pub struct IBackgroundCopyError_Vtbl { pub GetProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyFile, IBackgroundCopyFile_Vtbl, 0x01b7bd23_fb88_4a77_8490_5891d3e4653a); -impl std::ops::Deref for IBackgroundCopyFile { +impl core::ops::Deref for IBackgroundCopyFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -299,7 +299,7 @@ pub struct IBackgroundCopyFile_Vtbl { pub GetProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BG_FILE_PROGRESS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyFile2, IBackgroundCopyFile2_Vtbl, 0x83e81b93_0873_474d_8a8c_f2018b1a939c); -impl std::ops::Deref for IBackgroundCopyFile2 { +impl core::ops::Deref for IBackgroundCopyFile2 { type Target = IBackgroundCopyFile; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -324,7 +324,7 @@ pub struct IBackgroundCopyFile2_Vtbl { pub SetRemoteName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyFile3, IBackgroundCopyFile3_Vtbl, 0x659cdeaa_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IBackgroundCopyFile3 { +impl core::ops::Deref for IBackgroundCopyFile3 { type Target = IBackgroundCopyFile2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -360,7 +360,7 @@ pub struct IBackgroundCopyFile3_Vtbl { pub IsDownloadedFromPeer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyFile4, IBackgroundCopyFile4_Vtbl, 0xef7e0655_7888_4960_b0e5_730846e03492); -impl std::ops::Deref for IBackgroundCopyFile4 { +impl core::ops::Deref for IBackgroundCopyFile4 { type Target = IBackgroundCopyFile3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -378,7 +378,7 @@ pub struct IBackgroundCopyFile4_Vtbl { pub GetPeerDownloadStats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyFile5, IBackgroundCopyFile5_Vtbl, 0x85c1657f_dafc_40e8_8834_df18ea25717e); -impl std::ops::Deref for IBackgroundCopyFile5 { +impl core::ops::Deref for IBackgroundCopyFile5 { type Target = IBackgroundCopyFile4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -401,7 +401,7 @@ pub struct IBackgroundCopyFile5_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, BITS_FILE_PROPERTY_ID, *mut BITS_FILE_PROPERTY_VALUE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyFile6, IBackgroundCopyFile6_Vtbl, 0xcf6784f7_d677_49fd_9368_cb47aee9d1ad); -impl std::ops::Deref for IBackgroundCopyFile6 { +impl core::ops::Deref for IBackgroundCopyFile6 { type Target = IBackgroundCopyFile5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -427,7 +427,7 @@ pub struct IBackgroundCopyFile6_Vtbl { pub GetFilledFileRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut BG_FILE_RANGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyGroup, IBackgroundCopyGroup_Vtbl, 0x1ded80a7_53ea_424f_8a04_17fea9adc4f5); -impl std::ops::Deref for IBackgroundCopyGroup { +impl core::ops::Deref for IBackgroundCopyGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -512,7 +512,7 @@ pub struct IBackgroundCopyGroup_Vtbl { pub SetNotificationPointer: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJob, IBackgroundCopyJob_Vtbl, 0x37668d37_507e_4160_9316_26306d150b12); -impl std::ops::Deref for IBackgroundCopyJob { +impl core::ops::Deref for IBackgroundCopyJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -685,7 +685,7 @@ pub struct IBackgroundCopyJob_Vtbl { pub TakeOwnership: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJob1, IBackgroundCopyJob1_Vtbl, 0x59f5553c_2031_4629_bb18_2645a6970947); -impl std::ops::Deref for IBackgroundCopyJob1 { +impl core::ops::Deref for IBackgroundCopyJob1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -735,7 +735,7 @@ pub struct IBackgroundCopyJob1_Vtbl { pub JobID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJob2, IBackgroundCopyJob2_Vtbl, 0x54b50739_686f_45eb_9dff_d6a9a0faa9af); -impl std::ops::Deref for IBackgroundCopyJob2 { +impl core::ops::Deref for IBackgroundCopyJob2 { type Target = IBackgroundCopyJob; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -789,7 +789,7 @@ pub struct IBackgroundCopyJob2_Vtbl { pub RemoveCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, BG_AUTH_TARGET, BG_AUTH_SCHEME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJob3, IBackgroundCopyJob3_Vtbl, 0x443c8934_90ff_48ed_bcde_26f5c7450042); -impl std::ops::Deref for IBackgroundCopyJob3 { +impl core::ops::Deref for IBackgroundCopyJob3 { type Target = IBackgroundCopyJob2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -828,7 +828,7 @@ pub struct IBackgroundCopyJob3_Vtbl { pub GetFileACLFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJob4, IBackgroundCopyJob4_Vtbl, 0x659cdeae_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IBackgroundCopyJob4 { +impl core::ops::Deref for IBackgroundCopyJob4 { type Target = IBackgroundCopyJob3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -870,7 +870,7 @@ pub struct IBackgroundCopyJob4_Vtbl { pub GetMaximumDownloadTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJob5, IBackgroundCopyJob5_Vtbl, 0xe847030c_bbba_4657_af6d_484aa42bf1fe); -impl std::ops::Deref for IBackgroundCopyJob5 { +impl core::ops::Deref for IBackgroundCopyJob5 { type Target = IBackgroundCopyJob4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -893,7 +893,7 @@ pub struct IBackgroundCopyJob5_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, BITS_JOB_PROPERTY_ID, *mut BITS_JOB_PROPERTY_VALUE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions_Vtbl, 0xf1bd1079_9f01_4bdc_8036_f09b70095066); -impl std::ops::Deref for IBackgroundCopyJobHttpOptions { +impl core::ops::Deref for IBackgroundCopyJobHttpOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -951,7 +951,7 @@ pub struct IBackgroundCopyJobHttpOptions_Vtbl { pub GetSecurityFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions2, IBackgroundCopyJobHttpOptions2_Vtbl, 0xb591a192_a405_4fc3_8323_4c5c542578fc); -impl std::ops::Deref for IBackgroundCopyJobHttpOptions2 { +impl core::ops::Deref for IBackgroundCopyJobHttpOptions2 { type Target = IBackgroundCopyJobHttpOptions; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -977,7 +977,7 @@ pub struct IBackgroundCopyJobHttpOptions2_Vtbl { pub GetHttpMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions3, IBackgroundCopyJobHttpOptions3_Vtbl, 0x8a9263d3_fd4c_4eda_9b28_30132a4d4e3c); -impl std::ops::Deref for IBackgroundCopyJobHttpOptions3 { +impl core::ops::Deref for IBackgroundCopyJobHttpOptions3 { type Target = IBackgroundCopyJobHttpOptions2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1002,7 +1002,7 @@ pub struct IBackgroundCopyJobHttpOptions3_Vtbl { pub MakeCustomHeadersWriteOnly: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyManager, IBackgroundCopyManager_Vtbl, 0x5ce34c0d_0dc9_4c1f_897c_daa1b78cee7c); -impl std::ops::Deref for IBackgroundCopyManager { +impl core::ops::Deref for IBackgroundCopyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1038,7 +1038,7 @@ pub struct IBackgroundCopyManager_Vtbl { pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyQMgr, IBackgroundCopyQMgr_Vtbl, 0x16f41c69_09f5_41d2_8cd8_3c08c47bc8a8); -impl std::ops::Deref for IBackgroundCopyQMgr { +impl core::ops::Deref for IBackgroundCopyQMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1067,7 +1067,7 @@ pub struct IBackgroundCopyQMgr_Vtbl { pub EnumGroups: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBackgroundCopyServerCertificateValidationCallback, IBackgroundCopyServerCertificateValidationCallback_Vtbl, 0x4cec0d02_def7_4158_813a_c32a46945ff7); -impl std::ops::Deref for IBackgroundCopyServerCertificateValidationCallback { +impl core::ops::Deref for IBackgroundCopyServerCertificateValidationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1089,7 +1089,7 @@ pub struct IBackgroundCopyServerCertificateValidationCallback_Vtbl { pub ValidateServerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u8, u32, u32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBitsPeer, IBitsPeer_Vtbl, 0x659cdea2_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IBitsPeer { +impl core::ops::Deref for IBitsPeer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1118,7 +1118,7 @@ pub struct IBitsPeer_Vtbl { pub IsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBitsPeerCacheAdministration, IBitsPeerCacheAdministration_Vtbl, 0x659cdead_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IBitsPeerCacheAdministration { +impl core::ops::Deref for IBitsPeerCacheAdministration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1197,7 +1197,7 @@ pub struct IBitsPeerCacheAdministration_Vtbl { pub DiscoverPeers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBitsPeerCacheRecord, IBitsPeerCacheRecord_Vtbl, 0x659cdeaf_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IBitsPeerCacheRecord { +impl core::ops::Deref for IBitsPeerCacheRecord { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1244,7 +1244,7 @@ pub struct IBitsPeerCacheRecord_Vtbl { pub GetFileRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut BG_FILE_RANGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBitsTokenOptions, IBitsTokenOptions_Vtbl, 0x9a2584c3_f7d2_457a_9a5e_22b67bffc7d2); -impl std::ops::Deref for IBitsTokenOptions { +impl core::ops::Deref for IBitsTokenOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1280,7 +1280,7 @@ pub struct IBitsTokenOptions_Vtbl { pub GetHelperTokenSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumBackgroundCopyFiles, IEnumBackgroundCopyFiles_Vtbl, 0xca51e165_c365_424c_8d41_24aaa4ff3c40); -impl std::ops::Deref for IEnumBackgroundCopyFiles { +impl core::ops::Deref for IEnumBackgroundCopyFiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1316,7 +1316,7 @@ pub struct IEnumBackgroundCopyFiles_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumBackgroundCopyGroups, IEnumBackgroundCopyGroups_Vtbl, 0xd993e603_4aa4_47c5_8665_c20d39c2ba4f); -impl std::ops::Deref for IEnumBackgroundCopyGroups { +impl core::ops::Deref for IEnumBackgroundCopyGroups { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1352,7 +1352,7 @@ pub struct IEnumBackgroundCopyGroups_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumBackgroundCopyJobs, IEnumBackgroundCopyJobs_Vtbl, 0x1af4f612_3b71_466f_8f58_7b6f73ac57ad); -impl std::ops::Deref for IEnumBackgroundCopyJobs { +impl core::ops::Deref for IEnumBackgroundCopyJobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1388,7 +1388,7 @@ pub struct IEnumBackgroundCopyJobs_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumBackgroundCopyJobs1, IEnumBackgroundCopyJobs1_Vtbl, 0x8baeba9d_8f1c_42c4_b82c_09ae79980d25); -impl std::ops::Deref for IEnumBackgroundCopyJobs1 { +impl core::ops::Deref for IEnumBackgroundCopyJobs1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1424,7 +1424,7 @@ pub struct IEnumBackgroundCopyJobs1_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumBitsPeerCacheRecords, IEnumBitsPeerCacheRecords_Vtbl, 0x659cdea4_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IEnumBitsPeerCacheRecords { +impl core::ops::Deref for IEnumBitsPeerCacheRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1460,7 +1460,7 @@ pub struct IEnumBitsPeerCacheRecords_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumBitsPeers, IEnumBitsPeers_Vtbl, 0x659cdea5_489e_11d9_a9cd_000d56965251); -impl std::ops::Deref for IEnumBitsPeers { +impl core::ops::Deref for IEnumBitsPeers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs index c08a1c7177..b6873145ba 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -3500,7 +3500,7 @@ where SetGroupDependencyExpressionEx(hgroup.param().abi(), lpszdependencyexpression.param().abi(), lpszreason.param().abi()) } windows_core::imp::define_interface!(IGetClusterDataInfo, IGetClusterDataInfo_Vtbl, 0x97dede51_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterDataInfo { +impl core::ops::Deref for IGetClusterDataInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3526,7 +3526,7 @@ pub struct IGetClusterDataInfo_Vtbl { pub GetObjectCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> i32, } windows_core::imp::define_interface!(IGetClusterGroupInfo, IGetClusterGroupInfo_Vtbl, 0x97dede54_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterGroupInfo { +impl core::ops::Deref for IGetClusterGroupInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3544,7 +3544,7 @@ pub struct IGetClusterGroupInfo_Vtbl { pub GetGroupHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HGROUP, } windows_core::imp::define_interface!(IGetClusterNetInterfaceInfo, IGetClusterNetInterfaceInfo_Vtbl, 0x97dede57_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterNetInterfaceInfo { +impl core::ops::Deref for IGetClusterNetInterfaceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3562,7 +3562,7 @@ pub struct IGetClusterNetInterfaceInfo_Vtbl { pub GetNetInterfaceHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HNETINTERFACE, } windows_core::imp::define_interface!(IGetClusterNetworkInfo, IGetClusterNetworkInfo_Vtbl, 0x97dede56_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterNetworkInfo { +impl core::ops::Deref for IGetClusterNetworkInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3580,7 +3580,7 @@ pub struct IGetClusterNetworkInfo_Vtbl { pub GetNetworkHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HNETWORK, } windows_core::imp::define_interface!(IGetClusterNodeInfo, IGetClusterNodeInfo_Vtbl, 0x97dede53_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterNodeInfo { +impl core::ops::Deref for IGetClusterNodeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3598,7 +3598,7 @@ pub struct IGetClusterNodeInfo_Vtbl { pub GetNodeHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HNODE, } windows_core::imp::define_interface!(IGetClusterObjectInfo, IGetClusterObjectInfo_Vtbl, 0x97dede52_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterObjectInfo { +impl core::ops::Deref for IGetClusterObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3620,7 +3620,7 @@ pub struct IGetClusterObjectInfo_Vtbl { pub GetObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> CLUADMEX_OBJECT_TYPE, } windows_core::imp::define_interface!(IGetClusterResourceInfo, IGetClusterResourceInfo_Vtbl, 0x97dede55_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterResourceInfo { +impl core::ops::Deref for IGetClusterResourceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3646,7 +3646,7 @@ pub struct IGetClusterResourceInfo_Vtbl { pub GetResourceNetworkName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, *mut u32) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IGetClusterUIInfo, IGetClusterUIInfo_Vtbl, 0x97dede50_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IGetClusterUIInfo { +impl core::ops::Deref for IGetClusterUIInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3686,7 +3686,7 @@ pub struct IGetClusterUIInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusApplication, ISClusApplication_Vtbl, 0xf2e606e6_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusApplication { +impl core::ops::Deref for ISClusApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3738,7 +3738,7 @@ pub struct ISClusApplication_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusCryptoKeys, ISClusCryptoKeys_Vtbl, 0xf2e6072c_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusCryptoKeys { +impl core::ops::Deref for ISClusCryptoKeys { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3793,7 +3793,7 @@ pub struct ISClusCryptoKeys_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusDisk, ISClusDisk_Vtbl, 0xf2e60724_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusDisk { +impl core::ops::Deref for ISClusDisk { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3840,7 +3840,7 @@ pub struct ISClusDisk_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusDisks, ISClusDisks_Vtbl, 0xf2e60726_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusDisks { +impl core::ops::Deref for ISClusDisks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3881,7 +3881,7 @@ pub struct ISClusDisks_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNetInterface, ISClusNetInterface_Vtbl, 0xf2e606ee_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNetInterface { +impl core::ops::Deref for ISClusNetInterface { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3960,7 +3960,7 @@ pub struct ISClusNetInterface_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNetInterfaces, ISClusNetInterfaces_Vtbl, 0xf2e606f0_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNetInterfaces { +impl core::ops::Deref for ISClusNetInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4005,7 +4005,7 @@ pub struct ISClusNetInterfaces_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNetwork, ISClusNetwork_Vtbl, 0xf2e606f2_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNetwork { +impl core::ops::Deref for ISClusNetwork { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4105,7 +4105,7 @@ pub struct ISClusNetwork_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNetworkNetInterfaces, ISClusNetworkNetInterfaces_Vtbl, 0xf2e606f6_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNetworkNetInterfaces { +impl core::ops::Deref for ISClusNetworkNetInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4150,7 +4150,7 @@ pub struct ISClusNetworkNetInterfaces_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNetworks, ISClusNetworks_Vtbl, 0xf2e606f4_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNetworks { +impl core::ops::Deref for ISClusNetworks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4195,7 +4195,7 @@ pub struct ISClusNetworks_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNode, ISClusNode_Vtbl, 0xf2e606f8_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNode { +impl core::ops::Deref for ISClusNode { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4309,7 +4309,7 @@ pub struct ISClusNode_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNodeNetInterfaces, ISClusNodeNetInterfaces_Vtbl, 0xf2e606fc_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNodeNetInterfaces { +impl core::ops::Deref for ISClusNodeNetInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4354,7 +4354,7 @@ pub struct ISClusNodeNetInterfaces_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusNodes, ISClusNodes_Vtbl, 0xf2e606fa_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusNodes { +impl core::ops::Deref for ISClusNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4399,7 +4399,7 @@ pub struct ISClusNodes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPartition, ISClusPartition_Vtbl, 0xf2e60720_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusPartition { +impl core::ops::Deref for ISClusPartition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4453,7 +4453,7 @@ pub struct ISClusPartition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPartitionEx, ISClusPartitionEx_Vtbl, 0x8802d4fe_b32e_4ad1_9dbd_64f18e1166ce); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusPartitionEx { +impl core::ops::Deref for ISClusPartitionEx { type Target = ISClusPartition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4497,7 +4497,7 @@ pub struct ISClusPartitionEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPartitions, ISClusPartitions_Vtbl, 0xf2e60722_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusPartitions { +impl core::ops::Deref for ISClusPartitions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4538,7 +4538,7 @@ pub struct ISClusPartitions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusProperties, ISClusProperties_Vtbl, 0xf2e60700_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusProperties { +impl core::ops::Deref for ISClusProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4628,7 +4628,7 @@ pub struct ISClusProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusProperty, ISClusProperty_Vtbl, 0xf2e606fe_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusProperty { +impl core::ops::Deref for ISClusProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4725,7 +4725,7 @@ pub struct ISClusProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPropertyValue, ISClusPropertyValue_Vtbl, 0xf2e6071a_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusPropertyValue { +impl core::ops::Deref for ISClusPropertyValue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4793,7 +4793,7 @@ pub struct ISClusPropertyValue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPropertyValueData, ISClusPropertyValueData_Vtbl, 0xf2e6071e_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusPropertyValueData { +impl core::ops::Deref for ISClusPropertyValueData { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4845,7 +4845,7 @@ pub struct ISClusPropertyValueData_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusPropertyValues, ISClusPropertyValues_Vtbl, 0xf2e6071c_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusPropertyValues { +impl core::ops::Deref for ISClusPropertyValues { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4906,7 +4906,7 @@ pub struct ISClusPropertyValues_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusRefObject, ISClusRefObject_Vtbl, 0xf2e60702_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusRefObject { +impl core::ops::Deref for ISClusRefObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4930,7 +4930,7 @@ pub struct ISClusRefObject_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusRegistryKeys, ISClusRegistryKeys_Vtbl, 0xf2e6072a_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusRegistryKeys { +impl core::ops::Deref for ISClusRegistryKeys { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4985,7 +4985,7 @@ pub struct ISClusRegistryKeys_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResDependencies, ISClusResDependencies_Vtbl, 0xf2e60704_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResDependencies { +impl core::ops::Deref for ISClusResDependencies { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5068,7 +5068,7 @@ pub struct ISClusResDependencies_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResDependents, ISClusResDependents_Vtbl, 0xf2e6072e_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResDependents { +impl core::ops::Deref for ISClusResDependents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5151,7 +5151,7 @@ pub struct ISClusResDependents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResGroup, ISClusResGroup_Vtbl, 0xf2e60706_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResGroup { +impl core::ops::Deref for ISClusResGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5294,7 +5294,7 @@ pub struct ISClusResGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResGroupPreferredOwnerNodes, ISClusResGroupPreferredOwnerNodes_Vtbl, 0xf2e606e8_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResGroupPreferredOwnerNodes { +impl core::ops::Deref for ISClusResGroupPreferredOwnerNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5377,7 +5377,7 @@ pub struct ISClusResGroupPreferredOwnerNodes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResGroupResources, ISClusResGroupResources_Vtbl, 0xf2e606ea_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResGroupResources { +impl core::ops::Deref for ISClusResGroupResources { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5442,7 +5442,7 @@ pub struct ISClusResGroupResources_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResGroups, ISClusResGroups_Vtbl, 0xf2e60708_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResGroups { +impl core::ops::Deref for ISClusResGroups { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5506,7 +5506,7 @@ pub struct ISClusResGroups_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResPossibleOwnerNodes, ISClusResPossibleOwnerNodes_Vtbl, 0xf2e6070e_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResPossibleOwnerNodes { +impl core::ops::Deref for ISClusResPossibleOwnerNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5574,7 +5574,7 @@ pub struct ISClusResPossibleOwnerNodes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResType, ISClusResType_Vtbl, 0xf2e60710_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResType { +impl core::ops::Deref for ISClusResType { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5674,7 +5674,7 @@ pub struct ISClusResType_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResTypePossibleOwnerNodes, ISClusResTypePossibleOwnerNodes_Vtbl, 0xf2e60718_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResTypePossibleOwnerNodes { +impl core::ops::Deref for ISClusResTypePossibleOwnerNodes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5719,7 +5719,7 @@ pub struct ISClusResTypePossibleOwnerNodes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResTypeResources, ISClusResTypeResources_Vtbl, 0xf2e60714_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResTypeResources { +impl core::ops::Deref for ISClusResTypeResources { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5784,7 +5784,7 @@ pub struct ISClusResTypeResources_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResTypes, ISClusResTypes_Vtbl, 0xf2e60712_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResTypes { +impl core::ops::Deref for ISClusResTypes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5850,7 +5850,7 @@ pub struct ISClusResTypes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResource, ISClusResource_Vtbl, 0xf2e6070a_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResource { +impl core::ops::Deref for ISClusResource { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6114,7 +6114,7 @@ pub struct ISClusResource_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusResources, ISClusResources_Vtbl, 0xf2e6070c_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusResources { +impl core::ops::Deref for ISClusResources { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6180,7 +6180,7 @@ pub struct ISClusResources_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusScsiAddress, ISClusScsiAddress_Vtbl, 0xf2e60728_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusScsiAddress { +impl core::ops::Deref for ISClusScsiAddress { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6219,7 +6219,7 @@ pub struct ISClusScsiAddress_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusVersion, ISClusVersion_Vtbl, 0xf2e60716_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusVersion { +impl core::ops::Deref for ISClusVersion { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6288,7 +6288,7 @@ pub struct ISClusVersion_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISCluster, ISCluster_Vtbl, 0xf2e606e4_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISCluster { +impl core::ops::Deref for ISCluster { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6471,7 +6471,7 @@ pub struct ISCluster_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISClusterNames, ISClusterNames_Vtbl, 0xf2e606ec_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISClusterNames { +impl core::ops::Deref for ISClusterNames { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6517,7 +6517,7 @@ pub struct ISClusterNames_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISDomainNames, ISDomainNames_Vtbl, 0xf2e606e2_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISDomainNames { +impl core::ops::Deref for ISDomainNames { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6556,7 +6556,7 @@ pub struct ISDomainNames_Vtbl { pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWCContextMenuCallback, IWCContextMenuCallback_Vtbl, 0x97dede64_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWCContextMenuCallback { +impl core::ops::Deref for IWCContextMenuCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6578,7 +6578,7 @@ pub struct IWCContextMenuCallback_Vtbl { pub AddExtensionMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWCPropertySheetCallback, IWCPropertySheetCallback_Vtbl, 0x97dede60_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWCPropertySheetCallback { +impl core::ops::Deref for IWCPropertySheetCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6596,7 +6596,7 @@ pub struct IWCPropertySheetCallback_Vtbl { pub AddPropertySheetPage: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWCWizard97Callback, IWCWizard97Callback_Vtbl, 0x97dede67_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWCWizard97Callback { +impl core::ops::Deref for IWCWizard97Callback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6621,7 +6621,7 @@ pub struct IWCWizard97Callback_Vtbl { pub EnableNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWCWizardCallback, IWCWizardCallback_Vtbl, 0x97dede62_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWCWizardCallback { +impl core::ops::Deref for IWCWizardCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6646,7 +6646,7 @@ pub struct IWCWizardCallback_Vtbl { pub EnableNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWEExtendContextMenu, IWEExtendContextMenu_Vtbl, 0x97dede65_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWEExtendContextMenu { +impl core::ops::Deref for IWEExtendContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6668,7 +6668,7 @@ pub struct IWEExtendContextMenu_Vtbl { pub AddContextMenuItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWEExtendPropertySheet, IWEExtendPropertySheet_Vtbl, 0x97dede61_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWEExtendPropertySheet { +impl core::ops::Deref for IWEExtendPropertySheet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6690,7 +6690,7 @@ pub struct IWEExtendPropertySheet_Vtbl { pub CreatePropertySheetPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWEExtendWizard, IWEExtendWizard_Vtbl, 0x97dede63_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWEExtendWizard { +impl core::ops::Deref for IWEExtendWizard { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6712,7 +6712,7 @@ pub struct IWEExtendWizard_Vtbl { pub CreateWizardPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWEExtendWizard97, IWEExtendWizard97_Vtbl, 0x97dede68_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWEExtendWizard97 { +impl core::ops::Deref for IWEExtendWizard97 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6734,7 +6734,7 @@ pub struct IWEExtendWizard97_Vtbl { pub CreateWizard97Pages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWEInvokeCommand, IWEInvokeCommand_Vtbl, 0x97dede66_fc6b_11cf_b5f5_00a0c90ab505); -impl std::ops::Deref for IWEInvokeCommand { +impl core::ops::Deref for IWEInvokeCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs index 0017b057cd..ab5b5e575b 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEnumNetworkConnections, IEnumNetworkConnections_Vtbl, 0xdcb00006_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEnumNetworkConnections { +impl core::ops::Deref for IEnumNetworkConnections { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -54,7 +54,7 @@ pub struct IEnumNetworkConnections_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEnumNetworks, IEnumNetworks_Vtbl, 0xdcb00003_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEnumNetworks { +impl core::ops::Deref for IEnumNetworks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -107,7 +107,7 @@ pub struct IEnumNetworks_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetwork, INetwork_Vtbl, 0xdcb00002_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetwork { +impl core::ops::Deref for INetwork { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -197,7 +197,7 @@ pub struct INetwork_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetwork2, INetwork2_Vtbl, 0xb5550abb_3391_4310_804f_25dcc325ed81); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetwork2 { +impl core::ops::Deref for INetwork2 { type Target = INetwork; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -221,7 +221,7 @@ pub struct INetwork2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetworkConnection, INetworkConnection_Vtbl, 0xdcb00005_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetworkConnection { +impl core::ops::Deref for INetworkConnection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -279,7 +279,7 @@ pub struct INetworkConnection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetworkConnection2, INetworkConnection2_Vtbl, 0x00e676ed_5a35_4738_92eb_8581738d0f0a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetworkConnection2 { +impl core::ops::Deref for INetworkConnection2 { type Target = INetworkConnection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -301,7 +301,7 @@ pub struct INetworkConnection2_Vtbl { pub IsDomainAuthenticatedBy: unsafe extern "system" fn(*mut core::ffi::c_void, NLM_DOMAIN_AUTHENTICATION_KIND, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkConnectionCost, INetworkConnectionCost_Vtbl, 0xdcb0000a_570f_4a9b_8d69_199fdba5723b); -impl std::ops::Deref for INetworkConnectionCost { +impl core::ops::Deref for INetworkConnectionCost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -324,7 +324,7 @@ pub struct INetworkConnectionCost_Vtbl { pub GetDataPlanStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NLM_DATAPLAN_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkConnectionCostEvents, INetworkConnectionCostEvents_Vtbl, 0xdcb0000b_570f_4a9b_8d69_199fdba5723b); -impl std::ops::Deref for INetworkConnectionCostEvents { +impl core::ops::Deref for INetworkConnectionCostEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -346,7 +346,7 @@ pub struct INetworkConnectionCostEvents_Vtbl { pub ConnectionDataPlanStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkConnectionEvents, INetworkConnectionEvents_Vtbl, 0xdcb00007_570f_4a9b_8d69_199fdba5723b); -impl std::ops::Deref for INetworkConnectionEvents { +impl core::ops::Deref for INetworkConnectionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -368,7 +368,7 @@ pub struct INetworkConnectionEvents_Vtbl { pub NetworkConnectionPropertyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, NLM_CONNECTION_PROPERTY_CHANGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkCostManager, INetworkCostManager_Vtbl, 0xdcb00008_570f_4a9b_8d69_199fdba5723b); -impl std::ops::Deref for INetworkCostManager { +impl core::ops::Deref for INetworkCostManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -397,7 +397,7 @@ pub struct INetworkCostManager_Vtbl { pub SetDestinationAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const NLM_SOCKADDR, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkCostManagerEvents, INetworkCostManagerEvents_Vtbl, 0xdcb00009_570f_4a9b_8d69_199fdba5723b); -impl std::ops::Deref for INetworkCostManagerEvents { +impl core::ops::Deref for INetworkCostManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -419,7 +419,7 @@ pub struct INetworkCostManagerEvents_Vtbl { pub DataPlanStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *const NLM_SOCKADDR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkEvents, INetworkEvents_Vtbl, 0xdcb00004_570f_4a9b_8d69_199fdba5723b); -impl std::ops::Deref for INetworkEvents { +impl core::ops::Deref for INetworkEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -451,7 +451,7 @@ pub struct INetworkEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetworkListManager, INetworkListManager_Vtbl, 0xdcb00000_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetworkListManager { +impl core::ops::Deref for INetworkListManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -527,7 +527,7 @@ pub struct INetworkListManager_Vtbl { pub ClearSimulatedProfileInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkListManagerEvents, INetworkListManagerEvents_Vtbl, 0xdcb00001_570f_4a9b_8d69_199fdba5723b); -impl std::ops::Deref for INetworkListManagerEvents { +impl core::ops::Deref for INetworkListManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs index 87dd7a7852..83c6457f82 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IFindSimilarResults, IFindSimilarResults_Vtbl, 0x96236a81_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IFindSimilarResults { +impl core::ops::Deref for IFindSimilarResults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22,7 +22,7 @@ pub struct IFindSimilarResults_Vtbl { pub GetNextFileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut SimilarityFileId) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcComparator, IRdcComparator_Vtbl, 0x96236a77_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcComparator { +impl core::ops::Deref for IRdcComparator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -43,7 +43,7 @@ pub struct IRdcComparator_Vtbl { pub Process: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL, *mut RdcBufferPointer, *mut RdcNeedPointer, *mut RDC_ErrorCode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcFileReader, IRdcFileReader_Vtbl, 0x96236a74_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcFileReader { +impl core::ops::Deref for IRdcFileReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -71,7 +71,7 @@ pub struct IRdcFileReader_Vtbl { pub GetFilePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcFileWriter, IRdcFileWriter_Vtbl, 0x96236a75_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcFileWriter { +impl core::ops::Deref for IRdcFileWriter { type Target = IRdcFileReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -98,7 +98,7 @@ pub struct IRdcFileWriter_Vtbl { pub DeleteOnClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcGenerator, IRdcGenerator_Vtbl, 0x96236a73_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcGenerator { +impl core::ops::Deref for IRdcGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -124,7 +124,7 @@ pub struct IRdcGenerator_Vtbl { pub Process: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL, *mut RdcBufferPointer, u32, *mut *mut RdcBufferPointer, *mut RDC_ErrorCode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcGeneratorFilterMaxParameters, IRdcGeneratorFilterMaxParameters_Vtbl, 0x96236a72_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcGeneratorFilterMaxParameters { +impl core::ops::Deref for IRdcGeneratorFilterMaxParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -156,7 +156,7 @@ pub struct IRdcGeneratorFilterMaxParameters_Vtbl { pub SetHashWindowSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcGeneratorParameters, IRdcGeneratorParameters_Vtbl, 0x96236a71_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcGeneratorParameters { +impl core::ops::Deref for IRdcGeneratorParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -188,7 +188,7 @@ pub struct IRdcGeneratorParameters_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcLibrary, IRdcLibrary_Vtbl, 0x96236a78_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcLibrary { +impl core::ops::Deref for IRdcLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -242,7 +242,7 @@ pub struct IRdcLibrary_Vtbl { pub GetRDCVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcSignatureReader, IRdcSignatureReader_Vtbl, 0x96236a76_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcSignatureReader { +impl core::ops::Deref for IRdcSignatureReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -265,7 +265,7 @@ pub struct IRdcSignatureReader_Vtbl { pub ReadSignatures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RdcSignaturePointer, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRdcSimilarityGenerator, IRdcSimilarityGenerator_Vtbl, 0x96236a80_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for IRdcSimilarityGenerator { +impl core::ops::Deref for IRdcSimilarityGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -288,7 +288,7 @@ pub struct IRdcSimilarityGenerator_Vtbl { pub Results: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SimilarityData) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimilarity, ISimilarity_Vtbl, 0x96236a83_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for ISimilarity { +impl core::ops::Deref for ISimilarity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -350,7 +350,7 @@ pub struct ISimilarity_Vtbl { pub GetRecordCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimilarityFileIdTable, ISimilarityFileIdTable_Vtbl, 0x96236a7f_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for ISimilarityFileIdTable { +impl core::ops::Deref for ISimilarityFileIdTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -407,7 +407,7 @@ pub struct ISimilarityFileIdTable_Vtbl { pub GetRecordCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimilarityReportProgress, ISimilarityReportProgress_Vtbl, 0x96236a7a_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for ISimilarityReportProgress { +impl core::ops::Deref for ISimilarityReportProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -425,7 +425,7 @@ pub struct ISimilarityReportProgress_Vtbl { pub ReportProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimilarityTableDumpState, ISimilarityTableDumpState_Vtbl, 0x96236a7b_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for ISimilarityTableDumpState { +impl core::ops::Deref for ISimilarityTableDumpState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -443,7 +443,7 @@ pub struct ISimilarityTableDumpState_Vtbl { pub GetNextData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut super::super::Foundation::BOOL, *mut SimilarityDumpData) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimilarityTraitsMappedView, ISimilarityTraitsMappedView_Vtbl, 0x96236a7c_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for ISimilarityTraitsMappedView { +impl core::ops::Deref for ISimilarityTraitsMappedView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -477,7 +477,7 @@ pub struct ISimilarityTraitsMappedView_Vtbl { pub GetView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut *mut u8), } windows_core::imp::define_interface!(ISimilarityTraitsMapping, ISimilarityTraitsMapping_Vtbl, 0x96236a7d_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for ISimilarityTraitsMapping { +impl core::ops::Deref for ISimilarityTraitsMapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -525,7 +525,7 @@ pub struct ISimilarityTraitsMapping_Vtbl { pub CreateView: unsafe extern "system" fn(*mut core::ffi::c_void, u32, RdcMappingAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimilarityTraitsTable, ISimilarityTraitsTable_Vtbl, 0x96236a7e_9dbc_11da_9e3f_0011114ae311); -impl std::ops::Deref for ISimilarityTraitsTable { +impl core::ops::Deref for ISimilarityTraitsTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs index 3857637a2a..e31725e154 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -325,7 +325,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWinHttpRequest, IWinHttpRequest_Vtbl, 0x016fe2ec_b2c8_45f8_b23b_39e53a75396b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWinHttpRequest { +impl core::ops::Deref for IWinHttpRequest { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -459,7 +459,7 @@ pub struct IWinHttpRequest_Vtbl { pub SetAutoLogonPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestAutoLogonPolicy) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinHttpRequestEvents, IWinHttpRequestEvents_Vtbl, 0xf97f4e15_b787_4212_80d1_d380cbbf982e); -impl std::ops::Deref for IWinHttpRequestEvents { +impl core::ops::Deref for IWinHttpRequestEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs index 774d9ff3f6..2b563a9877 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -2135,7 +2135,7 @@ where UrlCacheUpdateEntryExtraData(core::mem::transmute(happcache.unwrap_or(std::ptr::null())), pcwszurl.param().abi(), core::mem::transmute(pbextradata.as_ptr()), pbextradata.len().try_into().unwrap()) } windows_core::imp::define_interface!(IDialBranding, IDialBranding_Vtbl, 0x8aecafa9_4306_43cc_8c5a_765f2979cc16); -impl std::ops::Deref for IDialBranding { +impl core::ops::Deref for IDialBranding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2165,7 +2165,7 @@ pub struct IDialBranding_Vtbl { GetBitmap: usize, } windows_core::imp::define_interface!(IDialEngine, IDialEngine_Vtbl, 0x39fd782b_7905_40d5_9148_3c9b190423d5); -impl std::ops::Deref for IDialEngine { +impl core::ops::Deref for IDialEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2221,7 +2221,7 @@ pub struct IDialEngine_Vtbl { pub GetConnectHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDialEventSink, IDialEventSink_Vtbl, 0x2d86f4ff_6e2d_4488_b2e9_6934afd41bea); -impl std::ops::Deref for IDialEventSink { +impl core::ops::Deref for IDialEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2239,7 +2239,7 @@ pub struct IDialEventSink_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProofOfPossessionCookieInfoManager, IProofOfPossessionCookieInfoManager_Vtbl, 0xcdaece56_4edf_43df_b113_88e4556fa1bb); -impl std::ops::Deref for IProofOfPossessionCookieInfoManager { +impl core::ops::Deref for IProofOfPossessionCookieInfoManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2260,7 +2260,7 @@ pub struct IProofOfPossessionCookieInfoManager_Vtbl { pub GetCookieInfoForUri: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut *mut ProofOfPossessionCookieInfo) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProofOfPossessionCookieInfoManager2, IProofOfPossessionCookieInfoManager2_Vtbl, 0x15e41407_b42f_4ae7_9966_34a087b2d713); -impl std::ops::Deref for IProofOfPossessionCookieInfoManager2 { +impl core::ops::Deref for IProofOfPossessionCookieInfoManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index a04557e693..d42b90e5e3 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -1088,7 +1088,7 @@ pub unsafe fn WsXmlStringEquals(string1: *const WS_XML_STRING, string2: *const W WsXmlStringEquals(string1, string2, core::mem::transmute(error.unwrap_or(std::ptr::null()))).ok() } windows_core::imp::define_interface!(IContentPrefetcherTaskTrigger, IContentPrefetcherTaskTrigger_Vtbl, 0x1b35a14a_6094_4799_a60e_e474e15d4dc9); -impl std::ops::Deref for IContentPrefetcherTaskTrigger { +impl core::ops::Deref for IContentPrefetcherTaskTrigger { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs index 0ef0c7a02d..e24b86dd04 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(AsyncIAssociatedIdentityProvider, AsyncIAssociatedIdentityProvider_Vtbl, 0x2834d6ed_297e_4e72_8a51_961e86f05152); -impl std::ops::Deref for AsyncIAssociatedIdentityProvider { +impl core::ops::Deref for AsyncIAssociatedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -53,7 +53,7 @@ pub struct AsyncIAssociatedIdentityProvider_Vtbl { pub Finish_ChangeCredential: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIConnectedIdentityProvider, AsyncIConnectedIdentityProvider_Vtbl, 0x9ce55141_bce9_4e15_824d_43d79f512f93); -impl std::ops::Deref for AsyncIConnectedIdentityProvider { +impl core::ops::Deref for AsyncIConnectedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -116,7 +116,7 @@ pub struct AsyncIConnectedIdentityProvider_Vtbl { pub Finish_GetAccountState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACCOUNT_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIIdentityAdvise, AsyncIIdentityAdvise_Vtbl, 0x3ab4c8da_d038_4830_8dd9_3253c55a127f); -impl std::ops::Deref for AsyncIIdentityAdvise { +impl core::ops::Deref for AsyncIIdentityAdvise { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -141,7 +141,7 @@ pub struct AsyncIIdentityAdvise_Vtbl { pub Finish_IdentityUpdated: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIIdentityAuthentication, AsyncIIdentityAuthentication_Vtbl, 0xf9a2f918_feca_4e9c_9633_61cbf13ed34d); -impl std::ops::Deref for AsyncIIdentityAuthentication { +impl core::ops::Deref for AsyncIIdentityAuthentication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -179,7 +179,7 @@ pub struct AsyncIIdentityAuthentication_Vtbl { Finish_ValidateIdentityCredential: usize, } windows_core::imp::define_interface!(AsyncIIdentityProvider, AsyncIIdentityProvider_Vtbl, 0xc6fc9901_c433_4646_8f48_4e4687aae2a0); -impl std::ops::Deref for AsyncIIdentityProvider { +impl core::ops::Deref for AsyncIIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -301,7 +301,7 @@ pub struct AsyncIIdentityProvider_Vtbl { pub Finish_UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIIdentityStore, AsyncIIdentityStore_Vtbl, 0xeefa1616_48de_4872_aa64_6e6206535a51); -impl std::ops::Deref for AsyncIIdentityStore { +impl core::ops::Deref for AsyncIIdentityStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -379,7 +379,7 @@ pub struct AsyncIIdentityStore_Vtbl { pub Finish_Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIIdentityStoreEx, AsyncIIdentityStoreEx_Vtbl, 0xfca3af9a_8a07_4eae_8632_ec3de658a36a); -impl std::ops::Deref for AsyncIIdentityStoreEx { +impl core::ops::Deref for AsyncIIdentityStoreEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -416,7 +416,7 @@ pub struct AsyncIIdentityStoreEx_Vtbl { pub Finish_DeleteConnectedIdentity: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAssociatedIdentityProvider, IAssociatedIdentityProvider_Vtbl, 0x2af066b3_4cbb_4cba_a798_204b6af68cc0); -impl std::ops::Deref for IAssociatedIdentityProvider { +impl core::ops::Deref for IAssociatedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -458,7 +458,7 @@ pub struct IAssociatedIdentityProvider_Vtbl { pub ChangeCredential: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::HWND, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConnectedIdentityProvider, IConnectedIdentityProvider_Vtbl, 0xb7417b54_e08c_429b_96c8_678d1369ecb1); -impl std::ops::Deref for IConnectedIdentityProvider { +impl core::ops::Deref for IConnectedIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -501,7 +501,7 @@ pub struct IConnectedIdentityProvider_Vtbl { pub GetAccountState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACCOUNT_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIdentityAdvise, IIdentityAdvise_Vtbl, 0x4e982fed_d14b_440c_b8d6_bb386453d386); -impl std::ops::Deref for IIdentityAdvise { +impl core::ops::Deref for IIdentityAdvise { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -522,7 +522,7 @@ pub struct IIdentityAdvise_Vtbl { pub IdentityUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIdentityAuthentication, IIdentityAuthentication_Vtbl, 0x5e7ef254_979f_43b5_b74e_06e4eb7df0f9); -impl std::ops::Deref for IIdentityAuthentication { +impl core::ops::Deref for IIdentityAuthentication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -548,7 +548,7 @@ pub struct IIdentityAuthentication_Vtbl { ValidateIdentityCredential: usize, } windows_core::imp::define_interface!(IIdentityProvider, IIdentityProvider_Vtbl, 0x0d1b9e0c_e8ba_4f55_a81b_bce934b948f5); -impl std::ops::Deref for IIdentityProvider { +impl core::ops::Deref for IIdentityProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -633,7 +633,7 @@ pub struct IIdentityProvider_Vtbl { pub UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIdentityStore, IIdentityStore_Vtbl, 0xdf586fa5_6f35_44f1_b209_b38e169772eb); -impl std::ops::Deref for IIdentityStore { +impl core::ops::Deref for IIdentityStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -683,7 +683,7 @@ pub struct IIdentityStore_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIdentityStoreEx, IIdentityStoreEx_Vtbl, 0xf9f9eb98_8f7f_4e38_9577_6980114ce32b); -impl std::ops::Deref for IIdentityStoreEx { +impl core::ops::Deref for IIdentityStoreEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs index 30cc1baa70..aa6b53e8a5 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -1514,7 +1514,7 @@ pub unsafe fn VerifySignature(phcontext: *const super::super::Credentials::SecHa VerifySignature(phcontext, pmessage, messageseqno, &mut result__).map(|| result__) } windows_core::imp::define_interface!(ICcgDomainAuthCredentials, ICcgDomainAuthCredentials_Vtbl, 0x6ecda518_2010_4437_8bc3_46e752b7b172); -impl std::ops::Deref for ICcgDomainAuthCredentials { +impl core::ops::Deref for ICcgDomainAuthCredentials { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs index 821d145624..f8104bc447 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/mod.rs @@ -27,7 +27,7 @@ where EditSecurityAdvanced(hwndowner.param().abi(), psi.param().abi(), usipage).ok() } windows_core::imp::define_interface!(IEffectivePermission, IEffectivePermission_Vtbl, 0x3853dc76_9f35_407c_88a1_d19344365fbc); -impl std::ops::Deref for IEffectivePermission { +impl core::ops::Deref for IEffectivePermission { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -50,7 +50,7 @@ pub struct IEffectivePermission_Vtbl { pub GetEffectivePermission: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::super::Foundation::PSID, windows_core::PCWSTR, super::super::PSECURITY_DESCRIPTOR, *mut *mut super::super::OBJECT_TYPE_LIST, *mut u32, *mut *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEffectivePermission2, IEffectivePermission2_Vtbl, 0x941fabca_dd47_4fca_90bb_b0e10255f20d); -impl std::ops::Deref for IEffectivePermission2 { +impl core::ops::Deref for IEffectivePermission2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -106,7 +106,7 @@ pub struct IEffectivePermission2_Vtbl { pub ComputeEffectivePermissionWithSecondarySecurity: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::PSID, super::super::super::Foundation::PSID, windows_core::PCWSTR, *mut SECURITY_OBJECT, u32, *const super::super::TOKEN_GROUPS, *const super::AUTHZ_SID_OPERATION, *const super::super::TOKEN_GROUPS, *const super::AUTHZ_SID_OPERATION, *const super::AUTHZ_SECURITY_ATTRIBUTES_INFORMATION, *const super::AUTHZ_SECURITY_ATTRIBUTE_OPERATION, *const super::AUTHZ_SECURITY_ATTRIBUTES_INFORMATION, *const super::AUTHZ_SECURITY_ATTRIBUTE_OPERATION, *mut EFFPERM_RESULT_LIST) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecurityInformation, ISecurityInformation_Vtbl, 0x965fc360_16ff_11d0_91cb_00aa00bbb723); -impl std::ops::Deref for ISecurityInformation { +impl core::ops::Deref for ISecurityInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -161,7 +161,7 @@ pub struct ISecurityInformation_Vtbl { PropertySheetPageCallback: usize, } windows_core::imp::define_interface!(ISecurityInformation2, ISecurityInformation2_Vtbl, 0xc3ccfdb4_6f88_11d2_a3ce_00c04fb1782a); -impl std::ops::Deref for ISecurityInformation2 { +impl core::ops::Deref for ISecurityInformation2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -188,7 +188,7 @@ pub struct ISecurityInformation2_Vtbl { LookupSids: usize, } windows_core::imp::define_interface!(ISecurityInformation3, ISecurityInformation3_Vtbl, 0xe2cdc9cc_31bd_4f8f_8c8b_b641af516a1a); -impl std::ops::Deref for ISecurityInformation3 { +impl core::ops::Deref for ISecurityInformation3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -214,7 +214,7 @@ pub struct ISecurityInformation3_Vtbl { pub OpenElevatedEditor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, SI_PAGE_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecurityInformation4, ISecurityInformation4_Vtbl, 0xea961070_cd14_4621_ace4_f63c03e583e4); -impl std::ops::Deref for ISecurityInformation4 { +impl core::ops::Deref for ISecurityInformation4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -232,7 +232,7 @@ pub struct ISecurityInformation4_Vtbl { pub GetSecondarySecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SECURITY_OBJECT, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecurityObjectTypeInfo, ISecurityObjectTypeInfo_Vtbl, 0xfc3066eb_79ef_444b_9111_d18a75ebf2fa); -impl std::ops::Deref for ISecurityObjectTypeInfo { +impl core::ops::Deref for ISecurityObjectTypeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs index 3a04949920..5e977f6e06 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -703,7 +703,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplication, IAzApplication_Vtbl, 0x987bc7c7_b813_4d27_bede_6ba5ae867e95); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzApplication { +impl core::ops::Deref for IAzApplication { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1230,7 +1230,7 @@ pub struct IAzApplication_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplication2, IAzApplication2_Vtbl, 0x086a68af_a249_437c_b18d_d4d86d6a9660); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzApplication2 { +impl core::ops::Deref for IAzApplication2 { type Target = IAzApplication; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1274,7 +1274,7 @@ pub struct IAzApplication2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplication3, IAzApplication3_Vtbl, 0x181c845e_7196_4a7d_ac2e_020c0bb7a303); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzApplication3 { +impl core::ops::Deref for IAzApplication3 { type Target = IAzApplication2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1424,7 +1424,7 @@ pub struct IAzApplication3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplicationGroup, IAzApplicationGroup_Vtbl, 0xf1b744cd_58a6_4e06_9fbf_36f6d779e21e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzApplicationGroup { +impl core::ops::Deref for IAzApplicationGroup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1658,7 +1658,7 @@ pub struct IAzApplicationGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplicationGroup2, IAzApplicationGroup2_Vtbl, 0x3f0613fc_b71a_464e_a11d_5b881a56cefa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzApplicationGroup2 { +impl core::ops::Deref for IAzApplicationGroup2 { type Target = IAzApplicationGroup; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1726,7 +1726,7 @@ pub struct IAzApplicationGroup2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplicationGroups, IAzApplicationGroups_Vtbl, 0x4ce66ad5_9f3c_469d_a911_b99887a7e685); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzApplicationGroups { +impl core::ops::Deref for IAzApplicationGroups { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1760,7 +1760,7 @@ pub struct IAzApplicationGroups_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzApplications, IAzApplications_Vtbl, 0x929b11a9_95c5_4a84_a29a_20ad42c2f16c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzApplications { +impl core::ops::Deref for IAzApplications { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1794,7 +1794,7 @@ pub struct IAzApplications_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzAuthorizationStore, IAzAuthorizationStore_Vtbl, 0xedbd9ca9_9b82_4f6a_9e8b_98301e450f14); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzAuthorizationStore { +impl core::ops::Deref for IAzAuthorizationStore { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2178,7 +2178,7 @@ pub struct IAzAuthorizationStore_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzAuthorizationStore2, IAzAuthorizationStore2_Vtbl, 0xb11e5584_d577_4273_b6c5_0973e0f8e80d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzAuthorizationStore2 { +impl core::ops::Deref for IAzAuthorizationStore2 { type Target = IAzAuthorizationStore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2223,7 +2223,7 @@ pub struct IAzAuthorizationStore2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzAuthorizationStore3, IAzAuthorizationStore3_Vtbl, 0xabc08425_0c86_4fa0_9be3_7189956c926e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzAuthorizationStore3 { +impl core::ops::Deref for IAzAuthorizationStore3 { type Target = IAzAuthorizationStore2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2265,7 +2265,7 @@ pub struct IAzAuthorizationStore3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzBizRuleContext, IAzBizRuleContext_Vtbl, 0xe192f17d_d59f_455e_a152_940316cd77b2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzBizRuleContext { +impl core::ops::Deref for IAzBizRuleContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2311,7 +2311,7 @@ pub struct IAzBizRuleContext_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzBizRuleInterfaces, IAzBizRuleInterfaces_Vtbl, 0xe94128c7_e9da_44cc_b0bd_53036f3aab3d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzBizRuleInterfaces { +impl core::ops::Deref for IAzBizRuleInterfaces { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2370,7 +2370,7 @@ pub struct IAzBizRuleInterfaces_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzBizRuleParameters, IAzBizRuleParameters_Vtbl, 0xfc17685f_e25d_4dcd_bae1_276ec9533cb5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzBizRuleParameters { +impl core::ops::Deref for IAzBizRuleParameters { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2429,7 +2429,7 @@ pub struct IAzBizRuleParameters_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzClientContext, IAzClientContext_Vtbl, 0xeff1f00b_488a_466d_afd9_a401c5f9eef5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzClientContext { +impl core::ops::Deref for IAzClientContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2531,7 +2531,7 @@ pub struct IAzClientContext_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzClientContext2, IAzClientContext2_Vtbl, 0x2b0c92b8_208a_488a_8f81_e4edb22111cd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzClientContext2 { +impl core::ops::Deref for IAzClientContext2 { type Target = IAzClientContext; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2588,7 +2588,7 @@ pub struct IAzClientContext2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzClientContext3, IAzClientContext3_Vtbl, 0x11894fde_1deb_4b4b_8907_6d1cda1f5d4f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzClientContext3 { +impl core::ops::Deref for IAzClientContext3 { type Target = IAzClientContext2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2680,7 +2680,7 @@ pub struct IAzClientContext3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzNameResolver, IAzNameResolver_Vtbl, 0x504d0f15_73e2_43df_a870_a64f40714f53); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzNameResolver { +impl core::ops::Deref for IAzNameResolver { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2713,7 +2713,7 @@ pub struct IAzNameResolver_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzObjectPicker, IAzObjectPicker_Vtbl, 0x63130a48_699a_42d8_bf01_c62ac3fb79f9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzObjectPicker { +impl core::ops::Deref for IAzObjectPicker { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2745,7 +2745,7 @@ pub struct IAzObjectPicker_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzOperation, IAzOperation_Vtbl, 0x5e56b24f_ea01_4d61_be44_c49b5e4eaf74); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzOperation { +impl core::ops::Deref for IAzOperation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2837,7 +2837,7 @@ pub struct IAzOperation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzOperation2, IAzOperation2_Vtbl, 0x1f5ea01f_44a2_4184_9c48_a75b4dcc8ccc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzOperation2 { +impl core::ops::Deref for IAzOperation2 { type Target = IAzOperation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2869,7 +2869,7 @@ pub struct IAzOperation2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzOperations, IAzOperations_Vtbl, 0x90ef9c07_9706_49d9_af80_0438a5f3ec35); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzOperations { +impl core::ops::Deref for IAzOperations { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2903,7 +2903,7 @@ pub struct IAzOperations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzPrincipalLocator, IAzPrincipalLocator_Vtbl, 0xe5c3507d_ad6a_4992_9c7f_74ab480b44cc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzPrincipalLocator { +impl core::ops::Deref for IAzPrincipalLocator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2940,7 +2940,7 @@ pub struct IAzPrincipalLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzRole, IAzRole_Vtbl, 0x859e0d8d_62d7_41d8_a034_c0cd5d43fdfa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzRole { +impl core::ops::Deref for IAzRole { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3144,7 +3144,7 @@ pub struct IAzRole_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzRoleAssignment, IAzRoleAssignment_Vtbl, 0x55647d31_0d5a_4fa3_b4ac_2b5f9ad5ab76); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzRoleAssignment { +impl core::ops::Deref for IAzRoleAssignment { type Target = IAzRole; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3195,7 +3195,7 @@ pub struct IAzRoleAssignment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzRoleAssignments, IAzRoleAssignments_Vtbl, 0x9c80b900_fceb_4d73_a0f4_c83b0bbf2481); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzRoleAssignments { +impl core::ops::Deref for IAzRoleAssignments { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3229,7 +3229,7 @@ pub struct IAzRoleAssignments_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzRoleDefinition, IAzRoleDefinition_Vtbl, 0xd97fcea1_2599_44f1_9fc3_58e9fbe09466); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzRoleDefinition { +impl core::ops::Deref for IAzRoleDefinition { type Target = IAzTask; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3284,7 +3284,7 @@ pub struct IAzRoleDefinition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzRoleDefinitions, IAzRoleDefinitions_Vtbl, 0x881f25a5_d755_4550_957a_d503a3b34001); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzRoleDefinitions { +impl core::ops::Deref for IAzRoleDefinitions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3318,7 +3318,7 @@ pub struct IAzRoleDefinitions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzRoles, IAzRoles_Vtbl, 0x95e0f119_13b4_4dae_b65f_2f7d60d822e4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzRoles { +impl core::ops::Deref for IAzRoles { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3352,7 +3352,7 @@ pub struct IAzRoles_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzScope, IAzScope_Vtbl, 0x00e52487_e08d_4514_b62e_877d5645f5ab); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzScope { +impl core::ops::Deref for IAzScope { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3674,7 +3674,7 @@ pub struct IAzScope_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzScope2, IAzScope2_Vtbl, 0xee9fe8c9_c9f3_40e2_aa12_d1d8599727fd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzScope2 { +impl core::ops::Deref for IAzScope2 { type Target = IAzScope; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3773,7 +3773,7 @@ pub struct IAzScope2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzScopes, IAzScopes_Vtbl, 0x78e14853_9f5e_406d_9b91_6bdba6973510); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzScopes { +impl core::ops::Deref for IAzScopes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3807,7 +3807,7 @@ pub struct IAzScopes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzTask, IAzTask_Vtbl, 0xcb94e592_2e0e_4a6c_a336_b89a6dc1e388); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzTask { +impl core::ops::Deref for IAzTask { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3996,7 +3996,7 @@ pub struct IAzTask_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzTask2, IAzTask2_Vtbl, 0x03a9a5ee_48c8_4832_9025_aad503c46526); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzTask2 { +impl core::ops::Deref for IAzTask2 { type Target = IAzTask; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4028,7 +4028,7 @@ pub struct IAzTask2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAzTasks, IAzTasks_Vtbl, 0xb338ccab_4c85_4388_8c0a_c58592bad398); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAzTasks { +impl core::ops::Deref for IAzTasks { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs index 9eb7af9bfa..5ff2d8fba1 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ISceSvcAttachmentData, ISceSvcAttachmentData_Vtbl, 0x17c35fde_200d_11d1_affb_00c04fb984f9); -impl std::ops::Deref for ISceSvcAttachmentData { +impl core::ops::Deref for ISceSvcAttachmentData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -32,7 +32,7 @@ pub struct ISceSvcAttachmentData_Vtbl { pub CloseHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISceSvcAttachmentPersistInfo, ISceSvcAttachmentPersistInfo_Vtbl, 0x6d90e0d0_200d_11d1_affb_00c04fb984f9); -impl std::ops::Deref for ISceSvcAttachmentPersistInfo { +impl core::ops::Deref for ISceSvcAttachmentPersistInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs index 8ec5ea4d61..4b9a2db142 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -166,7 +166,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAlternativeName, IAlternativeName_Vtbl, 0x728ab313_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAlternativeName { +impl core::ops::Deref for IAlternativeName { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -236,7 +236,7 @@ pub struct IAlternativeName_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAlternativeNames, IAlternativeNames_Vtbl, 0x728ab314_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAlternativeNames { +impl core::ops::Deref for IAlternativeNames { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -293,7 +293,7 @@ pub struct IAlternativeNames_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBinaryConverter, IBinaryConverter_Vtbl, 0x728ab302_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBinaryConverter { +impl core::ops::Deref for IBinaryConverter { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -333,7 +333,7 @@ pub struct IBinaryConverter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBinaryConverter2, IBinaryConverter2_Vtbl, 0x8d7928b4_4e17_428d_9a17_728df00d1b2b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBinaryConverter2 { +impl core::ops::Deref for IBinaryConverter2 { type Target = IBinaryConverter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -362,7 +362,7 @@ pub struct IBinaryConverter2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICEnroll, ICEnroll_Vtbl, 0x43f8f288_7a20_11d0_8f06_00c04fc295e1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICEnroll { +impl core::ops::Deref for ICEnroll { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -702,7 +702,7 @@ pub struct ICEnroll_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICEnroll2, ICEnroll2_Vtbl, 0x704ca730_c90b_11d1_9bec_00c04fc295e1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICEnroll2 { +impl core::ops::Deref for ICEnroll2 { type Target = ICEnroll; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -760,7 +760,7 @@ pub struct ICEnroll2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICEnroll3, ICEnroll3_Vtbl, 0xc28c2d95_b7de_11d2_a421_00c04f79fe8e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICEnroll3 { +impl core::ops::Deref for ICEnroll3 { type Target = ICEnroll2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -859,7 +859,7 @@ pub struct ICEnroll3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICEnroll4, ICEnroll4_Vtbl, 0xc1f1188a_2eb5_4a80_841b_7e729a356d90); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICEnroll4 { +impl core::ops::Deref for ICEnroll4 { type Target = ICEnroll3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1103,7 +1103,7 @@ pub struct ICEnroll4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertAdmin, ICertAdmin_Vtbl, 0x34df6950_7fb6_11d0_8817_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertAdmin { +impl core::ops::Deref for ICertAdmin { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1199,7 +1199,7 @@ pub struct ICertAdmin_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertAdmin2, ICertAdmin2_Vtbl, 0xf7c3ac41_b8ce_4fb4_aa58_3d1dc0e36b39); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertAdmin2 { +impl core::ops::Deref for ICertAdmin2 { type Target = ICertAdmin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1308,7 +1308,7 @@ pub struct ICertAdmin2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertConfig, ICertConfig_Vtbl, 0x372fce34_4324_11d0_8810_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertConfig { +impl core::ops::Deref for ICertConfig { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1350,7 +1350,7 @@ pub struct ICertConfig_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertConfig2, ICertConfig2_Vtbl, 0x7a18edde_7e78_4163_8ded_78e2c9cee924); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertConfig2 { +impl core::ops::Deref for ICertConfig2 { type Target = ICertConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1376,7 +1376,7 @@ pub struct ICertConfig2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeAltName, ICertEncodeAltName_Vtbl, 0x1c9a8c70_1271_11d1_9bd4_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeAltName { +impl core::ops::Deref for ICertEncodeAltName { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1433,7 +1433,7 @@ pub struct ICertEncodeAltName_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeAltName2, ICertEncodeAltName2_Vtbl, 0xf67fe177_5ef1_4535_b4ce_29df15e2e0c3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeAltName2 { +impl core::ops::Deref for ICertEncodeAltName2 { type Target = ICertEncodeAltName; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1476,7 +1476,7 @@ pub struct ICertEncodeAltName2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeBitString, ICertEncodeBitString_Vtbl, 0x6db525be_1278_11d1_9bd4_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeBitString { +impl core::ops::Deref for ICertEncodeBitString { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1520,7 +1520,7 @@ pub struct ICertEncodeBitString_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeBitString2, ICertEncodeBitString2_Vtbl, 0xe070d6e7_23ef_4dd2_8242_ebd9c928cb30); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeBitString2 { +impl core::ops::Deref for ICertEncodeBitString2 { type Target = ICertEncodeBitString; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1559,7 +1559,7 @@ pub struct ICertEncodeBitString2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeCRLDistInfo, ICertEncodeCRLDistInfo_Vtbl, 0x01958640_bbff_11d0_8825_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeCRLDistInfo { +impl core::ops::Deref for ICertEncodeCRLDistInfo { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1625,7 +1625,7 @@ pub struct ICertEncodeCRLDistInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeCRLDistInfo2, ICertEncodeCRLDistInfo2_Vtbl, 0xb4275d4b_3e30_446f_ad36_09d03120b078); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeCRLDistInfo2 { +impl core::ops::Deref for ICertEncodeCRLDistInfo2 { type Target = ICertEncodeCRLDistInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1656,7 +1656,7 @@ pub struct ICertEncodeCRLDistInfo2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeDateArray, ICertEncodeDateArray_Vtbl, 0x2f9469a0_a470_11d0_8821_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeDateArray { +impl core::ops::Deref for ICertEncodeDateArray { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1705,7 +1705,7 @@ pub struct ICertEncodeDateArray_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeDateArray2, ICertEncodeDateArray2_Vtbl, 0x99a4edb5_2b8e_448d_bf95_bba8d7789dc8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeDateArray2 { +impl core::ops::Deref for ICertEncodeDateArray2 { type Target = ICertEncodeDateArray; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1736,7 +1736,7 @@ pub struct ICertEncodeDateArray2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeLongArray, ICertEncodeLongArray_Vtbl, 0x15e2f230_a0a2_11d0_8821_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeLongArray { +impl core::ops::Deref for ICertEncodeLongArray { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1785,7 +1785,7 @@ pub struct ICertEncodeLongArray_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeLongArray2, ICertEncodeLongArray2_Vtbl, 0x4efde84a_bd9b_4fc2_a108_c347d478840f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeLongArray2 { +impl core::ops::Deref for ICertEncodeLongArray2 { type Target = ICertEncodeLongArray; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1816,7 +1816,7 @@ pub struct ICertEncodeLongArray2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeStringArray, ICertEncodeStringArray_Vtbl, 0x12a88820_7494_11d0_8816_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeStringArray { +impl core::ops::Deref for ICertEncodeStringArray { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1873,7 +1873,7 @@ pub struct ICertEncodeStringArray_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertEncodeStringArray2, ICertEncodeStringArray2_Vtbl, 0x9c680d93_9b7d_4e95_9018_4ffe10ba5ada); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertEncodeStringArray2 { +impl core::ops::Deref for ICertEncodeStringArray2 { type Target = ICertEncodeStringArray; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1904,7 +1904,7 @@ pub struct ICertEncodeStringArray2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertExit, ICertExit_Vtbl, 0xe19ae1a0_7364_11d0_8816_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertExit { +impl core::ops::Deref for ICertExit { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1940,7 +1940,7 @@ pub struct ICertExit_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertExit2, ICertExit2_Vtbl, 0x0abf484b_d049_464d_a7ed_552e7529b0ff); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertExit2 { +impl core::ops::Deref for ICertExit2 { type Target = ICertExit; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1968,7 +1968,7 @@ pub struct ICertExit2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertGetConfig, ICertGetConfig_Vtbl, 0xc7ea09c0_ce17_11d0_8833_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertGetConfig { +impl core::ops::Deref for ICertGetConfig { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1992,7 +1992,7 @@ pub struct ICertGetConfig_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertManageModule, ICertManageModule_Vtbl, 0xe7d7ad42_bd3d_11d1_9a4d_00c04fc297eb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertManageModule { +impl core::ops::Deref for ICertManageModule { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2038,7 +2038,7 @@ pub struct ICertManageModule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPolicy, ICertPolicy_Vtbl, 0x38bb5a00_7636_11d0_b413_00a0c91bbf8c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPolicy { +impl core::ops::Deref for ICertPolicy { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2081,7 +2081,7 @@ pub struct ICertPolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPolicy2, ICertPolicy2_Vtbl, 0x3db4910e_8001_4bf1_aa1b_f43a808317a0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPolicy2 { +impl core::ops::Deref for ICertPolicy2 { type Target = ICertPolicy; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2109,7 +2109,7 @@ pub struct ICertPolicy2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertProperties, ICertProperties_Vtbl, 0x728ab32f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertProperties { +impl core::ops::Deref for ICertProperties { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2174,7 +2174,7 @@ pub struct ICertProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertProperty, ICertProperty_Vtbl, 0x728ab32e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertProperty { +impl core::ops::Deref for ICertProperty { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2238,7 +2238,7 @@ pub struct ICertProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyArchived, ICertPropertyArchived_Vtbl, 0x728ab337_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyArchived { +impl core::ops::Deref for ICertPropertyArchived { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2269,7 +2269,7 @@ pub struct ICertPropertyArchived_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyArchivedKeyHash, ICertPropertyArchivedKeyHash_Vtbl, 0x728ab33b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyArchivedKeyHash { +impl core::ops::Deref for ICertPropertyArchivedKeyHash { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2300,7 +2300,7 @@ pub struct ICertPropertyArchivedKeyHash_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyAutoEnroll, ICertPropertyAutoEnroll_Vtbl, 0x728ab332_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyAutoEnroll { +impl core::ops::Deref for ICertPropertyAutoEnroll { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2331,7 +2331,7 @@ pub struct ICertPropertyAutoEnroll_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyBackedUp, ICertPropertyBackedUp_Vtbl, 0x728ab338_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyBackedUp { +impl core::ops::Deref for ICertPropertyBackedUp { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2374,7 +2374,7 @@ pub struct ICertPropertyBackedUp_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyDescription, ICertPropertyDescription_Vtbl, 0x728ab331_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyDescription { +impl core::ops::Deref for ICertPropertyDescription { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2405,7 +2405,7 @@ pub struct ICertPropertyDescription_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyEnrollment, ICertPropertyEnrollment_Vtbl, 0x728ab339_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyEnrollment { +impl core::ops::Deref for ICertPropertyEnrollment { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2453,7 +2453,7 @@ pub struct ICertPropertyEnrollment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyEnrollmentPolicyServer, ICertPropertyEnrollmentPolicyServer_Vtbl, 0x728ab34a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyEnrollmentPolicyServer { +impl core::ops::Deref for ICertPropertyEnrollmentPolicyServer { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2522,7 +2522,7 @@ pub struct ICertPropertyEnrollmentPolicyServer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyFriendlyName, ICertPropertyFriendlyName_Vtbl, 0x728ab330_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyFriendlyName { +impl core::ops::Deref for ICertPropertyFriendlyName { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2553,7 +2553,7 @@ pub struct ICertPropertyFriendlyName_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyKeyProvInfo, ICertPropertyKeyProvInfo_Vtbl, 0x728ab336_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyKeyProvInfo { +impl core::ops::Deref for ICertPropertyKeyProvInfo { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2592,7 +2592,7 @@ pub struct ICertPropertyKeyProvInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyRenewal, ICertPropertyRenewal_Vtbl, 0x728ab33a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyRenewal { +impl core::ops::Deref for ICertPropertyRenewal { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2631,7 +2631,7 @@ pub struct ICertPropertyRenewal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertyRequestOriginator, ICertPropertyRequestOriginator_Vtbl, 0x728ab333_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertyRequestOriginator { +impl core::ops::Deref for ICertPropertyRequestOriginator { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2666,7 +2666,7 @@ pub struct ICertPropertyRequestOriginator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertPropertySHA1Hash, ICertPropertySHA1Hash_Vtbl, 0x728ab334_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertPropertySHA1Hash { +impl core::ops::Deref for ICertPropertySHA1Hash { type Target = ICertProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2697,7 +2697,7 @@ pub struct ICertPropertySHA1Hash_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertRequest, ICertRequest_Vtbl, 0x014e4840_5523_11d0_8812_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertRequest { +impl core::ops::Deref for ICertRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2762,7 +2762,7 @@ pub struct ICertRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertRequest2, ICertRequest2_Vtbl, 0xa4772988_4a85_4fa9_824e_b5cf5c16405a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertRequest2 { +impl core::ops::Deref for ICertRequest2 { type Target = ICertRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2824,7 +2824,7 @@ pub struct ICertRequest2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertRequest3, ICertRequest3_Vtbl, 0xafc8f92b_33a2_4861_bf36_2933b7cd67b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertRequest3 { +impl core::ops::Deref for ICertRequest3 { type Target = ICertRequest2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2869,7 +2869,7 @@ pub struct ICertRequest3_Vtbl { pub GetRefreshPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertRequestD, ICertRequestD_Vtbl, 0xd99e6e70_fc88_11d0_b498_00a0c90312f3); -impl std::ops::Deref for ICertRequestD { +impl core::ops::Deref for ICertRequestD { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2906,7 +2906,7 @@ pub struct ICertRequestD_Vtbl { pub Ping: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICertRequestD2, ICertRequestD2_Vtbl, 0x5422fd3a_d4b8_4cef_a12e_e87d4ca22e90); -impl std::ops::Deref for ICertRequestD2 { +impl core::ops::Deref for ICertRequestD2 { type Target = ICertRequestD; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2953,7 +2953,7 @@ pub struct ICertRequestD2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertServerExit, ICertServerExit_Vtbl, 0x4ba9eb90_732c_11d0_8816_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertServerExit { +impl core::ops::Deref for ICertServerExit { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3039,7 +3039,7 @@ pub struct ICertServerExit_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertServerPolicy, ICertServerPolicy_Vtbl, 0xaa000922_ffbe_11cf_8800_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertServerPolicy { +impl core::ops::Deref for ICertServerPolicy { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3139,7 +3139,7 @@ pub struct ICertServerPolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertView, ICertView_Vtbl, 0xc3fac344_1e84_11d1_9bd6_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertView { +impl core::ops::Deref for ICertView { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3206,7 +3206,7 @@ pub struct ICertView_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertView2, ICertView2_Vtbl, 0xd594b282_8851_4b61_9c66_3edadf848863); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertView2 { +impl core::ops::Deref for ICertView2 { type Target = ICertView; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3229,7 +3229,7 @@ pub struct ICertView2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificateAttestationChallenge, ICertificateAttestationChallenge_Vtbl, 0x6f175a7c_4a3a_40ae_9dba_592fd6bbf9b8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificateAttestationChallenge { +impl core::ops::Deref for ICertificateAttestationChallenge { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3265,7 +3265,7 @@ pub struct ICertificateAttestationChallenge_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificateAttestationChallenge2, ICertificateAttestationChallenge2_Vtbl, 0x4631334d_e266_47d6_bd79_be53cb2e2753); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificateAttestationChallenge2 { +impl core::ops::Deref for ICertificateAttestationChallenge2 { type Target = ICertificateAttestationChallenge; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3298,7 +3298,7 @@ pub struct ICertificateAttestationChallenge2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificatePolicies, ICertificatePolicies_Vtbl, 0x728ab31f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificatePolicies { +impl core::ops::Deref for ICertificatePolicies { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3355,7 +3355,7 @@ pub struct ICertificatePolicies_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificatePolicy, ICertificatePolicy_Vtbl, 0x728ab31e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificatePolicy { +impl core::ops::Deref for ICertificatePolicy { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3403,7 +3403,7 @@ pub struct ICertificatePolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificationAuthorities, ICertificationAuthorities_Vtbl, 0x13b79005_2181_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificationAuthorities { +impl core::ops::Deref for ICertificationAuthorities { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3476,7 +3476,7 @@ pub struct ICertificationAuthorities_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificationAuthority, ICertificationAuthority_Vtbl, 0x835d1f61_1e95_4bc8_b4d3_976c42b968f7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificationAuthority { +impl core::ops::Deref for ICertificationAuthority { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3500,7 +3500,7 @@ pub struct ICertificationAuthority_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICryptAttribute, ICryptAttribute_Vtbl, 0x728ab32c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICryptAttribute { +impl core::ops::Deref for ICryptAttribute { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3559,7 +3559,7 @@ pub struct ICryptAttribute_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICryptAttributes, ICryptAttributes_Vtbl, 0x728ab32d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICryptAttributes { +impl core::ops::Deref for ICryptAttributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3639,7 +3639,7 @@ pub struct ICryptAttributes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICspAlgorithm, ICspAlgorithm_Vtbl, 0x728ab305_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICspAlgorithm { +impl core::ops::Deref for ICspAlgorithm { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3712,7 +3712,7 @@ pub struct ICspAlgorithm_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICspAlgorithms, ICspAlgorithms_Vtbl, 0x728ab306_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICspAlgorithms { +impl core::ops::Deref for ICspAlgorithms { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3793,7 +3793,7 @@ pub struct ICspAlgorithms_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICspInformation, ICspInformation_Vtbl, 0x728ab307_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICspInformation { +impl core::ops::Deref for ICspInformation { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3920,7 +3920,7 @@ pub struct ICspInformation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICspInformations, ICspInformations_Vtbl, 0x728ab308_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICspInformations { +impl core::ops::Deref for ICspInformations { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4041,7 +4041,7 @@ pub struct ICspInformations_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICspStatus, ICspStatus_Vtbl, 0x728ab309_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICspStatus { +impl core::ops::Deref for ICspStatus { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4113,7 +4113,7 @@ pub struct ICspStatus_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICspStatuses, ICspStatuses_Vtbl, 0x728ab30a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICspStatuses { +impl core::ops::Deref for ICspStatuses { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4215,7 +4215,7 @@ pub struct ICspStatuses_Vtbl { get_ItemByProvider: usize, } windows_core::imp::define_interface!(IEnroll, IEnroll_Vtbl, 0xacaa7838_4585_11d1_ab57_00c04fc295e1); -impl std::ops::Deref for IEnroll { +impl core::ops::Deref for IEnroll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4582,7 +4582,7 @@ pub struct IEnroll_Vtbl { pub CreatePKCS7RequestFromRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::CRYPT_INTEGER_BLOB, *const super::CERT_CONTEXT, *mut super::CRYPT_INTEGER_BLOB) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnroll2, IEnroll2_Vtbl, 0xc080e199_b7df_11d2_a421_00c04f79fe8e); -impl std::ops::Deref for IEnroll2 { +impl core::ops::Deref for IEnroll2 { type Target = IEnroll; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4693,7 +4693,7 @@ pub struct IEnroll2_Vtbl { pub EnableSMIMECapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnroll4, IEnroll4_Vtbl, 0xf8053fe5_78f4_448f_a0db_41d61b73446b); -impl std::ops::Deref for IEnroll4 { +impl core::ops::Deref for IEnroll4 { type Target = IEnroll2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4887,7 +4887,7 @@ pub struct IEnroll4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEnumCERTVIEWATTRIBUTE, IEnumCERTVIEWATTRIBUTE_Vtbl, 0xe77db656_7653_11d1_9bde_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEnumCERTVIEWATTRIBUTE { +impl core::ops::Deref for IEnumCERTVIEWATTRIBUTE { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4935,7 +4935,7 @@ pub struct IEnumCERTVIEWATTRIBUTE_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEnumCERTVIEWCOLUMN, IEnumCERTVIEWCOLUMN_Vtbl, 0x9c735be2_57a5_11d1_9bdb_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEnumCERTVIEWCOLUMN { +impl core::ops::Deref for IEnumCERTVIEWCOLUMN { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4999,7 +4999,7 @@ pub struct IEnumCERTVIEWCOLUMN_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEnumCERTVIEWEXTENSION, IEnumCERTVIEWEXTENSION_Vtbl, 0xe7dd1466_7653_11d1_9bde_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEnumCERTVIEWEXTENSION { +impl core::ops::Deref for IEnumCERTVIEWEXTENSION { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5051,7 +5051,7 @@ pub struct IEnumCERTVIEWEXTENSION_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEnumCERTVIEWROW, IEnumCERTVIEWROW_Vtbl, 0xd1157f4c_5af2_11d1_9bdc_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEnumCERTVIEWROW { +impl core::ops::Deref for IEnumCERTVIEWROW { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5120,7 +5120,7 @@ pub struct IEnumCERTVIEWROW_Vtbl { pub GetMaxIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INDESPolicy, INDESPolicy_Vtbl, 0x13ca515d_431d_46cc_8c2e_1da269bbd625); -impl std::ops::Deref for INDESPolicy { +impl core::ops::Deref for INDESPolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5170,7 +5170,7 @@ pub struct INDESPolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPAdmin, IOCSPAdmin_Vtbl, 0x322e830d_67db_4fe9_9577_4596d9f09294); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IOCSPAdmin { +impl core::ops::Deref for IOCSPAdmin { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5271,7 +5271,7 @@ pub struct IOCSPAdmin_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPCAConfiguration, IOCSPCAConfiguration_Vtbl, 0xaec92b40_3d46_433f_87d1_b84d5c1e790d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IOCSPCAConfiguration { +impl core::ops::Deref for IOCSPCAConfiguration { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5422,7 +5422,7 @@ pub struct IOCSPCAConfiguration_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPCAConfigurationCollection, IOCSPCAConfigurationCollection_Vtbl, 0x2bebea0b_5ece_4f28_a91c_86b4bb20f0d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IOCSPCAConfigurationCollection { +impl core::ops::Deref for IOCSPCAConfigurationCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5484,7 +5484,7 @@ pub struct IOCSPCAConfigurationCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPProperty, IOCSPProperty_Vtbl, 0x66fb7839_5f04_4c25_ad18_9ff1a8376ee0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IOCSPProperty { +impl core::ops::Deref for IOCSPProperty { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5525,7 +5525,7 @@ pub struct IOCSPProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOCSPPropertyCollection, IOCSPPropertyCollection_Vtbl, 0x2597c18d_54e6_4b74_9fa9_a6bfda99cbbe); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IOCSPPropertyCollection { +impl core::ops::Deref for IOCSPPropertyCollection { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5595,7 +5595,7 @@ pub struct IOCSPPropertyCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IObjectId, IObjectId_Vtbl, 0x728ab300_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IObjectId { +impl core::ops::Deref for IObjectId { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5659,7 +5659,7 @@ pub struct IObjectId_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IObjectIds, IObjectIds_Vtbl, 0x728ab301_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IObjectIds { +impl core::ops::Deref for IObjectIds { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5727,7 +5727,7 @@ pub struct IObjectIds_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPolicyQualifier, IPolicyQualifier_Vtbl, 0x728ab31c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPolicyQualifier { +impl core::ops::Deref for IPolicyQualifier { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5777,7 +5777,7 @@ pub struct IPolicyQualifier_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPolicyQualifiers, IPolicyQualifiers_Vtbl, 0x728ab31d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPolicyQualifiers { +impl core::ops::Deref for IPolicyQualifiers { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5834,7 +5834,7 @@ pub struct IPolicyQualifiers_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISignerCertificate, ISignerCertificate_Vtbl, 0x728ab33d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISignerCertificate { +impl core::ops::Deref for ISignerCertificate { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5924,7 +5924,7 @@ pub struct ISignerCertificate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISignerCertificates, ISignerCertificates_Vtbl, 0x728ab33e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISignerCertificates { +impl core::ops::Deref for ISignerCertificates { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5993,7 +5993,7 @@ pub struct ISignerCertificates_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISmimeCapabilities, ISmimeCapabilities_Vtbl, 0x728ab31a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISmimeCapabilities { +impl core::ops::Deref for ISmimeCapabilities { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6068,7 +6068,7 @@ pub struct ISmimeCapabilities_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISmimeCapability, ISmimeCapability_Vtbl, 0x728ab319_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISmimeCapability { +impl core::ops::Deref for ISmimeCapability { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6112,7 +6112,7 @@ pub struct ISmimeCapability_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX500DistinguishedName, IX500DistinguishedName_Vtbl, 0x728ab303_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX500DistinguishedName { +impl core::ops::Deref for IX500DistinguishedName { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6155,7 +6155,7 @@ pub struct IX500DistinguishedName_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Attribute, IX509Attribute_Vtbl, 0x728ab322_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509Attribute { +impl core::ops::Deref for IX509Attribute { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6200,7 +6200,7 @@ pub struct IX509Attribute_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeArchiveKey, IX509AttributeArchiveKey_Vtbl, 0x728ab327_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509AttributeArchiveKey { +impl core::ops::Deref for IX509AttributeArchiveKey { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6258,7 +6258,7 @@ pub struct IX509AttributeArchiveKey_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeArchiveKeyHash, IX509AttributeArchiveKeyHash_Vtbl, 0x728ab328_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509AttributeArchiveKeyHash { +impl core::ops::Deref for IX509AttributeArchiveKeyHash { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6296,7 +6296,7 @@ pub struct IX509AttributeArchiveKeyHash_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeClientId, IX509AttributeClientId_Vtbl, 0x728ab325_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509AttributeClientId { +impl core::ops::Deref for IX509AttributeClientId { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6351,7 +6351,7 @@ pub struct IX509AttributeClientId_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeCspProvider, IX509AttributeCspProvider_Vtbl, 0x728ab32b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509AttributeCspProvider { +impl core::ops::Deref for IX509AttributeCspProvider { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6400,7 +6400,7 @@ pub struct IX509AttributeCspProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeExtensions, IX509AttributeExtensions_Vtbl, 0x728ab324_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509AttributeExtensions { +impl core::ops::Deref for IX509AttributeExtensions { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6446,7 +6446,7 @@ pub struct IX509AttributeExtensions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeOSVersion, IX509AttributeOSVersion_Vtbl, 0x728ab32a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509AttributeOSVersion { +impl core::ops::Deref for IX509AttributeOSVersion { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6484,7 +6484,7 @@ pub struct IX509AttributeOSVersion_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509AttributeRenewalCertificate, IX509AttributeRenewalCertificate_Vtbl, 0x728ab326_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509AttributeRenewalCertificate { +impl core::ops::Deref for IX509AttributeRenewalCertificate { type Target = IX509Attribute; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6522,7 +6522,7 @@ pub struct IX509AttributeRenewalCertificate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Attributes, IX509Attributes_Vtbl, 0x728ab323_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509Attributes { +impl core::ops::Deref for IX509Attributes { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6579,7 +6579,7 @@ pub struct IX509Attributes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequest, IX509CertificateRequest_Vtbl, 0x728ab341_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequest { +impl core::ops::Deref for IX509CertificateRequest { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6752,7 +6752,7 @@ pub struct IX509CertificateRequest_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestCertificate, IX509CertificateRequestCertificate_Vtbl, 0x728ab343_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestCertificate { +impl core::ops::Deref for IX509CertificateRequestCertificate { type Target = IX509CertificateRequestPkcs10; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6852,7 +6852,7 @@ pub struct IX509CertificateRequestCertificate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestCertificate2, IX509CertificateRequestCertificate2_Vtbl, 0x728ab35a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestCertificate2 { +impl core::ops::Deref for IX509CertificateRequestCertificate2 { type Target = IX509CertificateRequestCertificate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6914,7 +6914,7 @@ pub struct IX509CertificateRequestCertificate2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestCmc, IX509CertificateRequestCmc_Vtbl, 0x728ab345_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestCmc { +impl core::ops::Deref for IX509CertificateRequestCmc { type Target = IX509CertificateRequestPkcs7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7101,7 +7101,7 @@ pub struct IX509CertificateRequestCmc_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestCmc2, IX509CertificateRequestCmc2_Vtbl, 0x728ab35d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestCmc2 { +impl core::ops::Deref for IX509CertificateRequestCmc2 { type Target = IX509CertificateRequestCmc; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7179,7 +7179,7 @@ pub struct IX509CertificateRequestCmc2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10_Vtbl, 0x728ab342_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestPkcs10 { +impl core::ops::Deref for IX509CertificateRequestPkcs10 { type Target = IX509CertificateRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7411,7 +7411,7 @@ pub struct IX509CertificateRequestPkcs10_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V2_Vtbl, 0x728ab35b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestPkcs10V2 { +impl core::ops::Deref for IX509CertificateRequestPkcs10V2 { type Target = IX509CertificateRequestPkcs10; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7486,7 +7486,7 @@ pub struct IX509CertificateRequestPkcs10V2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V3, IX509CertificateRequestPkcs10V3_Vtbl, 0x54ea9942_3d66_4530_b76e_7c9170d3ec52); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestPkcs10V3 { +impl core::ops::Deref for IX509CertificateRequestPkcs10V3 { type Target = IX509CertificateRequestPkcs10V2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7579,7 +7579,7 @@ pub struct IX509CertificateRequestPkcs10V3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V4, IX509CertificateRequestPkcs10V4_Vtbl, 0x728ab363_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestPkcs10V4 { +impl core::ops::Deref for IX509CertificateRequestPkcs10V4 { type Target = IX509CertificateRequestPkcs10V3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7619,7 +7619,7 @@ pub struct IX509CertificateRequestPkcs10V4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestPkcs7, IX509CertificateRequestPkcs7_Vtbl, 0x728ab344_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestPkcs7 { +impl core::ops::Deref for IX509CertificateRequestPkcs7 { type Target = IX509CertificateRequest; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7703,7 +7703,7 @@ pub struct IX509CertificateRequestPkcs7_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRequestPkcs7V2, IX509CertificateRequestPkcs7V2_Vtbl, 0x728ab35c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRequestPkcs7V2 { +impl core::ops::Deref for IX509CertificateRequestPkcs7V2 { type Target = IX509CertificateRequestPkcs7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7759,7 +7759,7 @@ pub struct IX509CertificateRequestPkcs7V2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRevocationList, IX509CertificateRevocationList_Vtbl, 0x728ab360_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRevocationList { +impl core::ops::Deref for IX509CertificateRevocationList { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7984,7 +7984,7 @@ pub struct IX509CertificateRevocationList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRevocationListEntries, IX509CertificateRevocationListEntries_Vtbl, 0x728ab35f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRevocationListEntries { +impl core::ops::Deref for IX509CertificateRevocationListEntries { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8060,7 +8060,7 @@ pub struct IX509CertificateRevocationListEntries_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateRevocationListEntry, IX509CertificateRevocationListEntry_Vtbl, 0x728ab35e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateRevocationListEntry { +impl core::ops::Deref for IX509CertificateRevocationListEntry { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8123,7 +8123,7 @@ pub struct IX509CertificateRevocationListEntry_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateTemplate, IX509CertificateTemplate_Vtbl, 0x54244a13_555a_4e22_896d_1b0e52f76406); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateTemplate { +impl core::ops::Deref for IX509CertificateTemplate { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8147,7 +8147,7 @@ pub struct IX509CertificateTemplate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateTemplateWritable, IX509CertificateTemplateWritable_Vtbl, 0xf49466a7_395a_4e9e_b6e7_32b331600dc0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateTemplateWritable { +impl core::ops::Deref for IX509CertificateTemplateWritable { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8205,7 +8205,7 @@ pub struct IX509CertificateTemplateWritable_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509CertificateTemplates, IX509CertificateTemplates_Vtbl, 0x13b79003_2181_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509CertificateTemplates { +impl core::ops::Deref for IX509CertificateTemplates { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8286,7 +8286,7 @@ pub struct IX509CertificateTemplates_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509EndorsementKey, IX509EndorsementKey_Vtbl, 0xb11cd855_f4c4_4fc6_b710_4422237f09e9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509EndorsementKey { +impl core::ops::Deref for IX509EndorsementKey { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8374,7 +8374,7 @@ pub struct IX509EndorsementKey_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Enrollment, IX509Enrollment_Vtbl, 0x728ab346_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509Enrollment { +impl core::ops::Deref for IX509Enrollment { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8537,7 +8537,7 @@ pub struct IX509Enrollment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Enrollment2, IX509Enrollment2_Vtbl, 0x728ab350_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509Enrollment2 { +impl core::ops::Deref for IX509Enrollment2 { type Target = IX509Enrollment; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8601,7 +8601,7 @@ pub struct IX509Enrollment2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509EnrollmentHelper, IX509EnrollmentHelper_Vtbl, 0x728ab351_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509EnrollmentHelper { +impl core::ops::Deref for IX509EnrollmentHelper { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8652,7 +8652,7 @@ pub struct IX509EnrollmentHelper_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509EnrollmentPolicyServer, IX509EnrollmentPolicyServer_Vtbl, 0x13b79026_2181_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509EnrollmentPolicyServer { +impl core::ops::Deref for IX509EnrollmentPolicyServer { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8816,7 +8816,7 @@ pub struct IX509EnrollmentPolicyServer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509EnrollmentStatus, IX509EnrollmentStatus_Vtbl, 0x728ab304_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509EnrollmentStatus { +impl core::ops::Deref for IX509EnrollmentStatus { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8895,7 +8895,7 @@ pub struct IX509EnrollmentStatus_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509EnrollmentWebClassFactory, IX509EnrollmentWebClassFactory_Vtbl, 0x728ab349_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509EnrollmentWebClassFactory { +impl core::ops::Deref for IX509EnrollmentWebClassFactory { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8922,7 +8922,7 @@ pub struct IX509EnrollmentWebClassFactory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Extension, IX509Extension_Vtbl, 0x728ab30d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509Extension { +impl core::ops::Deref for IX509Extension { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8979,7 +8979,7 @@ pub struct IX509Extension_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionAlternativeNames, IX509ExtensionAlternativeNames_Vtbl, 0x728ab315_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionAlternativeNames { +impl core::ops::Deref for IX509ExtensionAlternativeNames { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9025,7 +9025,7 @@ pub struct IX509ExtensionAlternativeNames_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionAuthorityKeyIdentifier, IX509ExtensionAuthorityKeyIdentifier_Vtbl, 0x728ab318_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionAuthorityKeyIdentifier { +impl core::ops::Deref for IX509ExtensionAuthorityKeyIdentifier { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9063,7 +9063,7 @@ pub struct IX509ExtensionAuthorityKeyIdentifier_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionBasicConstraints, IX509ExtensionBasicConstraints_Vtbl, 0x728ab316_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionBasicConstraints { +impl core::ops::Deref for IX509ExtensionBasicConstraints { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9106,7 +9106,7 @@ pub struct IX509ExtensionBasicConstraints_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionCertificatePolicies, IX509ExtensionCertificatePolicies_Vtbl, 0x728ab320_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionCertificatePolicies { +impl core::ops::Deref for IX509ExtensionCertificatePolicies { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9152,7 +9152,7 @@ pub struct IX509ExtensionCertificatePolicies_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionEnhancedKeyUsage, IX509ExtensionEnhancedKeyUsage_Vtbl, 0x728ab310_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionEnhancedKeyUsage { +impl core::ops::Deref for IX509ExtensionEnhancedKeyUsage { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9198,7 +9198,7 @@ pub struct IX509ExtensionEnhancedKeyUsage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionKeyUsage, IX509ExtensionKeyUsage_Vtbl, 0x728ab30f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionKeyUsage { +impl core::ops::Deref for IX509ExtensionKeyUsage { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9233,7 +9233,7 @@ pub struct IX509ExtensionKeyUsage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionMSApplicationPolicies, IX509ExtensionMSApplicationPolicies_Vtbl, 0x728ab321_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionMSApplicationPolicies { +impl core::ops::Deref for IX509ExtensionMSApplicationPolicies { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9279,7 +9279,7 @@ pub struct IX509ExtensionMSApplicationPolicies_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionSmimeCapabilities, IX509ExtensionSmimeCapabilities_Vtbl, 0x728ab31b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionSmimeCapabilities { +impl core::ops::Deref for IX509ExtensionSmimeCapabilities { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9325,7 +9325,7 @@ pub struct IX509ExtensionSmimeCapabilities_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionSubjectKeyIdentifier, IX509ExtensionSubjectKeyIdentifier_Vtbl, 0x728ab317_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionSubjectKeyIdentifier { +impl core::ops::Deref for IX509ExtensionSubjectKeyIdentifier { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9363,7 +9363,7 @@ pub struct IX509ExtensionSubjectKeyIdentifier_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionTemplate, IX509ExtensionTemplate_Vtbl, 0x728ab312_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionTemplate { +impl core::ops::Deref for IX509ExtensionTemplate { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9419,7 +9419,7 @@ pub struct IX509ExtensionTemplate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509ExtensionTemplateName, IX509ExtensionTemplateName_Vtbl, 0x728ab311_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509ExtensionTemplateName { +impl core::ops::Deref for IX509ExtensionTemplateName { type Target = IX509Extension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9457,7 +9457,7 @@ pub struct IX509ExtensionTemplateName_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509Extensions, IX509Extensions_Vtbl, 0x728ab30e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509Extensions { +impl core::ops::Deref for IX509Extensions { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9537,7 +9537,7 @@ pub struct IX509Extensions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509MachineEnrollmentFactory, IX509MachineEnrollmentFactory_Vtbl, 0x728ab352_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509MachineEnrollmentFactory { +impl core::ops::Deref for IX509MachineEnrollmentFactory { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9568,7 +9568,7 @@ pub struct IX509MachineEnrollmentFactory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509NameValuePair, IX509NameValuePair_Vtbl, 0x728ab33f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509NameValuePair { +impl core::ops::Deref for IX509NameValuePair { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9605,7 +9605,7 @@ pub struct IX509NameValuePair_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509NameValuePairs, IX509NameValuePairs_Vtbl, 0x728ab340_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509NameValuePairs { +impl core::ops::Deref for IX509NameValuePairs { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9662,7 +9662,7 @@ pub struct IX509NameValuePairs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509PolicyServerListManager, IX509PolicyServerListManager_Vtbl, 0x884e204b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509PolicyServerListManager { +impl core::ops::Deref for IX509PolicyServerListManager { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9723,7 +9723,7 @@ pub struct IX509PolicyServerListManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509PolicyServerUrl, IX509PolicyServerUrl_Vtbl, 0x884e204a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509PolicyServerUrl { +impl core::ops::Deref for IX509PolicyServerUrl { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9817,7 +9817,7 @@ pub struct IX509PolicyServerUrl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509PrivateKey, IX509PrivateKey_Vtbl, 0x728ab30c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509PrivateKey { +impl core::ops::Deref for IX509PrivateKey { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10182,7 +10182,7 @@ pub struct IX509PrivateKey_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509PrivateKey2, IX509PrivateKey2_Vtbl, 0x728ab362_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509PrivateKey2 { +impl core::ops::Deref for IX509PrivateKey2 { type Target = IX509PrivateKey; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10255,7 +10255,7 @@ pub struct IX509PrivateKey2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509PublicKey, IX509PublicKey_Vtbl, 0x728ab30b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509PublicKey { +impl core::ops::Deref for IX509PublicKey { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10323,7 +10323,7 @@ pub struct IX509PublicKey_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509SCEPEnrollment, IX509SCEPEnrollment_Vtbl, 0x728ab361_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509SCEPEnrollment { +impl core::ops::Deref for IX509SCEPEnrollment { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10501,7 +10501,7 @@ pub struct IX509SCEPEnrollment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509SCEPEnrollment2, IX509SCEPEnrollment2_Vtbl, 0x728ab364_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509SCEPEnrollment2 { +impl core::ops::Deref for IX509SCEPEnrollment2 { type Target = IX509SCEPEnrollment; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10555,7 +10555,7 @@ pub struct IX509SCEPEnrollment2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509SCEPEnrollmentHelper, IX509SCEPEnrollmentHelper_Vtbl, 0x728ab365_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509SCEPEnrollmentHelper { +impl core::ops::Deref for IX509SCEPEnrollmentHelper { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10621,7 +10621,7 @@ pub struct IX509SCEPEnrollmentHelper_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IX509SignatureInformation, IX509SignatureInformation_Vtbl, 0x728ab33c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IX509SignatureInformation { +impl core::ops::Deref for IX509SignatureInformation { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs index f57a419a8e..f4fdc7ce1b 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -2845,7 +2845,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertSrvSetup, ICertSrvSetup_Vtbl, 0xb760a1bb_4784_44c0_8f12_555f0780ff25); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertSrvSetup { +impl core::ops::Deref for ICertSrvSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3002,7 +3002,7 @@ pub struct ICertSrvSetup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertSrvSetupKeyInformation, ICertSrvSetupKeyInformation_Vtbl, 0x6ba73778_36da_4c39_8a85_bcfa7d000793); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertSrvSetupKeyInformation { +impl core::ops::Deref for ICertSrvSetupKeyInformation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3090,7 +3090,7 @@ pub struct ICertSrvSetupKeyInformation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertSrvSetupKeyInformationCollection, ICertSrvSetupKeyInformationCollection_Vtbl, 0xe65c8b00_e58f_41f9_a9ec_a28d7427c844); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertSrvSetupKeyInformationCollection { +impl core::ops::Deref for ICertSrvSetupKeyInformationCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3135,7 +3135,7 @@ pub struct ICertSrvSetupKeyInformationCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificateEnrollmentPolicyServerSetup, ICertificateEnrollmentPolicyServerSetup_Vtbl, 0x859252cc_238c_4a88_b8fd_a37e7d04e68b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificateEnrollmentPolicyServerSetup { +impl core::ops::Deref for ICertificateEnrollmentPolicyServerSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3180,7 +3180,7 @@ pub struct ICertificateEnrollmentPolicyServerSetup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICertificateEnrollmentServerSetup, ICertificateEnrollmentServerSetup_Vtbl, 0x70027fdb_9dd9_4921_8944_b35cb31bd2ec); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICertificateEnrollmentServerSetup { +impl core::ops::Deref for ICertificateEnrollmentServerSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3233,7 +3233,7 @@ pub struct ICertificateEnrollmentServerSetup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSCEPSetup, IMSCEPSetup_Vtbl, 0x4f7761bb_9f3b_4592_9ee0_9a73259c313e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSCEPSetup { +impl core::ops::Deref for IMSCEPSetup { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs index 251d802f43..c0ece0d5ae 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -94,7 +94,7 @@ where UnprotectFile(fileorfolderpath.param().abi(), core::mem::transmute(options.unwrap_or(std::ptr::null()))).ok() } windows_core::imp::define_interface!(IProtectionPolicyManagerInterop, IProtectionPolicyManagerInterop_Vtbl, 0x4652651d_c1fe_4ba1_9f0a_c0f56596f721); -impl std::ops::Deref for IProtectionPolicyManagerInterop { +impl core::ops::Deref for IProtectionPolicyManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -107,7 +107,7 @@ impl IProtectionPolicyManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -115,7 +115,7 @@ impl IProtectionPolicyManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -126,7 +126,7 @@ pub struct IProtectionPolicyManagerInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManagerInterop2, IProtectionPolicyManagerInterop2_Vtbl, 0x157cfbe4_a78d_4156_b384_61fdac41e686); -impl std::ops::Deref for IProtectionPolicyManagerInterop2 { +impl core::ops::Deref for IProtectionPolicyManagerInterop2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -139,7 +139,7 @@ impl IProtectionPolicyManagerInterop2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessForAppWithWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessWithAuditingInfoForWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, targetidentity: &windows_core::HSTRING, auditinfounk: P1) -> windows_core::Result @@ -148,7 +148,7 @@ impl IProtectionPolicyManagerInterop2 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessWithAuditingInfoForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), auditinfounk.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessWithMessageForWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, targetidentity: &windows_core::HSTRING, auditinfounk: P1, messagefromapp: &windows_core::HSTRING) -> windows_core::Result @@ -157,7 +157,7 @@ impl IProtectionPolicyManagerInterop2 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessWithMessageForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), auditinfounk.param().abi(), core::mem::transmute_copy(messagefromapp), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessForAppWithAuditingInfoForWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, apppackagefamilyname: &windows_core::HSTRING, auditinfounk: P1) -> windows_core::Result @@ -166,7 +166,7 @@ impl IProtectionPolicyManagerInterop2 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessForAppWithAuditingInfoForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), auditinfounk.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessForAppWithMessageForWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, apppackagefamilyname: &windows_core::HSTRING, auditinfounk: P1, messagefromapp: &windows_core::HSTRING) -> windows_core::Result @@ -175,7 +175,7 @@ impl IProtectionPolicyManagerInterop2 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessForAppWithMessageForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), auditinfounk.param().abi(), core::mem::transmute_copy(messagefromapp), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -189,7 +189,7 @@ pub struct IProtectionPolicyManagerInterop2_Vtbl { pub RequestAccessForAppWithMessageForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectionPolicyManagerInterop3, IProtectionPolicyManagerInterop3_Vtbl, 0xc1c03933_b398_4d93_b0fd_2972adf802c2); -impl std::ops::Deref for IProtectionPolicyManagerInterop3 { +impl core::ops::Deref for IProtectionPolicyManagerInterop3 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -203,7 +203,7 @@ impl IProtectionPolicyManagerInterop3 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessWithBehaviorForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(targetidentity), auditinfounk.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessForAppWithBehaviorForWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, apppackagefamilyname: &windows_core::HSTRING, auditinfounk: P1, messagefromapp: &windows_core::HSTRING, behavior: u32) -> windows_core::Result @@ -212,7 +212,7 @@ impl IProtectionPolicyManagerInterop3 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessForAppWithBehaviorForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(sourceidentity), core::mem::transmute_copy(apppackagefamilyname), auditinfounk.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessToFilesForAppForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, apppackagefamilyname: &windows_core::HSTRING, auditinfounk: P2) -> windows_core::Result @@ -222,7 +222,7 @@ impl IProtectionPolicyManagerInterop3 { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessToFilesForAppForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), sourceitemlistunk.param().abi(), core::mem::transmute_copy(apppackagefamilyname), auditinfounk.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, apppackagefamilyname: &windows_core::HSTRING, auditinfounk: P2, messagefromapp: &windows_core::HSTRING, behavior: u32) -> windows_core::Result @@ -232,7 +232,7 @@ impl IProtectionPolicyManagerInterop3 { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), sourceitemlistunk.param().abi(), core::mem::transmute_copy(apppackagefamilyname), auditinfounk.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessToFilesForProcessForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, processid: u32, auditinfounk: P2) -> windows_core::Result @@ -242,7 +242,7 @@ impl IProtectionPolicyManagerInterop3 { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessToFilesForProcessForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), sourceitemlistunk.param().abi(), processid, auditinfounk.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync(&self, appwindow: P0, sourceitemlistunk: P1, processid: u32, auditinfounk: P2, messagefromapp: &windows_core::HSTRING, behavior: u32) -> windows_core::Result @@ -252,7 +252,7 @@ impl IProtectionPolicyManagerInterop3 { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), sourceitemlistunk.param().abi(), processid, auditinfounk.param().abi(), core::mem::transmute_copy(messagefromapp), behavior, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs index 59e352340d..6302a093b1 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -195,7 +195,7 @@ pub unsafe fn EapHostPeerUninitialize() { EapHostPeerUninitialize() } windows_core::imp::define_interface!(IAccountingProviderConfig, IAccountingProviderConfig_Vtbl, 0x66a2db18_d706_11d0_a37b_00c04fc9da04); -impl std::ops::Deref for IAccountingProviderConfig { +impl core::ops::Deref for IAccountingProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -236,7 +236,7 @@ pub struct IAccountingProviderConfig_Vtbl { pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAuthenticationProviderConfig, IAuthenticationProviderConfig_Vtbl, 0x66a2db17_d706_11d0_a37b_00c04fc9da04); -impl std::ops::Deref for IAuthenticationProviderConfig { +impl core::ops::Deref for IAuthenticationProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -277,7 +277,7 @@ pub struct IAuthenticationProviderConfig_Vtbl { pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEAPProviderConfig, IEAPProviderConfig_Vtbl, 0x66a2db19_d706_11d0_a37b_00c04fc9da04); -impl std::ops::Deref for IEAPProviderConfig { +impl core::ops::Deref for IEAPProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -324,7 +324,7 @@ pub struct IEAPProviderConfig_Vtbl { pub RouterInvokeCredentialsUI: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, super::super::Foundation::HWND, u32, *const u8, u32, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEAPProviderConfig2, IEAPProviderConfig2_Vtbl, 0xd565917a_85c4_4466_856e_671c3742ea9a); -impl std::ops::Deref for IEAPProviderConfig2 { +impl core::ops::Deref for IEAPProviderConfig2 { type Target = IEAPProviderConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -349,7 +349,7 @@ pub struct IEAPProviderConfig2_Vtbl { pub GetGlobalConfig: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEAPProviderConfig3, IEAPProviderConfig3_Vtbl, 0xb78ecd12_68bb_4f86_9bf0_8438dd3be982); -impl std::ops::Deref for IEAPProviderConfig3 { +impl core::ops::Deref for IEAPProviderConfig3 { type Target = IEAPProviderConfig2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -370,7 +370,7 @@ pub struct IEAPProviderConfig3_Vtbl { pub ServerInvokeCertificateConfigUI: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, super::super::Foundation::HWND, *const u8, u32, *mut *mut u8, *mut u32, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRouterProtocolConfig, IRouterProtocolConfig_Vtbl, 0x66a2db16_d706_11d0_a37b_00c04fc9da04); -impl std::ops::Deref for IRouterProtocolConfig { +impl core::ops::Deref for IRouterProtocolConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs index 7b747278b4..dfd764c56d 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs @@ -86,7 +86,7 @@ pub unsafe fn IsProcessInWDAGContainer(reserved: *const core::ffi::c_void) -> wi IsProcessInWDAGContainer(reserved, &mut result__).map(|| result__) } windows_core::imp::define_interface!(IIsolatedAppLauncher, IIsolatedAppLauncher_Vtbl, 0xf686878f_7b42_4cc4_96fb_f4f3b6e3d24d); -impl std::ops::Deref for IIsolatedAppLauncher { +impl core::ops::Deref for IIsolatedAppLauncher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -108,7 +108,7 @@ pub struct IIsolatedAppLauncher_Vtbl { pub Launch: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const IsolatedAppLauncherTelemetryParameters) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedProcessLauncher, IIsolatedProcessLauncher_Vtbl, 0x1aa24232_9a91_4201_88cb_122f9d6522e0); -impl std::ops::Deref for IIsolatedProcessLauncher { +impl core::ops::Deref for IIsolatedProcessLauncher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -154,7 +154,7 @@ pub struct IIsolatedProcessLauncher_Vtbl { pub IsContainerRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIsolatedProcessLauncher2, IIsolatedProcessLauncher2_Vtbl, 0x780e4416_5e72_4123_808e_66dc6479feef); -impl std::ops::Deref for IIsolatedProcessLauncher2 { +impl core::ops::Deref for IIsolatedProcessLauncher2 { type Target = IIsolatedProcessLauncher; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs index dd064e38c6..702da26c34 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager_Vtbl, 0x112b1dff_d9dc_41f7_869f_d67fee7cb591); -impl std::ops::Deref for ITpmVirtualSmartCardManager { +impl core::ops::Deref for ITpmVirtualSmartCardManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -31,7 +31,7 @@ pub struct ITpmVirtualSmartCardManager_Vtbl { pub DestroyVirtualSmartCard: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITpmVirtualSmartCardManager2, ITpmVirtualSmartCardManager2_Vtbl, 0xfdf8a2b9_02de_47f4_bc26_aa85ab5e5267); -impl std::ops::Deref for ITpmVirtualSmartCardManager2 { +impl core::ops::Deref for ITpmVirtualSmartCardManager2 { type Target = ITpmVirtualSmartCardManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -73,7 +73,7 @@ pub struct ITpmVirtualSmartCardManager2_Vtbl { pub CreateVirtualSmartCardWithPinPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u8, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, super::super::Foundation::BOOL, *mut core::ffi::c_void, *mut windows_core::PWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITpmVirtualSmartCardManager3, ITpmVirtualSmartCardManager3_Vtbl, 0x3c745a97_f375_4150_be17_5950f694c699); -impl std::ops::Deref for ITpmVirtualSmartCardManager3 { +impl core::ops::Deref for ITpmVirtualSmartCardManager3 { type Target = ITpmVirtualSmartCardManager2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -116,7 +116,7 @@ pub struct ITpmVirtualSmartCardManager3_Vtbl { pub CreateVirtualSmartCardWithAttestation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u8, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, TPMVSC_ATTESTATION_TYPE, super::super::Foundation::BOOL, *mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITpmVirtualSmartCardManagerStatusCallback, ITpmVirtualSmartCardManagerStatusCallback_Vtbl, 0x1a1bb35f_abb8_451c_a1ae_33d98f1bef4a); -impl std::ops::Deref for ITpmVirtualSmartCardManagerStatusCallback { +impl core::ops::Deref for ITpmVirtualSmartCardManagerStatusCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs index f80cba72d4..cb6a464dbf 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDedupBackupSupport, IDedupBackupSupport_Vtbl, 0xc719d963_2b2d_415e_acf7_7eb7ca596ff4); -impl std::ops::Deref for IDedupBackupSupport { +impl core::ops::Deref for IDedupBackupSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20,7 +20,7 @@ pub struct IDedupBackupSupport_Vtbl { pub RestoreFiles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *mut core::ffi::c_void, u32, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupChunkLibrary, IDedupChunkLibrary_Vtbl, 0xbb5144d7_2720_4dcc_8777_78597416ec23); -impl std::ops::Deref for IDedupChunkLibrary { +impl core::ops::Deref for IDedupChunkLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -54,7 +54,7 @@ pub struct IDedupChunkLibrary_Vtbl { pub StartChunking: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupDataPort, IDedupDataPort_Vtbl, 0x7963d734_40a9_4ea3_bbf6_5a89d26f7ae8); -impl std::ops::Deref for IDedupDataPort { +impl core::ops::Deref for IDedupDataPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct IDedupDataPort_Vtbl { pub GetRequestResults: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, *mut windows_core::HRESULT, *mut u32, *mut DedupDataPortRequestStatus, *mut *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupDataPortManager, IDedupDataPortManager_Vtbl, 0x44677452_b90a_445e_8192_cdcfe81511fb); -impl std::ops::Deref for IDedupDataPortManager { +impl core::ops::Deref for IDedupDataPortManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -172,7 +172,7 @@ pub struct IDedupDataPortManager_Vtbl { pub GetVolumeDataPort: unsafe extern "system" fn(*mut core::ffi::c_void, u32, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupIterateChunksHash32, IDedupIterateChunksHash32_Vtbl, 0x90b584d3_72aa_400f_9767_cad866a5a2d8); -impl std::ops::Deref for IDedupIterateChunksHash32 { +impl core::ops::Deref for IDedupIterateChunksHash32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -202,7 +202,7 @@ pub struct IDedupIterateChunksHash32_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDedupReadFileCallback, IDedupReadFileCallback_Vtbl, 0x7bacc67a_2f1d_42d0_897e_6ff62dd533bb); -impl std::ops::Deref for IDedupReadFileCallback { +impl core::ops::Deref for IDedupReadFileCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs index 640a587865..2e1249091d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IEnhancedStorageACT, IEnhancedStorageACT_Vtbl, 0x6e7781f4_e0f2_4239_b976_a01abab52930); -impl std::ops::Deref for IEnhancedStorageACT { +impl core::ops::Deref for IEnhancedStorageACT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -40,7 +40,7 @@ pub struct IEnhancedStorageACT_Vtbl { pub GetSilos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut Option, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnhancedStorageACT2, IEnhancedStorageACT2_Vtbl, 0x4da57d2e_8eb3_41f6_a07e_98b52b88242b); -impl std::ops::Deref for IEnhancedStorageACT2 { +impl core::ops::Deref for IEnhancedStorageACT2 { type Target = IEnhancedStorageACT; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -64,7 +64,7 @@ pub struct IEnhancedStorageACT2_Vtbl { pub IsDeviceRemovable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnhancedStorageACT3, IEnhancedStorageACT3_Vtbl, 0x022150a1_113d_11df_bb61_001aa01bbc58); -impl std::ops::Deref for IEnhancedStorageACT3 { +impl core::ops::Deref for IEnhancedStorageACT3 { type Target = IEnhancedStorageACT2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -92,7 +92,7 @@ pub struct IEnhancedStorageACT3_Vtbl { pub GetShellExtSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnhancedStorageSilo, IEnhancedStorageSilo_Vtbl, 0x5aef78c6_2242_4703_bf49_44b29357a359); -impl std::ops::Deref for IEnhancedStorageSilo { +impl core::ops::Deref for IEnhancedStorageSilo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -133,7 +133,7 @@ pub struct IEnhancedStorageSilo_Vtbl { pub GetDevicePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnhancedStorageSiloAction, IEnhancedStorageSiloAction_Vtbl, 0xb6f7f311_206f_4ff8_9c4b_27efee77a86f); -impl std::ops::Deref for IEnhancedStorageSiloAction { +impl core::ops::Deref for IEnhancedStorageSiloAction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -161,7 +161,7 @@ pub struct IEnhancedStorageSiloAction_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumEnhancedStorageACT, IEnumEnhancedStorageACT_Vtbl, 0x09b224bd_1335_4631_a7ff_cfd3a92646d7); -impl std::ops::Deref for IEnumEnhancedStorageACT { +impl core::ops::Deref for IEnumEnhancedStorageACT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs index fbf631cb1f..7b8d11c5b3 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -65,7 +65,7 @@ where FhServiceUnblockBackup(pipe.param().abi()).ok() } windows_core::imp::define_interface!(IFhConfigMgr, IFhConfigMgr_Vtbl, 0x6a5fea5b_bf8f_4ee5_b8c3_44d8a0d7331c); -impl std::ops::Deref for IFhConfigMgr { +impl core::ops::Deref for IFhConfigMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -160,7 +160,7 @@ pub struct IFhConfigMgr_Vtbl { pub QueryProtectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFhReassociation, IFhReassociation_Vtbl, 0x6544a28a_f68d_47ac_91ef_16b2b36aa3ee); -impl std::ops::Deref for IFhReassociation { +impl core::ops::Deref for IFhReassociation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -204,7 +204,7 @@ pub struct IFhReassociation_Vtbl { pub PerformReassociation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFhScopeIterator, IFhScopeIterator_Vtbl, 0x3197abce_532a_44c6_8615_f3666566a720); -impl std::ops::Deref for IFhScopeIterator { +impl core::ops::Deref for IFhScopeIterator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -227,7 +227,7 @@ pub struct IFhScopeIterator_Vtbl { pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFhTarget, IFhTarget_Vtbl, 0xd87965fd_2bad_4657_bd3b_9567eb300ced); -impl std::ops::Deref for IFhTarget { +impl core::ops::Deref for IFhTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs index 5092f5d6a8..e66fd60f43 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DIFsrmClassificationEvents, DIFsrmClassificationEvents_Vtbl, 0x26942db0_dabf_41d8_bbdd_b129a9f70424); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DIFsrmClassificationEvents { +impl core::ops::Deref for DIFsrmClassificationEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19,7 +19,7 @@ pub struct DIFsrmClassificationEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmAccessDeniedRemediationClient, IFsrmAccessDeniedRemediationClient_Vtbl, 0x40002314_590b_45a5_8e1b_8c05da527e52); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmAccessDeniedRemediationClient { +impl core::ops::Deref for IFsrmAccessDeniedRemediationClient { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -48,7 +48,7 @@ pub struct IFsrmAccessDeniedRemediationClient_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmAction, IFsrmAction_Vtbl, 0x6cd6408a_ae60_463b_9ef1_e117534d69dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmAction { +impl core::ops::Deref for IFsrmAction { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -90,7 +90,7 @@ pub struct IFsrmAction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmActionCommand, IFsrmActionCommand_Vtbl, 0x12937789_e247_4917_9c20_f3ee9c7ee783); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmActionCommand { +impl core::ops::Deref for IFsrmActionCommand { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -187,7 +187,7 @@ pub struct IFsrmActionCommand_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmActionEmail, IFsrmActionEmail_Vtbl, 0xd646567d_26ae_4caa_9f84_4e0aad207fca); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmActionEmail { +impl core::ops::Deref for IFsrmActionEmail { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -290,7 +290,7 @@ pub struct IFsrmActionEmail_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmActionEmail2, IFsrmActionEmail2_Vtbl, 0x8276702f_2532_4839_89bf_4872609a2ea4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmActionEmail2 { +impl core::ops::Deref for IFsrmActionEmail2 { type Target = IFsrmActionEmail; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -318,7 +318,7 @@ pub struct IFsrmActionEmail2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmActionEventLog, IFsrmActionEventLog_Vtbl, 0x4c8f96c3_5d94_4f37_a4f4_f56ab463546f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmActionEventLog { +impl core::ops::Deref for IFsrmActionEventLog { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -358,7 +358,7 @@ pub struct IFsrmActionEventLog_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmActionReport, IFsrmActionReport_Vtbl, 0x2dbe63c4_b340_48a0_a5b0_158e07fc567e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmActionReport { +impl core::ops::Deref for IFsrmActionReport { type Target = IFsrmAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -406,7 +406,7 @@ pub struct IFsrmActionReport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmAutoApplyQuota, IFsrmAutoApplyQuota_Vtbl, 0xf82e5729_6aba_4740_bfc7_c7f58f75fb7b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmAutoApplyQuota { +impl core::ops::Deref for IFsrmAutoApplyQuota { type Target = IFsrmQuotaObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -451,7 +451,7 @@ pub struct IFsrmAutoApplyQuota_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmClassificationManager, IFsrmClassificationManager_Vtbl, 0xd2dc89da_ee91_48a0_85d8_cc72a56f7d04); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmClassificationManager { +impl core::ops::Deref for IFsrmClassificationManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -683,7 +683,7 @@ pub struct IFsrmClassificationManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmClassificationManager2, IFsrmClassificationManager2_Vtbl, 0x0004c1c9_127e_4765_ba07_6a3147bca112); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmClassificationManager2 { +impl core::ops::Deref for IFsrmClassificationManager2 { type Target = IFsrmClassificationManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -710,7 +710,7 @@ pub struct IFsrmClassificationManager2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmClassificationRule, IFsrmClassificationRule_Vtbl, 0xafc052c2_5315_45ab_841b_c6db0e120148); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmClassificationRule { +impl core::ops::Deref for IFsrmClassificationRule { type Target = IFsrmRule; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -762,7 +762,7 @@ pub struct IFsrmClassificationRule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmClassifierModuleDefinition, IFsrmClassifierModuleDefinition_Vtbl, 0xbb36ea26_6318_4b8c_8592_f72dd602e7a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmClassifierModuleDefinition { +impl core::ops::Deref for IFsrmClassifierModuleDefinition { type Target = IFsrmPipelineModuleDefinition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -827,7 +827,7 @@ pub struct IFsrmClassifierModuleDefinition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmClassifierModuleImplementation, IFsrmClassifierModuleImplementation_Vtbl, 0x4c968fc6_6edb_4051_9c18_73b7291ae106); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmClassifierModuleImplementation { +impl core::ops::Deref for IFsrmClassifierModuleImplementation { type Target = IFsrmPipelineModuleImplementation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -893,7 +893,7 @@ pub struct IFsrmClassifierModuleImplementation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmCollection, IFsrmCollection_Vtbl, 0xf76fbf3b_8ddd_4b42_b05a_cb1c3ff1fee8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmCollection { +impl core::ops::Deref for IFsrmCollection { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -946,7 +946,7 @@ pub struct IFsrmCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmCommittableCollection, IFsrmCommittableCollection_Vtbl, 0x96deb3b5_8b91_4a2a_9d93_80a35d8aa847); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmCommittableCollection { +impl core::ops::Deref for IFsrmCommittableCollection { type Target = IFsrmMutableCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -974,7 +974,7 @@ pub struct IFsrmCommittableCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmDerivedObjectsResult, IFsrmDerivedObjectsResult_Vtbl, 0x39322a2d_38ee_4d0d_8095_421a80849a82); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmDerivedObjectsResult { +impl core::ops::Deref for IFsrmDerivedObjectsResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1011,7 +1011,7 @@ pub struct IFsrmDerivedObjectsResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmExportImport, IFsrmExportImport_Vtbl, 0xefcb0ab1_16c4_4a79_812c_725614c3306b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmExportImport { +impl core::ops::Deref for IFsrmExportImport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1093,7 +1093,7 @@ pub struct IFsrmExportImport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileCondition, IFsrmFileCondition_Vtbl, 0x70684ffc_691a_4a1a_b922_97752e138cc1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileCondition { +impl core::ops::Deref for IFsrmFileCondition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1121,7 +1121,7 @@ pub struct IFsrmFileCondition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileConditionProperty, IFsrmFileConditionProperty_Vtbl, 0x81926775_b981_4479_988f_da171d627360); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileConditionProperty { +impl core::ops::Deref for IFsrmFileConditionProperty { type Target = IFsrmFileCondition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1191,7 +1191,7 @@ pub struct IFsrmFileConditionProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileGroup, IFsrmFileGroup_Vtbl, 0x8dd04909_0e34_4d55_afaa_89e1f1a1bbb9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileGroup { +impl core::ops::Deref for IFsrmFileGroup { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1262,7 +1262,7 @@ pub struct IFsrmFileGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileGroupImported, IFsrmFileGroupImported_Vtbl, 0xad55f10b_5f11_4be7_94ef_d9ee2e470ded); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileGroupImported { +impl core::ops::Deref for IFsrmFileGroupImported { type Target = IFsrmFileGroup; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1293,7 +1293,7 @@ pub struct IFsrmFileGroupImported_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileGroupManager, IFsrmFileGroupManager_Vtbl, 0x426677d5_018c_485c_8a51_20b86d00bdc4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileGroupManager { +impl core::ops::Deref for IFsrmFileGroupManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1359,7 +1359,7 @@ pub struct IFsrmFileGroupManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileManagementJob, IFsrmFileManagementJob_Vtbl, 0x0770687e_9f36_4d6f_8778_599d188461c9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileManagementJob { +impl core::ops::Deref for IFsrmFileManagementJob { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1678,7 +1678,7 @@ pub struct IFsrmFileManagementJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileManagementJobManager, IFsrmFileManagementJobManager_Vtbl, 0xee321ecb_d95e_48e9_907c_c7685a013235); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileManagementJobManager { +impl core::ops::Deref for IFsrmFileManagementJobManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1745,7 +1745,7 @@ pub struct IFsrmFileManagementJobManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreen, IFsrmFileScreen_Vtbl, 0x5f6325d3_ce88_4733_84c1_2d6aefc5ea07); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileScreen { +impl core::ops::Deref for IFsrmFileScreen { type Target = IFsrmFileScreenBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1796,7 +1796,7 @@ pub struct IFsrmFileScreen_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreenBase, IFsrmFileScreenBase_Vtbl, 0xf3637e80_5b22_4a2b_a637_bbb642b41cfc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileScreenBase { +impl core::ops::Deref for IFsrmFileScreenBase { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1862,7 +1862,7 @@ pub struct IFsrmFileScreenBase_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreenException, IFsrmFileScreenException_Vtbl, 0xbee7ce02_df77_4515_9389_78f01c5afc1a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileScreenException { +impl core::ops::Deref for IFsrmFileScreenException { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1906,7 +1906,7 @@ pub struct IFsrmFileScreenException_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreenManager, IFsrmFileScreenManager_Vtbl, 0xff4fa04e_5a94_4bda_a3a0_d5b4d3c52eba); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileScreenManager { +impl core::ops::Deref for IFsrmFileScreenManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2024,7 +2024,7 @@ pub struct IFsrmFileScreenManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreenTemplate, IFsrmFileScreenTemplate_Vtbl, 0x205bebf8_dd93_452a_95a6_32b566b35828); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileScreenTemplate { +impl core::ops::Deref for IFsrmFileScreenTemplate { type Target = IFsrmFileScreenBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2071,7 +2071,7 @@ pub struct IFsrmFileScreenTemplate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreenTemplateImported, IFsrmFileScreenTemplateImported_Vtbl, 0xe1010359_3e5d_4ecd_9fe4_ef48622fdf30); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileScreenTemplateImported { +impl core::ops::Deref for IFsrmFileScreenTemplateImported { type Target = IFsrmFileScreenTemplate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2102,7 +2102,7 @@ pub struct IFsrmFileScreenTemplateImported_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmFileScreenTemplateManager, IFsrmFileScreenTemplateManager_Vtbl, 0xcfe36cba_1949_4e74_a14f_f1d580ceaf13); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmFileScreenTemplateManager { +impl core::ops::Deref for IFsrmFileScreenTemplateManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2168,7 +2168,7 @@ pub struct IFsrmFileScreenTemplateManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmMutableCollection, IFsrmMutableCollection_Vtbl, 0x1bb617b8_3886_49dc_af82_a6c90fa35dda); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmMutableCollection { +impl core::ops::Deref for IFsrmMutableCollection { type Target = IFsrmCollection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2211,7 +2211,7 @@ pub struct IFsrmMutableCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmObject, IFsrmObject_Vtbl, 0x22bcef93_4a3f_4183_89f9_2f8b8a628aee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmObject { +impl core::ops::Deref for IFsrmObject { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2255,7 +2255,7 @@ pub struct IFsrmObject_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPathMapper, IFsrmPathMapper_Vtbl, 0x6f4dbfff_6920_4821_a6c3_b7e94c1fd60c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPathMapper { +impl core::ops::Deref for IFsrmPathMapper { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2286,7 +2286,7 @@ pub struct IFsrmPathMapper_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPipelineModuleConnector, IFsrmPipelineModuleConnector_Vtbl, 0xc16014f3_9aa1_46b3_b0a7_ab146eb205f2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPipelineModuleConnector { +impl core::ops::Deref for IFsrmPipelineModuleConnector { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2341,7 +2341,7 @@ pub struct IFsrmPipelineModuleConnector_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPipelineModuleDefinition, IFsrmPipelineModuleDefinition_Vtbl, 0x515c1277_2c81_440e_8fcf_367921ed4f59); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPipelineModuleDefinition { +impl core::ops::Deref for IFsrmPipelineModuleDefinition { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2480,7 +2480,7 @@ pub struct IFsrmPipelineModuleDefinition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPipelineModuleImplementation, IFsrmPipelineModuleImplementation_Vtbl, 0xb7907906_2b02_4cb5_84a9_fdf54613d6cd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPipelineModuleImplementation { +impl core::ops::Deref for IFsrmPipelineModuleImplementation { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2515,7 +2515,7 @@ pub struct IFsrmPipelineModuleImplementation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmProperty, IFsrmProperty_Vtbl, 0x4a73fee4_4102_4fcc_9ffb_38614f9ee768); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmProperty { +impl core::ops::Deref for IFsrmProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2558,7 +2558,7 @@ pub struct IFsrmProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPropertyBag, IFsrmPropertyBag_Vtbl, 0x774589d1_d300_4f7a_9a24_f7b766800250); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPropertyBag { +impl core::ops::Deref for IFsrmPropertyBag { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2702,7 +2702,7 @@ pub struct IFsrmPropertyBag_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPropertyBag2, IFsrmPropertyBag2_Vtbl, 0x0e46bdbd_2402_4fed_9c30_9266e6eb2cc9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPropertyBag2 { +impl core::ops::Deref for IFsrmPropertyBag2 { type Target = IFsrmPropertyBag; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2735,7 +2735,7 @@ pub struct IFsrmPropertyBag2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPropertyCondition, IFsrmPropertyCondition_Vtbl, 0x326af66f_2ac0_4f68_bf8c_4759f054fa29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPropertyCondition { +impl core::ops::Deref for IFsrmPropertyCondition { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2791,7 +2791,7 @@ pub struct IFsrmPropertyCondition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPropertyDefinition, IFsrmPropertyDefinition_Vtbl, 0xede0150f_e9a3_419c_877c_01fe5d24c5d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPropertyDefinition { +impl core::ops::Deref for IFsrmPropertyDefinition { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2882,7 +2882,7 @@ pub struct IFsrmPropertyDefinition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPropertyDefinition2, IFsrmPropertyDefinition2_Vtbl, 0x47782152_d16c_4229_b4e1_0ddfe308b9f6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPropertyDefinition2 { +impl core::ops::Deref for IFsrmPropertyDefinition2 { type Target = IFsrmPropertyDefinition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2932,7 +2932,7 @@ pub struct IFsrmPropertyDefinition2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmPropertyDefinitionValue, IFsrmPropertyDefinitionValue_Vtbl, 0xe946d148_bd67_4178_8e22_1c44925ed710); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmPropertyDefinitionValue { +impl core::ops::Deref for IFsrmPropertyDefinitionValue { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2971,7 +2971,7 @@ pub struct IFsrmPropertyDefinitionValue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuota, IFsrmQuota_Vtbl, 0x377f739d_9647_4b8e_97d2_5ffce6d759cd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuota { +impl core::ops::Deref for IFsrmQuota { type Target = IFsrmQuotaObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3013,7 +3013,7 @@ pub struct IFsrmQuota_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaBase, IFsrmQuotaBase_Vtbl, 0x1568a795_3924_4118_b74b_68d8f0fa5daf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuotaBase { +impl core::ops::Deref for IFsrmQuotaBase { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3092,7 +3092,7 @@ pub struct IFsrmQuotaBase_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaManager, IFsrmQuotaManager_Vtbl, 0x8bb68c7d_19d8_4ffb_809e_be4fc1734014); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuotaManager { +impl core::ops::Deref for IFsrmQuotaManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3242,7 +3242,7 @@ pub struct IFsrmQuotaManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaManagerEx, IFsrmQuotaManagerEx_Vtbl, 0x4846cb01_d430_494f_abb4_b1054999fb09); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuotaManagerEx { +impl core::ops::Deref for IFsrmQuotaManagerEx { type Target = IFsrmQuotaManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3269,7 +3269,7 @@ pub struct IFsrmQuotaManagerEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaObject, IFsrmQuotaObject_Vtbl, 0x42dc3511_61d5_48ae_b6dc_59fc00c0a8d6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuotaObject { +impl core::ops::Deref for IFsrmQuotaObject { type Target = IFsrmQuotaBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3320,7 +3320,7 @@ pub struct IFsrmQuotaObject_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaTemplate, IFsrmQuotaTemplate_Vtbl, 0xa2efab31_295e_46bb_b976_e86d58b52e8b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuotaTemplate { +impl core::ops::Deref for IFsrmQuotaTemplate { type Target = IFsrmQuotaBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3367,7 +3367,7 @@ pub struct IFsrmQuotaTemplate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaTemplateImported, IFsrmQuotaTemplateImported_Vtbl, 0x9a2bf113_a329_44cc_809a_5c00fce8da40); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuotaTemplateImported { +impl core::ops::Deref for IFsrmQuotaTemplateImported { type Target = IFsrmQuotaTemplate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3398,7 +3398,7 @@ pub struct IFsrmQuotaTemplateImported_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmQuotaTemplateManager, IFsrmQuotaTemplateManager_Vtbl, 0x4173ac41_172d_4d52_963c_fdc7e415f717); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmQuotaTemplateManager { +impl core::ops::Deref for IFsrmQuotaTemplateManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3464,7 +3464,7 @@ pub struct IFsrmQuotaTemplateManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmReport, IFsrmReport_Vtbl, 0xd8cc81d9_46b8_4fa4_bfa5_4aa9dec9b638); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmReport { +impl core::ops::Deref for IFsrmReport { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3533,7 +3533,7 @@ pub struct IFsrmReport_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmReportJob, IFsrmReportJob_Vtbl, 0x38e87280_715c_4c7d_a280_ea1651a19fef); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmReportJob { +impl core::ops::Deref for IFsrmReportJob { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3661,7 +3661,7 @@ pub struct IFsrmReportJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmReportManager, IFsrmReportManager_Vtbl, 0x27b899fe_6ffa_4481_a184_d3daade8a02b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmReportManager { +impl core::ops::Deref for IFsrmReportManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3751,7 +3751,7 @@ pub struct IFsrmReportManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmReportScheduler, IFsrmReportScheduler_Vtbl, 0x6879caf9_6617_4484_8719_71c3d8645f94); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmReportScheduler { +impl core::ops::Deref for IFsrmReportScheduler { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3797,7 +3797,7 @@ pub struct IFsrmReportScheduler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmRule, IFsrmRule_Vtbl, 0xcb0df960_16f5_4495_9079_3f9360d831df); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmRule { +impl core::ops::Deref for IFsrmRule { type Target = IFsrmObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3893,7 +3893,7 @@ pub struct IFsrmRule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmSetting, IFsrmSetting_Vtbl, 0xf411d4fd_14be_4260_8c40_03b7c95e608a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmSetting { +impl core::ops::Deref for IFsrmSetting { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3988,7 +3988,7 @@ pub struct IFsrmSetting_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmStorageModuleDefinition, IFsrmStorageModuleDefinition_Vtbl, 0x15a81350_497d_4aba_80e9_d4dbcc5521fe); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmStorageModuleDefinition { +impl core::ops::Deref for IFsrmStorageModuleDefinition { type Target = IFsrmPipelineModuleDefinition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4037,7 +4037,7 @@ pub struct IFsrmStorageModuleDefinition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsrmStorageModuleImplementation, IFsrmStorageModuleImplementation_Vtbl, 0x0af4a0da_895a_4e50_8712_a96724bcec64); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsrmStorageModuleImplementation { +impl core::ops::Deref for IFsrmStorageModuleImplementation { type Target = IFsrmPipelineModuleImplementation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs index 0261d1a8c4..0992803921 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -3336,7 +3336,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiskQuotaControl, IDiskQuotaControl_Vtbl, 0x7988b572_ec89_11cf_9c00_00aa00a14f56); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiskQuotaControl { +impl core::ops::Deref for IDiskQuotaControl { type Target = super::super::System::Com::IConnectionPointContainer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3470,7 +3470,7 @@ pub struct IDiskQuotaControl_Vtbl { pub ShutdownNameResolution: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiskQuotaEvents, IDiskQuotaEvents_Vtbl, 0x7988b579_ec89_11cf_9c00_00aa00a14f56); -impl std::ops::Deref for IDiskQuotaEvents { +impl core::ops::Deref for IDiskQuotaEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3491,7 +3491,7 @@ pub struct IDiskQuotaEvents_Vtbl { pub OnUserNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiskQuotaUser, IDiskQuotaUser_Vtbl, 0x7988b574_ec89_11cf_9c00_00aa00a14f56); -impl std::ops::Deref for IDiskQuotaUser { +impl core::ops::Deref for IDiskQuotaUser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3585,7 +3585,7 @@ pub struct IDiskQuotaUser_Vtbl { pub GetAccountStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiskQuotaUserBatch, IDiskQuotaUserBatch_Vtbl, 0x7988b576_ec89_11cf_9c00_00aa00a14f56); -impl std::ops::Deref for IDiskQuotaUserBatch { +impl core::ops::Deref for IDiskQuotaUserBatch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3621,7 +3621,7 @@ pub struct IDiskQuotaUserBatch_Vtbl { pub FlushToDisk: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDiskQuotaUsers, IEnumDiskQuotaUsers_Vtbl, 0x7988b577_ec89_11cf_9c00_00aa00a14f56); -impl std::ops::Deref for IEnumDiskQuotaUsers { +impl core::ops::Deref for IEnumDiskQuotaUsers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs index e6ce9549e7..a9741fb5dc 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -46,7 +46,7 @@ pub unsafe fn SetAttribIMsgOnIStg(lpobject: *mut core::ffi::c_void, lpproptags: #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DDiscFormat2DataEvents, DDiscFormat2DataEvents_Vtbl, 0x2735413c_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DDiscFormat2DataEvents { +impl core::ops::Deref for DDiscFormat2DataEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -77,7 +77,7 @@ pub struct DDiscFormat2DataEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DDiscFormat2EraseEvents, DDiscFormat2EraseEvents_Vtbl, 0x2735413a_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DDiscFormat2EraseEvents { +impl core::ops::Deref for DDiscFormat2EraseEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -107,7 +107,7 @@ pub struct DDiscFormat2EraseEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DDiscFormat2RawCDEvents, DDiscFormat2RawCDEvents_Vtbl, 0x27354142_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DDiscFormat2RawCDEvents { +impl core::ops::Deref for DDiscFormat2RawCDEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct DDiscFormat2RawCDEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DDiscFormat2TrackAtOnceEvents, DDiscFormat2TrackAtOnceEvents_Vtbl, 0x2735413f_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DDiscFormat2TrackAtOnceEvents { +impl core::ops::Deref for DDiscFormat2TrackAtOnceEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct DDiscFormat2TrackAtOnceEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DDiscMaster2Events, DDiscMaster2Events_Vtbl, 0x27354131_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DDiscMaster2Events { +impl core::ops::Deref for DDiscMaster2Events { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -212,7 +212,7 @@ pub struct DDiscMaster2Events_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DFileSystemImageEvents, DFileSystemImageEvents_Vtbl, 0x2c941fdf_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DFileSystemImageEvents { +impl core::ops::Deref for DFileSystemImageEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -243,7 +243,7 @@ pub struct DFileSystemImageEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DFileSystemImageImportEvents, DFileSystemImageImportEvents_Vtbl, 0xd25c30f9_4087_4366_9e24_e55be286424b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DFileSystemImageImportEvents { +impl core::ops::Deref for DFileSystemImageImportEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -274,7 +274,7 @@ pub struct DFileSystemImageImportEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DWriteEngine2Events, DWriteEngine2Events_Vtbl, 0x27354137_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DWriteEngine2Events { +impl core::ops::Deref for DWriteEngine2Events { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -305,7 +305,7 @@ pub struct DWriteEngine2Events_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBlockRange, IBlockRange_Vtbl, 0xb507ca25_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBlockRange { +impl core::ops::Deref for IBlockRange { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -334,7 +334,7 @@ pub struct IBlockRange_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBlockRangeList, IBlockRangeList_Vtbl, 0xb507ca26_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBlockRangeList { +impl core::ops::Deref for IBlockRangeList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -362,7 +362,7 @@ pub struct IBlockRangeList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBootOptions, IBootOptions_Vtbl, 0x2c941fd4_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBootOptions { +impl core::ops::Deref for IBootOptions { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -434,7 +434,7 @@ pub struct IBootOptions_Vtbl { AssignBootImage: usize, } windows_core::imp::define_interface!(IBurnVerification, IBurnVerification_Vtbl, 0xd2ffd834_958b_426d_8470_2a13879c6a91); -impl std::ops::Deref for IBurnVerification { +impl core::ops::Deref for IBurnVerification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -459,7 +459,7 @@ pub struct IBurnVerification_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2, IDiscFormat2_Vtbl, 0x27354152_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2 { +impl core::ops::Deref for IDiscFormat2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -521,7 +521,7 @@ pub struct IDiscFormat2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2Data, IDiscFormat2Data_Vtbl, 0x27354153_9f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2Data { +impl core::ops::Deref for IDiscFormat2Data { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -741,7 +741,7 @@ pub struct IDiscFormat2Data_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2DataEventArgs, IDiscFormat2DataEventArgs_Vtbl, 0x2735413d_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2DataEventArgs { +impl core::ops::Deref for IDiscFormat2DataEventArgs { type Target = IWriteEngine2EventArgs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -780,7 +780,7 @@ pub struct IDiscFormat2DataEventArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2Erase, IDiscFormat2Erase_Vtbl, 0x27354156_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2Erase { +impl core::ops::Deref for IDiscFormat2Erase { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -852,7 +852,7 @@ pub struct IDiscFormat2Erase_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2RawCD, IDiscFormat2RawCD_Vtbl, 0x27354155_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2RawCD { +impl core::ops::Deref for IDiscFormat2RawCD { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1027,7 +1027,7 @@ pub struct IDiscFormat2RawCD_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2RawCDEventArgs, IDiscFormat2RawCDEventArgs_Vtbl, 0x27354143_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2RawCDEventArgs { +impl core::ops::Deref for IDiscFormat2RawCDEventArgs { type Target = IWriteEngine2EventArgs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1061,7 +1061,7 @@ pub struct IDiscFormat2RawCDEventArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2TrackAtOnce, IDiscFormat2TrackAtOnce_Vtbl, 0x27354154_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2TrackAtOnce { +impl core::ops::Deref for IDiscFormat2TrackAtOnce { type Target = IDiscFormat2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1238,7 +1238,7 @@ pub struct IDiscFormat2TrackAtOnce_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscFormat2TrackAtOnceEventArgs, IDiscFormat2TrackAtOnceEventArgs_Vtbl, 0x27354140_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscFormat2TrackAtOnceEventArgs { +impl core::ops::Deref for IDiscFormat2TrackAtOnceEventArgs { type Target = IWriteEngine2EventArgs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1275,7 +1275,7 @@ pub struct IDiscFormat2TrackAtOnceEventArgs_Vtbl { pub RemainingTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiscMaster, IDiscMaster_Vtbl, 0x520cca62_51a5_11d3_9144_00104ba11c5e); -impl std::ops::Deref for IDiscMaster { +impl core::ops::Deref for IDiscMaster { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1350,7 +1350,7 @@ pub struct IDiscMaster_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscMaster2, IDiscMaster2_Vtbl, 0x27354130_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscMaster2 { +impl core::ops::Deref for IDiscMaster2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1391,7 +1391,7 @@ pub struct IDiscMaster2_Vtbl { pub IsSupportedEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiscMasterProgressEvents, IDiscMasterProgressEvents_Vtbl, 0xec9e51c1_4e5d_11d3_9144_00104ba11c5e); -impl std::ops::Deref for IDiscMasterProgressEvents { +impl core::ops::Deref for IDiscMasterProgressEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1442,7 +1442,7 @@ pub struct IDiscMasterProgressEvents_Vtbl { pub NotifyEraseComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiscRecorder, IDiscRecorder_Vtbl, 0x85ac9776_ca88_4cf2_894e_09598c078a41); -impl std::ops::Deref for IDiscRecorder { +impl core::ops::Deref for IDiscRecorder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1534,7 +1534,7 @@ pub struct IDiscRecorder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDiscRecorder2, IDiscRecorder2_Vtbl, 0x27354133_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDiscRecorder2 { +impl core::ops::Deref for IDiscRecorder2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1680,7 +1680,7 @@ pub struct IDiscRecorder2_Vtbl { pub ExclusiveAccessOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDiscRecorder2Ex, IDiscRecorder2Ex_Vtbl, 0x27354132_7f64_5b0f_8f00_5d77afbe261e); -impl std::ops::Deref for IDiscRecorder2Ex { +impl core::ops::Deref for IDiscRecorder2Ex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1778,7 +1778,7 @@ pub struct IDiscRecorder2Ex_Vtbl { pub GetMaximumPageAlignedTransferSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDiscMasterFormats, IEnumDiscMasterFormats_Vtbl, 0xddf445e1_54ba_11d3_9144_00104ba11c5e); -impl std::ops::Deref for IEnumDiscMasterFormats { +impl core::ops::Deref for IEnumDiscMasterFormats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1809,7 +1809,7 @@ pub struct IEnumDiscMasterFormats_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDiscRecorders, IEnumDiscRecorders_Vtbl, 0x9b1921e1_54ac_11d3_9144_00104ba11c5e); -impl std::ops::Deref for IEnumDiscRecorders { +impl core::ops::Deref for IEnumDiscRecorders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1840,7 +1840,7 @@ pub struct IEnumDiscRecorders_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumFsiItems, IEnumFsiItems_Vtbl, 0x2c941fda_975b_59be_a960_9a2a262853a5); -impl std::ops::Deref for IEnumFsiItems { +impl core::ops::Deref for IEnumFsiItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1875,7 +1875,7 @@ pub struct IEnumFsiItems_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumProgressItems, IEnumProgressItems_Vtbl, 0x2c941fd6_975b_59be_a960_9a2a262853a5); -impl std::ops::Deref for IEnumProgressItems { +impl core::ops::Deref for IEnumProgressItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1912,7 +1912,7 @@ pub struct IEnumProgressItems_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFileSystemImage, IFileSystemImage_Vtbl, 0x2c941fe1_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFileSystemImage { +impl core::ops::Deref for IFileSystemImage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2251,7 +2251,7 @@ pub struct IFileSystemImage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFileSystemImage2, IFileSystemImage2_Vtbl, 0xd7644b2c_1537_4767_b62f_f1387b02ddfd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFileSystemImage2 { +impl core::ops::Deref for IFileSystemImage2 { type Target = IFileSystemImage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2287,7 +2287,7 @@ pub struct IFileSystemImage2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFileSystemImage3, IFileSystemImage3_Vtbl, 0x7cff842c_7e97_4807_8304_910dd8f7c051); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFileSystemImage3 { +impl core::ops::Deref for IFileSystemImage3 { type Target = IFileSystemImage2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2323,7 +2323,7 @@ pub struct IFileSystemImage3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFileSystemImageResult, IFileSystemImageResult_Vtbl, 0x2c941fd8_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFileSystemImageResult { +impl core::ops::Deref for IFileSystemImageResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2375,7 +2375,7 @@ pub struct IFileSystemImageResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFileSystemImageResult2, IFileSystemImageResult2_Vtbl, 0xb507ca29_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFileSystemImageResult2 { +impl core::ops::Deref for IFileSystemImageResult2 { type Target = IFileSystemImageResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2403,7 +2403,7 @@ pub struct IFileSystemImageResult2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiDirectoryItem, IFsiDirectoryItem_Vtbl, 0x2c941fdc_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsiDirectoryItem { +impl core::ops::Deref for IFsiDirectoryItem { type Target = IFsiItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2505,7 +2505,7 @@ pub struct IFsiDirectoryItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiDirectoryItem2, IFsiDirectoryItem2_Vtbl, 0xf7fb4b9b_6d96_4d7b_9115_201b144811ef); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsiDirectoryItem2 { +impl core::ops::Deref for IFsiDirectoryItem2 { type Target = IFsiDirectoryItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2532,7 +2532,7 @@ pub struct IFsiDirectoryItem2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiFileItem, IFsiFileItem_Vtbl, 0x2c941fdb_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsiFileItem { +impl core::ops::Deref for IFsiFileItem { type Target = IFsiItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2586,7 +2586,7 @@ pub struct IFsiFileItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiFileItem2, IFsiFileItem2_Vtbl, 0x199d0c19_11e1_40eb_8ec2_c8c822a07792); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsiFileItem2 { +impl core::ops::Deref for IFsiFileItem2 { type Target = IFsiFileItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2650,7 +2650,7 @@ pub struct IFsiFileItem2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiItem, IFsiItem_Vtbl, 0x2c941fd9_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsiItem { +impl core::ops::Deref for IFsiItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2728,7 +2728,7 @@ pub struct IFsiItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFsiNamedStreams, IFsiNamedStreams_Vtbl, 0xed79ba56_5294_4250_8d46_f9aecee23459); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFsiNamedStreams { +impl core::ops::Deref for IFsiNamedStreams { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2775,7 +2775,7 @@ pub struct IFsiNamedStreams_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IIsoImageManager, IIsoImageManager_Vtbl, 0x6ca38be5_fbbb_4800_95a1_a438865eb0d4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IIsoImageManager { +impl core::ops::Deref for IIsoImageManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2828,7 +2828,7 @@ pub struct IIsoImageManager_Vtbl { pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJolietDiscMaster, IJolietDiscMaster_Vtbl, 0xe3bc42ce_4e5c_11d3_9144_00104ba11c5e); -impl std::ops::Deref for IJolietDiscMaster { +impl core::ops::Deref for IJolietDiscMaster { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2890,7 +2890,7 @@ pub struct IJolietDiscMaster_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMultisession, IMultisession_Vtbl, 0x27354150_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMultisession { +impl core::ops::Deref for IMultisession { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2935,7 +2935,7 @@ pub struct IMultisession_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMultisessionRandomWrite, IMultisessionRandomWrite_Vtbl, 0xb507ca23_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMultisessionRandomWrite { +impl core::ops::Deref for IMultisessionRandomWrite { type Target = IMultisession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2969,7 +2969,7 @@ pub struct IMultisessionRandomWrite_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMultisessionSequential, IMultisessionSequential_Vtbl, 0x27354151_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMultisessionSequential { +impl core::ops::Deref for IMultisessionSequential { type Target = IMultisession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3013,7 +3013,7 @@ pub struct IMultisessionSequential_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMultisessionSequential2, IMultisessionSequential2_Vtbl, 0xb507ca22_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMultisessionSequential2 { +impl core::ops::Deref for IMultisessionSequential2 { type Target = IMultisessionSequential; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3037,7 +3037,7 @@ pub struct IMultisessionSequential2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IProgressItem, IProgressItem_Vtbl, 0x2c941fd5_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IProgressItem { +impl core::ops::Deref for IProgressItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3076,7 +3076,7 @@ pub struct IProgressItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IProgressItems, IProgressItems_Vtbl, 0x2c941fd7_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IProgressItems { +impl core::ops::Deref for IProgressItems { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3144,7 +3144,7 @@ pub struct IProgressItems_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRawCDImageCreator, IRawCDImageCreator_Vtbl, 0x25983550_9d65_49ce_b335_40630d901227); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRawCDImageCreator { +impl core::ops::Deref for IRawCDImageCreator { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3290,7 +3290,7 @@ pub struct IRawCDImageCreator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRawCDImageTrackInfo, IRawCDImageTrackInfo_Vtbl, 0x25983551_9d65_49ce_b335_40630d901227); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRawCDImageTrackInfo { +impl core::ops::Deref for IRawCDImageTrackInfo { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3377,7 +3377,7 @@ pub struct IRawCDImageTrackInfo_Vtbl { pub ClearTrackIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRedbookDiscMaster, IRedbookDiscMaster_Vtbl, 0xe3bc42cd_4e5c_11d3_9144_00104ba11c5e); -impl std::ops::Deref for IRedbookDiscMaster { +impl core::ops::Deref for IRedbookDiscMaster { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3430,7 +3430,7 @@ pub struct IRedbookDiscMaster_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IStreamConcatenate, IStreamConcatenate_Vtbl, 0x27354146_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IStreamConcatenate { +impl core::ops::Deref for IStreamConcatenate { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3488,7 +3488,7 @@ pub struct IStreamConcatenate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IStreamInterleave, IStreamInterleave_Vtbl, 0x27354147_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IStreamInterleave { +impl core::ops::Deref for IStreamInterleave { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3515,7 +3515,7 @@ pub struct IStreamInterleave_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IStreamPseudoRandomBased, IStreamPseudoRandomBased_Vtbl, 0x27354145_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IStreamPseudoRandomBased { +impl core::ops::Deref for IStreamPseudoRandomBased { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3551,7 +3551,7 @@ pub struct IStreamPseudoRandomBased_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWriteEngine2, IWriteEngine2_Vtbl, 0x27354135_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWriteEngine2 { +impl core::ops::Deref for IWriteEngine2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3641,7 +3641,7 @@ pub struct IWriteEngine2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWriteEngine2EventArgs, IWriteEngine2EventArgs_Vtbl, 0x27354136_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWriteEngine2EventArgs { +impl core::ops::Deref for IWriteEngine2EventArgs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3695,7 +3695,7 @@ pub struct IWriteEngine2EventArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWriteSpeedDescriptor, IWriteSpeedDescriptor_Vtbl, 0x27354144_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWriteSpeedDescriptor { +impl core::ops::Deref for IWriteSpeedDescriptor { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs index ce0b13f863..526ded7087 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -36,7 +36,7 @@ where LoadIFilterEx(pwcspath.param().abi(), dwflags, riid, ppiunk).ok() } windows_core::imp::define_interface!(IFilter, IFilter_Vtbl, 0x89bcb740_6119_101a_bcb7_00dd010655af); -impl std::ops::Deref for IFilter { +impl core::ops::Deref for IFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -78,7 +78,7 @@ pub struct IFilter_Vtbl { pub BindRegion: unsafe extern "system" fn(*mut core::ffi::c_void, FILTERREGION, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> i32, } windows_core::imp::define_interface!(IPhraseSink, IPhraseSink_Vtbl, 0xcc906ff0_c058_101a_b554_08002b33b0e6); -impl std::ops::Deref for IPhraseSink { +impl core::ops::Deref for IPhraseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs index b4bc42a119..a37f1f004f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -22,7 +22,7 @@ pub unsafe fn OfflineFilesStart() -> u32 { OfflineFilesStart() } windows_core::imp::define_interface!(IEnumOfflineFilesItems, IEnumOfflineFilesItems_Vtbl, 0xda70e815_c361_4407_bc0b_0d7046e5f2cd); -impl std::ops::Deref for IEnumOfflineFilesItems { +impl core::ops::Deref for IEnumOfflineFilesItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -53,7 +53,7 @@ pub struct IEnumOfflineFilesItems_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumOfflineFilesSettings, IEnumOfflineFilesSettings_Vtbl, 0x729680c4_1a38_47bc_9e5c_02c51562ac30); -impl std::ops::Deref for IEnumOfflineFilesSettings { +impl core::ops::Deref for IEnumOfflineFilesSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -84,7 +84,7 @@ pub struct IEnumOfflineFilesSettings_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesCache, IOfflineFilesCache_Vtbl, 0x855d6203_7914_48b9_8d40_4c56f5acffc5); -impl std::ops::Deref for IOfflineFilesCache { +impl core::ops::Deref for IOfflineFilesCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -229,7 +229,7 @@ pub struct IOfflineFilesCache_Vtbl { pub IsPathCacheable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL, *mut OFFLINEFILES_CACHING_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesCache2, IOfflineFilesCache2_Vtbl, 0x8c075039_1551_4ed9_8781_56705c04d3c0); -impl std::ops::Deref for IOfflineFilesCache2 { +impl core::ops::Deref for IOfflineFilesCache2 { type Target = IOfflineFilesCache; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -252,7 +252,7 @@ pub struct IOfflineFilesCache2_Vtbl { pub RenameItemEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesChangeInfo, IOfflineFilesChangeInfo_Vtbl, 0xa96e6fa4_e0d1_4c29_960b_ee508fe68c72); -impl std::ops::Deref for IOfflineFilesChangeInfo { +impl core::ops::Deref for IOfflineFilesChangeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -295,7 +295,7 @@ pub struct IOfflineFilesChangeInfo_Vtbl { pub IsLocallyModifiedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesConnectionInfo, IOfflineFilesConnectionInfo_Vtbl, 0xefb23a09_a867_4be8_83a6_86969a7d0856); -impl std::ops::Deref for IOfflineFilesConnectionInfo { +impl core::ops::Deref for IOfflineFilesConnectionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -336,7 +336,7 @@ pub struct IOfflineFilesConnectionInfo_Vtbl { pub TransitionOffline: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesDirectoryItem, IOfflineFilesDirectoryItem_Vtbl, 0x2273597a_a08c_4a00_a37a_c1ae4e9a1cfd); -impl std::ops::Deref for IOfflineFilesDirectoryItem { +impl core::ops::Deref for IOfflineFilesDirectoryItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -349,7 +349,7 @@ pub struct IOfflineFilesDirectoryItem_Vtbl { pub base__: IOfflineFilesItem_Vtbl, } windows_core::imp::define_interface!(IOfflineFilesDirtyInfo, IOfflineFilesDirtyInfo_Vtbl, 0x0f50ce33_bac9_4eaa_a11d_da0e527d047d); -impl std::ops::Deref for IOfflineFilesDirtyInfo { +impl core::ops::Deref for IOfflineFilesDirtyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -373,7 +373,7 @@ pub struct IOfflineFilesDirtyInfo_Vtbl { pub RemoteDirtyByteCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesErrorInfo, IOfflineFilesErrorInfo_Vtbl, 0x7112fa5f_7571_435a_8eb7_195c7c1429bc); -impl std::ops::Deref for IOfflineFilesErrorInfo { +impl core::ops::Deref for IOfflineFilesErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -401,7 +401,7 @@ pub struct IOfflineFilesErrorInfo_Vtbl { pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesEvents, IOfflineFilesEvents_Vtbl, 0xe25585c1_0caa_4eb1_873b_1cae5b77c314); -impl std::ops::Deref for IOfflineFilesEvents { +impl core::ops::Deref for IOfflineFilesEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -573,7 +573,7 @@ pub struct IOfflineFilesEvents_Vtbl { pub Ping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesEvents2, IOfflineFilesEvents2_Vtbl, 0x1ead8f56_ff76_4faa_a795_6f6ef792498b); -impl std::ops::Deref for IOfflineFilesEvents2 { +impl core::ops::Deref for IOfflineFilesEvents2 { type Target = IOfflineFilesEvents; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -623,7 +623,7 @@ pub struct IOfflineFilesEvents2_Vtbl { pub SettingsChangesApplied: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesEvents3, IOfflineFilesEvents3_Vtbl, 0x9ba04a45_ee69_42f0_9ab1_7db5c8805808); -impl std::ops::Deref for IOfflineFilesEvents3 { +impl core::ops::Deref for IOfflineFilesEvents3 { type Target = IOfflineFilesEvents2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -661,7 +661,7 @@ pub struct IOfflineFilesEvents3_Vtbl { pub PrefetchFileEnd: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesEvents4, IOfflineFilesEvents4_Vtbl, 0xdbd69b1e_c7d2_473e_b35f_9d8c24c0c484); -impl std::ops::Deref for IOfflineFilesEvents4 { +impl core::ops::Deref for IOfflineFilesEvents4 { type Target = IOfflineFilesEvents3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -683,7 +683,7 @@ pub struct IOfflineFilesEvents4_Vtbl { pub PrefetchCloseHandleEnd: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesEventsFilter, IOfflineFilesEventsFilter_Vtbl, 0x33fc4e1b_0716_40fa_ba65_6e62a84a846f); -impl std::ops::Deref for IOfflineFilesEventsFilter { +impl core::ops::Deref for IOfflineFilesEventsFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -709,7 +709,7 @@ pub struct IOfflineFilesEventsFilter_Vtbl { pub GetExcludedEvents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut OFFLINEFILES_EVENTS, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesFileItem, IOfflineFilesFileItem_Vtbl, 0x8dfadead_26c2_4eff_8a72_6b50723d9a00); -impl std::ops::Deref for IOfflineFilesFileItem { +impl core::ops::Deref for IOfflineFilesFileItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -733,7 +733,7 @@ pub struct IOfflineFilesFileItem_Vtbl { pub IsEncrypted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesFileSysInfo, IOfflineFilesFileSysInfo_Vtbl, 0xbc1a163f_7bfd_4d88_9c66_96ea9a6a3d6b); -impl std::ops::Deref for IOfflineFilesFileSysInfo { +impl core::ops::Deref for IOfflineFilesFileSysInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -761,7 +761,7 @@ pub struct IOfflineFilesFileSysInfo_Vtbl { pub GetFileSize: unsafe extern "system" fn(*mut core::ffi::c_void, OFFLINEFILES_ITEM_COPY, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesGhostInfo, IOfflineFilesGhostInfo_Vtbl, 0x2b09d48c_8ab5_464f_a755_a59d92f99429); -impl std::ops::Deref for IOfflineFilesGhostInfo { +impl core::ops::Deref for IOfflineFilesGhostInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -780,7 +780,7 @@ pub struct IOfflineFilesGhostInfo_Vtbl { pub IsGhosted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesItem, IOfflineFilesItem_Vtbl, 0x4a753da6_e044_4f12_a718_5d14d079a906); -impl std::ops::Deref for IOfflineFilesItem { +impl core::ops::Deref for IOfflineFilesItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -818,7 +818,7 @@ pub struct IOfflineFilesItem_Vtbl { pub IsMarkedForDeletion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesItemContainer, IOfflineFilesItemContainer_Vtbl, 0x3836f049_9413_45dd_bf46_b5aaa82dc310); -impl std::ops::Deref for IOfflineFilesItemContainer { +impl core::ops::Deref for IOfflineFilesItemContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -848,7 +848,7 @@ pub struct IOfflineFilesItemContainer_Vtbl { pub EnumItemsEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesItemFilter, IOfflineFilesItemFilter_Vtbl, 0xf4b5a26c_dc05_4f20_ada4_551f1077be5c); -impl std::ops::Deref for IOfflineFilesItemFilter { +impl core::ops::Deref for IOfflineFilesItemFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -874,7 +874,7 @@ pub struct IOfflineFilesItemFilter_Vtbl { pub GetPatternFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesPinInfo, IOfflineFilesPinInfo_Vtbl, 0x5b2b0655_b3fd_497d_adeb_bd156bc8355b); -impl std::ops::Deref for IOfflineFilesPinInfo { +impl core::ops::Deref for IOfflineFilesPinInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -909,7 +909,7 @@ pub struct IOfflineFilesPinInfo_Vtbl { pub IsPinnedForFolderRedirection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesPinInfo2, IOfflineFilesPinInfo2_Vtbl, 0x623c58a2_42ed_4ad7_b69a_0f1b30a72d0d); -impl std::ops::Deref for IOfflineFilesPinInfo2 { +impl core::ops::Deref for IOfflineFilesPinInfo2 { type Target = IOfflineFilesPinInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -928,7 +928,7 @@ pub struct IOfflineFilesPinInfo2_Vtbl { pub IsPartlyPinned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesProgress, IOfflineFilesProgress_Vtbl, 0xfad63237_c55b_4911_9850_bcf96d4c979e); -impl std::ops::Deref for IOfflineFilesProgress { +impl core::ops::Deref for IOfflineFilesProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -956,7 +956,7 @@ pub struct IOfflineFilesProgress_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesServerItem, IOfflineFilesServerItem_Vtbl, 0x9b1c9576_a92b_4151_8e9e_7c7b3ec2e016); -impl std::ops::Deref for IOfflineFilesServerItem { +impl core::ops::Deref for IOfflineFilesServerItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -969,7 +969,7 @@ pub struct IOfflineFilesServerItem_Vtbl { pub base__: IOfflineFilesItem_Vtbl, } windows_core::imp::define_interface!(IOfflineFilesSetting, IOfflineFilesSetting_Vtbl, 0xd871d3f7_f613_48a1_827e_7a34e560fff6); -impl std::ops::Deref for IOfflineFilesSetting { +impl core::ops::Deref for IOfflineFilesSetting { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1023,7 +1023,7 @@ pub struct IOfflineFilesSetting_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesShareInfo, IOfflineFilesShareInfo_Vtbl, 0x7bcc43e7_31ce_4ca4_8ccd_1cff2dc494da); -impl std::ops::Deref for IOfflineFilesShareInfo { +impl core::ops::Deref for IOfflineFilesShareInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1052,7 +1052,7 @@ pub struct IOfflineFilesShareInfo_Vtbl { pub IsShareDfsJunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesShareItem, IOfflineFilesShareItem_Vtbl, 0xbab7e48d_4804_41b5_a44d_0f199b06b145); -impl std::ops::Deref for IOfflineFilesShareItem { +impl core::ops::Deref for IOfflineFilesShareItem { type Target = IOfflineFilesItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1065,7 +1065,7 @@ pub struct IOfflineFilesShareItem_Vtbl { pub base__: IOfflineFilesItem_Vtbl, } windows_core::imp::define_interface!(IOfflineFilesSimpleProgress, IOfflineFilesSimpleProgress_Vtbl, 0xc34f7f9b_c43d_4f9d_a776_c0eb6de5d401); -impl std::ops::Deref for IOfflineFilesSimpleProgress { +impl core::ops::Deref for IOfflineFilesSimpleProgress { type Target = IOfflineFilesProgress; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1095,7 +1095,7 @@ pub struct IOfflineFilesSimpleProgress_Vtbl { pub ItemResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT, *mut OFFLINEFILES_OP_RESPONSE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesSuspend, IOfflineFilesSuspend_Vtbl, 0x62c4560f_bc0b_48ca_ad9d_34cb528d99a9); -impl std::ops::Deref for IOfflineFilesSuspend { +impl core::ops::Deref for IOfflineFilesSuspend { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1116,7 +1116,7 @@ pub struct IOfflineFilesSuspend_Vtbl { pub SuspendRoot: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesSuspendInfo, IOfflineFilesSuspendInfo_Vtbl, 0xa457c25b_4e9c_4b04_85af_8932ccd97889); -impl std::ops::Deref for IOfflineFilesSuspendInfo { +impl core::ops::Deref for IOfflineFilesSuspendInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1134,7 +1134,7 @@ pub struct IOfflineFilesSuspendInfo_Vtbl { pub IsSuspended: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesSyncConflictHandler, IOfflineFilesSyncConflictHandler_Vtbl, 0xb6dd5092_c65c_46b6_97b8_fadd08e7e1be); -impl std::ops::Deref for IOfflineFilesSyncConflictHandler { +impl core::ops::Deref for IOfflineFilesSyncConflictHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1155,7 +1155,7 @@ pub struct IOfflineFilesSyncConflictHandler_Vtbl { pub ResolveConflict: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, OFFLINEFILES_SYNC_STATE, u32, *mut OFFLINEFILES_SYNC_CONFLICT_RESOLVE, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesSyncErrorInfo, IOfflineFilesSyncErrorInfo_Vtbl, 0x59f95e46_eb54_49d1_be76_de95458d01b0); -impl std::ops::Deref for IOfflineFilesSyncErrorInfo { +impl core::ops::Deref for IOfflineFilesSyncErrorInfo { type Target = IOfflineFilesErrorInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1202,7 +1202,7 @@ pub struct IOfflineFilesSyncErrorInfo_Vtbl { pub GetOriginalInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesSyncErrorItemInfo, IOfflineFilesSyncErrorItemInfo_Vtbl, 0xecdbaf0d_6a18_4d55_8017_108f7660ba44); -impl std::ops::Deref for IOfflineFilesSyncErrorItemInfo { +impl core::ops::Deref for IOfflineFilesSyncErrorItemInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1230,7 +1230,7 @@ pub struct IOfflineFilesSyncErrorItemInfo_Vtbl { pub GetFileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesSyncProgress, IOfflineFilesSyncProgress_Vtbl, 0x6931f49a_6fc7_4c1b_b265_56793fc451b7); -impl std::ops::Deref for IOfflineFilesSyncProgress { +impl core::ops::Deref for IOfflineFilesSyncProgress { type Target = IOfflineFilesProgress; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1261,7 +1261,7 @@ pub struct IOfflineFilesSyncProgress_Vtbl { pub SyncItemResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT, *mut core::ffi::c_void, *mut OFFLINEFILES_OP_RESPONSE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOfflineFilesTransparentCacheInfo, IOfflineFilesTransparentCacheInfo_Vtbl, 0xbcaf4a01_5b68_4b56_a6a1_8d2786ede8e3); -impl std::ops::Deref for IOfflineFilesTransparentCacheInfo { +impl core::ops::Deref for IOfflineFilesTransparentCacheInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs index 551c8c1529..cc06842b06 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/mod.rs @@ -470,7 +470,7 @@ where VerifyPackageRelativeApplicationId(packagerelativeapplicationid.param().abi()) } windows_core::imp::define_interface!(IAppxAppInstallerReader, IAppxAppInstallerReader_Vtbl, 0xf35bc38c_1d2f_43db_a1f4_586430d1fed2); -impl std::ops::Deref for IAppxAppInstallerReader { +impl core::ops::Deref for IAppxAppInstallerReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -493,7 +493,7 @@ pub struct IAppxAppInstallerReader_Vtbl { GetXmlDom: usize, } windows_core::imp::define_interface!(IAppxBlockMapBlock, IAppxBlockMapBlock_Vtbl, 0x75cf3930_3244_4fe0_a8c8_e0bcb270b889); -impl std::ops::Deref for IAppxBlockMapBlock { +impl core::ops::Deref for IAppxBlockMapBlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -517,7 +517,7 @@ pub struct IAppxBlockMapBlock_Vtbl { pub GetCompressedSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBlockMapBlocksEnumerator, IAppxBlockMapBlocksEnumerator_Vtbl, 0x6b429b5b_36ef_479e_b9eb_0c1482b49e16); -impl std::ops::Deref for IAppxBlockMapBlocksEnumerator { +impl core::ops::Deref for IAppxBlockMapBlocksEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -546,7 +546,7 @@ pub struct IAppxBlockMapBlocksEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBlockMapFile, IAppxBlockMapFile_Vtbl, 0x277672ac_4f63_42c1_8abc_beae3600eb59); -impl std::ops::Deref for IAppxBlockMapFile { +impl core::ops::Deref for IAppxBlockMapFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -592,7 +592,7 @@ pub struct IAppxBlockMapFile_Vtbl { ValidateFileHash: usize, } windows_core::imp::define_interface!(IAppxBlockMapFilesEnumerator, IAppxBlockMapFilesEnumerator_Vtbl, 0x02b856a2_4262_4070_bacb_1a8cbbc42305); -impl std::ops::Deref for IAppxBlockMapFilesEnumerator { +impl core::ops::Deref for IAppxBlockMapFilesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -621,7 +621,7 @@ pub struct IAppxBlockMapFilesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBlockMapReader, IAppxBlockMapReader_Vtbl, 0x5efec991_bca3_42d1_9ec2_e92d609ec22a); -impl std::ops::Deref for IAppxBlockMapReader { +impl core::ops::Deref for IAppxBlockMapReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -666,7 +666,7 @@ pub struct IAppxBlockMapReader_Vtbl { GetStream: usize, } windows_core::imp::define_interface!(IAppxBundleFactory, IAppxBundleFactory_Vtbl, 0xbba65864_965f_4a5f_855f_f074bdbf3a7b); -impl std::ops::Deref for IAppxBundleFactory { +impl core::ops::Deref for IAppxBundleFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -716,7 +716,7 @@ pub struct IAppxBundleFactory_Vtbl { CreateBundleManifestReader: usize, } windows_core::imp::define_interface!(IAppxBundleFactory2, IAppxBundleFactory2_Vtbl, 0x7325b83d_0185_42c4_82ac_be34ab1a2a8a); -impl std::ops::Deref for IAppxBundleFactory2 { +impl core::ops::Deref for IAppxBundleFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -743,7 +743,7 @@ pub struct IAppxBundleFactory2_Vtbl { CreateBundleReader2: usize, } windows_core::imp::define_interface!(IAppxBundleManifestOptionalBundleInfo, IAppxBundleManifestOptionalBundleInfo_Vtbl, 0x515bf2e8_bcb0_4d69_8c48_e383147b6e12); -impl std::ops::Deref for IAppxBundleManifestOptionalBundleInfo { +impl core::ops::Deref for IAppxBundleManifestOptionalBundleInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -772,7 +772,7 @@ pub struct IAppxBundleManifestOptionalBundleInfo_Vtbl { pub GetPackageInfoItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleManifestOptionalBundleInfoEnumerator, IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl, 0x9a178793_f97e_46ac_aaca_dd5ba4c177c8); -impl std::ops::Deref for IAppxBundleManifestOptionalBundleInfoEnumerator { +impl core::ops::Deref for IAppxBundleManifestOptionalBundleInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -801,7 +801,7 @@ pub struct IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo, IAppxBundleManifestPackageInfo_Vtbl, 0x54cd06c1_268f_40bb_8ed2_757a9ebaec8d); -impl std::ops::Deref for IAppxBundleManifestPackageInfo { +impl core::ops::Deref for IAppxBundleManifestPackageInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -845,7 +845,7 @@ pub struct IAppxBundleManifestPackageInfo_Vtbl { pub GetResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo2, IAppxBundleManifestPackageInfo2_Vtbl, 0x44c2acbc_b2cf_4ccb_bbdb_9c6da8c3bc9e); -impl std::ops::Deref for IAppxBundleManifestPackageInfo2 { +impl core::ops::Deref for IAppxBundleManifestPackageInfo2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -874,7 +874,7 @@ pub struct IAppxBundleManifestPackageInfo2_Vtbl { pub GetIsDefaultApplicablePackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo3, IAppxBundleManifestPackageInfo3_Vtbl, 0x6ba74b98_bb74_4296_80d0_5f4256a99675); -impl std::ops::Deref for IAppxBundleManifestPackageInfo3 { +impl core::ops::Deref for IAppxBundleManifestPackageInfo3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -893,7 +893,7 @@ pub struct IAppxBundleManifestPackageInfo3_Vtbl { pub GetTargetDeviceFamilies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo4, IAppxBundleManifestPackageInfo4_Vtbl, 0x5da6f13d_a8a7_4532_857c_1393d659371d); -impl std::ops::Deref for IAppxBundleManifestPackageInfo4 { +impl core::ops::Deref for IAppxBundleManifestPackageInfo4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -912,7 +912,7 @@ pub struct IAppxBundleManifestPackageInfo4_Vtbl { pub GetIsStub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleManifestPackageInfoEnumerator, IAppxBundleManifestPackageInfoEnumerator_Vtbl, 0xf9b856ee_49a6_4e19_b2b0_6a2406d63a32); -impl std::ops::Deref for IAppxBundleManifestPackageInfoEnumerator { +impl core::ops::Deref for IAppxBundleManifestPackageInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -941,7 +941,7 @@ pub struct IAppxBundleManifestPackageInfoEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleManifestReader, IAppxBundleManifestReader_Vtbl, 0xcf0ebbc1_cc99_4106_91eb_e67462e04fb0); -impl std::ops::Deref for IAppxBundleManifestReader { +impl core::ops::Deref for IAppxBundleManifestReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -974,7 +974,7 @@ pub struct IAppxBundleManifestReader_Vtbl { GetStream: usize, } windows_core::imp::define_interface!(IAppxBundleManifestReader2, IAppxBundleManifestReader2_Vtbl, 0x5517df70_033f_4af2_8213_87d766805c02); -impl std::ops::Deref for IAppxBundleManifestReader2 { +impl core::ops::Deref for IAppxBundleManifestReader2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -993,7 +993,7 @@ pub struct IAppxBundleManifestReader2_Vtbl { pub GetOptionalBundles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleReader, IAppxBundleReader_Vtbl, 0xdd75b8c0_ba76_43b0_ae0f_68656a1dc5c8); -impl std::ops::Deref for IAppxBundleReader { +impl core::ops::Deref for IAppxBundleReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1035,7 +1035,7 @@ pub struct IAppxBundleReader_Vtbl { pub GetPayloadPackage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleWriter, IAppxBundleWriter_Vtbl, 0xec446fe8_bfec_4c64_ab4f_49f038f0c6d2); -impl std::ops::Deref for IAppxBundleWriter { +impl core::ops::Deref for IAppxBundleWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1065,7 +1065,7 @@ pub struct IAppxBundleWriter_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleWriter2, IAppxBundleWriter2_Vtbl, 0x6d8fe971_01cc_49a0_b685_233851279962); -impl std::ops::Deref for IAppxBundleWriter2 { +impl core::ops::Deref for IAppxBundleWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1091,7 +1091,7 @@ pub struct IAppxBundleWriter2_Vtbl { AddExternalPackageReference: usize, } windows_core::imp::define_interface!(IAppxBundleWriter3, IAppxBundleWriter3_Vtbl, 0xad711152_f969_4193_82d5_9ddf2786d21a); -impl std::ops::Deref for IAppxBundleWriter3 { +impl core::ops::Deref for IAppxBundleWriter3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1124,7 +1124,7 @@ pub struct IAppxBundleWriter3_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxBundleWriter4, IAppxBundleWriter4_Vtbl, 0x9cd9d523_5009_4c01_9882_dc029fbd47a3); -impl std::ops::Deref for IAppxBundleWriter4 { +impl core::ops::Deref for IAppxBundleWriter4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1177,7 +1177,7 @@ pub struct IAppxBundleWriter4_Vtbl { AddExternalPackageReference: usize, } windows_core::imp::define_interface!(IAppxContentGroup, IAppxContentGroup_Vtbl, 0x328f6468_c04f_4e3c_b6fa_6b8d27f3003a); -impl std::ops::Deref for IAppxContentGroup { +impl core::ops::Deref for IAppxContentGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1201,7 +1201,7 @@ pub struct IAppxContentGroup_Vtbl { pub GetFiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxContentGroupFilesEnumerator, IAppxContentGroupFilesEnumerator_Vtbl, 0x1a09a2fd_7440_44eb_8c84_848205a6a1cc); -impl std::ops::Deref for IAppxContentGroupFilesEnumerator { +impl core::ops::Deref for IAppxContentGroupFilesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1230,7 +1230,7 @@ pub struct IAppxContentGroupFilesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxContentGroupMapReader, IAppxContentGroupMapReader_Vtbl, 0x418726d8_dd99_4f5d_9886_157add20de01); -impl std::ops::Deref for IAppxContentGroupMapReader { +impl core::ops::Deref for IAppxContentGroupMapReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1254,7 +1254,7 @@ pub struct IAppxContentGroupMapReader_Vtbl { pub GetAutomaticGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxContentGroupMapWriter, IAppxContentGroupMapWriter_Vtbl, 0xd07ab776_a9de_4798_8c14_3db31e687c78); -impl std::ops::Deref for IAppxContentGroupMapWriter { +impl core::ops::Deref for IAppxContentGroupMapWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1286,7 +1286,7 @@ pub struct IAppxContentGroupMapWriter_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxContentGroupsEnumerator, IAppxContentGroupsEnumerator_Vtbl, 0x3264e477_16d1_4d63_823e_7d2984696634); -impl std::ops::Deref for IAppxContentGroupsEnumerator { +impl core::ops::Deref for IAppxContentGroupsEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1315,7 +1315,7 @@ pub struct IAppxContentGroupsEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxDigestProvider, IAppxDigestProvider_Vtbl, 0x9fe2702b_7640_4659_8e6c_349e43c4cdbd); -impl std::ops::Deref for IAppxDigestProvider { +impl core::ops::Deref for IAppxDigestProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1334,7 +1334,7 @@ pub struct IAppxDigestProvider_Vtbl { pub GetDigest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxEncryptedBundleWriter, IAppxEncryptedBundleWriter_Vtbl, 0x80b0902f_7bf0_4117_b8c6_4279ef81ee77); -impl std::ops::Deref for IAppxEncryptedBundleWriter { +impl core::ops::Deref for IAppxEncryptedBundleWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1364,7 +1364,7 @@ pub struct IAppxEncryptedBundleWriter_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxEncryptedBundleWriter2, IAppxEncryptedBundleWriter2_Vtbl, 0xe644be82_f0fa_42b8_a956_8d1cb48ee379); -impl std::ops::Deref for IAppxEncryptedBundleWriter2 { +impl core::ops::Deref for IAppxEncryptedBundleWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1390,7 +1390,7 @@ pub struct IAppxEncryptedBundleWriter2_Vtbl { AddExternalPackageReference: usize, } windows_core::imp::define_interface!(IAppxEncryptedBundleWriter3, IAppxEncryptedBundleWriter3_Vtbl, 0x0d34deb3_5cae_4dd3_977c_504932a51d31); -impl std::ops::Deref for IAppxEncryptedBundleWriter3 { +impl core::ops::Deref for IAppxEncryptedBundleWriter3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1430,7 +1430,7 @@ pub struct IAppxEncryptedBundleWriter3_Vtbl { AddExternalPackageReference: usize, } windows_core::imp::define_interface!(IAppxEncryptedPackageWriter, IAppxEncryptedPackageWriter_Vtbl, 0xf43d0b0b_1379_40e2_9b29_682ea2bf42af); -impl std::ops::Deref for IAppxEncryptedPackageWriter { +impl core::ops::Deref for IAppxEncryptedPackageWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1460,7 +1460,7 @@ pub struct IAppxEncryptedPackageWriter_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxEncryptedPackageWriter2, IAppxEncryptedPackageWriter2_Vtbl, 0x3e475447_3a25_40b5_8ad2_f953ae50c92d); -impl std::ops::Deref for IAppxEncryptedPackageWriter2 { +impl core::ops::Deref for IAppxEncryptedPackageWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1482,7 +1482,7 @@ pub struct IAppxEncryptedPackageWriter2_Vtbl { AddPayloadFilesEncrypted: usize, } windows_core::imp::define_interface!(IAppxEncryptionFactory, IAppxEncryptionFactory_Vtbl, 0x80e8e04d_8c88_44ae_a011_7cadf6fb2e72); -impl std::ops::Deref for IAppxEncryptionFactory { +impl core::ops::Deref for IAppxEncryptionFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1593,7 +1593,7 @@ pub struct IAppxEncryptionFactory_Vtbl { CreateEncryptedBundleReader: usize, } windows_core::imp::define_interface!(IAppxEncryptionFactory2, IAppxEncryptionFactory2_Vtbl, 0xc1b11eee_c4ba_4ab2_a55d_d015fe8ff64f); -impl std::ops::Deref for IAppxEncryptionFactory2 { +impl core::ops::Deref for IAppxEncryptionFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1621,7 +1621,7 @@ pub struct IAppxEncryptionFactory2_Vtbl { CreateEncryptedPackageWriter: usize, } windows_core::imp::define_interface!(IAppxEncryptionFactory3, IAppxEncryptionFactory3_Vtbl, 0x09edca37_cd64_47d6_b7e8_1cb11d4f7e05); -impl std::ops::Deref for IAppxEncryptionFactory3 { +impl core::ops::Deref for IAppxEncryptionFactory3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1685,7 +1685,7 @@ pub struct IAppxEncryptionFactory3_Vtbl { CreateEncryptedBundleWriter: usize, } windows_core::imp::define_interface!(IAppxEncryptionFactory4, IAppxEncryptionFactory4_Vtbl, 0xa879611f_12fd_41fe_85d5_06ae779bbaf5); -impl std::ops::Deref for IAppxEncryptionFactory4 { +impl core::ops::Deref for IAppxEncryptionFactory4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1711,7 +1711,7 @@ pub struct IAppxEncryptionFactory4_Vtbl { EncryptPackage: usize, } windows_core::imp::define_interface!(IAppxEncryptionFactory5, IAppxEncryptionFactory5_Vtbl, 0x68d6e77a_f446_480f_b0f0_d91a24c60746); -impl std::ops::Deref for IAppxEncryptionFactory5 { +impl core::ops::Deref for IAppxEncryptionFactory5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1751,7 +1751,7 @@ pub struct IAppxEncryptionFactory5_Vtbl { CreateEncryptedBundleReader2: usize, } windows_core::imp::define_interface!(IAppxFactory, IAppxFactory_Vtbl, 0xbeb94909_e451_438b_b5a7_d79e767b75d8); -impl std::ops::Deref for IAppxFactory { +impl core::ops::Deref for IAppxFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1826,7 +1826,7 @@ pub struct IAppxFactory_Vtbl { CreateValidatedBlockMapReader: usize, } windows_core::imp::define_interface!(IAppxFactory2, IAppxFactory2_Vtbl, 0xf1346df2_c282_4e22_b918_743a929a8d55); -impl std::ops::Deref for IAppxFactory2 { +impl core::ops::Deref for IAppxFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1876,7 +1876,7 @@ pub struct IAppxFactory2_Vtbl { CreateContentGroupMapWriter: usize, } windows_core::imp::define_interface!(IAppxFactory3, IAppxFactory3_Vtbl, 0x776b2c05_e21d_4e24_ba1a_cd529a8bfdbb); -impl std::ops::Deref for IAppxFactory3 { +impl core::ops::Deref for IAppxFactory3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1929,7 +1929,7 @@ pub struct IAppxFactory3_Vtbl { CreateAppInstallerReader: usize, } windows_core::imp::define_interface!(IAppxFile, IAppxFile_Vtbl, 0x91df827b_94fd_468f_827b_57f41b2f6f2e); -impl std::ops::Deref for IAppxFile { +impl core::ops::Deref for IAppxFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1972,7 +1972,7 @@ pub struct IAppxFile_Vtbl { GetStream: usize, } windows_core::imp::define_interface!(IAppxFilesEnumerator, IAppxFilesEnumerator_Vtbl, 0xf007eeaf_9831_411c_9847_917cdc62d1fe); -impl std::ops::Deref for IAppxFilesEnumerator { +impl core::ops::Deref for IAppxFilesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2001,7 +2001,7 @@ pub struct IAppxFilesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestApplication, IAppxManifestApplication_Vtbl, 0x5da89bf4_3773_46be_b650_7e744863b7e8); -impl std::ops::Deref for IAppxManifestApplication { +impl core::ops::Deref for IAppxManifestApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2028,7 +2028,7 @@ pub struct IAppxManifestApplication_Vtbl { pub GetAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestApplicationsEnumerator, IAppxManifestApplicationsEnumerator_Vtbl, 0x9eb8a55a_f04b_4d0d_808d_686185d4847a); -impl std::ops::Deref for IAppxManifestApplicationsEnumerator { +impl core::ops::Deref for IAppxManifestApplicationsEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2057,7 +2057,7 @@ pub struct IAppxManifestApplicationsEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestCapabilitiesEnumerator, IAppxManifestCapabilitiesEnumerator_Vtbl, 0x11d22258_f470_42c1_b291_8361c5437e41); -impl std::ops::Deref for IAppxManifestCapabilitiesEnumerator { +impl core::ops::Deref for IAppxManifestCapabilitiesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2086,7 +2086,7 @@ pub struct IAppxManifestCapabilitiesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestDeviceCapabilitiesEnumerator, IAppxManifestDeviceCapabilitiesEnumerator_Vtbl, 0x30204541_427b_4a1c_bacf_655bf463a540); -impl std::ops::Deref for IAppxManifestDeviceCapabilitiesEnumerator { +impl core::ops::Deref for IAppxManifestDeviceCapabilitiesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2115,7 +2115,7 @@ pub struct IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestDriverConstraint, IAppxManifestDriverConstraint_Vtbl, 0xc031bee4_bbcc_48ea_a237_c34045c80a07); -impl std::ops::Deref for IAppxManifestDriverConstraint { +impl core::ops::Deref for IAppxManifestDriverConstraint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2144,7 +2144,7 @@ pub struct IAppxManifestDriverConstraint_Vtbl { pub GetMinDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestDriverConstraintsEnumerator, IAppxManifestDriverConstraintsEnumerator_Vtbl, 0xd402b2d1_f600_49e0_95e6_975d8da13d89); -impl std::ops::Deref for IAppxManifestDriverConstraintsEnumerator { +impl core::ops::Deref for IAppxManifestDriverConstraintsEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2173,7 +2173,7 @@ pub struct IAppxManifestDriverConstraintsEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestDriverDependenciesEnumerator, IAppxManifestDriverDependenciesEnumerator_Vtbl, 0xfe039db2_467f_4755_8404_8f5eb6865b33); -impl std::ops::Deref for IAppxManifestDriverDependenciesEnumerator { +impl core::ops::Deref for IAppxManifestDriverDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2202,7 +2202,7 @@ pub struct IAppxManifestDriverDependenciesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestDriverDependency, IAppxManifestDriverDependency_Vtbl, 0x1210cb94_5a92_4602_be24_79f318af4af9); -impl std::ops::Deref for IAppxManifestDriverDependency { +impl core::ops::Deref for IAppxManifestDriverDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2221,7 +2221,7 @@ pub struct IAppxManifestDriverDependency_Vtbl { pub GetDriverConstraints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependenciesEnumerator, IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl, 0x6427a646_7f49_433e_b1a6_0da309f6885a); -impl std::ops::Deref for IAppxManifestHostRuntimeDependenciesEnumerator { +impl core::ops::Deref for IAppxManifestHostRuntimeDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2250,7 +2250,7 @@ pub struct IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependency, IAppxManifestHostRuntimeDependency_Vtbl, 0x3455d234_8414_410d_95c7_7b35255b8391); -impl std::ops::Deref for IAppxManifestHostRuntimeDependency { +impl core::ops::Deref for IAppxManifestHostRuntimeDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2279,7 +2279,7 @@ pub struct IAppxManifestHostRuntimeDependency_Vtbl { pub GetMinVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependency2, IAppxManifestHostRuntimeDependency2_Vtbl, 0xc26f23a8_ee10_4ad6_b898_2b4d7aebfe6a); -impl std::ops::Deref for IAppxManifestHostRuntimeDependency2 { +impl core::ops::Deref for IAppxManifestHostRuntimeDependency2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2298,7 +2298,7 @@ pub struct IAppxManifestHostRuntimeDependency2_Vtbl { pub GetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestMainPackageDependenciesEnumerator, IAppxManifestMainPackageDependenciesEnumerator_Vtbl, 0xa99c4f00_51d2_4f0f_ba46_7ed5255ebdff); -impl std::ops::Deref for IAppxManifestMainPackageDependenciesEnumerator { +impl core::ops::Deref for IAppxManifestMainPackageDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2327,7 +2327,7 @@ pub struct IAppxManifestMainPackageDependenciesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestMainPackageDependency, IAppxManifestMainPackageDependency_Vtbl, 0x05d0611c_bc29_46d5_97e2_84b9c79bd8ae); -impl std::ops::Deref for IAppxManifestMainPackageDependency { +impl core::ops::Deref for IAppxManifestMainPackageDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2356,7 +2356,7 @@ pub struct IAppxManifestMainPackageDependency_Vtbl { pub GetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestOSPackageDependenciesEnumerator, IAppxManifestOSPackageDependenciesEnumerator_Vtbl, 0xb84e2fc3_f8ec_4bc1_8ae2_156346f5ffea); -impl std::ops::Deref for IAppxManifestOSPackageDependenciesEnumerator { +impl core::ops::Deref for IAppxManifestOSPackageDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2385,7 +2385,7 @@ pub struct IAppxManifestOSPackageDependenciesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestOSPackageDependency, IAppxManifestOSPackageDependency_Vtbl, 0x154995ee_54a6_4f14_ac97_d8cf0519644b); -impl std::ops::Deref for IAppxManifestOSPackageDependency { +impl core::ops::Deref for IAppxManifestOSPackageDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2409,7 +2409,7 @@ pub struct IAppxManifestOSPackageDependency_Vtbl { pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestOptionalPackageInfo, IAppxManifestOptionalPackageInfo_Vtbl, 0x2634847d_5b5d_4fe5_a243_002ff95edc7e); -impl std::ops::Deref for IAppxManifestOptionalPackageInfo { +impl core::ops::Deref for IAppxManifestOptionalPackageInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2433,7 +2433,7 @@ pub struct IAppxManifestOptionalPackageInfo_Vtbl { pub GetMainPackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestPackageDependenciesEnumerator, IAppxManifestPackageDependenciesEnumerator_Vtbl, 0xb43bbcf9_65a6_42dd_bac0_8c6741e7f5a4); -impl std::ops::Deref for IAppxManifestPackageDependenciesEnumerator { +impl core::ops::Deref for IAppxManifestPackageDependenciesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2462,7 +2462,7 @@ pub struct IAppxManifestPackageDependenciesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestPackageDependency, IAppxManifestPackageDependency_Vtbl, 0xe4946b59_733e_43f0_a724_3bde4c1285a0); -impl std::ops::Deref for IAppxManifestPackageDependency { +impl core::ops::Deref for IAppxManifestPackageDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2491,7 +2491,7 @@ pub struct IAppxManifestPackageDependency_Vtbl { pub GetMinVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestPackageDependency2, IAppxManifestPackageDependency2_Vtbl, 0xdda0b713_f3ff_49d3_898a_2786780c5d98); -impl std::ops::Deref for IAppxManifestPackageDependency2 { +impl core::ops::Deref for IAppxManifestPackageDependency2 { type Target = IAppxManifestPackageDependency; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2510,7 +2510,7 @@ pub struct IAppxManifestPackageDependency2_Vtbl { pub GetMaxMajorVersionTested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestPackageDependency3, IAppxManifestPackageDependency3_Vtbl, 0x1ac56374_6198_4d6b_92e4_749d5ab8a895); -impl std::ops::Deref for IAppxManifestPackageDependency3 { +impl core::ops::Deref for IAppxManifestPackageDependency3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2529,7 +2529,7 @@ pub struct IAppxManifestPackageDependency3_Vtbl { pub GetIsOptional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestPackageId, IAppxManifestPackageId_Vtbl, 0x283ce2d7_7153_4a91_9649_7a0f7240945f); -impl std::ops::Deref for IAppxManifestPackageId { +impl core::ops::Deref for IAppxManifestPackageId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2586,7 +2586,7 @@ pub struct IAppxManifestPackageId_Vtbl { pub GetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestPackageId2, IAppxManifestPackageId2_Vtbl, 0x2256999d_d617_42f1_880e_0ba4542319d5); -impl std::ops::Deref for IAppxManifestPackageId2 { +impl core::ops::Deref for IAppxManifestPackageId2 { type Target = IAppxManifestPackageId; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2605,7 +2605,7 @@ pub struct IAppxManifestPackageId2_Vtbl { pub GetArchitecture2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut APPX_PACKAGE_ARCHITECTURE2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestProperties, IAppxManifestProperties_Vtbl, 0x03faf64d_f26f_4b2c_aaf7_8fe7789b8bca); -impl std::ops::Deref for IAppxManifestProperties { +impl core::ops::Deref for IAppxManifestProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2635,7 +2635,7 @@ pub struct IAppxManifestProperties_Vtbl { pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestQualifiedResource, IAppxManifestQualifiedResource_Vtbl, 0x3b53a497_3c5c_48d1_9ea3_bb7eac8cd7d4); -impl std::ops::Deref for IAppxManifestQualifiedResource { +impl core::ops::Deref for IAppxManifestQualifiedResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2664,7 +2664,7 @@ pub struct IAppxManifestQualifiedResource_Vtbl { pub GetDXFeatureLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DX_FEATURE_LEVEL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestQualifiedResourcesEnumerator, IAppxManifestQualifiedResourcesEnumerator_Vtbl, 0x8ef6adfe_3762_4a8f_9373_2fc5d444c8d2); -impl std::ops::Deref for IAppxManifestQualifiedResourcesEnumerator { +impl core::ops::Deref for IAppxManifestQualifiedResourcesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2693,7 +2693,7 @@ pub struct IAppxManifestQualifiedResourcesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestReader, IAppxManifestReader_Vtbl, 0x4e1bd148_55a0_4480_a3d1_15544710637c); -impl std::ops::Deref for IAppxManifestReader { +impl core::ops::Deref for IAppxManifestReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2759,7 +2759,7 @@ pub struct IAppxManifestReader_Vtbl { GetStream: usize, } windows_core::imp::define_interface!(IAppxManifestReader2, IAppxManifestReader2_Vtbl, 0xd06f67bc_b31d_4eba_a8af_638e73e77b4d); -impl std::ops::Deref for IAppxManifestReader2 { +impl core::ops::Deref for IAppxManifestReader2 { type Target = IAppxManifestReader; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2778,7 +2778,7 @@ pub struct IAppxManifestReader2_Vtbl { pub GetQualifiedResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestReader3, IAppxManifestReader3_Vtbl, 0xc43825ab_69b7_400a_9709_cc37f5a72d24); -impl std::ops::Deref for IAppxManifestReader3 { +impl core::ops::Deref for IAppxManifestReader3 { type Target = IAppxManifestReader2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2802,7 +2802,7 @@ pub struct IAppxManifestReader3_Vtbl { pub GetTargetDeviceFamilies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestReader4, IAppxManifestReader4_Vtbl, 0x4579bb7c_741d_4161_b5a1_47bd3b78ad9b); -impl std::ops::Deref for IAppxManifestReader4 { +impl core::ops::Deref for IAppxManifestReader4 { type Target = IAppxManifestReader3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2821,7 +2821,7 @@ pub struct IAppxManifestReader4_Vtbl { pub GetOptionalPackageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestReader5, IAppxManifestReader5_Vtbl, 0x8d7ae132_a690_4c00_b75a_6aae1feaac80); -impl std::ops::Deref for IAppxManifestReader5 { +impl core::ops::Deref for IAppxManifestReader5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2840,7 +2840,7 @@ pub struct IAppxManifestReader5_Vtbl { pub GetMainPackageDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestReader6, IAppxManifestReader6_Vtbl, 0x34deaca4_d3c0_4e3e_b312_e42625e3807e); -impl std::ops::Deref for IAppxManifestReader6 { +impl core::ops::Deref for IAppxManifestReader6 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2859,7 +2859,7 @@ pub struct IAppxManifestReader6_Vtbl { pub GetIsNonQualifiedResourcePackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestReader7, IAppxManifestReader7_Vtbl, 0x8efe6f27_0ce0_4988_b32d_738eb63db3b7); -impl std::ops::Deref for IAppxManifestReader7 { +impl core::ops::Deref for IAppxManifestReader7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2888,7 +2888,7 @@ pub struct IAppxManifestReader7_Vtbl { pub GetHostRuntimeDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestResourcesEnumerator, IAppxManifestResourcesEnumerator_Vtbl, 0xde4dfbbd_881a_48bb_858c_d6f2baeae6ed); -impl std::ops::Deref for IAppxManifestResourcesEnumerator { +impl core::ops::Deref for IAppxManifestResourcesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2917,7 +2917,7 @@ pub struct IAppxManifestResourcesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestTargetDeviceFamiliesEnumerator, IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl, 0x36537f36_27a4_4788_88c0_733819575017); -impl std::ops::Deref for IAppxManifestTargetDeviceFamiliesEnumerator { +impl core::ops::Deref for IAppxManifestTargetDeviceFamiliesEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2946,7 +2946,7 @@ pub struct IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxManifestTargetDeviceFamily, IAppxManifestTargetDeviceFamily_Vtbl, 0x9091b09b_c8d5_4f31_8687_a338259faefb); -impl std::ops::Deref for IAppxManifestTargetDeviceFamily { +impl core::ops::Deref for IAppxManifestTargetDeviceFamily { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2975,7 +2975,7 @@ pub struct IAppxManifestTargetDeviceFamily_Vtbl { pub GetMaxVersionTested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxPackageEditor, IAppxPackageEditor_Vtbl, 0xe2adb6dc_5e71_4416_86b6_86e5f5291a6b); -impl std::ops::Deref for IAppxPackageEditor { +impl core::ops::Deref for IAppxPackageEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3060,7 +3060,7 @@ pub struct IAppxPackageEditor_Vtbl { UpdatePackageManifest: usize, } windows_core::imp::define_interface!(IAppxPackageReader, IAppxPackageReader_Vtbl, 0xb5c49650_99bc_481c_9a34_3d53a4106708); -impl std::ops::Deref for IAppxPackageReader { +impl core::ops::Deref for IAppxPackageReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3102,7 +3102,7 @@ pub struct IAppxPackageReader_Vtbl { pub GetManifest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxPackageWriter, IAppxPackageWriter_Vtbl, 0x9099e33b_246f_41e4_881a_008eb613f858); -impl std::ops::Deref for IAppxPackageWriter { +impl core::ops::Deref for IAppxPackageWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3140,7 +3140,7 @@ pub struct IAppxPackageWriter_Vtbl { Close: usize, } windows_core::imp::define_interface!(IAppxPackageWriter2, IAppxPackageWriter2_Vtbl, 0x2cf5c4fd_e54c_4ea5_ba4e_f8c4b105a8c8); -impl std::ops::Deref for IAppxPackageWriter2 { +impl core::ops::Deref for IAppxPackageWriter2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3166,7 +3166,7 @@ pub struct IAppxPackageWriter2_Vtbl { Close: usize, } windows_core::imp::define_interface!(IAppxPackageWriter3, IAppxPackageWriter3_Vtbl, 0xa83aacd3_41c0_4501_b8a3_74164f50b2fd); -impl std::ops::Deref for IAppxPackageWriter3 { +impl core::ops::Deref for IAppxPackageWriter3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3188,7 +3188,7 @@ pub struct IAppxPackageWriter3_Vtbl { AddPayloadFiles: usize, } windows_core::imp::define_interface!(IAppxPackagingDiagnosticEventSink, IAppxPackagingDiagnosticEventSink_Vtbl, 0x17239d47_6adb_45d2_80f6_f9cbc3bf059d); -impl std::ops::Deref for IAppxPackagingDiagnosticEventSink { +impl core::ops::Deref for IAppxPackagingDiagnosticEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3218,7 +3218,7 @@ pub struct IAppxPackagingDiagnosticEventSink_Vtbl { pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxPackagingDiagnosticEventSinkManager, IAppxPackagingDiagnosticEventSinkManager_Vtbl, 0x369648fa_a7eb_4909_a15d_6954a078f18a); -impl std::ops::Deref for IAppxPackagingDiagnosticEventSinkManager { +impl core::ops::Deref for IAppxPackagingDiagnosticEventSinkManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3239,7 +3239,7 @@ pub struct IAppxPackagingDiagnosticEventSinkManager_Vtbl { pub SetSinkForProcess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppxSourceContentGroupMapReader, IAppxSourceContentGroupMapReader_Vtbl, 0xf329791d_540b_4a9f_bc75_3282b7d73193); -impl std::ops::Deref for IAppxSourceContentGroupMapReader { +impl core::ops::Deref for IAppxSourceContentGroupMapReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs index f972e98f61..402e5d902b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IOpcCertificateEnumerator, IOpcCertificateEnumerator_Vtbl, 0x85131937_8f24_421f_b439_59ab24d140b8); -impl std::ops::Deref for IOpcCertificateEnumerator { +impl core::ops::Deref for IOpcCertificateEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -37,7 +37,7 @@ pub struct IOpcCertificateEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcCertificateSet, IOpcCertificateSet_Vtbl, 0x56ea4325_8e2d_4167_b1a4_e486d24c8fa7); -impl std::ops::Deref for IOpcCertificateSet { +impl core::ops::Deref for IOpcCertificateSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -72,7 +72,7 @@ pub struct IOpcCertificateSet_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcDigitalSignature, IOpcDigitalSignature_Vtbl, 0x52ab21dd_1cd0_4949_bc80_0c1232d00cb4); -impl std::ops::Deref for IOpcDigitalSignature { +impl core::ops::Deref for IOpcDigitalSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -162,7 +162,7 @@ pub struct IOpcDigitalSignature_Vtbl { pub GetSignatureXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcDigitalSignatureEnumerator, IOpcDigitalSignatureEnumerator_Vtbl, 0x967b6882_0ba3_4358_b9e7_b64c75063c5e); -impl std::ops::Deref for IOpcDigitalSignatureEnumerator { +impl core::ops::Deref for IOpcDigitalSignatureEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -196,7 +196,7 @@ pub struct IOpcDigitalSignatureEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcDigitalSignatureManager, IOpcDigitalSignatureManager_Vtbl, 0xd5e62a0b_696d_462f_94df_72e33cef2659); -impl std::ops::Deref for IOpcDigitalSignatureManager { +impl core::ops::Deref for IOpcDigitalSignatureManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -287,7 +287,7 @@ pub struct IOpcDigitalSignatureManager_Vtbl { ReplaceSignatureXml: usize, } windows_core::imp::define_interface!(IOpcFactory, IOpcFactory_Vtbl, 0x6d0b4446_cd73_4ab3_94f4_8ccdf6116154); -impl std::ops::Deref for IOpcFactory { +impl core::ops::Deref for IOpcFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -371,7 +371,7 @@ pub struct IOpcFactory_Vtbl { pub CreateDigitalSignatureManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcPackage, IOpcPackage_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee70); -impl std::ops::Deref for IOpcPackage { +impl core::ops::Deref for IOpcPackage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -395,7 +395,7 @@ pub struct IOpcPackage_Vtbl { pub GetRelationshipSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcPart, IOpcPart_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee71); -impl std::ops::Deref for IOpcPart { +impl core::ops::Deref for IOpcPart { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -442,7 +442,7 @@ pub struct IOpcPart_Vtbl { pub GetCompressionOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_COMPRESSION_OPTIONS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcPartEnumerator, IOpcPartEnumerator_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee75); -impl std::ops::Deref for IOpcPartEnumerator { +impl core::ops::Deref for IOpcPartEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -476,7 +476,7 @@ pub struct IOpcPartEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcPartSet, IOpcPartSet_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee73); -impl std::ops::Deref for IOpcPartSet { +impl core::ops::Deref for IOpcPartSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -545,7 +545,7 @@ pub struct IOpcPartSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOpcPartUri, IOpcPartUri_Vtbl, 0x7d3babe7_88b2_46ba_85cb_4203cb016c87); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IOpcPartUri { +impl core::ops::Deref for IOpcPartUri { type Target = IOpcUri; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -588,7 +588,7 @@ pub struct IOpcPartUri_Vtbl { pub IsRelationshipsPartUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcRelationship, IOpcRelationship_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee72); -impl std::ops::Deref for IOpcRelationship { +impl core::ops::Deref for IOpcRelationship { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -635,7 +635,7 @@ pub struct IOpcRelationship_Vtbl { pub GetTargetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_URI_TARGET_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcRelationshipEnumerator, IOpcRelationshipEnumerator_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee76); -impl std::ops::Deref for IOpcRelationshipEnumerator { +impl core::ops::Deref for IOpcRelationshipEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -669,7 +669,7 @@ pub struct IOpcRelationshipEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcRelationshipSelector, IOpcRelationshipSelector_Vtbl, 0xf8f26c7f_b28f_4899_84c8_5d5639ede75f); -impl std::ops::Deref for IOpcRelationshipSelector { +impl core::ops::Deref for IOpcRelationshipSelector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -693,7 +693,7 @@ pub struct IOpcRelationshipSelector_Vtbl { pub GetSelectionCriterion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcRelationshipSelectorEnumerator, IOpcRelationshipSelectorEnumerator_Vtbl, 0x5e50a181_a91b_48ac_88d2_bca3d8f8c0b1); -impl std::ops::Deref for IOpcRelationshipSelectorEnumerator { +impl core::ops::Deref for IOpcRelationshipSelectorEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -727,7 +727,7 @@ pub struct IOpcRelationshipSelectorEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcRelationshipSelectorSet, IOpcRelationshipSelectorSet_Vtbl, 0x6e34c269_a4d3_47c0_b5c4_87ff2b3b6136); -impl std::ops::Deref for IOpcRelationshipSelectorSet { +impl core::ops::Deref for IOpcRelationshipSelectorSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -761,7 +761,7 @@ pub struct IOpcRelationshipSelectorSet_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcRelationshipSet, IOpcRelationshipSet_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee74); -impl std::ops::Deref for IOpcRelationshipSet { +impl core::ops::Deref for IOpcRelationshipSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -834,7 +834,7 @@ pub struct IOpcRelationshipSet_Vtbl { GetRelationshipsContentStream: usize, } windows_core::imp::define_interface!(IOpcSignatureCustomObject, IOpcSignatureCustomObject_Vtbl, 0x5d77a19e_62c1_44e7_becd_45da5ae51a56); -impl std::ops::Deref for IOpcSignatureCustomObject { +impl core::ops::Deref for IOpcSignatureCustomObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -852,7 +852,7 @@ pub struct IOpcSignatureCustomObject_Vtbl { pub GetXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureCustomObjectEnumerator, IOpcSignatureCustomObjectEnumerator_Vtbl, 0x5ee4fe1d_e1b0_4683_8079_7ea0fcf80b4c); -impl std::ops::Deref for IOpcSignatureCustomObjectEnumerator { +impl core::ops::Deref for IOpcSignatureCustomObjectEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -886,7 +886,7 @@ pub struct IOpcSignatureCustomObjectEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureCustomObjectSet, IOpcSignatureCustomObjectSet_Vtbl, 0x8f792ac5_7947_4e11_bc3d_2659ff046ae1); -impl std::ops::Deref for IOpcSignatureCustomObjectSet { +impl core::ops::Deref for IOpcSignatureCustomObjectSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -917,7 +917,7 @@ pub struct IOpcSignatureCustomObjectSet_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignaturePartReference, IOpcSignaturePartReference_Vtbl, 0xe24231ca_59f4_484e_b64b_36eeda36072c); -impl std::ops::Deref for IOpcSignaturePartReference { +impl core::ops::Deref for IOpcSignaturePartReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -959,7 +959,7 @@ pub struct IOpcSignaturePartReference_Vtbl { pub GetTransformMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_CANONICALIZATION_METHOD) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignaturePartReferenceEnumerator, IOpcSignaturePartReferenceEnumerator_Vtbl, 0x80eb1561_8c77_49cf_8266_459b356ee99a); -impl std::ops::Deref for IOpcSignaturePartReferenceEnumerator { +impl core::ops::Deref for IOpcSignaturePartReferenceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -993,7 +993,7 @@ pub struct IOpcSignaturePartReferenceEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignaturePartReferenceSet, IOpcSignaturePartReferenceSet_Vtbl, 0x6c9fe28c_ecd9_4b22_9d36_7fdde670fec0); -impl std::ops::Deref for IOpcSignaturePartReferenceSet { +impl core::ops::Deref for IOpcSignaturePartReferenceSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1032,7 +1032,7 @@ pub struct IOpcSignaturePartReferenceSet_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureReference, IOpcSignatureReference_Vtbl, 0x1b47005e_3011_4edc_be6f_0f65e5ab0342); -impl std::ops::Deref for IOpcSignatureReference { +impl core::ops::Deref for IOpcSignatureReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1079,7 +1079,7 @@ pub struct IOpcSignatureReference_Vtbl { pub GetDigestValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureReferenceEnumerator, IOpcSignatureReferenceEnumerator_Vtbl, 0xcfa59a45_28b1_4868_969e_fa8097fdc12a); -impl std::ops::Deref for IOpcSignatureReferenceEnumerator { +impl core::ops::Deref for IOpcSignatureReferenceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1113,7 +1113,7 @@ pub struct IOpcSignatureReferenceEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureReferenceSet, IOpcSignatureReferenceSet_Vtbl, 0xf3b02d31_ab12_42dd_9e2f_2b16761c3c1e); -impl std::ops::Deref for IOpcSignatureReferenceSet { +impl core::ops::Deref for IOpcSignatureReferenceSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1154,7 +1154,7 @@ pub struct IOpcSignatureReferenceSet_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureRelationshipReference, IOpcSignatureRelationshipReference_Vtbl, 0x57babac6_9d4a_4e50_8b86_e5d4051eae7c); -impl std::ops::Deref for IOpcSignatureRelationshipReference { +impl core::ops::Deref for IOpcSignatureRelationshipReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1201,7 +1201,7 @@ pub struct IOpcSignatureRelationshipReference_Vtbl { pub GetRelationshipSelectorEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureRelationshipReferenceEnumerator, IOpcSignatureRelationshipReferenceEnumerator_Vtbl, 0x773ba3e4_f021_48e4_aa04_9816db5d3495); -impl std::ops::Deref for IOpcSignatureRelationshipReferenceEnumerator { +impl core::ops::Deref for IOpcSignatureRelationshipReferenceEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1235,7 +1235,7 @@ pub struct IOpcSignatureRelationshipReferenceEnumerator_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSignatureRelationshipReferenceSet, IOpcSignatureRelationshipReferenceSet_Vtbl, 0x9f863ca5_3631_404c_828d_807e0715069b); -impl std::ops::Deref for IOpcSignatureRelationshipReferenceSet { +impl core::ops::Deref for IOpcSignatureRelationshipReferenceSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1280,7 +1280,7 @@ pub struct IOpcSignatureRelationshipReferenceSet_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpcSigningOptions, IOpcSigningOptions_Vtbl, 0x50d2d6a5_7aeb_46c0_b241_43ab0e9b407e); -impl std::ops::Deref for IOpcSigningOptions { +impl core::ops::Deref for IOpcSigningOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1395,7 +1395,7 @@ pub struct IOpcSigningOptions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IOpcUri, IOpcUri_Vtbl, 0xbc9c1b9b_d62c_49eb_aef0_3b4e0b28ebed); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IOpcUri { +impl core::ops::Deref for IOpcUri { type Target = super::super::super::System::Com::IUri; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs index 183b096d59..d0cdfc5907 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IEnumVdsObject, IEnumVdsObject_Vtbl, 0x118610b7_8d94_4030_b5b8_500889788e4e); -impl std::ops::Deref for IEnumVdsObject { +impl core::ops::Deref for IEnumVdsObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -30,7 +30,7 @@ pub struct IEnumVdsObject_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsAdmin, IVdsAdmin_Vtbl, 0xd188e97d_85aa_4d33_abc6_26299a10ffc1); -impl std::ops::Deref for IVdsAdmin { +impl core::ops::Deref for IVdsAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -57,7 +57,7 @@ pub struct IVdsAdmin_Vtbl { pub UnregisterProvider: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsAdvancedDisk, IVdsAdvancedDisk_Vtbl, 0x6e6f6b40_977c_4069_bddd_ac710059f8c0); -impl std::ops::Deref for IVdsAdvancedDisk { +impl core::ops::Deref for IVdsAdvancedDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -129,7 +129,7 @@ pub struct IVdsAdvancedDisk_Vtbl { pub Clean: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsAdvancedDisk2, IVdsAdvancedDisk2_Vtbl, 0x9723f420_9355_42de_ab66_e31bb15beeac); -impl std::ops::Deref for IVdsAdvancedDisk2 { +impl core::ops::Deref for IVdsAdvancedDisk2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -150,7 +150,7 @@ pub struct IVdsAdvancedDisk2_Vtbl { pub ChangePartitionType: unsafe extern "system" fn(*mut core::ffi::c_void, u64, super::super::Foundation::BOOL, *const CHANGE_PARTITION_TYPE_PARAMETERS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsAdvancedDisk3, IVdsAdvancedDisk3_Vtbl, 0x3858c0d5_0f35_4bf5_9714_69874963bc36); -impl std::ops::Deref for IVdsAdvancedDisk3 { +impl core::ops::Deref for IVdsAdvancedDisk3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -173,7 +173,7 @@ pub struct IVdsAdvancedDisk3_Vtbl { pub GetUniqueId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsAdviseSink, IVdsAdviseSink_Vtbl, 0x8326cd1d_cf59_4936_b786_5efc08798e25); -impl std::ops::Deref for IVdsAdviseSink { +impl core::ops::Deref for IVdsAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -191,7 +191,7 @@ pub struct IVdsAdviseSink_Vtbl { pub OnNotify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const VDS_NOTIFICATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsAsync, IVdsAsync_Vtbl, 0xd5d23b6d_5a55_4492_9889_397a3c2d2dbc); -impl std::ops::Deref for IVdsAsync { +impl core::ops::Deref for IVdsAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -217,7 +217,7 @@ pub struct IVdsAsync_Vtbl { pub QueryStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsController, IVdsController_Vtbl, 0xcb53d96e_dffb_474a_a078_790d1e2bc082); -impl std::ops::Deref for IVdsController { +impl core::ops::Deref for IVdsController { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -265,7 +265,7 @@ pub struct IVdsController_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_CONTROLLER_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsControllerControllerPort, IVdsControllerControllerPort_Vtbl, 0xca5d735f_6bae_42c0_b30e_f2666045ce71); -impl std::ops::Deref for IVdsControllerControllerPort { +impl core::ops::Deref for IVdsControllerControllerPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -284,7 +284,7 @@ pub struct IVdsControllerControllerPort_Vtbl { pub QueryControllerPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsControllerPort, IVdsControllerPort_Vtbl, 0x18691d0d_4e7f_43e8_92e4_cf44beeed11c); -impl std::ops::Deref for IVdsControllerPort { +impl core::ops::Deref for IVdsControllerPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -320,7 +320,7 @@ pub struct IVdsControllerPort_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_PORT_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsCreatePartitionEx, IVdsCreatePartitionEx_Vtbl, 0x9882f547_cfc3_420b_9750_00dfbec50662); -impl std::ops::Deref for IVdsCreatePartitionEx { +impl core::ops::Deref for IVdsCreatePartitionEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -339,7 +339,7 @@ pub struct IVdsCreatePartitionEx_Vtbl { pub CreatePartitionEx: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u32, *const CREATE_PARTITION_PARAMETERS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDisk, IVdsDisk_Vtbl, 0x07e5c822_f00c_47a1_8fce_b244da56fd06); -impl std::ops::Deref for IVdsDisk { +impl core::ops::Deref for IVdsDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -382,7 +382,7 @@ pub struct IVdsDisk_Vtbl { pub ClearFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDisk2, IVdsDisk2_Vtbl, 0x40f73c8b_687d_4a13_8d96_3d7f2e683936); -impl std::ops::Deref for IVdsDisk2 { +impl core::ops::Deref for IVdsDisk2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -403,7 +403,7 @@ pub struct IVdsDisk2_Vtbl { pub SetSANMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDisk3, IVdsDisk3_Vtbl, 0x8f4b2f5d_ec15_4357_992f_473ef10975b9); -impl std::ops::Deref for IVdsDisk3 { +impl core::ops::Deref for IVdsDisk3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -425,7 +425,7 @@ pub struct IVdsDisk3_Vtbl { pub QueryFreeExtents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut VDS_DISK_FREE_EXTENT, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDiskOnline, IVdsDiskOnline_Vtbl, 0x90681b1d_6a7f_48e8_9061_31b7aa125322); -impl std::ops::Deref for IVdsDiskOnline { +impl core::ops::Deref for IVdsDiskOnline { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -447,7 +447,7 @@ pub struct IVdsDiskOnline_Vtbl { pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDiskPartitionMF, IVdsDiskPartitionMF_Vtbl, 0x538684e0_ba3d_4bc0_aca9_164aff85c2a9); -impl std::ops::Deref for IVdsDiskPartitionMF { +impl core::ops::Deref for IVdsDiskPartitionMF { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -486,7 +486,7 @@ pub struct IVdsDiskPartitionMF_Vtbl { pub FormatPartitionEx: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, u16, u32, windows_core::PCWSTR, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDiskPartitionMF2, IVdsDiskPartitionMF2_Vtbl, 0x9cbe50ca_f2d2_4bf4_ace1_96896b729625); -impl std::ops::Deref for IVdsDiskPartitionMF2 { +impl core::ops::Deref for IVdsDiskPartitionMF2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -509,7 +509,7 @@ pub struct IVdsDiskPartitionMF2_Vtbl { pub FormatPartitionEx2: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, u16, u32, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDrive, IVdsDrive_Vtbl, 0xff24efa4_aade_4b6b_898b_eaa6a20887c7); -impl std::ops::Deref for IVdsDrive { +impl core::ops::Deref for IVdsDrive { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -548,7 +548,7 @@ pub struct IVdsDrive_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_DRIVE_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsDrive2, IVdsDrive2_Vtbl, 0x60b5a730_addf_4436_8ca7_5769e2d1ffa4); -impl std::ops::Deref for IVdsDrive2 { +impl core::ops::Deref for IVdsDrive2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -566,7 +566,7 @@ pub struct IVdsDrive2_Vtbl { pub GetProperties2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_DRIVE_PROP2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsHbaPort, IVdsHbaPort_Vtbl, 0x2abd757f_2851_4997_9a13_47d2a885d6ca); -impl std::ops::Deref for IVdsHbaPort { +impl core::ops::Deref for IVdsHbaPort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -588,7 +588,7 @@ pub struct IVdsHbaPort_Vtbl { pub SetAllPathStatuses: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_PATH_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsHwProvider, IVdsHwProvider_Vtbl, 0xd99bdaae_b13a_4178_9fdb_e27f16b4603e); -impl std::ops::Deref for IVdsHwProvider { +impl core::ops::Deref for IVdsHwProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -615,7 +615,7 @@ pub struct IVdsHwProvider_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsHwProviderPrivate, IVdsHwProviderPrivate_Vtbl, 0x98f17bf3_9f33_4f12_8714_8b4075092c2e); -impl std::ops::Deref for IVdsHwProviderPrivate { +impl core::ops::Deref for IVdsHwProviderPrivate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -637,7 +637,7 @@ pub struct IVdsHwProviderPrivate_Vtbl { pub QueryIfCreatedLun: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const VDS_LUN_INFORMATION, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsHwProviderPrivateMpio, IVdsHwProviderPrivateMpio_Vtbl, 0x310a7715_ac2b_4c6f_9827_3d742f351676); -impl std::ops::Deref for IVdsHwProviderPrivateMpio { +impl core::ops::Deref for IVdsHwProviderPrivateMpio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -655,7 +655,7 @@ pub struct IVdsHwProviderPrivateMpio_Vtbl { pub SetAllPathStatusesFromHbaPort: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_HBAPORT_PROP, VDS_PATH_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsHwProviderStoragePools, IVdsHwProviderStoragePools_Vtbl, 0xd5b5937a_f188_4c79_b86c_11c920ad11b8); -impl std::ops::Deref for IVdsHwProviderStoragePools { +impl core::ops::Deref for IVdsHwProviderStoragePools { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -687,7 +687,7 @@ pub struct IVdsHwProviderStoragePools_Vtbl { pub QueryMaxLunCreateSizeInStoragePool: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, windows_core::GUID, *const VDS_HINTS2, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsHwProviderType, IVdsHwProviderType_Vtbl, 0x3e0f5166_542d_4fc6_947a_012174240b7e); -impl std::ops::Deref for IVdsHwProviderType { +impl core::ops::Deref for IVdsHwProviderType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -706,7 +706,7 @@ pub struct IVdsHwProviderType_Vtbl { pub GetProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_HWPROVIDER_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsHwProviderType2, IVdsHwProviderType2_Vtbl, 0x8190236f_c4d0_4e81_8011_d69512fcc984); -impl std::ops::Deref for IVdsHwProviderType2 { +impl core::ops::Deref for IVdsHwProviderType2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -725,7 +725,7 @@ pub struct IVdsHwProviderType2_Vtbl { pub GetProviderType2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_HWPROVIDER_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsIscsiInitiatorAdapter, IVdsIscsiInitiatorAdapter_Vtbl, 0xb07fedd4_1682_4440_9189_a39b55194dc5); -impl std::ops::Deref for IVdsIscsiInitiatorAdapter { +impl core::ops::Deref for IVdsIscsiInitiatorAdapter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -762,7 +762,7 @@ pub struct IVdsIscsiInitiatorAdapter_Vtbl { pub LogoutFromTarget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsIscsiInitiatorPortal, IVdsIscsiInitiatorPortal_Vtbl, 0x38a0a9ab_7cc8_4693_ac07_1f28bd03c3da); -impl std::ops::Deref for IVdsIscsiInitiatorPortal { +impl core::ops::Deref for IVdsIscsiInitiatorPortal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -798,7 +798,7 @@ pub struct IVdsIscsiInitiatorPortal_Vtbl { pub SetIpsecSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u64, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsIscsiPortal, IVdsIscsiPortal_Vtbl, 0x7fa1499d_ec85_4a8a_a47b_ff69201fcd34); -impl std::ops::Deref for IVdsIscsiPortal { +impl core::ops::Deref for IVdsIscsiPortal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -843,7 +843,7 @@ pub struct IVdsIscsiPortal_Vtbl { pub SetIpsecSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_IPADDRESS, u64, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsIscsiPortalGroup, IVdsIscsiPortalGroup_Vtbl, 0xfef5f89d_a3dd_4b36_bf28_e7dde045c593); -impl std::ops::Deref for IVdsIscsiPortalGroup { +impl core::ops::Deref for IVdsIscsiPortalGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -886,7 +886,7 @@ pub struct IVdsIscsiPortalGroup_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsIscsiPortalLocal, IVdsIscsiPortalLocal_Vtbl, 0xad837c28_52c1_421d_bf04_fae7da665396); -impl std::ops::Deref for IVdsIscsiPortalLocal { +impl core::ops::Deref for IVdsIscsiPortalLocal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -904,7 +904,7 @@ pub struct IVdsIscsiPortalLocal_Vtbl { pub SetIpsecSecurityLocal: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsIscsiTarget, IVdsIscsiTarget_Vtbl, 0xaa8f5055_83e5_4bcc_aa73_19851a36a849); -impl std::ops::Deref for IVdsIscsiTarget { +impl core::ops::Deref for IVdsIscsiTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -972,7 +972,7 @@ pub struct IVdsIscsiTarget_Vtbl { pub GetConnectedInitiators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::PWSTR, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLun, IVdsLun_Vtbl, 0x3540a9c7_e60f_4111_a840_8bba6c2c83d8); -impl std::ops::Deref for IVdsLun { +impl core::ops::Deref for IVdsLun { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1066,7 +1066,7 @@ pub struct IVdsLun_Vtbl { pub QueryMaxLunExtendSize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, i32, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLun2, IVdsLun2_Vtbl, 0xe5b3a735_9efb_499a_8071_4394d9ee6fcb); -impl std::ops::Deref for IVdsLun2 { +impl core::ops::Deref for IVdsLun2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1088,7 +1088,7 @@ pub struct IVdsLun2_Vtbl { pub ApplyHints2: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_HINTS2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLunControllerPorts, IVdsLunControllerPorts_Vtbl, 0x451fe266_da6d_406a_bb60_82e534f85aeb); -impl std::ops::Deref for IVdsLunControllerPorts { +impl core::ops::Deref for IVdsLunControllerPorts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1111,7 +1111,7 @@ pub struct IVdsLunControllerPorts_Vtbl { pub QueryActiveControllerPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLunIscsi, IVdsLunIscsi_Vtbl, 0x0d7c1e64_b59b_45ae_b86a_2c2cc6a42067); -impl std::ops::Deref for IVdsLunIscsi { +impl core::ops::Deref for IVdsLunIscsi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1134,7 +1134,7 @@ pub struct IVdsLunIscsi_Vtbl { pub QueryAssociatedTargets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLunMpio, IVdsLunMpio_Vtbl, 0x7c5fbae3_333a_48a1_a982_33c15788cde3); -impl std::ops::Deref for IVdsLunMpio { +impl core::ops::Deref for IVdsLunMpio { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1165,7 +1165,7 @@ pub struct IVdsLunMpio_Vtbl { pub GetSupportedLbPolicies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLunNaming, IVdsLunNaming_Vtbl, 0x907504cb_6b4e_4d88_a34d_17ba661fbb06); -impl std::ops::Deref for IVdsLunNaming { +impl core::ops::Deref for IVdsLunNaming { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1186,7 +1186,7 @@ pub struct IVdsLunNaming_Vtbl { pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLunNumber, IVdsLunNumber_Vtbl, 0xd3f95e46_54b3_41f9_b678_0f1871443a08); -impl std::ops::Deref for IVdsLunNumber { +impl core::ops::Deref for IVdsLunNumber { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1205,7 +1205,7 @@ pub struct IVdsLunNumber_Vtbl { pub GetLunNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsLunPlex, IVdsLunPlex_Vtbl, 0x0ee1a790_5d2e_4abb_8c99_c481e8be2138); -impl std::ops::Deref for IVdsLunPlex { +impl core::ops::Deref for IVdsLunPlex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1240,7 +1240,7 @@ pub struct IVdsLunPlex_Vtbl { pub ApplyHints: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_HINTS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsMaintenance, IVdsMaintenance_Vtbl, 0xdaebeef3_8523_47ed_a2b9_05cecce2a1ae); -impl std::ops::Deref for IVdsMaintenance { +impl core::ops::Deref for IVdsMaintenance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1266,7 +1266,7 @@ pub struct IVdsMaintenance_Vtbl { pub PulseMaintenance: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_MAINTENANCE_OPERATION, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsOpenVDisk, IVdsOpenVDisk_Vtbl, 0x75c8f324_f715_4fe3_a28e_f9011b61a4a1); -impl std::ops::Deref for IVdsOpenVDisk { +impl core::ops::Deref for IVdsOpenVDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1335,7 +1335,7 @@ pub struct IVdsOpenVDisk_Vtbl { Expand: usize, } windows_core::imp::define_interface!(IVdsPack, IVdsPack_Vtbl, 0x3b69d7f5_9d94_4648_91ca_79939ba263bf); -impl std::ops::Deref for IVdsPack { +impl core::ops::Deref for IVdsPack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1402,7 +1402,7 @@ pub struct IVdsPack_Vtbl { pub Recover: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsPack2, IVdsPack2_Vtbl, 0x13b50bff_290a_47dd_8558_b7c58db1a71a); -impl std::ops::Deref for IVdsPack2 { +impl core::ops::Deref for IVdsPack2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1421,7 +1421,7 @@ pub struct IVdsPack2_Vtbl { pub CreateVolume2: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_VOLUME_TYPE, *const VDS_INPUT_DISK, i32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsProvider, IVdsProvider_Vtbl, 0x10c5e575_7984_4e81_a56b_431f5f92ae42); -impl std::ops::Deref for IVdsProvider { +impl core::ops::Deref for IVdsProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1439,7 +1439,7 @@ pub struct IVdsProvider_Vtbl { pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_PROVIDER_PROP) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsProviderPrivate, IVdsProviderPrivate_Vtbl, 0x11f3cd41_b7e8_48ff_9472_9dff018aa292); -impl std::ops::Deref for IVdsProviderPrivate { +impl core::ops::Deref for IVdsProviderPrivate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1473,7 +1473,7 @@ pub struct IVdsProviderPrivate_Vtbl { pub OnUnload: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsProviderSupport, IVdsProviderSupport_Vtbl, 0x1732be13_e8f9_4a03_bfbc_5f616aa66ce1); -impl std::ops::Deref for IVdsProviderSupport { +impl core::ops::Deref for IVdsProviderSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1492,7 +1492,7 @@ pub struct IVdsProviderSupport_Vtbl { pub GetVersionSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsRemovable, IVdsRemovable_Vtbl, 0x0316560b_5db4_4ed9_bbb5_213436ddc0d9); -impl std::ops::Deref for IVdsRemovable { +impl core::ops::Deref for IVdsRemovable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1514,7 +1514,7 @@ pub struct IVdsRemovable_Vtbl { pub Eject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsService, IVdsService_Vtbl, 0x0818a8ef_9ba9_40d8_a6f9_e22833cc771e); -impl std::ops::Deref for IVdsService { +impl core::ops::Deref for IVdsService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1605,7 +1605,7 @@ pub struct IVdsService_Vtbl { pub ClearFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsServiceHba, IVdsServiceHba_Vtbl, 0x0ac13689_3134_47c6_a17c_4669216801be); -impl std::ops::Deref for IVdsServiceHba { +impl core::ops::Deref for IVdsServiceHba { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1624,7 +1624,7 @@ pub struct IVdsServiceHba_Vtbl { pub QueryHbaPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsServiceInitialization, IVdsServiceInitialization_Vtbl, 0x4afc3636_db01_4052_80c3_03bbcb8d3c69); -impl std::ops::Deref for IVdsServiceInitialization { +impl core::ops::Deref for IVdsServiceInitialization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1645,7 +1645,7 @@ pub struct IVdsServiceInitialization_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsServiceIscsi, IVdsServiceIscsi_Vtbl, 0x14fbe036_3ed7_4e10_90e9_a5ff991aff01); -impl std::ops::Deref for IVdsServiceIscsi { +impl core::ops::Deref for IVdsServiceIscsi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1689,7 +1689,7 @@ pub struct IVdsServiceIscsi_Vtbl { pub RememberTargetSharedSecret: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const VDS_ISCSI_SHARED_SECRET) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsServiceLoader, IVdsServiceLoader_Vtbl, 0xe0393303_90d4_4a97_ab71_e9b671ee2729); -impl std::ops::Deref for IVdsServiceLoader { +impl core::ops::Deref for IVdsServiceLoader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1711,7 +1711,7 @@ pub struct IVdsServiceLoader_Vtbl { pub LoadService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsServiceSAN, IVdsServiceSAN_Vtbl, 0xfc5d23e8_a88b_41a5_8de0_2d2f73c5a630); -impl std::ops::Deref for IVdsServiceSAN { +impl core::ops::Deref for IVdsServiceSAN { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1734,7 +1734,7 @@ pub struct IVdsServiceSAN_Vtbl { pub SetSANPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_SAN_POLICY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsServiceSw, IVdsServiceSw_Vtbl, 0x15fc031c_0652_4306_b2c3_f558b8f837e2); -impl std::ops::Deref for IVdsServiceSw { +impl core::ops::Deref for IVdsServiceSw { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1756,7 +1756,7 @@ pub struct IVdsServiceSw_Vtbl { pub GetDiskObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsServiceUninstallDisk, IVdsServiceUninstallDisk_Vtbl, 0xb6b22da8_f903_4be7_b492_c09d875ac9da); -impl std::ops::Deref for IVdsServiceUninstallDisk { +impl core::ops::Deref for IVdsServiceUninstallDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1782,7 +1782,7 @@ pub struct IVdsServiceUninstallDisk_Vtbl { pub UninstallDisks: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, super::super::Foundation::BOOLEAN, *mut u8, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsStoragePool, IVdsStoragePool_Vtbl, 0x932ca8cf_0eb3_4ba8_9620_22665d7f8450); -impl std::ops::Deref for IVdsStoragePool { +impl core::ops::Deref for IVdsStoragePool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1823,7 +1823,7 @@ pub struct IVdsStoragePool_Vtbl { pub QueryAllocatedStoragePools: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsSubSystem, IVdsSubSystem_Vtbl, 0x6fcee2d3_6d90_4f91_80e2_a5c7caaca9d8); -impl std::ops::Deref for IVdsSubSystem { +impl core::ops::Deref for IVdsSubSystem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1895,7 +1895,7 @@ pub struct IVdsSubSystem_Vtbl { pub QueryMaxLunCreateSize: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, *const windows_core::GUID, i32, *const VDS_HINTS, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsSubSystem2, IVdsSubSystem2_Vtbl, 0xbe666735_7800_4a77_9d9c_40f85b87e292); -impl std::ops::Deref for IVdsSubSystem2 { +impl core::ops::Deref for IVdsSubSystem2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1931,7 +1931,7 @@ pub struct IVdsSubSystem2_Vtbl { pub QueryMaxLunCreateSize2: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, *const windows_core::GUID, i32, *const VDS_HINTS2, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsSubSystemImportTarget, IVdsSubSystemImportTarget_Vtbl, 0x83bfb87f_43fb_4903_baa6_127f01029eec); -impl std::ops::Deref for IVdsSubSystemImportTarget { +impl core::ops::Deref for IVdsSubSystemImportTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1957,7 +1957,7 @@ pub struct IVdsSubSystemImportTarget_Vtbl { pub SetImportTarget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsSubSystemInterconnect, IVdsSubSystemInterconnect_Vtbl, 0x9e6fa560_c141_477b_83ba_0b6c38f7febf); -impl std::ops::Deref for IVdsSubSystemInterconnect { +impl core::ops::Deref for IVdsSubSystemInterconnect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1976,7 +1976,7 @@ pub struct IVdsSubSystemInterconnect_Vtbl { pub GetSupportedInterconnects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsSubSystemIscsi, IVdsSubSystemIscsi_Vtbl, 0x0027346f_40d0_4b45_8cec_5906dc0380c8); -impl std::ops::Deref for IVdsSubSystemIscsi { +impl core::ops::Deref for IVdsSubSystemIscsi { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2013,7 +2013,7 @@ pub struct IVdsSubSystemIscsi_Vtbl { pub SetIpsecGroupPresharedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsSubSystemNaming, IVdsSubSystemNaming_Vtbl, 0x0d70faa3_9cd4_4900_aa20_6981b6aafc75); -impl std::ops::Deref for IVdsSubSystemNaming { +impl core::ops::Deref for IVdsSubSystemNaming { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2034,7 +2034,7 @@ pub struct IVdsSubSystemNaming_Vtbl { pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsSwProvider, IVdsSwProvider_Vtbl, 0x9aa58360_ce33_4f92_b658_ed24b14425b8); -impl std::ops::Deref for IVdsSwProvider { +impl core::ops::Deref for IVdsSwProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2058,7 +2058,7 @@ pub struct IVdsSwProvider_Vtbl { pub CreatePack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVDisk, IVdsVDisk_Vtbl, 0x1e062b84_e5e6_4b4b_8a25_67b81e8f13e8); -impl std::ops::Deref for IVdsVDisk { +impl core::ops::Deref for IVdsVDisk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2099,7 +2099,7 @@ pub struct IVdsVDisk_Vtbl { pub GetDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVdProvider, IVdsVdProvider_Vtbl, 0xb481498c_8354_45f9_84a0_0bdd2832a91f); -impl std::ops::Deref for IVdsVdProvider { +impl core::ops::Deref for IVdsVdProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2157,7 +2157,7 @@ pub struct IVdsVdProvider_Vtbl { pub GetVDiskFromDisk: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolume, IVdsVolume_Vtbl, 0x88306bb2_e71f_478c_86a2_79da200a0f11); -impl std::ops::Deref for IVdsVolume { +impl core::ops::Deref for IVdsVolume { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2228,7 +2228,7 @@ pub struct IVdsVolume_Vtbl { pub ClearFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolume2, IVdsVolume2_Vtbl, 0x72ae6713_dcbb_4a03_b36b_371f6ac6b53d); -impl std::ops::Deref for IVdsVolume2 { +impl core::ops::Deref for IVdsVolume2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2246,7 +2246,7 @@ pub struct IVdsVolume2_Vtbl { pub GetProperties2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_VOLUME_PROP2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolumeMF, IVdsVolumeMF_Vtbl, 0xee2d5ded_6236_4169_931d_b9778ce03dc6); -impl std::ops::Deref for IVdsVolumeMF { +impl core::ops::Deref for IVdsVolumeMF { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2318,7 +2318,7 @@ pub struct IVdsVolumeMF_Vtbl { pub ClearFileSystemFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolumeMF2, IVdsVolumeMF2_Vtbl, 0x4dbcee9a_6343_4651_b85f_5e75d74d983c); -impl std::ops::Deref for IVdsVolumeMF2 { +impl core::ops::Deref for IVdsVolumeMF2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2353,7 +2353,7 @@ pub struct IVdsVolumeMF2_Vtbl { pub FormatEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u16, u32, windows_core::PCWSTR, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolumeMF3, IVdsVolumeMF3_Vtbl, 0x6788faf9_214e_4b85_ba59_266953616e09); -impl std::ops::Deref for IVdsVolumeMF3 { +impl core::ops::Deref for IVdsVolumeMF3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2384,7 +2384,7 @@ pub struct IVdsVolumeMF3_Vtbl { pub OfflineVolume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolumeOnline, IVdsVolumeOnline_Vtbl, 0x1be2275a_b315_4f70_9e44_879b3a2a53f2); -impl std::ops::Deref for IVdsVolumeOnline { +impl core::ops::Deref for IVdsVolumeOnline { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2402,7 +2402,7 @@ pub struct IVdsVolumeOnline_Vtbl { pub Online: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolumePlex, IVdsVolumePlex_Vtbl, 0x4daa0135_e1d1_40f1_aaa5_3cc1e53221c3); -impl std::ops::Deref for IVdsVolumePlex { +impl core::ops::Deref for IVdsVolumePlex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2434,7 +2434,7 @@ pub struct IVdsVolumePlex_Vtbl { pub Repair: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_INPUT_DISK, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVdsVolumeShrink, IVdsVolumeShrink_Vtbl, 0xd68168c9_82a2_4f85_b6e9_74707c49a58f); -impl std::ops::Deref for IVdsVolumeShrink { +impl core::ops::Deref for IVdsVolumeShrink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs index 73fa8ec14d..5efe03b713 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs @@ -5,7 +5,7 @@ pub unsafe fn CreateVssExpressWriterInternal() -> windows_core::Result &Self::Target { unsafe { core::mem::transmute(self) } @@ -36,7 +36,7 @@ pub struct IVssAdmin_Vtbl { pub AbortAllSnapshotsInProgress: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssAdminEx, IVssAdminEx_Vtbl, 0x7858a9f8_b1fa_41a6_964f_b9b36b8cd8d8); -impl std::ops::Deref for IVssAdminEx { +impl core::ops::Deref for IVssAdminEx { type Target = IVssAdmin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -64,7 +64,7 @@ pub struct IVssAdminEx_Vtbl { pub SetProviderContext: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssAsync, IVssAsync_Vtbl, 0x507c37b4_cf5b_4e95_b0af_14eb9767467e); -impl std::ops::Deref for IVssAsync { +impl core::ops::Deref for IVssAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -90,7 +90,7 @@ pub struct IVssAsync_Vtbl { pub QueryStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssComponent, IVssComponent_Vtbl, 0xd2c72c96_c121_4518_b627_e5a93d010ead); -impl std::ops::Deref for IVssComponent { +impl core::ops::Deref for IVssComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -298,7 +298,7 @@ pub struct IVssComponent_Vtbl { pub GetDifferencedFile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut core::mem::MaybeUninit, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssComponentEx, IVssComponentEx_Vtbl, 0x156c8b5e_f131_4bd7_9c97_d1923be7e1fa); -impl std::ops::Deref for IVssComponentEx { +impl core::ops::Deref for IVssComponentEx { type Target = IVssComponent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -350,7 +350,7 @@ pub struct IVssComponentEx_Vtbl { pub GetRestoreName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssComponentEx2, IVssComponentEx2_Vtbl, 0x3b5be0f2_07a9_4e4b_bdd3_cfdc8e2c0d2d); -impl std::ops::Deref for IVssComponentEx2 { +impl core::ops::Deref for IVssComponentEx2 { type Target = IVssComponentEx; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -375,7 +375,7 @@ pub struct IVssComponentEx2_Vtbl { pub GetFailure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut windows_core::HRESULT, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssCreateExpressWriterMetadata, IVssCreateExpressWriterMetadata_Vtbl, 0x9c772e77_b26e_427f_92dd_c996f41ea5e3); -impl std::ops::Deref for IVssCreateExpressWriterMetadata { +impl core::ops::Deref for IVssCreateExpressWriterMetadata { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -551,7 +551,7 @@ pub struct IVssCreateWriterMetadata_Vtbl { pub SaveAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt_Vtbl, 0x214a0f28_b737_4026_b847_4f9e37d79529); -impl std::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt { +impl core::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -593,7 +593,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt_Vtbl { pub QueryDiffAreasForSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt2, IVssDifferentialSoftwareSnapshotMgmt2_Vtbl, 0x949d7353_675f_4275_8969_f044c6277815); -impl std::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt2 { +impl core::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt2 { type Target = IVssDifferentialSoftwareSnapshotMgmt; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -627,7 +627,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt2_Vtbl { pub SetSnapshotPriority: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt3, IVssDifferentialSoftwareSnapshotMgmt3_Vtbl, 0x383f7e71_a4c5_401f_b27f_f826289f8458); -impl std::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt3 { +impl core::ops::Deref for IVssDifferentialSoftwareSnapshotMgmt3 { type Target = IVssDifferentialSoftwareSnapshotMgmt2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -661,7 +661,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt3_Vtbl { pub QuerySnapshotDeltaBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::GUID, *mut u32, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssEnumMgmtObject, IVssEnumMgmtObject_Vtbl, 0x01954e6b_9254_4e6e_808c_c9e05d007696); -impl std::ops::Deref for IVssEnumMgmtObject { +impl core::ops::Deref for IVssEnumMgmtObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -691,7 +691,7 @@ pub struct IVssEnumMgmtObject_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssEnumObject, IVssEnumObject_Vtbl, 0xae1c7110_2f60_11d3_8a39_00c04f72d8e3); -impl std::ops::Deref for IVssEnumObject { +impl core::ops::Deref for IVssEnumObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -721,7 +721,7 @@ pub struct IVssEnumObject_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssExpressWriter, IVssExpressWriter_Vtbl, 0xe33affdc_59c7_47b1_97d5_4266598f6235); -impl std::ops::Deref for IVssExpressWriter { +impl core::ops::Deref for IVssExpressWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -758,7 +758,7 @@ pub struct IVssExpressWriter_Vtbl { pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssFileShareSnapshotProvider, IVssFileShareSnapshotProvider_Vtbl, 0xc8636060_7c2e_11df_8c4a_0800200c9a66); -impl std::ops::Deref for IVssFileShareSnapshotProvider { +impl core::ops::Deref for IVssFileShareSnapshotProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -812,7 +812,7 @@ pub struct IVssFileShareSnapshotProvider_Vtbl { pub SetSnapshotProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, VSS_SNAPSHOT_PROPERTY_ID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssHardwareSnapshotProvider, IVssHardwareSnapshotProvider_Vtbl, 0x9593a157_44e9_4344_bbeb_44fbf9b06b10); -impl std::ops::Deref for IVssHardwareSnapshotProvider { +impl core::ops::Deref for IVssHardwareSnapshotProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -874,7 +874,7 @@ pub struct IVssHardwareSnapshotProvider_Vtbl { OnLunEmpty: usize, } windows_core::imp::define_interface!(IVssHardwareSnapshotProviderEx, IVssHardwareSnapshotProviderEx_Vtbl, 0x7f5ba925_cdb1_4d11_a71f_339eb7e709fd); -impl std::ops::Deref for IVssHardwareSnapshotProviderEx { +impl core::ops::Deref for IVssHardwareSnapshotProviderEx { type Target = IVssHardwareSnapshotProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -918,7 +918,7 @@ pub struct IVssHardwareSnapshotProviderEx_Vtbl { OnReuseLuns: usize, } windows_core::imp::define_interface!(IVssProviderCreateSnapshotSet, IVssProviderCreateSnapshotSet_Vtbl, 0x5f894e5b_1e39_4778_8e23_9abad9f0e08c); -impl std::ops::Deref for IVssProviderCreateSnapshotSet { +impl core::ops::Deref for IVssProviderCreateSnapshotSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -960,7 +960,7 @@ pub struct IVssProviderCreateSnapshotSet_Vtbl { pub AbortSnapshots: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssProviderNotifications, IVssProviderNotifications_Vtbl, 0xe561901f_03a5_4afe_86d0_72baeece7004); -impl std::ops::Deref for IVssProviderNotifications { +impl core::ops::Deref for IVssProviderNotifications { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -988,7 +988,7 @@ pub struct IVssProviderNotifications_Vtbl { pub OnUnload: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssSnapshotMgmt, IVssSnapshotMgmt_Vtbl, 0xfa7df749_66e7_4986_a27f_e2f04ae53772); -impl std::ops::Deref for IVssSnapshotMgmt { +impl core::ops::Deref for IVssSnapshotMgmt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1017,7 +1017,7 @@ pub struct IVssSnapshotMgmt_Vtbl { pub QuerySnapshotsByVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssSnapshotMgmt2, IVssSnapshotMgmt2_Vtbl, 0x0f61ec39_fe82_45f2_a3f0_768b5d427102); -impl std::ops::Deref for IVssSnapshotMgmt2 { +impl core::ops::Deref for IVssSnapshotMgmt2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1036,7 +1036,7 @@ pub struct IVssSnapshotMgmt2_Vtbl { pub GetMinDiffAreaSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssSoftwareSnapshotProvider, IVssSoftwareSnapshotProvider_Vtbl, 0x609e123e_2c5a_44d3_8f01_0b1d9a47d1ff); -impl std::ops::Deref for IVssSoftwareSnapshotProvider { +impl core::ops::Deref for IVssSoftwareSnapshotProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1099,7 +1099,7 @@ pub struct IVssSoftwareSnapshotProvider_Vtbl { pub QueryRevertStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssWMDependency, IVssWMDependency_Vtbl, 0); -impl std::ops::Deref for IVssWMDependency { +impl core::ops::Deref for IVssWMDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1125,7 +1125,7 @@ pub struct IVssWMDependency_Vtbl { pub GetComponentName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVssWMFiledesc, IVssWMFiledesc_Vtbl, 0); -impl std::ops::Deref for IVssWMFiledesc { +impl core::ops::Deref for IVssWMFiledesc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs index a0483d86fd..6a1a6c2311 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/mod.rs @@ -26,7 +26,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrintDocumentPackageStatusEvent, IPrintDocumentPackageStatusEvent_Vtbl, 0xed90c8ad_5c34_4d05_a1ec_0e8a9b3ad7af); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrintDocumentPackageStatusEvent { +impl core::ops::Deref for IPrintDocumentPackageStatusEvent { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -47,7 +47,7 @@ pub struct IPrintDocumentPackageStatusEvent_Vtbl { pub PackageStatusUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *const PrintDocumentPackageStatus) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintDocumentPackageTarget, IPrintDocumentPackageTarget_Vtbl, 0x1b8efec4_3019_4c27_964e_367202156906); -impl std::ops::Deref for IPrintDocumentPackageTarget { +impl core::ops::Deref for IPrintDocumentPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -62,7 +62,7 @@ impl IPrintDocumentPackageTarget { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPackageTarget)(windows_core::Interface::as_raw(self), guidtargettype, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -77,7 +77,7 @@ pub struct IPrintDocumentPackageTarget_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintDocumentPackageTarget2, IPrintDocumentPackageTarget2_Vtbl, 0xc560298a_535c_48f9_866a_632540660cb4); -impl std::ops::Deref for IPrintDocumentPackageTarget2 { +impl core::ops::Deref for IPrintDocumentPackageTarget2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -93,7 +93,7 @@ impl IPrintDocumentPackageTarget2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetTargetIppPrintDevice)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -104,7 +104,7 @@ pub struct IPrintDocumentPackageTarget2_Vtbl { pub GetTargetIppPrintDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintDocumentPackageTargetFactory, IPrintDocumentPackageTargetFactory_Vtbl, 0xd2959bf7_b31b_4a3d_9600_712eb1335ba4); -impl std::ops::Deref for IPrintDocumentPackageTargetFactory { +impl core::ops::Deref for IPrintDocumentPackageTargetFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -133,7 +133,7 @@ pub struct IPrintDocumentPackageTargetFactory_Vtbl { CreateDocumentPackageTargetForPrintJob: usize, } windows_core::imp::define_interface!(IXpsPrintJob, IXpsPrintJob_Vtbl, 0x5ab89b06_8194_425f_ab3b_d7a96e350161); -impl std::ops::Deref for IXpsPrintJob { +impl core::ops::Deref for IXpsPrintJob { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -157,7 +157,7 @@ pub struct IXpsPrintJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IXpsPrintJobStream, IXpsPrintJobStream_Vtbl, 0x7a77dc5f_45d6_4dff_9307_d8cb846347ca); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IXpsPrintJobStream { +impl core::ops::Deref for IXpsPrintJobStream { type Target = super::super::super::System::Com::ISequentialStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs index 42f1242159..b6e6027787 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs @@ -112,7 +112,7 @@ where StartPage(hdc.param().abi()) } windows_core::imp::define_interface!(IXpsDocumentPackageTarget, IXpsDocumentPackageTarget_Vtbl, 0x3b0b6d38_53ad_41da_b212_d37637a6714e); -impl std::ops::Deref for IXpsDocumentPackageTarget { +impl core::ops::Deref for IXpsDocumentPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -149,7 +149,7 @@ pub struct IXpsDocumentPackageTarget_Vtbl { pub GetXpsType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_DOCUMENT_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsDocumentPackageTarget3D, IXpsDocumentPackageTarget3D_Vtbl, 0x60ba71b8_3101_4984_9199_f4ea775ff01d); -impl std::ops::Deref for IXpsDocumentPackageTarget3D { +impl core::ops::Deref for IXpsDocumentPackageTarget3D { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -183,7 +183,7 @@ pub struct IXpsDocumentPackageTarget3D_Vtbl { pub GetXpsOMFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMBrush, IXpsOMBrush_Vtbl, 0x56a3f80c_ea4c_4187_a57b_a2a473b2b42b); -impl std::ops::Deref for IXpsOMBrush { +impl core::ops::Deref for IXpsOMBrush { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -206,7 +206,7 @@ pub struct IXpsOMBrush_Vtbl { pub SetOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMCanvas, IXpsOMCanvas_Vtbl, 0x221d1452_331e_47c6_87e9_6ccefb9b5ba3); -impl std::ops::Deref for IXpsOMCanvas { +impl core::ops::Deref for IXpsOMCanvas { type Target = IXpsOMVisual; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -295,7 +295,7 @@ pub struct IXpsOMCanvas_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMColorProfileResource, IXpsOMColorProfileResource_Vtbl, 0x67bd7d69_1eef_4bb1_b5e7_6f4f87be8abe); -impl std::ops::Deref for IXpsOMColorProfileResource { +impl core::ops::Deref for IXpsOMColorProfileResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -330,7 +330,7 @@ pub struct IXpsOMColorProfileResource_Vtbl { SetContent: usize, } windows_core::imp::define_interface!(IXpsOMColorProfileResourceCollection, IXpsOMColorProfileResourceCollection_Vtbl, 0x12759630_5fba_4283_8f7d_cca849809edb); -impl std::ops::Deref for IXpsOMColorProfileResourceCollection { +impl core::ops::Deref for IXpsOMColorProfileResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -391,7 +391,7 @@ pub struct IXpsOMColorProfileResourceCollection_Vtbl { GetByPartName: usize, } windows_core::imp::define_interface!(IXpsOMCoreProperties, IXpsOMCoreProperties_Vtbl, 0x3340fe8f_4027_4aa1_8f5f_d35ae45fe597); -impl std::ops::Deref for IXpsOMCoreProperties { +impl core::ops::Deref for IXpsOMCoreProperties { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -598,7 +598,7 @@ pub struct IXpsOMCoreProperties_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMDashCollection, IXpsOMDashCollection_Vtbl, 0x081613f4_74eb_48f2_83b3_37a9ce2d7dc6); -impl std::ops::Deref for IXpsOMDashCollection { +impl core::ops::Deref for IXpsOMDashCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -638,7 +638,7 @@ pub struct IXpsOMDashCollection_Vtbl { pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *const XPS_DASH) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMDictionary, IXpsOMDictionary_Vtbl, 0x897c86b8_8eaf_4ae3_bdde_56419fcf4236); -impl std::ops::Deref for IXpsOMDictionary { +impl core::ops::Deref for IXpsOMDictionary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -717,7 +717,7 @@ pub struct IXpsOMDictionary_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMDocument, IXpsOMDocument_Vtbl, 0x2c2c94cb_ac5f_4254_8ee9_23948309d9f0); -impl std::ops::Deref for IXpsOMDocument { +impl core::ops::Deref for IXpsOMDocument { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -775,7 +775,7 @@ pub struct IXpsOMDocument_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMDocumentCollection, IXpsOMDocumentCollection_Vtbl, 0xd1c87f0d_e947_4754_8a25_971478f7e83e); -impl std::ops::Deref for IXpsOMDocumentCollection { +impl core::ops::Deref for IXpsOMDocumentCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -824,7 +824,7 @@ pub struct IXpsOMDocumentCollection_Vtbl { pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMDocumentSequence, IXpsOMDocumentSequence_Vtbl, 0x56492eb4_d8d5_425e_8256_4c2b64ad0264); -impl std::ops::Deref for IXpsOMDocumentSequence { +impl core::ops::Deref for IXpsOMDocumentSequence { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -860,7 +860,7 @@ pub struct IXpsOMDocumentSequence_Vtbl { pub SetPrintTicketResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMDocumentStructureResource, IXpsOMDocumentStructureResource_Vtbl, 0x85febc8a_6b63_48a9_af07_7064e4ecff30); -impl std::ops::Deref for IXpsOMDocumentStructureResource { +impl core::ops::Deref for IXpsOMDocumentStructureResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -900,7 +900,7 @@ pub struct IXpsOMDocumentStructureResource_Vtbl { SetContent: usize, } windows_core::imp::define_interface!(IXpsOMFontResource, IXpsOMFontResource_Vtbl, 0xa8c45708_47d9_4af4_8d20_33b48c9b8485); -impl std::ops::Deref for IXpsOMFontResource { +impl core::ops::Deref for IXpsOMFontResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -940,7 +940,7 @@ pub struct IXpsOMFontResource_Vtbl { pub GetEmbeddingOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_FONT_EMBEDDING) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMFontResourceCollection, IXpsOMFontResourceCollection_Vtbl, 0x70b4a6bb_88d4_4fa8_aaf9_6d9c596fdbad); -impl std::ops::Deref for IXpsOMFontResourceCollection { +impl core::ops::Deref for IXpsOMFontResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1001,7 +1001,7 @@ pub struct IXpsOMFontResourceCollection_Vtbl { GetByPartName: usize, } windows_core::imp::define_interface!(IXpsOMGeometry, IXpsOMGeometry_Vtbl, 0x64fcf3d7_4d58_44ba_ad73_a13af6492072); -impl std::ops::Deref for IXpsOMGeometry { +impl core::ops::Deref for IXpsOMGeometry { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1063,7 +1063,7 @@ pub struct IXpsOMGeometry_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMGeometryFigure, IXpsOMGeometryFigure_Vtbl, 0xd410dc83_908c_443e_8947_b1795d3c165a); -impl std::ops::Deref for IXpsOMGeometryFigure { +impl core::ops::Deref for IXpsOMGeometryFigure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1151,7 +1151,7 @@ pub struct IXpsOMGeometryFigure_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMGeometryFigureCollection, IXpsOMGeometryFigureCollection_Vtbl, 0xfd48c3f3_a58e_4b5a_8826_1de54abe72b2); -impl std::ops::Deref for IXpsOMGeometryFigureCollection { +impl core::ops::Deref for IXpsOMGeometryFigureCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1200,7 +1200,7 @@ pub struct IXpsOMGeometryFigureCollection_Vtbl { pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMGlyphs, IXpsOMGlyphs_Vtbl, 0x819b3199_0a5a_4b64_bec7_a9e17e780de2); -impl std::ops::Deref for IXpsOMGlyphs { +impl core::ops::Deref for IXpsOMGlyphs { type Target = IXpsOMVisual; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1348,7 +1348,7 @@ pub struct IXpsOMGlyphs_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMGlyphsEditor, IXpsOMGlyphsEditor_Vtbl, 0xa5ab8616_5b16_4b9f_9629_89b323ed7909); -impl std::ops::Deref for IXpsOMGlyphsEditor { +impl core::ops::Deref for IXpsOMGlyphsEditor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1450,7 +1450,7 @@ pub struct IXpsOMGlyphsEditor_Vtbl { pub SetDeviceFontName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMGradientBrush, IXpsOMGradientBrush_Vtbl, 0xedb59622_61a2_42c3_bace_acf2286c06bf); -impl std::ops::Deref for IXpsOMGradientBrush { +impl core::ops::Deref for IXpsOMGradientBrush { type Target = IXpsOMBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1516,7 +1516,7 @@ pub struct IXpsOMGradientBrush_Vtbl { pub SetColorInterpolationMode: unsafe extern "system" fn(*mut core::ffi::c_void, XPS_COLOR_INTERPOLATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMGradientStop, IXpsOMGradientStop_Vtbl, 0x5cf4f5cc_3969_49b5_a70a_5550b618fe49); -impl std::ops::Deref for IXpsOMGradientStop { +impl core::ops::Deref for IXpsOMGradientStop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1561,7 +1561,7 @@ pub struct IXpsOMGradientStop_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMGradientStopCollection, IXpsOMGradientStopCollection_Vtbl, 0xc9174c3a_3cd3_4319_bda4_11a39392ceef); -impl std::ops::Deref for IXpsOMGradientStopCollection { +impl core::ops::Deref for IXpsOMGradientStopCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1610,7 +1610,7 @@ pub struct IXpsOMGradientStopCollection_Vtbl { pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMImageBrush, IXpsOMImageBrush_Vtbl, 0x3df0b466_d382_49ef_8550_dd94c80242e4); -impl std::ops::Deref for IXpsOMImageBrush { +impl core::ops::Deref for IXpsOMImageBrush { type Target = IXpsOMTileBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1653,7 +1653,7 @@ pub struct IXpsOMImageBrush_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMImageResource, IXpsOMImageResource_Vtbl, 0x3db8417d_ae50_485e_9a44_d7758f78a23f); -impl std::ops::Deref for IXpsOMImageResource { +impl core::ops::Deref for IXpsOMImageResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1693,7 +1693,7 @@ pub struct IXpsOMImageResource_Vtbl { pub GetImageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_IMAGE_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMImageResourceCollection, IXpsOMImageResourceCollection_Vtbl, 0x7a4a1a71_9cde_4b71_b33f_62de843eabfe); -impl std::ops::Deref for IXpsOMImageResourceCollection { +impl core::ops::Deref for IXpsOMImageResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1754,7 +1754,7 @@ pub struct IXpsOMImageResourceCollection_Vtbl { GetByPartName: usize, } windows_core::imp::define_interface!(IXpsOMLinearGradientBrush, IXpsOMLinearGradientBrush_Vtbl, 0x005e279f_c30d_40ff_93ec_1950d3c528db); -impl std::ops::Deref for IXpsOMLinearGradientBrush { +impl core::ops::Deref for IXpsOMLinearGradientBrush { type Target = IXpsOMGradientBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1791,7 +1791,7 @@ pub struct IXpsOMLinearGradientBrush_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMMatrixTransform, IXpsOMMatrixTransform_Vtbl, 0xb77330ff_bb37_4501_a93e_f1b1e50bfc46); -impl std::ops::Deref for IXpsOMMatrixTransform { +impl core::ops::Deref for IXpsOMMatrixTransform { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1819,7 +1819,7 @@ pub struct IXpsOMMatrixTransform_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMNameCollection, IXpsOMNameCollection_Vtbl, 0x4bddf8ec_c915_421b_a166_d173d25653d2); -impl std::ops::Deref for IXpsOMNameCollection { +impl core::ops::Deref for IXpsOMNameCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1843,7 +1843,7 @@ pub struct IXpsOMNameCollection_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMObjectFactory, IXpsOMObjectFactory_Vtbl, 0xf9b2a685_a50d_4fc2_b764_b56e093ea0ca); -impl std::ops::Deref for IXpsOMObjectFactory { +impl core::ops::Deref for IXpsOMObjectFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2227,7 +2227,7 @@ pub struct IXpsOMObjectFactory_Vtbl { CreateReadOnlyStreamOnFile: usize, } windows_core::imp::define_interface!(IXpsOMObjectFactory1, IXpsOMObjectFactory1_Vtbl, 0x0a91b617_d612_4181_bf7c_be5824e9cc8f); -impl std::ops::Deref for IXpsOMObjectFactory1 { +impl core::ops::Deref for IXpsOMObjectFactory1 { type Target = IXpsOMObjectFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2380,7 +2380,7 @@ pub struct IXpsOMObjectFactory1_Vtbl { CreateRemoteDictionaryResourceFromStream1: usize, } windows_core::imp::define_interface!(IXpsOMPackage, IXpsOMPackage_Vtbl, 0x18c3df65_81e1_4674_91dc_fc452f5a416f); -impl std::ops::Deref for IXpsOMPackage { +impl core::ops::Deref for IXpsOMPackage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2474,7 +2474,7 @@ pub struct IXpsOMPackage_Vtbl { WriteToStream: usize, } windows_core::imp::define_interface!(IXpsOMPackage1, IXpsOMPackage1_Vtbl, 0x95a9435e_12bb_461b_8e7f_c6adb04cd96a); -impl std::ops::Deref for IXpsOMPackage1 { +impl core::ops::Deref for IXpsOMPackage1 { type Target = IXpsOMPackage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2517,7 +2517,7 @@ pub struct IXpsOMPackage1_Vtbl { WriteToStream1: usize, } windows_core::imp::define_interface!(IXpsOMPackageTarget, IXpsOMPackageTarget_Vtbl, 0x219a9db0_4959_47d0_8034_b1ce84f41a4d); -impl std::ops::Deref for IXpsOMPackageTarget { +impl core::ops::Deref for IXpsOMPackageTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2545,7 +2545,7 @@ pub struct IXpsOMPackageTarget_Vtbl { CreateXpsOMPackageWriter: usize, } windows_core::imp::define_interface!(IXpsOMPackageWriter, IXpsOMPackageWriter_Vtbl, 0x4e2aa182_a443_42c6_b41b_4f8e9de73ff9); -impl std::ops::Deref for IXpsOMPackageWriter { +impl core::ops::Deref for IXpsOMPackageWriter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2601,7 +2601,7 @@ pub struct IXpsOMPackageWriter_Vtbl { pub IsClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMPackageWriter3D, IXpsOMPackageWriter3D_Vtbl, 0xe8a45033_640e_43fa_9bdf_fddeaa31c6a0); -impl std::ops::Deref for IXpsOMPackageWriter3D { +impl core::ops::Deref for IXpsOMPackageWriter3D { type Target = IXpsOMPackageWriter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2639,7 +2639,7 @@ pub struct IXpsOMPackageWriter3D_Vtbl { SetModelPrintTicket: usize, } windows_core::imp::define_interface!(IXpsOMPage, IXpsOMPage_Vtbl, 0xd3e18888_f120_4fee_8c68_35296eae91d4); -impl std::ops::Deref for IXpsOMPage { +impl core::ops::Deref for IXpsOMPage { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2777,7 +2777,7 @@ pub struct IXpsOMPage_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMPage1, IXpsOMPage1_Vtbl, 0x305b60ef_6892_4dda_9cbb_3aa65974508a); -impl std::ops::Deref for IXpsOMPage1 { +impl core::ops::Deref for IXpsOMPage1 { type Target = IXpsOMPage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2808,7 +2808,7 @@ pub struct IXpsOMPage1_Vtbl { Write1: usize, } windows_core::imp::define_interface!(IXpsOMPageReference, IXpsOMPageReference_Vtbl, 0xed360180_6f92_4998_890d_2f208531a0a0); -impl std::ops::Deref for IXpsOMPageReference { +impl core::ops::Deref for IXpsOMPageReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2913,7 +2913,7 @@ pub struct IXpsOMPageReference_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMPageReferenceCollection, IXpsOMPageReferenceCollection_Vtbl, 0xca16ba4d_e7b9_45c5_958b_f98022473745); -impl std::ops::Deref for IXpsOMPageReferenceCollection { +impl core::ops::Deref for IXpsOMPageReferenceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2962,7 +2962,7 @@ pub struct IXpsOMPageReferenceCollection_Vtbl { pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMPart, IXpsOMPart_Vtbl, 0x74eb2f0b_a91e_4486_afac_0fabeca3dfc6); -impl std::ops::Deref for IXpsOMPart { +impl core::ops::Deref for IXpsOMPart { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2996,7 +2996,7 @@ pub struct IXpsOMPart_Vtbl { SetPartName: usize, } windows_core::imp::define_interface!(IXpsOMPartResources, IXpsOMPartResources_Vtbl, 0xf4cf7729_4864_4275_99b3_a8717163ecaf); -impl std::ops::Deref for IXpsOMPartResources { +impl core::ops::Deref for IXpsOMPartResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3030,7 +3030,7 @@ pub struct IXpsOMPartResources_Vtbl { pub GetRemoteDictionaryResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMPartUriCollection, IXpsOMPartUriCollection_Vtbl, 0x57c650d4_067c_4893_8c33_f62a0633730f); -impl std::ops::Deref for IXpsOMPartUriCollection { +impl core::ops::Deref for IXpsOMPartUriCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3095,7 +3095,7 @@ pub struct IXpsOMPartUriCollection_Vtbl { Append: usize, } windows_core::imp::define_interface!(IXpsOMPath, IXpsOMPath_Vtbl, 0x37d38bb6_3ee9_4110_9312_14b194163337); -impl std::ops::Deref for IXpsOMPath { +impl core::ops::Deref for IXpsOMPath { type Target = IXpsOMVisual; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3305,7 +3305,7 @@ pub struct IXpsOMPath_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMPrintTicketResource, IXpsOMPrintTicketResource_Vtbl, 0xe7ff32d2_34aa_499b_bbe9_9cd4ee6c59f7); -impl std::ops::Deref for IXpsOMPrintTicketResource { +impl core::ops::Deref for IXpsOMPrintTicketResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3340,7 +3340,7 @@ pub struct IXpsOMPrintTicketResource_Vtbl { SetContent: usize, } windows_core::imp::define_interface!(IXpsOMRadialGradientBrush, IXpsOMRadialGradientBrush_Vtbl, 0x75f207e5_08bf_413c_96b1_b82b4064176b); -impl std::ops::Deref for IXpsOMRadialGradientBrush { +impl core::ops::Deref for IXpsOMRadialGradientBrush { type Target = IXpsOMGradientBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3386,7 +3386,7 @@ pub struct IXpsOMRadialGradientBrush_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResource, IXpsOMRemoteDictionaryResource_Vtbl, 0xc9bd7cd4_e16a_4bf8_8c84_c950af7a3061); -impl std::ops::Deref for IXpsOMRemoteDictionaryResource { +impl core::ops::Deref for IXpsOMRemoteDictionaryResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3412,7 +3412,7 @@ pub struct IXpsOMRemoteDictionaryResource_Vtbl { pub SetDictionary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResource1, IXpsOMRemoteDictionaryResource1_Vtbl, 0xbf8fc1d4_9d46_4141_ba5f_94bb9250d041); -impl std::ops::Deref for IXpsOMRemoteDictionaryResource1 { +impl core::ops::Deref for IXpsOMRemoteDictionaryResource1 { type Target = IXpsOMRemoteDictionaryResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3442,7 +3442,7 @@ pub struct IXpsOMRemoteDictionaryResource1_Vtbl { Write1: usize, } windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResourceCollection, IXpsOMRemoteDictionaryResourceCollection_Vtbl, 0x5c38db61_7fec_464a_87bd_41e3bef018be); -impl std::ops::Deref for IXpsOMRemoteDictionaryResourceCollection { +impl core::ops::Deref for IXpsOMRemoteDictionaryResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3503,7 +3503,7 @@ pub struct IXpsOMRemoteDictionaryResourceCollection_Vtbl { GetByPartName: usize, } windows_core::imp::define_interface!(IXpsOMResource, IXpsOMResource_Vtbl, 0xda2ac0a2_73a2_4975_ad14_74097c3ff3a5); -impl std::ops::Deref for IXpsOMResource { +impl core::ops::Deref for IXpsOMResource { type Target = IXpsOMPart; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3516,7 +3516,7 @@ pub struct IXpsOMResource_Vtbl { pub base__: IXpsOMPart_Vtbl, } windows_core::imp::define_interface!(IXpsOMShareable, IXpsOMShareable_Vtbl, 0x7137398f_2fc1_454d_8c6a_2c3115a16ece); -impl std::ops::Deref for IXpsOMShareable { +impl core::ops::Deref for IXpsOMShareable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3540,7 +3540,7 @@ pub struct IXpsOMShareable_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_OBJECT_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMSignatureBlockResource, IXpsOMSignatureBlockResource_Vtbl, 0x4776ad35_2e04_4357_8743_ebf6c171a905); -impl std::ops::Deref for IXpsOMSignatureBlockResource { +impl core::ops::Deref for IXpsOMSignatureBlockResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3580,7 +3580,7 @@ pub struct IXpsOMSignatureBlockResource_Vtbl { SetContent: usize, } windows_core::imp::define_interface!(IXpsOMSignatureBlockResourceCollection, IXpsOMSignatureBlockResourceCollection_Vtbl, 0xab8f5d8e_351b_4d33_aaed_fa56f0022931); -impl std::ops::Deref for IXpsOMSignatureBlockResourceCollection { +impl core::ops::Deref for IXpsOMSignatureBlockResourceCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3641,7 +3641,7 @@ pub struct IXpsOMSignatureBlockResourceCollection_Vtbl { GetByPartName: usize, } windows_core::imp::define_interface!(IXpsOMSolidColorBrush, IXpsOMSolidColorBrush_Vtbl, 0xa06f9f05_3be9_4763_98a8_094fc672e488); -impl std::ops::Deref for IXpsOMSolidColorBrush { +impl core::ops::Deref for IXpsOMSolidColorBrush { type Target = IXpsOMBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3672,7 +3672,7 @@ pub struct IXpsOMSolidColorBrush_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMStoryFragmentsResource, IXpsOMStoryFragmentsResource_Vtbl, 0xc2b3ca09_0473_4282_87ae_1780863223f0); -impl std::ops::Deref for IXpsOMStoryFragmentsResource { +impl core::ops::Deref for IXpsOMStoryFragmentsResource { type Target = IXpsOMResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3712,7 +3712,7 @@ pub struct IXpsOMStoryFragmentsResource_Vtbl { SetContent: usize, } windows_core::imp::define_interface!(IXpsOMThumbnailGenerator, IXpsOMThumbnailGenerator_Vtbl, 0x15b873d5_1971_41e8_83a3_6578403064c7); -impl std::ops::Deref for IXpsOMThumbnailGenerator { +impl core::ops::Deref for IXpsOMThumbnailGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3739,7 +3739,7 @@ pub struct IXpsOMThumbnailGenerator_Vtbl { GenerateThumbnail: usize, } windows_core::imp::define_interface!(IXpsOMTileBrush, IXpsOMTileBrush_Vtbl, 0x0fc2328d_d722_4a54_b2ec_be90218a789e); -impl std::ops::Deref for IXpsOMTileBrush { +impl core::ops::Deref for IXpsOMTileBrush { type Target = IXpsOMBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3809,7 +3809,7 @@ pub struct IXpsOMTileBrush_Vtbl { pub SetTileMode: unsafe extern "system" fn(*mut core::ffi::c_void, XPS_TILE_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMVisual, IXpsOMVisual_Vtbl, 0xbc3e7333_fb0b_4af3_a819_0b4eaad0d2fd); -impl std::ops::Deref for IXpsOMVisual { +impl core::ops::Deref for IXpsOMVisual { type Target = IXpsOMShareable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3975,7 +3975,7 @@ pub struct IXpsOMVisual_Vtbl { pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMVisualBrush, IXpsOMVisualBrush_Vtbl, 0x97e294af_5b37_46b4_8057_874d2f64119b); -impl std::ops::Deref for IXpsOMVisualBrush { +impl core::ops::Deref for IXpsOMVisualBrush { type Target = IXpsOMTileBrush; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4023,7 +4023,7 @@ pub struct IXpsOMVisualBrush_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsOMVisualCollection, IXpsOMVisualCollection_Vtbl, 0x94d8abde_ab91_46a8_82b7_f5b05ef01a96); -impl std::ops::Deref for IXpsOMVisualCollection { +impl core::ops::Deref for IXpsOMVisualCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4072,7 +4072,7 @@ pub struct IXpsOMVisualCollection_Vtbl { pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsSignature, IXpsSignature_Vtbl, 0x6ae4c93e_1ade_42fb_898b_3a5658284857); -impl std::ops::Deref for IXpsSignature { +impl core::ops::Deref for IXpsSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4167,7 +4167,7 @@ pub struct IXpsSignature_Vtbl { pub SetSignatureXml: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsSignatureBlock, IXpsSignatureBlock_Vtbl, 0x151fac09_0b97_4ac6_a323_5e4297d4322b); -impl std::ops::Deref for IXpsSignatureBlock { +impl core::ops::Deref for IXpsSignatureBlock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4217,7 +4217,7 @@ pub struct IXpsSignatureBlock_Vtbl { pub CreateRequest: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsSignatureBlockCollection, IXpsSignatureBlockCollection_Vtbl, 0x23397050_fe99_467a_8dce_9237f074ffe4); -impl std::ops::Deref for IXpsSignatureBlockCollection { +impl core::ops::Deref for IXpsSignatureBlockCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4245,7 +4245,7 @@ pub struct IXpsSignatureBlockCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsSignatureCollection, IXpsSignatureCollection_Vtbl, 0xa2d1d95d_add2_4dff_ab27_6b9c645ff322); -impl std::ops::Deref for IXpsSignatureCollection { +impl core::ops::Deref for IXpsSignatureCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4273,7 +4273,7 @@ pub struct IXpsSignatureCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsSignatureManager, IXpsSignatureManager_Vtbl, 0xd3e8d338_fdc4_4afc_80b5_d532a1782ee1); -impl std::ops::Deref for IXpsSignatureManager { +impl core::ops::Deref for IXpsSignatureManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4386,7 +4386,7 @@ pub struct IXpsSignatureManager_Vtbl { SavePackageToStream: usize, } windows_core::imp::define_interface!(IXpsSignatureRequest, IXpsSignatureRequest_Vtbl, 0xac58950b_7208_4b2d_b2c4_951083d3b8eb); -impl std::ops::Deref for IXpsSignatureRequest { +impl core::ops::Deref for IXpsSignatureRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4470,7 +4470,7 @@ pub struct IXpsSignatureRequest_Vtbl { pub GetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsSignatureRequestCollection, IXpsSignatureRequestCollection_Vtbl, 0xf0253e68_9f19_412e_9b4f_54d3b0ac6cd9); -impl std::ops::Deref for IXpsSignatureRequestCollection { +impl core::ops::Deref for IXpsSignatureRequestCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4498,7 +4498,7 @@ pub struct IXpsSignatureRequestCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXpsSigningOptions, IXpsSigningOptions_Vtbl, 0x7718eae4_3215_49be_af5b_594fef7fcfa6); -impl std::ops::Deref for IXpsSigningOptions { +impl core::ops::Deref for IXpsSigningOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs index 9d132d0594..0cb1d2f453 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs @@ -355,7 +355,7 @@ pub unsafe fn WrapStoreEntryID(ulflags: u32, lpszdllname: *const i8, cborigentry WrapStoreEntryID(ulflags, lpszdllname, cborigentry, lporigentry, lpcbwrappedentry, lppwrappedentry).ok() } windows_core::imp::define_interface!(IABContainer, IABContainer_Vtbl, 0); -impl std::ops::Deref for IABContainer { +impl core::ops::Deref for IABContainer { type Target = IMAPIContainer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -394,7 +394,7 @@ pub struct IABContainer_Vtbl { ResolveNames: usize, } windows_core::imp::define_interface!(IAddrBook, IAddrBook_Vtbl, 0); -impl std::ops::Deref for IAddrBook { +impl core::ops::Deref for IAddrBook { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -511,7 +511,7 @@ pub struct IAddrBook_Vtbl { PrepareRecips: usize, } windows_core::imp::define_interface!(IAttach, IAttach_Vtbl, 0); -impl std::ops::Deref for IAttach { +impl core::ops::Deref for IAttach { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -524,7 +524,7 @@ pub struct IAttach_Vtbl { pub base__: IMAPIProp_Vtbl, } windows_core::imp::define_interface!(IDistList, IDistList_Vtbl, 0); -impl std::ops::Deref for IDistList { +impl core::ops::Deref for IDistList { type Target = IMAPIContainer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -563,7 +563,7 @@ pub struct IDistList_Vtbl { ResolveNames: usize, } windows_core::imp::define_interface!(IMAPIAdviseSink, IMAPIAdviseSink_Vtbl, 0); -impl std::ops::Deref for IMAPIAdviseSink { +impl core::ops::Deref for IMAPIAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -585,7 +585,7 @@ pub struct IMAPIAdviseSink_Vtbl { OnNotify: usize, } windows_core::imp::define_interface!(IMAPIContainer, IMAPIContainer_Vtbl, 0); -impl std::ops::Deref for IMAPIContainer { +impl core::ops::Deref for IMAPIContainer { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -629,7 +629,7 @@ pub struct IMAPIContainer_Vtbl { GetSearchCriteria: usize, } windows_core::imp::define_interface!(IMAPIControl, IMAPIControl_Vtbl, 0); -impl std::ops::Deref for IMAPIControl { +impl core::ops::Deref for IMAPIControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -656,7 +656,7 @@ pub struct IMAPIControl_Vtbl { pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMAPIFolder, IMAPIFolder_Vtbl, 0); -impl std::ops::Deref for IMAPIFolder { +impl core::ops::Deref for IMAPIFolder { type Target = IMAPIContainer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -735,7 +735,7 @@ pub struct IMAPIFolder_Vtbl { pub EmptyFolder: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMAPIProgress, IMAPIProgress_Vtbl, 0); -impl std::ops::Deref for IMAPIProgress { +impl core::ops::Deref for IMAPIProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -769,7 +769,7 @@ pub struct IMAPIProgress_Vtbl { pub SetLimits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMAPIProp, IMAPIProp_Vtbl, 0); -impl std::ops::Deref for IMAPIProp { +impl core::ops::Deref for IMAPIProp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -841,7 +841,7 @@ pub struct IMAPIProp_Vtbl { pub GetIDsFromNames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut MAPINAMEID, u32, *mut *mut SPropTagArray) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMAPIStatus, IMAPIStatus_Vtbl, 0); -impl std::ops::Deref for IMAPIStatus { +impl core::ops::Deref for IMAPIStatus { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -871,7 +871,7 @@ pub struct IMAPIStatus_Vtbl { pub FlushQueues: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const ENTRYID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMAPITable, IMAPITable_Vtbl, 0); -impl std::ops::Deref for IMAPITable { +impl core::ops::Deref for IMAPITable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -996,7 +996,7 @@ pub struct IMAPITable_Vtbl { pub SetCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMailUser, IMailUser_Vtbl, 0); -impl std::ops::Deref for IMailUser { +impl core::ops::Deref for IMailUser { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1009,7 +1009,7 @@ pub struct IMailUser_Vtbl { pub base__: IMAPIProp_Vtbl, } windows_core::imp::define_interface!(IMessage, IMessage_Vtbl, 0); -impl std::ops::Deref for IMessage { +impl core::ops::Deref for IMessage { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1065,7 +1065,7 @@ pub struct IMessage_Vtbl { pub SetReadFlag: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMsgStore, IMsgStore_Vtbl, 0); -impl std::ops::Deref for IMsgStore { +impl core::ops::Deref for IMsgStore { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1145,7 +1145,7 @@ pub struct IMsgStore_Vtbl { NotifyNewMail: usize, } windows_core::imp::define_interface!(IProfSect, IProfSect_Vtbl, 0); -impl std::ops::Deref for IProfSect { +impl core::ops::Deref for IProfSect { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1158,7 +1158,7 @@ pub struct IProfSect_Vtbl { pub base__: IMAPIProp_Vtbl, } windows_core::imp::define_interface!(IPropData, IPropData_Vtbl, 0); -impl std::ops::Deref for IPropData { +impl core::ops::Deref for IPropData { type Target = IMAPIProp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1188,7 +1188,7 @@ pub struct IPropData_Vtbl { pub HrAddObjProps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPropTagArray, *mut *mut SPropProblemArray) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProviderAdmin, IProviderAdmin_Vtbl, 0); -impl std::ops::Deref for IProviderAdmin { +impl core::ops::Deref for IProviderAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1230,7 +1230,7 @@ pub struct IProviderAdmin_Vtbl { pub OpenProfileSection: unsafe extern "system" fn(*mut core::ffi::c_void, *const MAPIUID, *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITableData, ITableData_Vtbl, 0); -impl std::ops::Deref for ITableData { +impl core::ops::Deref for ITableData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1312,7 +1312,7 @@ pub struct ITableData_Vtbl { HrDeleteRows: usize, } windows_core::imp::define_interface!(IWABExtInit, IWABExtInit_Vtbl, 0xea22ebf0_87a4_11d1_9acf_00a0c91f9c8b); -impl std::ops::Deref for IWABExtInit { +impl core::ops::Deref for IWABExtInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1330,7 +1330,7 @@ pub struct IWABExtInit_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WABEXTDISPLAY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWABObject, IWABObject_Vtbl, 0); -impl std::ops::Deref for IWABObject { +impl core::ops::Deref for IWABObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs index 88fdc700cf..4afe0d0193 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs @@ -75,7 +75,7 @@ where InstallELAMCertificateInfo(elamfile.param().abi()).ok() } windows_core::imp::define_interface!(IAmsiStream, IAmsiStream_Vtbl, 0x3e47f2e5_81d4_4d3b_897f_545096770373); -impl std::ops::Deref for IAmsiStream { +impl core::ops::Deref for IAmsiStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -97,7 +97,7 @@ pub struct IAmsiStream_Vtbl { pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAntimalware, IAntimalware_Vtbl, 0x82d29c2e_f062_44e6_b5c9_3d9a2f24a2df); -impl std::ops::Deref for IAntimalware { +impl core::ops::Deref for IAntimalware { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -122,7 +122,7 @@ pub struct IAntimalware_Vtbl { pub CloseSession: unsafe extern "system" fn(*mut core::ffi::c_void, u64), } windows_core::imp::define_interface!(IAntimalware2, IAntimalware2_Vtbl, 0x301035b5_2d42_4f56_8c65_2dcaa7fb3cdc); -impl std::ops::Deref for IAntimalware2 { +impl core::ops::Deref for IAntimalware2 { type Target = IAntimalware; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -145,7 +145,7 @@ pub struct IAntimalware2_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut AMSI_RESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAntimalwareProvider, IAntimalwareProvider_Vtbl, 0xb2cabfe3_fe04_42b1_a5df_08d483d4d125); -impl std::ops::Deref for IAntimalwareProvider { +impl core::ops::Deref for IAntimalwareProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -176,7 +176,7 @@ pub struct IAntimalwareProvider_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAntimalwareProvider2, IAntimalwareProvider2_Vtbl, 0x7c1e6570_3f73_4e0f_8ad4_98b94cd3290f); -impl std::ops::Deref for IAntimalwareProvider2 { +impl core::ops::Deref for IAntimalwareProvider2 { type Target = IAntimalwareProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -199,7 +199,7 @@ pub struct IAntimalwareProvider2_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut AMSI_RESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAntimalwareUacProvider, IAntimalwareUacProvider_Vtbl, 0xb2cabfe4_fe04_42b1_a5df_08d483d4d125); -impl std::ops::Deref for IAntimalwareUacProvider { +impl core::ops::Deref for IAntimalwareUacProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs index 62b9720326..0d468dd78e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -2852,7 +2852,7 @@ where ZombifyActCtx(hactctx.param().abi()).ok() } windows_core::imp::define_interface!(IAssemblyCache, IAssemblyCache_Vtbl, 0xe707dcde_d1cd_11d2_bab9_00c04f8eceae); -impl std::ops::Deref for IAssemblyCache { +impl core::ops::Deref for IAssemblyCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2899,7 +2899,7 @@ pub struct IAssemblyCache_Vtbl { pub InstallAssembly: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut FUSION_INSTALL_REFERENCE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAssemblyCacheItem, IAssemblyCacheItem_Vtbl, 0x9e3aaeb4_d1cd_11d2_bab9_00c04f8eceae); -impl std::ops::Deref for IAssemblyCacheItem { +impl core::ops::Deref for IAssemblyCacheItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2932,7 +2932,7 @@ pub struct IAssemblyCacheItem_Vtbl { pub AbortItem: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAssemblyName, IAssemblyName_Vtbl, 0xcd193bc0_b4bc_11d2_9833_00c04fc31d2e); -impl std::ops::Deref for IAssemblyName { +impl core::ops::Deref for IAssemblyName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2991,7 +2991,7 @@ pub struct IAssemblyName_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumMsmDependency, IEnumMsmDependency_Vtbl, 0x0adda82c_2c26_11d2_ad65_00a0c9af11a6); -impl std::ops::Deref for IEnumMsmDependency { +impl core::ops::Deref for IEnumMsmDependency { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3026,7 +3026,7 @@ pub struct IEnumMsmDependency_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumMsmError, IEnumMsmError_Vtbl, 0x0adda829_2c26_11d2_ad65_00a0c9af11a6); -impl std::ops::Deref for IEnumMsmError { +impl core::ops::Deref for IEnumMsmError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3061,7 +3061,7 @@ pub struct IEnumMsmError_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumMsmString, IEnumMsmString_Vtbl, 0x0adda826_2c26_11d2_ad65_00a0c9af11a6); -impl std::ops::Deref for IEnumMsmString { +impl core::ops::Deref for IEnumMsmString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3094,7 +3094,7 @@ pub struct IEnumMsmString_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmDependencies, IMsmDependencies_Vtbl, 0x0adda82d_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMsmDependencies { +impl core::ops::Deref for IMsmDependencies { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3131,7 +3131,7 @@ pub struct IMsmDependencies_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmDependency, IMsmDependency_Vtbl, 0x0adda82b_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMsmDependency { +impl core::ops::Deref for IMsmDependency { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3162,7 +3162,7 @@ pub struct IMsmDependency_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmError, IMsmError_Vtbl, 0x0adda828_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMsmError { +impl core::ops::Deref for IMsmError { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3219,7 +3219,7 @@ pub struct IMsmError_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmErrors, IMsmErrors_Vtbl, 0x0adda82a_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMsmErrors { +impl core::ops::Deref for IMsmErrors { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3256,7 +3256,7 @@ pub struct IMsmErrors_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmGetFiles, IMsmGetFiles_Vtbl, 0x7041ae26_2d78_11d2_888a_00a0c981b015); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMsmGetFiles { +impl core::ops::Deref for IMsmGetFiles { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3284,7 +3284,7 @@ pub struct IMsmGetFiles_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmMerge, IMsmMerge_Vtbl, 0x0adda82e_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMsmMerge { +impl core::ops::Deref for IMsmMerge { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3393,7 +3393,7 @@ pub struct IMsmMerge_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMsmStrings, IMsmStrings_Vtbl, 0x0adda827_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMsmStrings { +impl core::ops::Deref for IMsmStrings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3423,7 +3423,7 @@ pub struct IMsmStrings_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMApplicationInfo, IPMApplicationInfo_Vtbl, 0x50afb58a_438c_4088_9789_f8c4899829c7); -impl std::ops::Deref for IPMApplicationInfo { +impl core::ops::Deref for IPMApplicationInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3716,7 +3716,7 @@ pub struct IPMApplicationInfo_Vtbl { pub set_Title: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMApplicationInfoEnumerator, IPMApplicationInfoEnumerator_Vtbl, 0x0ec42a96_4d46_4dc6_a3d9_a7acaac0f5fa); -impl std::ops::Deref for IPMApplicationInfoEnumerator { +impl core::ops::Deref for IPMApplicationInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3735,7 +3735,7 @@ pub struct IPMApplicationInfoEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMBackgroundServiceAgentInfo, IPMBackgroundServiceAgentInfo_Vtbl, 0x3a8b46da_928c_4879_998c_09dc96f3d490); -impl std::ops::Deref for IPMBackgroundServiceAgentInfo { +impl core::ops::Deref for IPMBackgroundServiceAgentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3817,7 +3817,7 @@ pub struct IPMBackgroundServiceAgentInfo_Vtbl { pub set_IsScheduleAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMBackgroundServiceAgentInfoEnumerator, IPMBackgroundServiceAgentInfoEnumerator_Vtbl, 0x18eb2072_ab56_43b3_872c_beafb7a6b391); -impl std::ops::Deref for IPMBackgroundServiceAgentInfoEnumerator { +impl core::ops::Deref for IPMBackgroundServiceAgentInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3836,7 +3836,7 @@ pub struct IPMBackgroundServiceAgentInfoEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMBackgroundWorkerInfo, IPMBackgroundWorkerInfo_Vtbl, 0x7dd4531b_d3bf_4b6b_94f3_69c098b1497d); -impl std::ops::Deref for IPMBackgroundWorkerInfo { +impl core::ops::Deref for IPMBackgroundWorkerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3878,7 +3878,7 @@ pub struct IPMBackgroundWorkerInfo_Vtbl { pub IsBootWorker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMBackgroundWorkerInfoEnumerator, IPMBackgroundWorkerInfoEnumerator_Vtbl, 0x87f479f8_90d8_4ec7_92b9_72787e2f636b); -impl std::ops::Deref for IPMBackgroundWorkerInfoEnumerator { +impl core::ops::Deref for IPMBackgroundWorkerInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3897,7 +3897,7 @@ pub struct IPMBackgroundWorkerInfoEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMDeploymentManager, IPMDeploymentManager_Vtbl, 0x35f785fa_1979_4a8b_bc8f_fd70eb0d1544); -impl std::ops::Deref for IPMDeploymentManager { +impl core::ops::Deref for IPMDeploymentManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4104,7 +4104,7 @@ pub struct IPMDeploymentManager_Vtbl { pub FixJunctionsForAppsOnSDCard: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMEnumerationManager, IPMEnumerationManager_Vtbl, 0x698d57c2_292d_4cf3_b73c_d95a6922ed9a); -impl std::ops::Deref for IPMEnumerationManager { +impl core::ops::Deref for IPMEnumerationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4218,7 +4218,7 @@ pub struct IPMEnumerationManager_Vtbl { pub get_StartAppEnumeratorBlob: unsafe extern "system" fn(*mut core::ffi::c_void, PM_ENUM_FILTER, *mut u32, *mut *mut PM_STARTAPPBLOB) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionCachedFileUpdaterInfo, IPMExtensionCachedFileUpdaterInfo_Vtbl, 0xe2d77509_4e58_4ba9_af7e_b642e370e1b0); -impl std::ops::Deref for IPMExtensionCachedFileUpdaterInfo { +impl core::ops::Deref for IPMExtensionCachedFileUpdaterInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4237,7 +4237,7 @@ pub struct IPMExtensionCachedFileUpdaterInfo_Vtbl { pub SupportsUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionContractInfo, IPMExtensionContractInfo_Vtbl, 0xe5666373_7ba1_467c_b819_b175db1c295b); -impl std::ops::Deref for IPMExtensionContractInfo { +impl core::ops::Deref for IPMExtensionContractInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4255,7 +4255,7 @@ pub struct IPMExtensionContractInfo_Vtbl { pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionFileExtensionInfo, IPMExtensionFileExtensionInfo_Vtbl, 0x6b87cb6c_0b88_4989_a4ec_033714f710d4); -impl std::ops::Deref for IPMExtensionFileExtensionInfo { +impl core::ops::Deref for IPMExtensionFileExtensionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4303,7 +4303,7 @@ pub struct IPMExtensionFileExtensionInfo_Vtbl { pub get_AllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::BSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionFileOpenPickerInfo, IPMExtensionFileOpenPickerInfo_Vtbl, 0x6dc91d25_9606_420c_9a78_e034a3418345); -impl std::ops::Deref for IPMExtensionFileOpenPickerInfo { +impl core::ops::Deref for IPMExtensionFileOpenPickerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4326,7 +4326,7 @@ pub struct IPMExtensionFileOpenPickerInfo_Vtbl { pub SupportsAllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionFileSavePickerInfo, IPMExtensionFileSavePickerInfo_Vtbl, 0x38005cba_f81a_493e_a0f8_922c8680da43); -impl std::ops::Deref for IPMExtensionFileSavePickerInfo { +impl core::ops::Deref for IPMExtensionFileSavePickerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4349,7 +4349,7 @@ pub struct IPMExtensionFileSavePickerInfo_Vtbl { pub SupportsAllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionInfo, IPMExtensionInfo_Vtbl, 0x49acde79_9788_4d0a_8aa0_1746afdb9e9d); -impl std::ops::Deref for IPMExtensionInfo { +impl core::ops::Deref for IPMExtensionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4388,7 +4388,7 @@ pub struct IPMExtensionInfo_Vtbl { pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionInfoEnumerator, IPMExtensionInfoEnumerator_Vtbl, 0x403b9e82_1171_4573_8e6f_6f33f39b83dd); -impl std::ops::Deref for IPMExtensionInfoEnumerator { +impl core::ops::Deref for IPMExtensionInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4407,7 +4407,7 @@ pub struct IPMExtensionInfoEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionProtocolInfo, IPMExtensionProtocolInfo_Vtbl, 0x1e3fa036_51eb_4453_baff_b8d8e4b46c8e); -impl std::ops::Deref for IPMExtensionProtocolInfo { +impl core::ops::Deref for IPMExtensionProtocolInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4429,7 +4429,7 @@ pub struct IPMExtensionProtocolInfo_Vtbl { pub get_InvocationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMExtensionShareTargetInfo, IPMExtensionShareTargetInfo_Vtbl, 0x5471f48b_c65c_4656_8c70_242e31195fea); -impl std::ops::Deref for IPMExtensionShareTargetInfo { +impl core::ops::Deref for IPMExtensionShareTargetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4456,7 +4456,7 @@ pub struct IPMExtensionShareTargetInfo_Vtbl { pub SupportsAllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMLiveTileJobInfo, IPMLiveTileJobInfo_Vtbl, 0x6009a81f_4710_4697_b5f6_2208f6057b8e); -impl std::ops::Deref for IPMLiveTileJobInfo { +impl core::ops::Deref for IPMLiveTileJobInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4579,7 +4579,7 @@ pub struct IPMLiveTileJobInfo_Vtbl { pub set_DownloadState: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMLiveTileJobInfoEnumerator, IPMLiveTileJobInfoEnumerator_Vtbl, 0xbc042582_9415_4f36_9f99_06f104c07c03); -impl std::ops::Deref for IPMLiveTileJobInfoEnumerator { +impl core::ops::Deref for IPMLiveTileJobInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4598,7 +4598,7 @@ pub struct IPMLiveTileJobInfoEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMTaskInfo, IPMTaskInfo_Vtbl, 0xbf1d8c33_1bf5_4ee0_b549_6b9dd3834942); -impl std::ops::Deref for IPMTaskInfo { +impl core::ops::Deref for IPMTaskInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4708,7 +4708,7 @@ pub struct IPMTaskInfo_Vtbl { pub IsOptedForExtendedMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMTaskInfoEnumerator, IPMTaskInfoEnumerator_Vtbl, 0x0630b0f8_0bbc_4821_be74_c7995166ed2a); -impl std::ops::Deref for IPMTaskInfoEnumerator { +impl core::ops::Deref for IPMTaskInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4727,7 +4727,7 @@ pub struct IPMTaskInfoEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMTileInfo, IPMTileInfo_Vtbl, 0xd1604833_2b08_4001_82cd_183ad734f752); -impl std::ops::Deref for IPMTileInfo { +impl core::ops::Deref for IPMTileInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4866,7 +4866,7 @@ pub struct IPMTileInfo_Vtbl { pub set_IsAutoRestoreDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMTileInfoEnumerator, IPMTileInfoEnumerator_Vtbl, 0xded83065_e462_4b2c_acb5_e39cea61c874); -impl std::ops::Deref for IPMTileInfoEnumerator { +impl core::ops::Deref for IPMTileInfoEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4885,7 +4885,7 @@ pub struct IPMTileInfoEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMTilePropertyEnumerator, IPMTilePropertyEnumerator_Vtbl, 0xcc4cd629_9047_4250_aac8_930e47812421); -impl std::ops::Deref for IPMTilePropertyEnumerator { +impl core::ops::Deref for IPMTilePropertyEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4904,7 +4904,7 @@ pub struct IPMTilePropertyEnumerator_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPMTilePropertyInfo, IPMTilePropertyInfo_Vtbl, 0x6c2b8017_1efa_42a7_86c0_6d4b640bf528); -impl std::ops::Deref for IPMTilePropertyInfo { +impl core::ops::Deref for IPMTilePropertyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4934,7 +4934,7 @@ pub struct IPMTilePropertyInfo_Vtbl { pub set_Property: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IValidate, IValidate_Vtbl, 0xe482e5c6_e31e_4143_a2e6_dbc3d8e4b8d3); -impl std::ops::Deref for IValidate { +impl core::ops::Deref for IValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs index 30d2c5e05d..122781fc85 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs @@ -1,7 +1,7 @@ #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] windows_core::imp::define_interface!(IAccessibleWinSAT, IAccessibleWinSAT_Vtbl, 0x30e6018a_94a8_4ff8_a69a_71b67413f07b); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] -impl std::ops::Deref for IAccessibleWinSAT { +impl core::ops::Deref for IAccessibleWinSAT { type Target = super::super::UI::Accessibility::IAccessible; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -27,7 +27,7 @@ pub struct IAccessibleWinSAT_Vtbl { pub SetAccessiblityData: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInitiateWinSATAssessment, IInitiateWinSATAssessment_Vtbl, 0xd983fc50_f5bf_49d5_b5ed_cccb18aa7fc1); -impl std::ops::Deref for IInitiateWinSATAssessment { +impl core::ops::Deref for IInitiateWinSATAssessment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -64,7 +64,7 @@ pub struct IInitiateWinSATAssessment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IProvideWinSATAssessmentInfo, IProvideWinSATAssessmentInfo_Vtbl, 0x0cd1c380_52d3_4678_ac6f_e929e480be9e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IProvideWinSATAssessmentInfo { +impl core::ops::Deref for IProvideWinSATAssessmentInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -98,7 +98,7 @@ pub struct IProvideWinSATAssessmentInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IProvideWinSATResultsInfo, IProvideWinSATResultsInfo_Vtbl, 0xf8334d5d_568e_4075_875f_9df341506640); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IProvideWinSATResultsInfo { +impl core::ops::Deref for IProvideWinSATResultsInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -144,7 +144,7 @@ pub struct IProvideWinSATResultsInfo_Vtbl { pub RatingStateDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvideWinSATVisuals, IProvideWinSATVisuals_Vtbl, 0xa9f4ade0_871a_42a3_b813_3078d25162c9); -impl std::ops::Deref for IProvideWinSATVisuals { +impl core::ops::Deref for IProvideWinSATVisuals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct IProvideWinSATVisuals_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IQueryAllWinSATAssessments, IQueryAllWinSATAssessments_Vtbl, 0x0b89ed1d_6398_4fea_87fc_567d8d19176f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IQueryAllWinSATAssessments { +impl core::ops::Deref for IQueryAllWinSATAssessments { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -199,7 +199,7 @@ pub struct IQueryAllWinSATAssessments_Vtbl { get_AllXML: usize, } windows_core::imp::define_interface!(IQueryOEMWinSATCustomization, IQueryOEMWinSATCustomization_Vtbl, 0xbc9a6a9f_ad4e_420e_9953_b34671e9df22); -impl std::ops::Deref for IQueryOEMWinSATCustomization { +impl core::ops::Deref for IQueryOEMWinSATCustomization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -220,7 +220,7 @@ pub struct IQueryOEMWinSATCustomization_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IQueryRecentWinSATAssessment, IQueryRecentWinSATAssessment_Vtbl, 0xf8ad5d1f_3b47_4bdc_9375_7c6b1da4eca7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IQueryRecentWinSATAssessment { +impl core::ops::Deref for IQueryRecentWinSATAssessment { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -259,7 +259,7 @@ pub struct IQueryRecentWinSATAssessment_Vtbl { Info: usize, } windows_core::imp::define_interface!(IWinSATInitiateEvents, IWinSATInitiateEvents_Vtbl, 0x262a1918_ba0d_41d5_92c2_fab4633ee74f); -impl std::ops::Deref for IWinSATInitiateEvents { +impl core::ops::Deref for IWinSATInitiateEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs index 5d9a9395e7..b88a2d11fe 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs @@ -4,7 +4,7 @@ where T: windows_core::Interface, { windows_targets::link!("mscoree.dll" "system" fn CLRCreateInstance(clsid : *const windows_core::GUID, riid : *const windows_core::GUID, ppinterface : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CLRCreateInstance(clsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -214,7 +214,7 @@ where RunDll32ShimW(hwnd.param().abi(), hinst.param().abi(), lpszcmdline.param().abi(), ncmdshow).ok() } windows_core::imp::define_interface!(IActionOnCLREvent, IActionOnCLREvent_Vtbl, 0x607be24b_d91b_4e28_a242_61871ce56e35); -impl std::ops::Deref for IActionOnCLREvent { +impl core::ops::Deref for IActionOnCLREvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -232,7 +232,7 @@ pub struct IActionOnCLREvent_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, EClrEvent, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApartmentCallback, IApartmentCallback_Vtbl, 0x178e5337_1528_4591_b1c9_1c6e484686d8); -impl std::ops::Deref for IApartmentCallback { +impl core::ops::Deref for IApartmentCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -250,7 +250,7 @@ pub struct IApartmentCallback_Vtbl { pub DoCallback: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppDomainBinding, IAppDomainBinding_Vtbl, 0x5c2b07a7_1e98_11d3_872f_00c04f79ed0d); -impl std::ops::Deref for IAppDomainBinding { +impl core::ops::Deref for IAppDomainBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -271,7 +271,7 @@ pub struct IAppDomainBinding_Vtbl { pub OnAppDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRAppDomainResourceMonitor, ICLRAppDomainResourceMonitor_Vtbl, 0xc62de18c_2e23_4aea_8423_b40c1fc59eae); -impl std::ops::Deref for ICLRAppDomainResourceMonitor { +impl core::ops::Deref for ICLRAppDomainResourceMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -297,7 +297,7 @@ pub struct ICLRAppDomainResourceMonitor_Vtbl { pub GetCurrentCpuTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRAssemblyIdentityManager, ICLRAssemblyIdentityManager_Vtbl, 0x15f0a9da_3ff6_4393_9da9_fdfd284e6972); -impl std::ops::Deref for ICLRAssemblyIdentityManager { +impl core::ops::Deref for ICLRAssemblyIdentityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -372,7 +372,7 @@ pub struct ICLRAssemblyIdentityManager_Vtbl { pub IsStronglyNamed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRAssemblyReferenceList, ICLRAssemblyReferenceList_Vtbl, 0x1b2c9750_2e66_4bda_8b44_0a642c5cd733); -impl std::ops::Deref for ICLRAssemblyReferenceList { +impl core::ops::Deref for ICLRAssemblyReferenceList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -400,7 +400,7 @@ pub struct ICLRAssemblyReferenceList_Vtbl { pub IsAssemblyReferenceInList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRControl, ICLRControl_Vtbl, 0x9065597e_d1a1_4fb2_b6ba_7e1fce230f61); -impl std::ops::Deref for ICLRControl { +impl core::ops::Deref for ICLRControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -426,7 +426,7 @@ pub struct ICLRControl_Vtbl { pub SetAppDomainManagerType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRDebugManager, ICLRDebugManager_Vtbl, 0x00dcaec6_2ac0_43a9_acf9_1e36c139b10d); -impl std::ops::Deref for ICLRDebugManager { +impl core::ops::Deref for ICLRDebugManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -481,7 +481,7 @@ pub struct ICLRDebugManager_Vtbl { pub SetSymbolReadingPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, ESymbolReadingPolicy) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRDebugging, ICLRDebugging_Vtbl, 0xd28f3c5a_9634_4206_a509_477552eefb10); -impl std::ops::Deref for ICLRDebugging { +impl core::ops::Deref for ICLRDebugging { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -510,7 +510,7 @@ pub struct ICLRDebugging_Vtbl { pub CanUnloadNow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HMODULE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRDebuggingLibraryProvider, ICLRDebuggingLibraryProvider_Vtbl, 0x3151c08d_4d09_4f9b_8838_2880bf18fe51); -impl std::ops::Deref for ICLRDebuggingLibraryProvider { +impl core::ops::Deref for ICLRDebuggingLibraryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -532,7 +532,7 @@ pub struct ICLRDebuggingLibraryProvider_Vtbl { pub ProvideLibrary: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, *mut super::super::Foundation::HMODULE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRDomainManager, ICLRDomainManager_Vtbl, 0x270d00a2_8e15_4d0b_adeb_37bc3e47df77); -impl std::ops::Deref for ICLRDomainManager { +impl core::ops::Deref for ICLRDomainManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -558,7 +558,7 @@ pub struct ICLRDomainManager_Vtbl { pub SetPropertiesForDefaultAppDomain: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::PCWSTR, *const windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRErrorReportingManager, ICLRErrorReportingManager_Vtbl, 0x980d2f1a_bf79_4c08_812a_bb9778928f78); -impl std::ops::Deref for ICLRErrorReportingManager { +impl core::ops::Deref for ICLRErrorReportingManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -584,7 +584,7 @@ pub struct ICLRErrorReportingManager_Vtbl { pub EndCustomDump: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRGCManager, ICLRGCManager_Vtbl, 0x54d9007e_a8e2_4885_b7bf_f998deee4f2a); -impl std::ops::Deref for ICLRGCManager { +impl core::ops::Deref for ICLRGCManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -610,7 +610,7 @@ pub struct ICLRGCManager_Vtbl { pub SetGCStartupLimits: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRGCManager2, ICLRGCManager2_Vtbl, 0x0603b793_a97a_4712_9cb4_0cd1c74c0f7c); -impl std::ops::Deref for ICLRGCManager2 { +impl core::ops::Deref for ICLRGCManager2 { type Target = ICLRGCManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -628,7 +628,7 @@ pub struct ICLRGCManager2_Vtbl { pub SetGCStartupLimitsEx: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRHostBindingPolicyManager, ICLRHostBindingPolicyManager_Vtbl, 0x4b3545e7_1856_48c9_a8ba_24b21a753c09); -impl std::ops::Deref for ICLRHostBindingPolicyManager { +impl core::ops::Deref for ICLRHostBindingPolicyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -657,7 +657,7 @@ pub struct ICLRHostBindingPolicyManager_Vtbl { pub EvaluatePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32, windows_core::PWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRHostProtectionManager, ICLRHostProtectionManager_Vtbl, 0x89f25f5c_ceef_43e1_9cfa_a68ce863aaac); -impl std::ops::Deref for ICLRHostProtectionManager { +impl core::ops::Deref for ICLRHostProtectionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -679,7 +679,7 @@ pub struct ICLRHostProtectionManager_Vtbl { pub SetEagerSerializeGrantSets: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRIoCompletionManager, ICLRIoCompletionManager_Vtbl, 0x2d74ce86_b8d6_4c84_b3a7_9768933b3c12); -impl std::ops::Deref for ICLRIoCompletionManager { +impl core::ops::Deref for ICLRIoCompletionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -697,7 +697,7 @@ pub struct ICLRIoCompletionManager_Vtbl { pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRMemoryNotificationCallback, ICLRMemoryNotificationCallback_Vtbl, 0x47eb8e57_0846_4546_af76_6f42fcfc2649); -impl std::ops::Deref for ICLRMemoryNotificationCallback { +impl core::ops::Deref for ICLRMemoryNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -715,7 +715,7 @@ pub struct ICLRMemoryNotificationCallback_Vtbl { pub OnMemoryNotification: unsafe extern "system" fn(*mut core::ffi::c_void, EMemoryAvailable) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRMetaHost, ICLRMetaHost_Vtbl, 0xd332db9e_b9b3_4125_8207_a14884f53216); -impl std::ops::Deref for ICLRMetaHost { +impl core::ops::Deref for ICLRMetaHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -728,7 +728,7 @@ impl ICLRMetaHost { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetRuntime)(windows_core::Interface::as_raw(self), pwzversion.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVersionFromFile(&self, pwzfilepath: P0, pwzbuffer: windows_core::PWSTR, pcchbuffer: *mut u32) -> windows_core::Result<()> @@ -757,7 +757,7 @@ impl ICLRMetaHost { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).QueryLegacyV2RuntimeBinding)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ExitProcess(&self, iexitcode: i32) -> windows_core::Result<()> { @@ -782,7 +782,7 @@ pub struct ICLRMetaHost_Vtbl { pub ExitProcess: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRMetaHostPolicy, ICLRMetaHostPolicy_Vtbl, 0xe2190695_77b2_492e_8e14_c4b3a7fdd593); -impl std::ops::Deref for ICLRMetaHostPolicy { +impl core::ops::Deref for ICLRMetaHostPolicy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -797,7 +797,7 @@ impl ICLRMetaHostPolicy { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetRequestedRuntime)(windows_core::Interface::as_raw(self), dwpolicyflags, pwzbinary.param().abi(), pcfgstream.param().abi(), core::mem::transmute(pwzversion), pcchversion, core::mem::transmute(pwzimageversion), pcchimageversion, pdwconfigflags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -810,7 +810,7 @@ pub struct ICLRMetaHostPolicy_Vtbl { GetRequestedRuntime: usize, } windows_core::imp::define_interface!(ICLROnEventManager, ICLROnEventManager_Vtbl, 0x1d0e0132_e64f_493d_9260_025c0e32c175); -impl std::ops::Deref for ICLROnEventManager { +impl core::ops::Deref for ICLROnEventManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -838,7 +838,7 @@ pub struct ICLROnEventManager_Vtbl { pub UnregisterActionOnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, EClrEvent, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRPolicyManager, ICLRPolicyManager_Vtbl, 0x7d290010_d781_45da_a6f8_aa5d711a730e); -impl std::ops::Deref for ICLRPolicyManager { +impl core::ops::Deref for ICLRPolicyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -876,7 +876,7 @@ pub struct ICLRPolicyManager_Vtbl { pub SetUnhandledExceptionPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, EClrUnhandledException) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRProbingAssemblyEnum, ICLRProbingAssemblyEnum_Vtbl, 0xd0c5fb1f_416b_4f97_81f4_7ac7dc24dd5d); -impl std::ops::Deref for ICLRProbingAssemblyEnum { +impl core::ops::Deref for ICLRProbingAssemblyEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -894,7 +894,7 @@ pub struct ICLRProbingAssemblyEnum_Vtbl { pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRProfiling, ICLRProfiling_Vtbl, 0xb349abe3_b56f_4689_bfcd_76bf39d888ea); -impl std::ops::Deref for ICLRProfiling { +impl core::ops::Deref for ICLRProfiling { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -915,7 +915,7 @@ pub struct ICLRProfiling_Vtbl { pub AttachProfiler: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, windows_core::PCWSTR, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRReferenceAssemblyEnum, ICLRReferenceAssemblyEnum_Vtbl, 0xd509cb5d_cf32_4876_ae61_67770cf91973); -impl std::ops::Deref for ICLRReferenceAssemblyEnum { +impl core::ops::Deref for ICLRReferenceAssemblyEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -933,7 +933,7 @@ pub struct ICLRReferenceAssemblyEnum_Vtbl { pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRRuntimeHost, ICLRRuntimeHost_Vtbl, 0x90f1a06c_7712_4762_86b5_7a5eba6bdb02); -impl std::ops::Deref for ICLRRuntimeHost { +impl core::ops::Deref for ICLRRuntimeHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1002,7 +1002,7 @@ pub struct ICLRRuntimeHost_Vtbl { pub ExecuteInDefaultAppDomain: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRRuntimeInfo, ICLRRuntimeInfo_Vtbl, 0xbd39d1d2_ba2f_486a_89b0_b4b0cb466891); -impl std::ops::Deref for ICLRRuntimeInfo { +impl core::ops::Deref for ICLRRuntimeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1044,7 +1044,7 @@ impl ICLRRuntimeInfo { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetInterface)(windows_core::Interface::as_raw(self), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsLoadable(&self) -> windows_core::Result { @@ -1084,7 +1084,7 @@ pub struct ICLRRuntimeInfo_Vtbl { pub IsStarted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRStrongName, ICLRStrongName_Vtbl, 0x9fd93ccf_3280_4391_b3a9_96e1cde77c8d); -impl std::ops::Deref for ICLRStrongName { +impl core::ops::Deref for ICLRStrongName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1261,7 +1261,7 @@ pub struct ICLRStrongName_Vtbl { pub StrongNameTokenFromPublicKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRStrongName2, ICLRStrongName2_Vtbl, 0xc22ed5c5_4b59_4975_90eb_85ea55c0069b); -impl std::ops::Deref for ICLRStrongName2 { +impl core::ops::Deref for ICLRStrongName2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1291,7 +1291,7 @@ pub struct ICLRStrongName2_Vtbl { pub StrongNameSignatureVerificationEx2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOLEAN, *const u8, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRStrongName3, ICLRStrongName3_Vtbl, 0x22c7089b_bbd3_414a_b698_210f263f1fed); -impl std::ops::Deref for ICLRStrongName3 { +impl core::ops::Deref for ICLRStrongName3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1326,7 +1326,7 @@ pub struct ICLRStrongName3_Vtbl { pub StrongNameDigestEmbed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRSyncManager, ICLRSyncManager_Vtbl, 0x55ff199d_ad21_48f9_a16c_f24ebbb8727d); -impl std::ops::Deref for ICLRSyncManager { +impl core::ops::Deref for ICLRSyncManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1359,7 +1359,7 @@ pub struct ICLRSyncManager_Vtbl { pub DeleteRWLockOwnerIterator: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRTask, ICLRTask_Vtbl, 0x28e66a4a_9906_4225_b231_9187c3eb8611); -impl std::ops::Deref for ICLRTask { +impl core::ops::Deref for ICLRTask { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1426,7 +1426,7 @@ pub struct ICLRTask_Vtbl { pub SetTaskIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRTask2, ICLRTask2_Vtbl, 0x28e66a4a_9906_4225_b231_9187c3eb8612); -impl std::ops::Deref for ICLRTask2 { +impl core::ops::Deref for ICLRTask2 { type Target = ICLRTask; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1448,7 +1448,7 @@ pub struct ICLRTask2_Vtbl { pub EndPreventAsyncAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICLRTaskManager, ICLRTaskManager_Vtbl, 0x4862efbe_3ae5_44f8_8feb_346190ee8a34); -impl std::ops::Deref for ICLRTaskManager { +impl core::ops::Deref for ICLRTaskManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1485,7 +1485,7 @@ pub struct ICLRTaskManager_Vtbl { pub GetCurrentTaskType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ETaskType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICatalogServices, ICatalogServices_Vtbl, 0x04c6be1e_1db1_4058_ab7a_700cccfbf254); -impl std::ops::Deref for ICatalogServices { +impl core::ops::Deref for ICatalogServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1507,7 +1507,7 @@ pub struct ICatalogServices_Vtbl { pub NotAutodone: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorConfiguration, ICorConfiguration_Vtbl, 0x5c2b07a5_1e98_11d3_872f_00c04f79ed0d); -impl std::ops::Deref for ICorConfiguration { +impl core::ops::Deref for ICorConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1546,7 +1546,7 @@ pub struct ICorConfiguration_Vtbl { pub AddDebuggerSpecialThread: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorRuntimeHost, ICorRuntimeHost_Vtbl, 0xcb2f6722_ab3a_11d2_9c40_00c04fa30a3e); -impl std::ops::Deref for ICorRuntimeHost { +impl core::ops::Deref for ICorRuntimeHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1662,7 +1662,7 @@ pub struct ICorRuntimeHost_Vtbl { pub CurrentDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorThreadpool, ICorThreadpool_Vtbl, 0x84680d3a_b2c1_46e8_acc2_dbc0a359159a); -impl std::ops::Deref for ICorThreadpool { +impl core::ops::Deref for ICorThreadpool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1768,7 +1768,7 @@ pub struct ICorThreadpool_Vtbl { pub CorGetAvailableThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebuggerInfo, IDebuggerInfo_Vtbl, 0xbf24142d_a47d_4d24_a66d_8c2141944e44); -impl std::ops::Deref for IDebuggerInfo { +impl core::ops::Deref for IDebuggerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1787,7 +1787,7 @@ pub struct IDebuggerInfo_Vtbl { pub IsDebuggerAttached: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebuggerThreadControl, IDebuggerThreadControl_Vtbl, 0x23d86786_0bb5_4774_8fb5_e3522add6246); -impl std::ops::Deref for IDebuggerThreadControl { +impl core::ops::Deref for IDebuggerThreadControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1813,7 +1813,7 @@ pub struct IDebuggerThreadControl_Vtbl { pub StartBlockingForDebugger: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGCHost, IGCHost_Vtbl, 0xfac34f6e_0dcd_47b5_8021_531bc5ecca63); -impl std::ops::Deref for IGCHost { +impl core::ops::Deref for IGCHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1847,7 +1847,7 @@ pub struct IGCHost_Vtbl { pub SetVirtualMemLimit: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGCHost2, IGCHost2_Vtbl, 0xa1d70cec_2dbe_4e2f_9291_fdf81438a1df); -impl std::ops::Deref for IGCHost2 { +impl core::ops::Deref for IGCHost2 { type Target = IGCHost; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1865,7 +1865,7 @@ pub struct IGCHost2_Vtbl { pub SetGCStartupLimitsEx: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGCHostControl, IGCHostControl_Vtbl, 0x5513d564_8374_4cb9_aed9_0083f4160a1d); -impl std::ops::Deref for IGCHostControl { +impl core::ops::Deref for IGCHostControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1883,7 +1883,7 @@ pub struct IGCHostControl_Vtbl { pub RequestVirtualMemLimit: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGCThreadControl, IGCThreadControl_Vtbl, 0xf31d1788_c397_4725_87a5_6af3472c2791); -impl std::ops::Deref for IGCThreadControl { +impl core::ops::Deref for IGCThreadControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1909,7 +1909,7 @@ pub struct IGCThreadControl_Vtbl { pub SuspensionEnding: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostAssemblyManager, IHostAssemblyManager_Vtbl, 0x613dabd7_62b2_493e_9e65_c1e32a1e0c5e); -impl std::ops::Deref for IHostAssemblyManager { +impl core::ops::Deref for IHostAssemblyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1933,7 +1933,7 @@ pub struct IHostAssemblyManager_Vtbl { pub GetAssemblyStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostAssemblyStore, IHostAssemblyStore_Vtbl, 0x7b102a88_3f7f_496d_8fa2_c35374e01af3); -impl std::ops::Deref for IHostAssemblyStore { +impl core::ops::Deref for IHostAssemblyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1963,7 +1963,7 @@ pub struct IHostAssemblyStore_Vtbl { ProvideModule: usize, } windows_core::imp::define_interface!(IHostAutoEvent, IHostAutoEvent_Vtbl, 0x50b0cfce_4063_4278_9673_e5cb4ed0bdb8); -impl std::ops::Deref for IHostAutoEvent { +impl core::ops::Deref for IHostAutoEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1985,7 +1985,7 @@ pub struct IHostAutoEvent_Vtbl { pub Set: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostControl, IHostControl_Vtbl, 0x02ca073c_7079_4860_880a_c2f7a449c991); -impl std::ops::Deref for IHostControl { +impl core::ops::Deref for IHostControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2010,7 +2010,7 @@ pub struct IHostControl_Vtbl { pub SetAppDomainManager: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostCrst, IHostCrst_Vtbl, 0x6df710a6_26a4_4a65_8cd5_7237b8bda8dc); -impl std::ops::Deref for IHostCrst { +impl core::ops::Deref for IHostCrst { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2041,7 +2041,7 @@ pub struct IHostCrst_Vtbl { pub SetSpinCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostGCManager, IHostGCManager_Vtbl, 0x5d4ec34e_f248_457b_b603_255faaba0d21); -impl std::ops::Deref for IHostGCManager { +impl core::ops::Deref for IHostGCManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2067,7 +2067,7 @@ pub struct IHostGCManager_Vtbl { pub SuspensionEnding: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostIoCompletionManager, IHostIoCompletionManager_Vtbl, 0x8bde9d80_ec06_41d6_83e6_22580effcc20); -impl std::ops::Deref for IHostIoCompletionManager { +impl core::ops::Deref for IHostIoCompletionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2140,7 +2140,7 @@ pub struct IHostIoCompletionManager_Vtbl { pub GetMinThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostMalloc, IHostMalloc_Vtbl, 0x1831991c_cc53_4a31_b218_04e910446479); -impl std::ops::Deref for IHostMalloc { +impl core::ops::Deref for IHostMalloc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2166,7 +2166,7 @@ pub struct IHostMalloc_Vtbl { pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostManualEvent, IHostManualEvent_Vtbl, 0x1bf4ec38_affe_4fb9_85a6_525268f15b54); -impl std::ops::Deref for IHostManualEvent { +impl core::ops::Deref for IHostManualEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2192,7 +2192,7 @@ pub struct IHostManualEvent_Vtbl { pub Set: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostMemoryManager, IHostMemoryManager_Vtbl, 0x7bc698d1_f9e3_4460_9cde_d04248e9fa25); -impl std::ops::Deref for IHostMemoryManager { +impl core::ops::Deref for IHostMemoryManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2251,7 +2251,7 @@ pub struct IHostMemoryManager_Vtbl { pub ReleasedVirtualAddressSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostPolicyManager, IHostPolicyManager_Vtbl, 0x7ae49844_b1e3_4683_ba7c_1e8212ea3b79); -impl std::ops::Deref for IHostPolicyManager { +impl core::ops::Deref for IHostPolicyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2277,7 +2277,7 @@ pub struct IHostPolicyManager_Vtbl { pub OnFailure: unsafe extern "system" fn(*mut core::ffi::c_void, EClrFailure, EPolicyAction) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostSecurityContext, IHostSecurityContext_Vtbl, 0x7e573ce4_0343_4423_98d7_6318348a1d3c); -impl std::ops::Deref for IHostSecurityContext { +impl core::ops::Deref for IHostSecurityContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2296,7 +2296,7 @@ pub struct IHostSecurityContext_Vtbl { pub Capture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostSecurityManager, IHostSecurityManager_Vtbl, 0x75ad2468_a349_4d02_a764_76a68aee0c4f); -impl std::ops::Deref for IHostSecurityManager { +impl core::ops::Deref for IHostSecurityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2348,7 +2348,7 @@ pub struct IHostSecurityManager_Vtbl { pub SetSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void, EContextType, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostSemaphore, IHostSemaphore_Vtbl, 0x855efd47_cc09_463a_a97d_16acab882661); -impl std::ops::Deref for IHostSemaphore { +impl core::ops::Deref for IHostSemaphore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2371,7 +2371,7 @@ pub struct IHostSemaphore_Vtbl { pub ReleaseSemaphore: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostSyncManager, IHostSyncManager_Vtbl, 0x234330c7_5f10_4f20_9615_5122dab7a0ac); -impl std::ops::Deref for IHostSyncManager { +impl core::ops::Deref for IHostSyncManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2438,7 +2438,7 @@ pub struct IHostSyncManager_Vtbl { pub CreateSemaphoreA: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostTask, IHostTask_Vtbl, 0xc2275828_c4b1_4b55_82c9_92135f74df1a); -impl std::ops::Deref for IHostTask { +impl core::ops::Deref for IHostTask { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2480,7 +2480,7 @@ pub struct IHostTask_Vtbl { pub SetCLRTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostTaskManager, IHostTaskManager_Vtbl, 0x997ff24c_43b7_4352_8667_0dc04fafd354); -impl std::ops::Deref for IHostTaskManager { +impl core::ops::Deref for IHostTaskManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2577,7 +2577,7 @@ pub struct IHostTaskManager_Vtbl { pub SetCLRTaskManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostThreadpoolManager, IHostThreadpoolManager_Vtbl, 0x983d50e2_cb15_466b_80fc_845dc6e8c5fd); -impl std::ops::Deref for IHostThreadpoolManager { +impl core::ops::Deref for IHostThreadpoolManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2622,7 +2622,7 @@ pub struct IHostThreadpoolManager_Vtbl { pub GetMinThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IManagedObject, IManagedObject_Vtbl, 0xc3fcc19e_a970_11d2_8b5a_00a0c9b7c9c4); -impl std::ops::Deref for IManagedObject { +impl core::ops::Deref for IManagedObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2645,7 +2645,7 @@ pub struct IManagedObject_Vtbl { pub GetObjectIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectHandle, IObjectHandle_Vtbl, 0xc460e2b4_e199_412a_8456_84dc3e4838c3); -impl std::ops::Deref for IObjectHandle { +impl core::ops::Deref for IObjectHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2664,7 +2664,7 @@ pub struct IObjectHandle_Vtbl { pub Unwrap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeName, ITypeName_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00522); -impl std::ops::Deref for ITypeName { +impl core::ops::Deref for ITypeName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2713,7 +2713,7 @@ pub struct ITypeName_Vtbl { pub GetAssemblyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeNameBuilder, ITypeNameBuilder_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00523); -impl std::ops::Deref for ITypeNameBuilder { +impl core::ops::Deref for ITypeNameBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2782,7 +2782,7 @@ pub struct ITypeNameBuilder_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeNameFactory, ITypeNameFactory_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00521); -impl std::ops::Deref for ITypeNameFactory { +impl core::ops::Deref for ITypeNameFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs index 0534139069..1e45b918c7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs @@ -16,7 +16,7 @@ where CoGetInterceptorFromTypeInfo(iidintercepted, punkouter.param().abi(), typeinfo.param().abi(), iid, ppv).ok() } windows_core::imp::define_interface!(ICallFrame, ICallFrame_Vtbl, 0xd573b4b0_894e_11d2_b8b6_00c04fb9618a); -impl std::ops::Deref for ICallFrame { +impl core::ops::Deref for ICallFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -126,7 +126,7 @@ pub struct ICallFrame_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICallFrameEvents, ICallFrameEvents_Vtbl, 0xfd5e0843_fc91_11d0_97d7_00c04fb9618a); -impl std::ops::Deref for ICallFrameEvents { +impl core::ops::Deref for ICallFrameEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -147,7 +147,7 @@ pub struct ICallFrameEvents_Vtbl { pub OnCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICallFrameWalker, ICallFrameWalker_Vtbl, 0x08b23919_392d_11d2_b8a4_00c04fb9618a); -impl std::ops::Deref for ICallFrameWalker { +impl core::ops::Deref for ICallFrameWalker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct ICallFrameWalker_Vtbl { pub OnWalkInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const *const core::ffi::c_void, super::super::super::Foundation::BOOL, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICallIndirect, ICallIndirect_Vtbl, 0xd573b4b1_894e_11d2_b8b6_00c04fb9618a); -impl std::ops::Deref for ICallIndirect { +impl core::ops::Deref for ICallIndirect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -200,7 +200,7 @@ pub struct ICallIndirect_Vtbl { pub GetIID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut super::super::super::Foundation::BOOL, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICallInterceptor, ICallInterceptor_Vtbl, 0x60c7ca75_896d_11d2_b8b6_00c04fb9618a); -impl std::ops::Deref for ICallInterceptor { +impl core::ops::Deref for ICallInterceptor { type Target = ICallIndirect; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -226,7 +226,7 @@ pub struct ICallInterceptor_Vtbl { pub GetRegisteredSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICallUnmarshal, ICallUnmarshal_Vtbl, 0x5333b003_2e42_11d2_b89d_00c04fb9618a); -impl std::ops::Deref for ICallUnmarshal { +impl core::ops::Deref for ICallUnmarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -251,7 +251,7 @@ pub struct ICallUnmarshal_Vtbl { pub ReleaseMarshalData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32, u32, u32, *const CALLFRAME_MARSHALCONTEXT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInterfaceRelated, IInterfaceRelated_Vtbl, 0xd1fb5a79_7706_11d1_adba_00c04fc2adc0); -impl std::ops::Deref for IInterfaceRelated { +impl core::ops::Deref for IInterfaceRelated { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs index 85386a1a83..76b3ca142e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IChannelCredentials, IChannelCredentials_Vtbl, 0x181b448c_c17c_4b17_ac6d_06699b93198f); -impl std::ops::Deref for IChannelCredentials { +impl core::ops::Deref for IChannelCredentials { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs index a24c96c761..092acb0b1a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDontSupportEventSubscription, IDontSupportEventSubscription_Vtbl, 0x784121f1_62a6_4b89_855f_d65f296de83a); -impl std::ops::Deref for IDontSupportEventSubscription { +impl core::ops::Deref for IDontSupportEventSubscription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12,7 +12,7 @@ pub struct IDontSupportEventSubscription_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IEnumEventObject, IEnumEventObject_Vtbl, 0xf4a07d63_2e25_11d1_9964_00c04fbbb345); -impl std::ops::Deref for IEnumEventObject { +impl core::ops::Deref for IEnumEventObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -43,7 +43,7 @@ pub struct IEnumEventObject_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventClass, IEventClass_Vtbl, 0xfb2b72a0_7a68_11d1_88f9_0080c7d771bf); -impl std::ops::Deref for IEventClass { +impl core::ops::Deref for IEventClass { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -141,7 +141,7 @@ pub struct IEventClass_Vtbl { pub SetTypeLib: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventClass2, IEventClass2_Vtbl, 0xfb2b72a1_7a68_11d1_88f9_0080c7d771bf); -impl std::ops::Deref for IEventClass2 { +impl core::ops::Deref for IEventClass2 { type Target = IEventClass; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -203,7 +203,7 @@ pub struct IEventClass2_Vtbl { pub SetFireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventControl, IEventControl_Vtbl, 0x0343e2f4_86f6_11d1_b760_00c04fb926af); -impl std::ops::Deref for IEventControl { +impl core::ops::Deref for IEventControl { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -255,7 +255,7 @@ pub struct IEventControl_Vtbl { pub SetDefaultQuery: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventObjectChange, IEventObjectChange_Vtbl, 0xf4a07d70_2e25_11d1_9964_00c04fbbb345); -impl std::ops::Deref for IEventObjectChange { +impl core::ops::Deref for IEventObjectChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -290,7 +290,7 @@ pub struct IEventObjectChange_Vtbl { pub ChangedPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, EOC_ChangeType, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventObjectChange2, IEventObjectChange2_Vtbl, 0x7701a9c3_bd68_438f_83e0_67bf4f53a422); -impl std::ops::Deref for IEventObjectChange2 { +impl core::ops::Deref for IEventObjectChange2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -312,7 +312,7 @@ pub struct IEventObjectChange2_Vtbl { pub ChangedEventClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMEVENTSYSCHANGEINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventObjectCollection, IEventObjectCollection_Vtbl, 0xf89ac270_d4eb_11d1_b682_00805fc79216); -impl std::ops::Deref for IEventObjectCollection { +impl core::ops::Deref for IEventObjectCollection { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -363,7 +363,7 @@ pub struct IEventObjectCollection_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventProperty, IEventProperty_Vtbl, 0xda538ee2_f4de_11d1_b6bb_00805fc79216); -impl std::ops::Deref for IEventProperty { +impl core::ops::Deref for IEventProperty { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -398,7 +398,7 @@ pub struct IEventProperty_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventPublisher, IEventPublisher_Vtbl, 0xe341516b_2e32_11d1_9964_00c04fbbb345); -impl std::ops::Deref for IEventPublisher { +impl core::ops::Deref for IEventPublisher { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -499,7 +499,7 @@ pub struct IEventPublisher_Vtbl { pub GetDefaultPropertyCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventSubscription, IEventSubscription_Vtbl, 0x4a6b0e15_2e38_11d1_9965_00c04fbbb345); -impl std::ops::Deref for IEventSubscription { +impl core::ops::Deref for IEventSubscription { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -723,7 +723,7 @@ pub struct IEventSubscription_Vtbl { pub SetInterfaceID: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEventSystem, IEventSystem_Vtbl, 0x4e14fb9f_2e22_11d1_9964_00c04fbbb345); -impl std::ops::Deref for IEventSystem { +impl core::ops::Deref for IEventSystem { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -785,7 +785,7 @@ pub struct IEventSystem_Vtbl { pub RemoveS: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFiringControl, IFiringControl_Vtbl, 0xe0498c93_4efe_11d1_9971_00c04fbbb345); -impl std::ops::Deref for IFiringControl { +impl core::ops::Deref for IFiringControl { type Target = super::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -806,7 +806,7 @@ pub struct IFiringControl_Vtbl { pub FireSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultiInterfaceEventControl, IMultiInterfaceEventControl_Vtbl, 0x0343e2f5_86f6_11d1_b760_00c04fb926af); -impl std::ops::Deref for IMultiInterfaceEventControl { +impl core::ops::Deref for IMultiInterfaceEventControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -869,7 +869,7 @@ pub struct IMultiInterfaceEventControl_Vtbl { pub SetFireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultiInterfacePublisherFilter, IMultiInterfacePublisherFilter_Vtbl, 0x465e5cc1_7b26_11d1_88fb_0080c7d771bf); -impl std::ops::Deref for IMultiInterfacePublisherFilter { +impl core::ops::Deref for IMultiInterfacePublisherFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -898,7 +898,7 @@ pub struct IMultiInterfacePublisherFilter_Vtbl { pub PrepareToFire: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPublisherFilter, IPublisherFilter_Vtbl, 0x465e5cc0_7b26_11d1_88fb_0080c7d771bf); -impl std::ops::Deref for IPublisherFilter { +impl core::ops::Deref for IPublisherFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs index 741a048a7b..97099de9ad 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/mod.rs @@ -154,7 +154,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoUnmarshalInterface(pstm : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoUnmarshalInterface(pstm.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -654,7 +654,7 @@ pub unsafe fn STGMEDIUM_UserUnmarshal64(param0: *const u32, param1: *const u8, p STGMEDIUM_UserUnmarshal64(param0, param1, param2) } windows_core::imp::define_interface!(IMarshal, IMarshal_Vtbl, 0x00000003_0000_0000_c000_000000000046); -impl std::ops::Deref for IMarshal { +impl core::ops::Deref for IMarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -703,7 +703,7 @@ pub struct IMarshal_Vtbl { pub DisconnectObject: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMarshal2, IMarshal2_Vtbl, 0x000001cf_0000_0000_c000_000000000046); -impl std::ops::Deref for IMarshal2 { +impl core::ops::Deref for IMarshal2 { type Target = IMarshal; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -716,7 +716,7 @@ pub struct IMarshal2_Vtbl { pub base__: IMarshal_Vtbl, } windows_core::imp::define_interface!(IMarshalingStream, IMarshalingStream_Vtbl, 0xd8f2f5e6_6102_4863_9f26_389a4676efde); -impl std::ops::Deref for IMarshalingStream { +impl core::ops::Deref for IMarshalingStream { type Target = super::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs index 7774783124..dbd6b0903c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/mod.rs @@ -28,7 +28,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoGetInterfaceAndReleaseStream(pstm : * mut core::ffi::c_void, iid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoGetInterfaceAndReleaseStream(pstm.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -578,7 +578,7 @@ where T: windows_core::Interface, { windows_targets::link!("propsys.dll" "system" fn PropVariantToWinRTPropertyValue(propvar : *const core::mem::MaybeUninit < windows_core::PROPVARIANT >, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); PropVariantToWinRTPropertyValue(core::mem::transmute(propvar), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -834,7 +834,7 @@ where WriteFmtUserTypeStg(pstg.param().abi(), cf, lpszusertype.param().abi()).ok() } windows_core::imp::define_interface!(IDirectWriterLock, IDirectWriterLock_Vtbl, 0x0e6d4d92_6738_11cf_9608_00aa00680db4); -impl std::ops::Deref for IDirectWriterLock { +impl core::ops::Deref for IDirectWriterLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -860,7 +860,7 @@ pub struct IDirectWriterLock_Vtbl { pub HaveWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSTATPROPSETSTG, IEnumSTATPROPSETSTG_Vtbl, 0x0000013b_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumSTATPROPSETSTG { +impl core::ops::Deref for IEnumSTATPROPSETSTG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -891,7 +891,7 @@ pub struct IEnumSTATPROPSETSTG_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSTATPROPSTG, IEnumSTATPROPSTG_Vtbl, 0x00000139_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumSTATPROPSTG { +impl core::ops::Deref for IEnumSTATPROPSTG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -926,7 +926,7 @@ pub struct IEnumSTATPROPSTG_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSTATSTG, IEnumSTATSTG_Vtbl, 0x0000000d_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumSTATSTG { +impl core::ops::Deref for IEnumSTATSTG { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -957,7 +957,7 @@ pub struct IEnumSTATSTG_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFillLockBytes, IFillLockBytes_Vtbl, 0x99caf010_415e_11cf_8814_00aa00b569f5); -impl std::ops::Deref for IFillLockBytes { +impl core::ops::Deref for IFillLockBytes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -992,7 +992,7 @@ pub struct IFillLockBytes_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILayoutStorage, ILayoutStorage_Vtbl, 0x0e6d4d90_6738_11cf_9608_00aa00680db4); -impl std::ops::Deref for ILayoutStorage { +impl core::ops::Deref for ILayoutStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1032,7 +1032,7 @@ pub struct ILayoutStorage_Vtbl { pub ReLayoutDocfileOnILockBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILockBytes, ILockBytes_Vtbl, 0x0000000a_0000_0000_c000_000000000046); -impl std::ops::Deref for ILockBytes { +impl core::ops::Deref for ILockBytes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1088,7 +1088,7 @@ pub struct IMemoryAllocator_Vtbl { pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } windows_core::imp::define_interface!(IPersistStorage, IPersistStorage_Vtbl, 0x0000010a_0000_0000_c000_000000000046); -impl std::ops::Deref for IPersistStorage { +impl core::ops::Deref for IPersistStorage { type Target = super::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1139,7 +1139,7 @@ pub struct IPersistStorage_Vtbl { pub HandsOffStorage: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyBag, IPropertyBag_Vtbl, 0x55272a00_42cb_11ce_8135_00aa004bb851); -impl std::ops::Deref for IPropertyBag { +impl core::ops::Deref for IPropertyBag { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1168,7 +1168,7 @@ pub struct IPropertyBag_Vtbl { pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyBag2, IPropertyBag2_Vtbl, 0x22f55882_280b_11d0_a8a9_00a0c90c2004); -impl std::ops::Deref for IPropertyBag2 { +impl core::ops::Deref for IPropertyBag2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1223,7 +1223,7 @@ pub struct IPropertyBag2_Vtbl { pub LoadObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertySetStorage, IPropertySetStorage_Vtbl, 0x0000013a_0000_0000_c000_000000000046); -impl std::ops::Deref for IPropertySetStorage { +impl core::ops::Deref for IPropertySetStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1256,7 +1256,7 @@ pub struct IPropertySetStorage_Vtbl { pub Enum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStorage, IPropertyStorage_Vtbl, 0x00000138_0000_0000_c000_000000000046); -impl std::ops::Deref for IPropertyStorage { +impl core::ops::Deref for IPropertyStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1319,7 +1319,7 @@ pub struct IPropertyStorage_Vtbl { pub Stat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut STATPROPSETSTG) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRootStorage, IRootStorage_Vtbl, 0x00000012_0000_0000_c000_000000000046); -impl std::ops::Deref for IRootStorage { +impl core::ops::Deref for IRootStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1340,7 +1340,7 @@ pub struct IRootStorage_Vtbl { pub SwitchToFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorage, IStorage_Vtbl, 0x0000000b_0000_0000_c000_000000000046); -impl std::ops::Deref for IStorage { +impl core::ops::Deref for IStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs index 224097d74c..2edf072a5b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDummyHICONIncluder, IDummyHICONIncluder_Vtbl, 0x947990de_cc28_11d2_a0f7_00805f858fb1); -impl std::ops::Deref for IDummyHICONIncluder { +impl core::ops::Deref for IDummyHICONIncluder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -25,7 +25,7 @@ pub struct IDummyHICONIncluder_Vtbl { Dummy: usize, } windows_core::imp::define_interface!(IThumbnailExtractor, IThumbnailExtractor_Vtbl, 0x969dc708_5c76_11d1_8d86_0000f804b057); -impl std::ops::Deref for IThumbnailExtractor { +impl core::ops::Deref for IThumbnailExtractor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs index 449722d5f3..f0872bffcf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs @@ -608,7 +608,7 @@ pub unsafe fn WriteHitLogging(lplogginginfo: *const HIT_LOGGING_INFO) -> super:: WriteHitLogging(lplogginginfo) } windows_core::imp::define_interface!(IBindCallbackRedirect, IBindCallbackRedirect_Vtbl, 0x11c81bc2_121e_4ed5_b9c4_b430bd54f2c0); -impl std::ops::Deref for IBindCallbackRedirect { +impl core::ops::Deref for IBindCallbackRedirect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -630,7 +630,7 @@ pub struct IBindCallbackRedirect_Vtbl { pub Redirect: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBindHttpSecurity, IBindHttpSecurity_Vtbl, 0xa9eda967_f50e_4a33_b358_206f6ef3086d); -impl std::ops::Deref for IBindHttpSecurity { +impl core::ops::Deref for IBindHttpSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -649,7 +649,7 @@ pub struct IBindHttpSecurity_Vtbl { pub GetIgnoreCertMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBindProtocol, IBindProtocol_Vtbl, 0x79eac9cd_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IBindProtocol { +impl core::ops::Deref for IBindProtocol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -672,7 +672,7 @@ pub struct IBindProtocol_Vtbl { pub CreateBinding: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICatalogFileInfo, ICatalogFileInfo_Vtbl, 0x711c7600_6b48_11d1_b403_00aa00b92af1); -impl std::ops::Deref for ICatalogFileInfo { +impl core::ops::Deref for ICatalogFileInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -695,7 +695,7 @@ pub struct ICatalogFileInfo_Vtbl { pub GetJavaTrust: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICodeInstall, ICodeInstall_Vtbl, 0x79eac9d1_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for ICodeInstall { +impl core::ops::Deref for ICodeInstall { type Target = IWindowForBindingUI; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -717,7 +717,7 @@ pub struct ICodeInstall_Vtbl { pub OnCodeInstallProblem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataFilter, IDataFilter_Vtbl, 0x69d14c80_c18e_11d0_a9ce_006097942311); -impl std::ops::Deref for IDataFilter { +impl core::ops::Deref for IDataFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -743,7 +743,7 @@ pub struct IDataFilter_Vtbl { pub SetEncodingLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEncodingFilterFactory, IEncodingFilterFactory_Vtbl, 0x70bdde00_c18e_11d0_a9ce_006097942311); -impl std::ops::Deref for IEncodingFilterFactory { +impl core::ops::Deref for IEncodingFilterFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -775,7 +775,7 @@ pub struct IEncodingFilterFactory_Vtbl { pub GetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetBindHandle, IGetBindHandle_Vtbl, 0xaf0ff408_129d_4b20_91f0_02bd23d88352); -impl std::ops::Deref for IGetBindHandle { +impl core::ops::Deref for IGetBindHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -794,7 +794,7 @@ pub struct IGetBindHandle_Vtbl { pub GetBindHandle: unsafe extern "system" fn(*mut core::ffi::c_void, BINDHANDLETYPES, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpNegotiate, IHttpNegotiate_Vtbl, 0x79eac9d2_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IHttpNegotiate { +impl core::ops::Deref for IHttpNegotiate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -826,7 +826,7 @@ pub struct IHttpNegotiate_Vtbl { pub OnResponse: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpNegotiate2, IHttpNegotiate2_Vtbl, 0x4f9f9fcb_e0f4_48eb_b7ab_fa2ea9365cb4); -impl std::ops::Deref for IHttpNegotiate2 { +impl core::ops::Deref for IHttpNegotiate2 { type Target = IHttpNegotiate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -844,7 +844,7 @@ pub struct IHttpNegotiate2_Vtbl { pub GetRootSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpNegotiate3, IHttpNegotiate3_Vtbl, 0x57b6c80a_34c2_4602_bc26_66a02fc57153); -impl std::ops::Deref for IHttpNegotiate3 { +impl core::ops::Deref for IHttpNegotiate3 { type Target = IHttpNegotiate2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -862,7 +862,7 @@ pub struct IHttpNegotiate3_Vtbl { pub GetSerializedClientCertContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHttpSecurity, IHttpSecurity_Vtbl, 0x79eac9d7_bafa_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IHttpSecurity { +impl core::ops::Deref for IHttpSecurity { type Target = IWindowForBindingUI; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -880,7 +880,7 @@ pub struct IHttpSecurity_Vtbl { pub OnSecurityProblem: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternet, IInternet_Vtbl, 0x79eac9e0_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternet { +impl core::ops::Deref for IInternet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -893,7 +893,7 @@ pub struct IInternet_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IInternetBindInfo, IInternetBindInfo_Vtbl, 0x79eac9e1_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetBindInfo { +impl core::ops::Deref for IInternetBindInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -919,7 +919,7 @@ pub struct IInternetBindInfo_Vtbl { pub GetBindString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetBindInfoEx, IInternetBindInfoEx_Vtbl, 0xa3e015b7_a82c_4dcd_a150_569aeeed36ab); -impl std::ops::Deref for IInternetBindInfoEx { +impl core::ops::Deref for IInternetBindInfoEx { type Target = IInternetBindInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -941,7 +941,7 @@ pub struct IInternetBindInfoEx_Vtbl { GetBindInfoEx: usize, } windows_core::imp::define_interface!(IInternetHostSecurityManager, IInternetHostSecurityManager_Vtbl, 0x3af280b6_cb3f_11d0_891e_00c04fb6bfc4); -impl std::ops::Deref for IInternetHostSecurityManager { +impl core::ops::Deref for IInternetHostSecurityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -967,7 +967,7 @@ pub struct IInternetHostSecurityManager_Vtbl { pub QueryCustomPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut u8, *mut u32, *const u8, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetPriority, IInternetPriority_Vtbl, 0x79eac9eb_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetPriority { +impl core::ops::Deref for IInternetPriority { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -990,7 +990,7 @@ pub struct IInternetPriority_Vtbl { pub GetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetProtocol, IInternetProtocol_Vtbl, 0x79eac9e4_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetProtocol { +impl core::ops::Deref for IInternetProtocol { type Target = IInternetProtocolRoot; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1021,7 +1021,7 @@ pub struct IInternetProtocol_Vtbl { pub UnlockRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetProtocolEx, IInternetProtocolEx_Vtbl, 0xc7a98e66_1010_492c_a1c8_c809e1f75905); -impl std::ops::Deref for IInternetProtocolEx { +impl core::ops::Deref for IInternetProtocolEx { type Target = IInternetProtocol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1045,7 +1045,7 @@ pub struct IInternetProtocolEx_Vtbl { pub StartEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, super::super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetProtocolInfo, IInternetProtocolInfo_Vtbl, 0x79eac9ec_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetProtocolInfo { +impl core::ops::Deref for IInternetProtocolInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1090,7 +1090,7 @@ pub struct IInternetProtocolInfo_Vtbl { pub QueryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, QUERYOPTION, u32, *mut core::ffi::c_void, u32, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetProtocolRoot, IInternetProtocolRoot_Vtbl, 0x79eac9e3_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetProtocolRoot { +impl core::ops::Deref for IInternetProtocolRoot { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1134,7 +1134,7 @@ pub struct IInternetProtocolRoot_Vtbl { pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetProtocolSink, IInternetProtocolSink_Vtbl, 0x79eac9e5_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetProtocolSink { +impl core::ops::Deref for IInternetProtocolSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1170,7 +1170,7 @@ pub struct IInternetProtocolSink_Vtbl { pub ReportResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetProtocolSinkStackable, IInternetProtocolSinkStackable_Vtbl, 0x79eac9f0_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetProtocolSinkStackable { +impl core::ops::Deref for IInternetProtocolSinkStackable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1199,7 +1199,7 @@ pub struct IInternetProtocolSinkStackable_Vtbl { pub RollbackSwitch: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetSecurityManager, IInternetSecurityManager_Vtbl, 0x79eac9ee_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetSecurityManager { +impl core::ops::Deref for IInternetSecurityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1264,7 +1264,7 @@ pub struct IInternetSecurityManager_Vtbl { pub GetZoneMappings: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetSecurityManagerEx, IInternetSecurityManagerEx_Vtbl, 0xf164edf1_cc7c_4f0d_9a94_34222625c393); -impl std::ops::Deref for IInternetSecurityManagerEx { +impl core::ops::Deref for IInternetSecurityManagerEx { type Target = IInternetSecurityManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1285,7 +1285,7 @@ pub struct IInternetSecurityManagerEx_Vtbl { pub ProcessUrlActionEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut u8, u32, *const u8, u32, u32, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetSecurityManagerEx2, IInternetSecurityManagerEx2_Vtbl, 0xf1e50292_a795_4117_8e09_2b560a72ac60); -impl std::ops::Deref for IInternetSecurityManagerEx2 { +impl core::ops::Deref for IInternetSecurityManagerEx2 { type Target = IInternetSecurityManagerEx; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1327,7 +1327,7 @@ pub struct IInternetSecurityManagerEx2_Vtbl { pub QueryCustomPolicyEx2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut u8, *mut u32, *const u8, u32, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetSecurityMgrSite, IInternetSecurityMgrSite_Vtbl, 0x79eac9ed_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetSecurityMgrSite { +impl core::ops::Deref for IInternetSecurityMgrSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1353,7 +1353,7 @@ pub struct IInternetSecurityMgrSite_Vtbl { pub EnableModeless: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetSession, IInternetSession_Vtbl, 0x79eac9e7_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetSession { +impl core::ops::Deref for IInternetSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1416,7 +1416,7 @@ pub struct IInternetSession_Vtbl { pub GetSessionOption: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetThreadSwitch, IInternetThreadSwitch_Vtbl, 0x79eac9e8_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetThreadSwitch { +impl core::ops::Deref for IInternetThreadSwitch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1438,7 +1438,7 @@ pub struct IInternetThreadSwitch_Vtbl { pub Continue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetZoneManager, IInternetZoneManager_Vtbl, 0x79eac9ef_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IInternetZoneManager { +impl core::ops::Deref for IInternetZoneManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1510,7 +1510,7 @@ pub struct IInternetZoneManager_Vtbl { pub CopyTemplatePoliciesToZone: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetZoneManagerEx, IInternetZoneManagerEx_Vtbl, 0xa4c23339_8e06_431e_9bf4_7e711c085648); -impl std::ops::Deref for IInternetZoneManagerEx { +impl core::ops::Deref for IInternetZoneManagerEx { type Target = IInternetZoneManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1532,7 +1532,7 @@ pub struct IInternetZoneManagerEx_Vtbl { pub SetZoneActionPolicyEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, u32, URLZONEREG, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetZoneManagerEx2, IInternetZoneManagerEx2_Vtbl, 0xedc17559_dd5d_4846_8eef_8becba5a4abf); -impl std::ops::Deref for IInternetZoneManagerEx2 { +impl core::ops::Deref for IInternetZoneManagerEx2 { type Target = IInternetZoneManagerEx; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1569,7 +1569,7 @@ pub struct IInternetZoneManagerEx2_Vtbl { pub FixUnsecureSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMonikerProp, IMonikerProp_Vtbl, 0xa5ca5f7f_1847_4d87_9c5b_918509f7511d); -impl std::ops::Deref for IMonikerProp { +impl core::ops::Deref for IMonikerProp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1590,7 +1590,7 @@ pub struct IMonikerProp_Vtbl { pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MONIKERPROPERTY, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistMoniker, IPersistMoniker_Vtbl, 0x79eac9c9_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IPersistMoniker { +impl core::ops::Deref for IPersistMoniker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1644,7 +1644,7 @@ pub struct IPersistMoniker_Vtbl { pub GetCurMoniker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISoftDistExt, ISoftDistExt_Vtbl, 0xb15b8dc1_c7e1_11d0_8680_00aa00bdcb71); -impl std::ops::Deref for ISoftDistExt { +impl core::ops::Deref for ISoftDistExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1685,7 +1685,7 @@ pub struct ISoftDistExt_Vtbl { pub AsyncInstallDistributionUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, u32, *const CODEBASEHOLD) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUriBuilderFactory, IUriBuilderFactory_Vtbl, 0xe982ce48_0b96_440c_bc37_0c869b27a29e); -impl std::ops::Deref for IUriBuilderFactory { +impl core::ops::Deref for IUriBuilderFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1709,7 +1709,7 @@ pub struct IUriBuilderFactory_Vtbl { pub CreateInitializedIUriBuilder: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUriContainer, IUriContainer_Vtbl, 0xa158a630_ed6f_45fb_b987_f68676f57752); -impl std::ops::Deref for IUriContainer { +impl core::ops::Deref for IUriContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1728,7 +1728,7 @@ pub struct IUriContainer_Vtbl { pub GetIUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinInetCacheHints, IWinInetCacheHints_Vtbl, 0xdd1ec3b3_8391_4fdb_a9e6_347c3caaa7dd); -impl std::ops::Deref for IWinInetCacheHints { +impl core::ops::Deref for IWinInetCacheHints { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1749,7 +1749,7 @@ pub struct IWinInetCacheHints_Vtbl { pub SetCacheExtension: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinInetCacheHints2, IWinInetCacheHints2_Vtbl, 0x7857aeac_d31f_49bf_884e_dd46df36780a); -impl std::ops::Deref for IWinInetCacheHints2 { +impl core::ops::Deref for IWinInetCacheHints2 { type Target = IWinInetCacheHints; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1770,7 +1770,7 @@ pub struct IWinInetCacheHints2_Vtbl { pub SetCacheExtension2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PWSTR, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinInetFileStream, IWinInetFileStream_Vtbl, 0xf134c4b7_b1f8_4e75_b886_74b90943becb); -impl std::ops::Deref for IWinInetFileStream { +impl core::ops::Deref for IWinInetFileStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1792,7 +1792,7 @@ pub struct IWinInetFileStream_Vtbl { pub SetDeleteFile: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinInetHttpInfo, IWinInetHttpInfo_Vtbl, 0x79eac9d8_bafa_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IWinInetHttpInfo { +impl core::ops::Deref for IWinInetHttpInfo { type Target = IWinInetInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1810,7 +1810,7 @@ pub struct IWinInetHttpInfo_Vtbl { pub QueryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinInetHttpTimeouts, IWinInetHttpTimeouts_Vtbl, 0xf286fa56_c1fd_4270_8e67_b3eb790a81e8); -impl std::ops::Deref for IWinInetHttpTimeouts { +impl core::ops::Deref for IWinInetHttpTimeouts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1828,7 +1828,7 @@ pub struct IWinInetHttpTimeouts_Vtbl { pub GetRequestTimeouts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWinInetInfo, IWinInetInfo_Vtbl, 0x79eac9d6_bafa_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IWinInetInfo { +impl core::ops::Deref for IWinInetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1846,7 +1846,7 @@ pub struct IWinInetInfo_Vtbl { pub QueryOption: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowForBindingUI, IWindowForBindingUI_Vtbl, 0x79eac9d5_bafa_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IWindowForBindingUI { +impl core::ops::Deref for IWindowForBindingUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1865,7 +1865,7 @@ pub struct IWindowForBindingUI_Vtbl { pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut super::super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWrappedProtocol, IWrappedProtocol_Vtbl, 0x53c84785_8425_4dc5_971b_e58d9c19f9b6); -impl std::ops::Deref for IWrappedProtocol { +impl core::ops::Deref for IWrappedProtocol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1883,7 +1883,7 @@ pub struct IWrappedProtocol_Vtbl { pub GetWrapperCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IZoneIdentifier, IZoneIdentifier_Vtbl, 0xcd45f185_1b21_48e2_967b_ead743a8914e); -impl std::ops::Deref for IZoneIdentifier { +impl core::ops::Deref for IZoneIdentifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1910,7 +1910,7 @@ pub struct IZoneIdentifier_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IZoneIdentifier2, IZoneIdentifier2_Vtbl, 0xeb5e760c_09ef_45c0_b510_70830ce31e6a); -impl std::ops::Deref for IZoneIdentifier2 { +impl core::ops::Deref for IZoneIdentifier2 { type Target = IZoneIdentifier; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs index a701d7d340..03ff5c386f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -19,7 +19,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn BindMoniker(pmk : * mut core::ffi::c_void, grfopt : u32, iidresult : *const windows_core::GUID, ppvresult : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); BindMoniker(pmk.param().abi(), grfopt, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -108,7 +108,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoCreateInstance(rclsid : *const windows_core::GUID, punkouter : * mut core::ffi::c_void, dwclscontext : CLSCTX, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoCreateInstance(rclsid, punkouter.param().abi(), dwclscontext, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -208,7 +208,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoGetCallContext(riid : *const windows_core::GUID, ppinterface : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoGetCallContext(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -223,7 +223,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoGetCancelObject(dwthreadid : u32, iid : *const windows_core::GUID, ppunk : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoGetCancelObject(dwthreadid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -232,7 +232,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoGetClassObject(rclsid : *const windows_core::GUID, dwclscontext : u32, pvreserved : *const core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoGetClassObject(rclsid, dwclscontext.0 as _, core::mem::transmute(pvreserved.unwrap_or(std::ptr::null())), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -265,7 +265,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoGetObject(pszname : windows_core::PCWSTR, pbindoptions : *const BIND_OPTS, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoGetObject(pszname.param().abi(), core::mem::transmute(pbindoptions.unwrap_or(std::ptr::null())), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -274,7 +274,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CoGetObjectContext(riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CoGetObjectContext(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -607,7 +607,7 @@ where T: windows_core::Interface, { windows_targets::link!("ole32.dll" "system" fn CreateDataCache(punkouter : * mut core::ffi::c_void, rclsid : *const windows_core::GUID, iid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateDataCache(punkouter.param().abi(), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -801,7 +801,7 @@ pub unsafe fn StringFromIID(rclsid: *const windows_core::GUID) -> windows_core:: StringFromIID(rclsid, &mut result__).map(|| result__) } windows_core::imp::define_interface!(AsyncIAdviseSink, AsyncIAdviseSink_Vtbl, 0x00000150_0000_0000_c000_000000000046); -impl std::ops::Deref for AsyncIAdviseSink { +impl core::ops::Deref for AsyncIAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -862,7 +862,7 @@ pub struct AsyncIAdviseSink_Vtbl { pub Finish_OnClose: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(AsyncIAdviseSink2, AsyncIAdviseSink2_Vtbl, 0x00000151_0000_0000_c000_000000000046); -impl std::ops::Deref for AsyncIAdviseSink2 { +impl core::ops::Deref for AsyncIAdviseSink2 { type Target = AsyncIAdviseSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -887,7 +887,7 @@ pub struct AsyncIAdviseSink2_Vtbl { pub Finish_OnLinkSrcChange: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(AsyncIMultiQI, AsyncIMultiQI_Vtbl, 0x000e0020_0000_0000_c000_000000000046); -impl std::ops::Deref for AsyncIMultiQI { +impl core::ops::Deref for AsyncIMultiQI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -909,7 +909,7 @@ pub struct AsyncIMultiQI_Vtbl { pub Finish_QueryMultipleInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MULTI_QI) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIPipeByte, AsyncIPipeByte_Vtbl, 0xdb2f3acb_2f86_11d1_8e04_00c04fb9989a); -impl std::ops::Deref for AsyncIPipeByte { +impl core::ops::Deref for AsyncIPipeByte { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -939,7 +939,7 @@ pub struct AsyncIPipeByte_Vtbl { pub Finish_Push: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIPipeDouble, AsyncIPipeDouble_Vtbl, 0xdb2f3acf_2f86_11d1_8e04_00c04fb9989a); -impl std::ops::Deref for AsyncIPipeDouble { +impl core::ops::Deref for AsyncIPipeDouble { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -969,7 +969,7 @@ pub struct AsyncIPipeDouble_Vtbl { pub Finish_Push: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIPipeLong, AsyncIPipeLong_Vtbl, 0xdb2f3acd_2f86_11d1_8e04_00c04fb9989a); -impl std::ops::Deref for AsyncIPipeLong { +impl core::ops::Deref for AsyncIPipeLong { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -999,7 +999,7 @@ pub struct AsyncIPipeLong_Vtbl { pub Finish_Push: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIUnknown, AsyncIUnknown_Vtbl, 0x000e0000_0000_0000_c000_000000000046); -impl std::ops::Deref for AsyncIUnknown { +impl core::ops::Deref for AsyncIUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1037,7 +1037,7 @@ pub struct AsyncIUnknown_Vtbl { pub Finish_Release: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(IActivationFilter, IActivationFilter_Vtbl, 0x00000017_0000_0000_c000_000000000046); -impl std::ops::Deref for IActivationFilter { +impl core::ops::Deref for IActivationFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1056,7 +1056,7 @@ pub struct IActivationFilter_Vtbl { pub HandleActivation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAddrExclusionControl, IAddrExclusionControl_Vtbl, 0x00000148_0000_0000_c000_000000000046); -impl std::ops::Deref for IAddrExclusionControl { +impl core::ops::Deref for IAddrExclusionControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1081,7 +1081,7 @@ pub struct IAddrExclusionControl_Vtbl { pub UpdateAddrExclusionList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAddrTrackingControl, IAddrTrackingControl_Vtbl, 0x00000147_0000_0000_c000_000000000046); -impl std::ops::Deref for IAddrTrackingControl { +impl core::ops::Deref for IAddrTrackingControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1103,7 +1103,7 @@ pub struct IAddrTrackingControl_Vtbl { pub DisableCOMDynamicAddrTracking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAdviseSink, IAdviseSink_Vtbl, 0x0000010f_0000_0000_c000_000000000046); -impl std::ops::Deref for IAdviseSink { +impl core::ops::Deref for IAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1144,7 +1144,7 @@ pub struct IAdviseSink_Vtbl { pub OnClose: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IAdviseSink2, IAdviseSink2_Vtbl, 0x00000125_0000_0000_c000_000000000046); -impl std::ops::Deref for IAdviseSink2 { +impl core::ops::Deref for IAdviseSink2 { type Target = IAdviseSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1165,7 +1165,7 @@ pub struct IAdviseSink2_Vtbl { pub OnLinkSrcChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } windows_core::imp::define_interface!(IAgileObject, IAgileObject_Vtbl, 0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); -impl std::ops::Deref for IAgileObject { +impl core::ops::Deref for IAgileObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1178,7 +1178,7 @@ pub struct IAgileObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IAsyncManager, IAsyncManager_Vtbl, 0x0000002a_0000_0000_c000_000000000046); -impl std::ops::Deref for IAsyncManager { +impl core::ops::Deref for IAsyncManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1205,7 +1205,7 @@ pub struct IAsyncManager_Vtbl { pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAsyncRpcChannelBuffer, IAsyncRpcChannelBuffer_Vtbl, 0xa5029fb6_3c34_11d1_9c99_00c04fb998aa); -impl std::ops::Deref for IAsyncRpcChannelBuffer { +impl core::ops::Deref for IAsyncRpcChannelBuffer { type Target = IRpcChannelBuffer2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1234,7 +1234,7 @@ pub struct IAsyncRpcChannelBuffer_Vtbl { pub GetDestCtxEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const RPCOLEMESSAGE, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAuthenticate, IAuthenticate_Vtbl, 0x79eac9d0_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IAuthenticate { +impl core::ops::Deref for IAuthenticate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1252,7 +1252,7 @@ pub struct IAuthenticate_Vtbl { pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAuthenticateEx, IAuthenticateEx_Vtbl, 0x2ad1edaf_d83d_48b5_9adf_03dbe19f53bd); -impl std::ops::Deref for IAuthenticateEx { +impl core::ops::Deref for IAuthenticateEx { type Target = IAuthenticate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1270,7 +1270,7 @@ pub struct IAuthenticateEx_Vtbl { pub AuthenticateEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND, *mut windows_core::PWSTR, *mut windows_core::PWSTR, *const AUTHENTICATEINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBindCtx, IBindCtx_Vtbl, 0x0000000e_0000_0000_c000_000000000046); -impl std::ops::Deref for IBindCtx { +impl core::ops::Deref for IBindCtx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1343,7 +1343,7 @@ pub struct IBindCtx_Vtbl { pub RevokeObjectParam: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBindHost, IBindHost_Vtbl, 0xfc4801a1_2ba9_11cf_a229_00aa003d7352); -impl std::ops::Deref for IBindHost { +impl core::ops::Deref for IBindHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1383,7 +1383,7 @@ pub struct IBindHost_Vtbl { pub MonikerBindToObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBindStatusCallback, IBindStatusCallback_Vtbl, 0x79eac9c1_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IBindStatusCallback { +impl core::ops::Deref for IBindStatusCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1450,7 +1450,7 @@ pub struct IBindStatusCallback_Vtbl { pub OnObjectAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBindStatusCallbackEx, IBindStatusCallbackEx_Vtbl, 0xaaa74ef9_8ee7_4659_88d9_f8c504da73cc); -impl std::ops::Deref for IBindStatusCallbackEx { +impl core::ops::Deref for IBindStatusCallbackEx { type Target = IBindStatusCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1472,7 +1472,7 @@ pub struct IBindStatusCallbackEx_Vtbl { GetBindInfoEx: usize, } windows_core::imp::define_interface!(IBinding, IBinding_Vtbl, 0x79eac9c0_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IBinding { +impl core::ops::Deref for IBinding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1511,7 +1511,7 @@ pub struct IBinding_Vtbl { pub GetBindResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut u32, *mut windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBlockingLock, IBlockingLock_Vtbl, 0x30f3d47a_6447_11d1_8e3c_00c04fb9386d); -impl std::ops::Deref for IBlockingLock { +impl core::ops::Deref for IBlockingLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1533,7 +1533,7 @@ pub struct IBlockingLock_Vtbl { pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICallFactory, ICallFactory_Vtbl, 0x1c733a30_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICallFactory { +impl core::ops::Deref for ICallFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1555,7 +1555,7 @@ pub struct ICallFactory_Vtbl { pub CreateCall: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICancelMethodCalls, ICancelMethodCalls_Vtbl, 0x00000029_0000_0000_c000_000000000046); -impl std::ops::Deref for ICancelMethodCalls { +impl core::ops::Deref for ICancelMethodCalls { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1577,7 +1577,7 @@ pub struct ICancelMethodCalls_Vtbl { pub TestCancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICatInformation, ICatInformation_Vtbl, 0x0002e013_0000_0000_c000_000000000046); -impl std::ops::Deref for ICatInformation { +impl core::ops::Deref for ICatInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1620,7 +1620,7 @@ pub struct ICatInformation_Vtbl { pub EnumReqCategoriesOfClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICatRegister, ICatRegister_Vtbl, 0x0002e012_0000_0000_c000_000000000046); -impl std::ops::Deref for ICatRegister { +impl core::ops::Deref for ICatRegister { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1658,7 +1658,7 @@ pub struct ICatRegister_Vtbl { pub UnRegisterClassReqCategories: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChannelHook, IChannelHook_Vtbl, 0x1008c4a0_7613_11cf_9af1_0020af6e72f4); -impl std::ops::Deref for IChannelHook { +impl core::ops::Deref for IChannelHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1700,7 +1700,7 @@ pub struct IChannelHook_Vtbl { pub ServerFillBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut u32, *const core::ffi::c_void, windows_core::HRESULT), } windows_core::imp::define_interface!(IClassActivator, IClassActivator_Vtbl, 0x00000140_0000_0000_c000_000000000046); -impl std::ops::Deref for IClassActivator { +impl core::ops::Deref for IClassActivator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1712,7 +1712,7 @@ impl IClassActivator { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetClassObject)(windows_core::Interface::as_raw(self), rclsid, dwclasscontext, locale, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1722,7 +1722,7 @@ pub struct IClassActivator_Vtbl { pub GetClassObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClassFactory, IClassFactory_Vtbl, 0x00000001_0000_0000_c000_000000000046); -impl std::ops::Deref for IClassFactory { +impl core::ops::Deref for IClassFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1735,7 +1735,7 @@ impl IClassFactory { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), punkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LockServer(&self, flock: P0) -> windows_core::Result<()> @@ -1752,7 +1752,7 @@ pub struct IClassFactory_Vtbl { pub LockServer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClientSecurity, IClientSecurity_Vtbl, 0x0000013d_0000_0000_c000_000000000046); -impl std::ops::Deref for IClientSecurity { +impl core::ops::Deref for IClientSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1789,7 +1789,7 @@ pub struct IClientSecurity_Vtbl { pub CopyProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComThreadingInfo, IComThreadingInfo_Vtbl, 0x000001ce_0000_0000_c000_000000000046); -impl std::ops::Deref for IComThreadingInfo { +impl core::ops::Deref for IComThreadingInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1822,7 +1822,7 @@ pub struct IComThreadingInfo_Vtbl { pub SetCurrentLogicalThreadId: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConnectionPoint, IConnectionPoint_Vtbl, 0xb196b286_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IConnectionPoint { +impl core::ops::Deref for IConnectionPoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1863,7 +1863,7 @@ pub struct IConnectionPoint_Vtbl { pub EnumConnections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConnectionPointContainer, IConnectionPointContainer_Vtbl, 0xb196b284_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IConnectionPointContainer { +impl core::ops::Deref for IConnectionPointContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1887,7 +1887,7 @@ pub struct IConnectionPointContainer_Vtbl { pub FindConnectionPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContext, IContext_Vtbl, 0x000001c0_0000_0000_c000_000000000046); -impl std::ops::Deref for IContext { +impl core::ops::Deref for IContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1921,7 +1921,7 @@ pub struct IContext_Vtbl { pub EnumContextProps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextCallback, IContextCallback_Vtbl, 0x000001da_0000_0000_c000_000000000046); -impl std::ops::Deref for IContextCallback { +impl core::ops::Deref for IContextCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1942,7 +1942,7 @@ pub struct IContextCallback_Vtbl { pub ContextCallback: unsafe extern "system" fn(*mut core::ffi::c_void, PFNCONTEXTCALL, *const ComCallData, *const windows_core::GUID, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataAdviseHolder, IDataAdviseHolder_Vtbl, 0x00000110_0000_0000_c000_000000000046); -impl std::ops::Deref for IDataAdviseHolder { +impl core::ops::Deref for IDataAdviseHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1981,7 +1981,7 @@ pub struct IDataAdviseHolder_Vtbl { pub SendOnDataChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataObject, IDataObject_Vtbl, 0x0000010e_0000_0000_c000_000000000046); -impl std::ops::Deref for IDataObject { +impl core::ops::Deref for IDataObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2053,7 +2053,7 @@ pub struct IDataObject_Vtbl { pub EnumDAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDispatch, IDispatch_Vtbl, 0x00020400_0000_0000_c000_000000000046); -impl std::ops::Deref for IDispatch { +impl core::ops::Deref for IDispatch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2085,7 +2085,7 @@ pub struct IDispatch_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::GUID, u32, DISPATCH_FLAGS, *const DISPPARAMS, *mut core::mem::MaybeUninit, *mut EXCEPINFO, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumCATEGORYINFO, IEnumCATEGORYINFO_Vtbl, 0x0002e011_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumCATEGORYINFO { +impl core::ops::Deref for IEnumCATEGORYINFO { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2116,7 +2116,7 @@ pub struct IEnumCATEGORYINFO_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumConnectionPoints, IEnumConnectionPoints_Vtbl, 0xb196b285_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IEnumConnectionPoints { +impl core::ops::Deref for IEnumConnectionPoints { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2147,7 +2147,7 @@ pub struct IEnumConnectionPoints_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumConnections, IEnumConnections_Vtbl, 0xb196b287_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IEnumConnections { +impl core::ops::Deref for IEnumConnections { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2178,7 +2178,7 @@ pub struct IEnumConnections_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumContextProps, IEnumContextProps_Vtbl, 0x000001c1_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumContextProps { +impl core::ops::Deref for IEnumContextProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2214,7 +2214,7 @@ pub struct IEnumContextProps_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumFORMATETC, IEnumFORMATETC_Vtbl, 0x00000103_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumFORMATETC { +impl core::ops::Deref for IEnumFORMATETC { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2245,7 +2245,7 @@ pub struct IEnumFORMATETC_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumGUID, IEnumGUID_Vtbl, 0x0002e000_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumGUID { +impl core::ops::Deref for IEnumGUID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2276,7 +2276,7 @@ pub struct IEnumGUID_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumMoniker, IEnumMoniker_Vtbl, 0x00000102_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumMoniker { +impl core::ops::Deref for IEnumMoniker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2307,7 +2307,7 @@ pub struct IEnumMoniker_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSTATDATA, IEnumSTATDATA_Vtbl, 0x00000105_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumSTATDATA { +impl core::ops::Deref for IEnumSTATDATA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2338,7 +2338,7 @@ pub struct IEnumSTATDATA_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumString, IEnumString_Vtbl, 0x00000101_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumString { +impl core::ops::Deref for IEnumString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2369,7 +2369,7 @@ pub struct IEnumString_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumUnknown, IEnumUnknown_Vtbl, 0x00000100_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumUnknown { +impl core::ops::Deref for IEnumUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2400,7 +2400,7 @@ pub struct IEnumUnknown_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorInfo, IErrorInfo_Vtbl, 0x1cf2b120_547d_101b_8e65_08002b2bd119); -impl std::ops::Deref for IErrorInfo { +impl core::ops::Deref for IErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2439,7 +2439,7 @@ pub struct IErrorInfo_Vtbl { pub GetHelpContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorLog, IErrorLog_Vtbl, 0x3127ca40_446e_11ce_8135_00aa004bb851); -impl std::ops::Deref for IErrorLog { +impl core::ops::Deref for IErrorLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2460,7 +2460,7 @@ pub struct IErrorLog_Vtbl { pub AddError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const EXCEPINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExternalConnection, IExternalConnection_Vtbl, 0x00000019_0000_0000_c000_000000000046); -impl std::ops::Deref for IExternalConnection { +impl core::ops::Deref for IExternalConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2485,7 +2485,7 @@ pub struct IExternalConnection_Vtbl { pub ReleaseConnection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL) -> u32, } windows_core::imp::define_interface!(IFastRundown, IFastRundown_Vtbl, 0x00000040_0000_0000_c000_000000000046); -impl std::ops::Deref for IFastRundown { +impl core::ops::Deref for IFastRundown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2498,7 +2498,7 @@ pub struct IFastRundown_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IForegroundTransfer, IForegroundTransfer_Vtbl, 0x00000145_0000_0000_c000_000000000046); -impl std::ops::Deref for IForegroundTransfer { +impl core::ops::Deref for IForegroundTransfer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2516,7 +2516,7 @@ pub struct IForegroundTransfer_Vtbl { pub AllowForegroundTransfer: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGlobalInterfaceTable, IGlobalInterfaceTable_Vtbl, 0x00000146_0000_0000_c000_000000000046); -impl std::ops::Deref for IGlobalInterfaceTable { +impl core::ops::Deref for IGlobalInterfaceTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2546,7 +2546,7 @@ pub struct IGlobalInterfaceTable_Vtbl { pub GetInterfaceFromGlobal: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGlobalOptions, IGlobalOptions_Vtbl, 0x0000015b_0000_0000_c000_000000000046); -impl std::ops::Deref for IGlobalOptions { +impl core::ops::Deref for IGlobalOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2569,7 +2569,7 @@ pub struct IGlobalOptions_Vtbl { pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, GLOBALOPT_PROPERTIES, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInitializeSpy, IInitializeSpy_Vtbl, 0x00000034_0000_0000_c000_000000000046); -impl std::ops::Deref for IInitializeSpy { +impl core::ops::Deref for IInitializeSpy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2599,7 +2599,7 @@ pub struct IInitializeSpy_Vtbl { pub PostUninitialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternalUnknown, IInternalUnknown_Vtbl, 0x00000021_0000_0000_c000_000000000046); -impl std::ops::Deref for IInternalUnknown { +impl core::ops::Deref for IInternalUnknown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2617,7 +2617,7 @@ pub struct IInternalUnknown_Vtbl { pub QueryInternalInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMachineGlobalObjectTable, IMachineGlobalObjectTable_Vtbl, 0x26d709ac_f70b_4421_a96f_d2878fafb00d); -impl std::ops::Deref for IMachineGlobalObjectTable { +impl core::ops::Deref for IMachineGlobalObjectTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2638,7 +2638,7 @@ impl IMachineGlobalObjectTable { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), clsid, identifier.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RevokeObject(&self, token: P0) -> windows_core::Result<()> @@ -2656,7 +2656,7 @@ pub struct IMachineGlobalObjectTable_Vtbl { pub RevokeObject: unsafe extern "system" fn(*mut core::ffi::c_void, MachineGlobalObjectTableRegistrationToken) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMalloc, IMalloc_Vtbl, 0x00000002_0000_0000_c000_000000000046); -impl std::ops::Deref for IMalloc { +impl core::ops::Deref for IMalloc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2694,7 +2694,7 @@ pub struct IMalloc_Vtbl { pub HeapMinimize: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMallocSpy, IMallocSpy_Vtbl, 0x0000001d_0000_0000_c000_000000000046); -impl std::ops::Deref for IMallocSpy { +impl core::ops::Deref for IMallocSpy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2780,7 +2780,7 @@ pub struct IMallocSpy_Vtbl { pub PostHeapMinimize: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IMoniker, IMoniker_Vtbl, 0x0000000f_0000_0000_c000_000000000046); -impl std::ops::Deref for IMoniker { +impl core::ops::Deref for IMoniker { type Target = IPersistStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2794,7 +2794,7 @@ impl IMoniker { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToObject)(windows_core::Interface::as_raw(self), pbc.param().abi(), pmktoleft.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn BindToStorage(&self, pbc: P0, pmktoleft: P1) -> windows_core::Result @@ -2803,7 +2803,7 @@ impl IMoniker { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToStorage)(windows_core::Interface::as_raw(self), pbc.param().abi(), pmktoleft.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Reduce(&self, pbc: P0, dwreducehowfar: u32, ppmktoleft: *mut Option, ppmkreduced: *mut Option) -> windows_core::Result<()> @@ -2912,7 +2912,7 @@ pub struct IMoniker_Vtbl { pub IsSystemMoniker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultiQI, IMultiQI_Vtbl, 0x00000020_0000_0000_c000_000000000046); -impl std::ops::Deref for IMultiQI { +impl core::ops::Deref for IMultiQI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2930,7 +2930,7 @@ pub struct IMultiQI_Vtbl { pub QueryMultipleInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MULTI_QI) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INoMarshal, INoMarshal_Vtbl, 0xecc8691b_c1db_4dc0_855e_65f6c551af49); -impl std::ops::Deref for INoMarshal { +impl core::ops::Deref for INoMarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2943,7 +2943,7 @@ pub struct INoMarshal_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IOplockStorage, IOplockStorage_Vtbl, 0x8d19c834_8879_11d1_83e9_00c04fc2c6d4); -impl std::ops::Deref for IOplockStorage { +impl core::ops::Deref for IOplockStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2956,7 +2956,7 @@ impl IOplockStorage { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateStorageEx)(windows_core::Interface::as_raw(self), pwcsname.param().abi(), grfmode, stgfmt, grfattrs, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenStorageEx(&self, pwcsname: P0, grfmode: u32, stgfmt: u32, grfattrs: u32) -> windows_core::Result @@ -2964,7 +2964,7 @@ impl IOplockStorage { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenStorageEx)(windows_core::Interface::as_raw(self), pwcsname.param().abi(), grfmode, stgfmt, grfattrs, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2975,7 +2975,7 @@ pub struct IOplockStorage_Vtbl { pub OpenStorageEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPSFactoryBuffer, IPSFactoryBuffer_Vtbl, 0xd5f569d0_593b_101a_b569_08002b2dbf7a); -impl std::ops::Deref for IPSFactoryBuffer { +impl core::ops::Deref for IPSFactoryBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3004,7 +3004,7 @@ pub struct IPSFactoryBuffer_Vtbl { pub CreateStub: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersist, IPersist_Vtbl, 0x0000010c_0000_0000_c000_000000000046); -impl std::ops::Deref for IPersist { +impl core::ops::Deref for IPersist { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3023,7 +3023,7 @@ pub struct IPersist_Vtbl { pub GetClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistFile, IPersistFile_Vtbl, 0x0000010b_0000_0000_c000_000000000046); -impl std::ops::Deref for IPersistFile { +impl core::ops::Deref for IPersistFile { type Target = IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3068,7 +3068,7 @@ pub struct IPersistFile_Vtbl { pub GetCurFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistMemory, IPersistMemory_Vtbl, 0xbd1ae5e0_a6ae_11ce_bd37_504200c10000); -impl std::ops::Deref for IPersistMemory { +impl core::ops::Deref for IPersistMemory { type Target = IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3106,7 +3106,7 @@ pub struct IPersistMemory_Vtbl { pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistStream, IPersistStream_Vtbl, 0x00000109_0000_0000_c000_000000000046); -impl std::ops::Deref for IPersistStream { +impl core::ops::Deref for IPersistStream { type Target = IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3144,7 +3144,7 @@ pub struct IPersistStream_Vtbl { pub GetSizeMax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistStreamInit, IPersistStreamInit_Vtbl, 0x7fd52380_4e07_101b_ae2d_08002b2ec713); -impl std::ops::Deref for IPersistStreamInit { +impl core::ops::Deref for IPersistStreamInit { type Target = IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3186,7 +3186,7 @@ pub struct IPersistStreamInit_Vtbl { pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPipeByte, IPipeByte_Vtbl, 0xdb2f3aca_2f86_11d1_8e04_00c04fb9989a); -impl std::ops::Deref for IPipeByte { +impl core::ops::Deref for IPipeByte { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3208,7 +3208,7 @@ pub struct IPipeByte_Vtbl { pub Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPipeDouble, IPipeDouble_Vtbl, 0xdb2f3ace_2f86_11d1_8e04_00c04fb9989a); -impl std::ops::Deref for IPipeDouble { +impl core::ops::Deref for IPipeDouble { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3230,7 +3230,7 @@ pub struct IPipeDouble_Vtbl { pub Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const f64, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPipeLong, IPipeLong_Vtbl, 0xdb2f3acc_2f86_11d1_8e04_00c04fb9989a); -impl std::ops::Deref for IPipeLong { +impl core::ops::Deref for IPipeLong { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3252,7 +3252,7 @@ pub struct IPipeLong_Vtbl { pub Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessInitControl, IProcessInitControl_Vtbl, 0x72380d55_8d2b_43a3_8513_2b6ef31434e9); -impl std::ops::Deref for IProcessInitControl { +impl core::ops::Deref for IProcessInitControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3270,7 +3270,7 @@ pub struct IProcessInitControl_Vtbl { pub ResetInitializerTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessLock, IProcessLock_Vtbl, 0x000001d5_0000_0000_c000_000000000046); -impl std::ops::Deref for IProcessLock { +impl core::ops::Deref for IProcessLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3292,7 +3292,7 @@ pub struct IProcessLock_Vtbl { pub ReleaseRefOnProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } windows_core::imp::define_interface!(IProgressNotify, IProgressNotify_Vtbl, 0xa9d758a0_4617_11cf_95fc_00aa00680db4); -impl std::ops::Deref for IProgressNotify { +impl core::ops::Deref for IProgressNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3314,7 +3314,7 @@ pub struct IProgressNotify_Vtbl { pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IROTData, IROTData_Vtbl, 0xf29f6bc0_5021_11ce_aa15_00006901293f); -impl std::ops::Deref for IROTData { +impl core::ops::Deref for IROTData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3332,7 +3332,7 @@ pub struct IROTData_Vtbl { pub GetComparisonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReleaseMarshalBuffers, IReleaseMarshalBuffers_Vtbl, 0xeb0cb9e8_7996_11d2_872e_0000f8080859); -impl std::ops::Deref for IReleaseMarshalBuffers { +impl core::ops::Deref for IReleaseMarshalBuffers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3353,7 +3353,7 @@ pub struct IReleaseMarshalBuffers_Vtbl { pub ReleaseMarshalBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RPCOLEMESSAGE, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRpcChannelBuffer, IRpcChannelBuffer_Vtbl, 0xd5f56b60_593b_101a_b569_08002b2dbf7a); -impl std::ops::Deref for IRpcChannelBuffer { +impl core::ops::Deref for IRpcChannelBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3387,7 +3387,7 @@ pub struct IRpcChannelBuffer_Vtbl { pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRpcChannelBuffer2, IRpcChannelBuffer2_Vtbl, 0x594f31d0_7f19_11d0_b194_00a0c90dc8bf); -impl std::ops::Deref for IRpcChannelBuffer2 { +impl core::ops::Deref for IRpcChannelBuffer2 { type Target = IRpcChannelBuffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3406,7 +3406,7 @@ pub struct IRpcChannelBuffer2_Vtbl { pub GetProtocolVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRpcChannelBuffer3, IRpcChannelBuffer3_Vtbl, 0x25b15600_0115_11d0_bf0d_00aa00b8dfd2); -impl std::ops::Deref for IRpcChannelBuffer3 { +impl core::ops::Deref for IRpcChannelBuffer3 { type Target = IRpcChannelBuffer2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3452,7 +3452,7 @@ pub struct IRpcChannelBuffer3_Vtbl { pub RegisterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RPCOLEMESSAGE, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRpcHelper, IRpcHelper_Vtbl, 0x00000149_0000_0000_c000_000000000046); -impl std::ops::Deref for IRpcHelper { +impl core::ops::Deref for IRpcHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3476,7 +3476,7 @@ pub struct IRpcHelper_Vtbl { pub GetIIDFromOBJREF: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRpcOptions, IRpcOptions_Vtbl, 0x00000144_0000_0000_c000_000000000046); -impl std::ops::Deref for IRpcOptions { +impl core::ops::Deref for IRpcOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3505,7 +3505,7 @@ pub struct IRpcOptions_Vtbl { pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, RPCOPT_PROPERTIES, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRpcProxyBuffer, IRpcProxyBuffer_Vtbl, 0xd5f56a34_593b_101a_b569_08002b2dbf7a); -impl std::ops::Deref for IRpcProxyBuffer { +impl core::ops::Deref for IRpcProxyBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3530,7 +3530,7 @@ pub struct IRpcProxyBuffer_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IRpcStubBuffer, IRpcStubBuffer_Vtbl, 0xd5f56afc_593b_101a_b569_08002b2dbf7a); -impl std::ops::Deref for IRpcStubBuffer { +impl core::ops::Deref for IRpcStubBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3578,7 +3578,7 @@ pub struct IRpcStubBuffer_Vtbl { pub DebugServerRelease: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void), } windows_core::imp::define_interface!(IRpcSyntaxNegotiate, IRpcSyntaxNegotiate_Vtbl, 0x58a08519_24c8_4935_b482_3fd823333a4f); -impl std::ops::Deref for IRpcSyntaxNegotiate { +impl core::ops::Deref for IRpcSyntaxNegotiate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3596,7 +3596,7 @@ pub struct IRpcSyntaxNegotiate_Vtbl { pub NegotiateSyntax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RPCOLEMESSAGE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRunnableObject, IRunnableObject_Vtbl, 0x00000126_0000_0000_c000_000000000046); -impl std::ops::Deref for IRunnableObject { +impl core::ops::Deref for IRunnableObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3641,7 +3641,7 @@ pub struct IRunnableObject_Vtbl { pub SetContainedObject: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRunningObjectTable, IRunningObjectTable_Vtbl, 0x00000010_0000_0000_c000_000000000046); -impl std::ops::Deref for IRunningObjectTable { +impl core::ops::Deref for IRunningObjectTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3700,7 +3700,7 @@ pub struct IRunningObjectTable_Vtbl { pub EnumRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISequentialStream, ISequentialStream_Vtbl, 0x0c733a30_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ISequentialStream { +impl core::ops::Deref for ISequentialStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3722,7 +3722,7 @@ pub struct ISequentialStream_Vtbl { pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServerSecurity, IServerSecurity_Vtbl, 0x0000013e_0000_0000_c000_000000000046); -impl std::ops::Deref for IServerSecurity { +impl core::ops::Deref for IServerSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3752,7 +3752,7 @@ pub struct IServerSecurity_Vtbl { pub IsImpersonating: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IServiceProvider, IServiceProvider_Vtbl, 0x6d5140c1_7436_11ce_8034_00aa006009fa); -impl std::ops::Deref for IServiceProvider { +impl core::ops::Deref for IServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3764,7 +3764,7 @@ impl IServiceProvider { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).QueryService)(windows_core::Interface::as_raw(self), guidservice, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3774,7 +3774,7 @@ pub struct IServiceProvider_Vtbl { pub QueryService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStdMarshalInfo, IStdMarshalInfo_Vtbl, 0x00000018_0000_0000_c000_000000000046); -impl std::ops::Deref for IStdMarshalInfo { +impl core::ops::Deref for IStdMarshalInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3793,7 +3793,7 @@ pub struct IStdMarshalInfo_Vtbl { pub GetClassForHandler: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStream, IStream_Vtbl, 0x0000000c_0000_0000_c000_000000000046); -impl std::ops::Deref for IStream { +impl core::ops::Deref for IStream { type Target = ISequentialStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3847,7 +3847,7 @@ pub struct IStream_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISupportAllowLowerTrustActivation, ISupportAllowLowerTrustActivation_Vtbl, 0xe9956ef2_3828_4b4b_8fa9_7db61dee4954); -impl std::ops::Deref for ISupportAllowLowerTrustActivation { +impl core::ops::Deref for ISupportAllowLowerTrustActivation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3860,7 +3860,7 @@ pub struct ISupportAllowLowerTrustActivation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(ISupportErrorInfo, ISupportErrorInfo_Vtbl, 0xdf0b3d60_548f_101b_8e65_08002b2bd119); -impl std::ops::Deref for ISupportErrorInfo { +impl core::ops::Deref for ISupportErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3878,7 +3878,7 @@ pub struct ISupportErrorInfo_Vtbl { pub InterfaceSupportsErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISurrogate, ISurrogate_Vtbl, 0x00000022_0000_0000_c000_000000000046); -impl std::ops::Deref for ISurrogate { +impl core::ops::Deref for ISurrogate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3900,7 +3900,7 @@ pub struct ISurrogate_Vtbl { pub FreeSurrogate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISurrogateService, ISurrogateService_Vtbl, 0x000001d4_0000_0000_c000_000000000046); -impl std::ops::Deref for ISurrogateService { +impl core::ops::Deref for ISurrogateService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3938,7 +3938,7 @@ pub struct ISurrogateService_Vtbl { pub ProcessShutdown: unsafe extern "system" fn(*mut core::ffi::c_void, ShutdownType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronize, ISynchronize_Vtbl, 0x00000030_0000_0000_c000_000000000046); -impl std::ops::Deref for ISynchronize { +impl core::ops::Deref for ISynchronize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3964,7 +3964,7 @@ pub struct ISynchronize_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronizeContainer, ISynchronizeContainer_Vtbl, 0x00000033_0000_0000_c000_000000000046); -impl std::ops::Deref for ISynchronizeContainer { +impl core::ops::Deref for ISynchronizeContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3990,7 +3990,7 @@ pub struct ISynchronizeContainer_Vtbl { pub WaitMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronizeEvent, ISynchronizeEvent_Vtbl, 0x00000032_0000_0000_c000_000000000046); -impl std::ops::Deref for ISynchronizeEvent { +impl core::ops::Deref for ISynchronizeEvent { type Target = ISynchronizeHandle; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4008,7 +4008,7 @@ pub struct ISynchronizeEvent_Vtbl { pub SetEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronizeHandle, ISynchronizeHandle_Vtbl, 0x00000031_0000_0000_c000_000000000046); -impl std::ops::Deref for ISynchronizeHandle { +impl core::ops::Deref for ISynchronizeHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4027,7 +4027,7 @@ pub struct ISynchronizeHandle_Vtbl { pub GetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronizeMutex, ISynchronizeMutex_Vtbl, 0x00000025_0000_0000_c000_000000000046); -impl std::ops::Deref for ISynchronizeMutex { +impl core::ops::Deref for ISynchronizeMutex { type Target = ISynchronize; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4045,7 +4045,7 @@ pub struct ISynchronizeMutex_Vtbl { pub ReleaseMutex: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimeAndNoticeControl, ITimeAndNoticeControl_Vtbl, 0xbc0bf6ae_8878_11d1_83e9_00c04fc2c6d4); -impl std::ops::Deref for ITimeAndNoticeControl { +impl core::ops::Deref for ITimeAndNoticeControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4063,7 +4063,7 @@ pub struct ITimeAndNoticeControl_Vtbl { pub SuppressChanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeComp, ITypeComp_Vtbl, 0x00020403_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeComp { +impl core::ops::Deref for ITypeComp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4095,7 +4095,7 @@ pub struct ITypeComp_Vtbl { pub BindType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeInfo, ITypeInfo_Vtbl, 0x00020401_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeInfo { +impl core::ops::Deref for ITypeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4157,7 +4157,7 @@ impl ITypeInfo { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), punkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetMops(&self, memid: i32) -> windows_core::Result { @@ -4222,7 +4222,7 @@ pub struct ITypeInfo_Vtbl { ReleaseVarDesc: usize, } windows_core::imp::define_interface!(ITypeInfo2, ITypeInfo2_Vtbl, 0x00020412_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeInfo2 { +impl core::ops::Deref for ITypeInfo2 { type Target = ITypeInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4310,7 +4310,7 @@ pub struct ITypeInfo2_Vtbl { pub GetAllImplTypeCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CUSTDATA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeLib, ITypeLib_Vtbl, 0x00020402_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeLib { +impl core::ops::Deref for ITypeLib { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4369,7 +4369,7 @@ pub struct ITypeLib_Vtbl { pub ReleaseTLibAttr: unsafe extern "system" fn(*mut core::ffi::c_void, *const TLIBATTR), } windows_core::imp::define_interface!(ITypeLib2, ITypeLib2_Vtbl, 0x00020411_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeLib2 { +impl core::ops::Deref for ITypeLib2 { type Target = ITypeLib; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4401,7 +4401,7 @@ pub struct ITypeLib2_Vtbl { pub GetAllCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CUSTDATA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeLibRegistration, ITypeLibRegistration_Vtbl, 0x76a3e735_02df_4a12_98eb_043ad3600af3); -impl std::ops::Deref for ITypeLibRegistration { +impl core::ops::Deref for ITypeLibRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4455,7 +4455,7 @@ pub struct ITypeLibRegistration_Vtbl { pub GetHelpDir: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeLibRegistrationReader, ITypeLibRegistrationReader_Vtbl, 0xed6a8a2a_b160_4e77_8f73_aa7435cd5c27); -impl std::ops::Deref for ITypeLibRegistrationReader { +impl core::ops::Deref for ITypeLibRegistrationReader { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4474,7 +4474,7 @@ pub struct ITypeLibRegistrationReader_Vtbl { pub EnumTypeLibRegistrations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUri, IUri_Vtbl, 0xa39ee748_6a27_4817_a6f2_13914bef5890); -impl std::ops::Deref for IUri { +impl core::ops::Deref for IUri { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4613,7 +4613,7 @@ pub struct IUri_Vtbl { pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUriBuilder, IUriBuilder_Vtbl, 0x4221b2e1_8955_46c0_bd5b_de9897565de7); -impl std::ops::Deref for IUriBuilder { +impl core::ops::Deref for IUriBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4751,7 +4751,7 @@ pub struct IUriBuilder_Vtbl { pub HasBeenModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUrlMon, IUrlMon_Vtbl, 0x00000026_0000_0000_c000_000000000046); -impl std::ops::Deref for IUrlMon { +impl core::ops::Deref for IUrlMon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4775,7 +4775,7 @@ pub struct IUrlMon_Vtbl { pub AsyncGetClassBits: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, windows_core::PCWSTR, u32, u32, windows_core::PCWSTR, *mut core::ffi::c_void, u32, *const windows_core::GUID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWaitMultiple, IWaitMultiple_Vtbl, 0x0000002b_0000_0000_c000_000000000046); -impl std::ops::Deref for IWaitMultiple { +impl core::ops::Deref for IWaitMultiple { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs index 8cac5d3fad..48e26265cb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -60,7 +60,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ContextInfo, ContextInfo_Vtbl, 0x19a5a02c_0ac8_11d2_b286_00c04f8ef934); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ContextInfo { +impl core::ops::Deref for ContextInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -104,7 +104,7 @@ pub struct ContextInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ContextInfo2, ContextInfo2_Vtbl, 0xc99d6e75_2375_11d4_8331_00c04f605588); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ContextInfo2 { +impl core::ops::Deref for ContextInfo2 { type Target = ContextInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct ContextInfo2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAppDomainHelper, IAppDomainHelper_Vtbl, 0xc7b67079_8255_42c6_9ec0_6994a3548780); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAppDomainHelper { +impl core::ops::Deref for IAppDomainHelper { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -171,7 +171,7 @@ pub struct IAppDomainHelper_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAssemblyLocator, IAssemblyLocator_Vtbl, 0x391ffbb9_a8ee_432a_abc8_baa238dab90f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAssemblyLocator { +impl core::ops::Deref for IAssemblyLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -202,7 +202,7 @@ pub struct IAssemblyLocator_Vtbl { GetModules: usize, } windows_core::imp::define_interface!(IAsyncErrorNotify, IAsyncErrorNotify_Vtbl, 0xfe6777fb_a674_4177_8f32_6d707e113484); -impl std::ops::Deref for IAsyncErrorNotify { +impl core::ops::Deref for IAsyncErrorNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -222,7 +222,7 @@ pub struct IAsyncErrorNotify_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICOMAdminCatalog, ICOMAdminCatalog_Vtbl, 0xdd662187_dfc2_11d1_a2cf_00805fc79235); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICOMAdminCatalog { +impl core::ops::Deref for ICOMAdminCatalog { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -446,7 +446,7 @@ pub struct ICOMAdminCatalog_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICOMAdminCatalog2, ICOMAdminCatalog2_Vtbl, 0x790c6e0b_9194_4cc9_9426_a48a63185696); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICOMAdminCatalog2 { +impl core::ops::Deref for ICOMAdminCatalog2 { type Target = ICOMAdminCatalog; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -686,7 +686,7 @@ pub struct ICOMAdminCatalog2_Vtbl { pub GetComponentVersionCount: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICOMLBArguments, ICOMLBArguments_Vtbl, 0x3a0f150f_8ee5_4b94_b40e_aef2f9e42ed2); -impl std::ops::Deref for ICOMLBArguments { +impl core::ops::Deref for ICOMLBArguments { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -718,7 +718,7 @@ pub struct ICOMLBArguments_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICatalogCollection, ICatalogCollection_Vtbl, 0x6eb22872_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICatalogCollection { +impl core::ops::Deref for ICatalogCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -840,7 +840,7 @@ pub struct ICatalogCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICatalogObject, ICatalogObject_Vtbl, 0x6eb22871_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICatalogObject { +impl core::ops::Deref for ICatalogObject { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -904,7 +904,7 @@ pub struct ICatalogObject_Vtbl { pub IsPropertyWriteOnly: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICheckSxsConfig, ICheckSxsConfig_Vtbl, 0x0ff5a96f_11fc_47d1_baa6_25dd347e7242); -impl std::ops::Deref for ICheckSxsConfig { +impl core::ops::Deref for ICheckSxsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -927,7 +927,7 @@ pub struct ICheckSxsConfig_Vtbl { pub IsSameSxsConfig: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComActivityEvents, IComActivityEvents_Vtbl, 0x683130b0_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComActivityEvents { +impl core::ops::Deref for IComActivityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -969,7 +969,7 @@ pub struct IComActivityEvents_Vtbl { pub OnActivityLeaveSame: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComApp2Events, IComApp2Events_Vtbl, 0x1290bc1a_b219_418d_b078_5934ded08242); -impl std::ops::Deref for IComApp2Events { +impl core::ops::Deref for IComApp2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1006,7 +1006,7 @@ pub struct IComApp2Events_Vtbl { pub OnAppRecycle2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID, windows_core::GUID, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComAppEvents, IComAppEvents_Vtbl, 0x683130a6_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComAppEvents { +impl core::ops::Deref for IComAppEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1032,7 +1032,7 @@ pub struct IComAppEvents_Vtbl { pub OnAppForceShutdown: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComCRMEvents, IComCRMEvents_Vtbl, 0x683130b5_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComCRMEvents { +impl core::ops::Deref for IComCRMEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1112,7 +1112,7 @@ pub struct IComCRMEvents_Vtbl { pub OnCRMDeliver: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID, super::super::Foundation::BOOL, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComExceptionEvents, IComExceptionEvents_Vtbl, 0x683130b3_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComExceptionEvents { +impl core::ops::Deref for IComExceptionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1133,7 +1133,7 @@ pub struct IComExceptionEvents_Vtbl { pub OnExceptionUser: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u32, u64, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComIdentityEvents, IComIdentityEvents_Vtbl, 0x683130b1_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComIdentityEvents { +impl core::ops::Deref for IComIdentityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1156,7 +1156,7 @@ pub struct IComIdentityEvents_Vtbl { pub OnIISRequestInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComInstance2Events, IComInstance2Events_Vtbl, 0x20e3bf07_b506_4ad5_a50c_d2ca5b9c158e); -impl std::ops::Deref for IComInstance2Events { +impl core::ops::Deref for IComInstance2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1178,7 +1178,7 @@ pub struct IComInstance2Events_Vtbl { pub OnObjectDestroy2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComInstanceEvents, IComInstanceEvents_Vtbl, 0x683130a7_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComInstanceEvents { +impl core::ops::Deref for IComInstanceEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1200,7 +1200,7 @@ pub struct IComInstanceEvents_Vtbl { pub OnObjectDestroy: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComLTxEvents, IComLTxEvents_Vtbl, 0x605cf82c_578e_4298_975d_82babcd9e053); -impl std::ops::Deref for IComLTxEvents { +impl core::ops::Deref for IComLTxEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1240,7 +1240,7 @@ pub struct IComLTxEvents_Vtbl { pub OnLtxTransactionPromote: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComMethod2Events, IComMethod2Events_Vtbl, 0xfb388aaa_567d_4024_af8e_6e93ee748573); -impl std::ops::Deref for IComMethod2Events { +impl core::ops::Deref for IComMethod2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1266,7 +1266,7 @@ pub struct IComMethod2Events_Vtbl { pub OnMethodException2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComMethodEvents, IComMethodEvents_Vtbl, 0x683130a9_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComMethodEvents { +impl core::ops::Deref for IComMethodEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1292,7 +1292,7 @@ pub struct IComMethodEvents_Vtbl { pub OnMethodException: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComMtaThreadPoolKnobs, IComMtaThreadPoolKnobs_Vtbl, 0xf9a76d2e_76a5_43eb_a0c4_49bec8e48480); -impl std::ops::Deref for IComMtaThreadPoolKnobs { +impl core::ops::Deref for IComMtaThreadPoolKnobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1324,7 +1324,7 @@ pub struct IComMtaThreadPoolKnobs_Vtbl { pub MTAGetThrottleValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComObjectConstruction2Events, IComObjectConstruction2Events_Vtbl, 0x4b5a7827_8df2_45c0_8f6f_57ea1f856a9f); -impl std::ops::Deref for IComObjectConstruction2Events { +impl core::ops::Deref for IComObjectConstruction2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1345,7 +1345,7 @@ pub struct IComObjectConstruction2Events_Vtbl { pub OnObjectConstruct2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, windows_core::PCWSTR, u64, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComObjectConstructionEvents, IComObjectConstructionEvents_Vtbl, 0x683130af_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComObjectConstructionEvents { +impl core::ops::Deref for IComObjectConstructionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1366,7 +1366,7 @@ pub struct IComObjectConstructionEvents_Vtbl { pub OnObjectConstruct: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, windows_core::PCWSTR, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComObjectEvents, IComObjectEvents_Vtbl, 0x683130aa_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComObjectEvents { +impl core::ops::Deref for IComObjectEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1404,7 +1404,7 @@ pub struct IComObjectEvents_Vtbl { pub OnSetAbort: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComObjectPool2Events, IComObjectPool2Events_Vtbl, 0x65bf6534_85ea_4f64_8cf4_3d974b2ab1cf); -impl std::ops::Deref for IComObjectPool2Events { +impl core::ops::Deref for IComObjectPool2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1434,7 +1434,7 @@ pub struct IComObjectPool2Events_Vtbl { pub OnObjPoolGetFromTx2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComObjectPoolEvents, IComObjectPoolEvents_Vtbl, 0x683130ad_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComObjectPoolEvents { +impl core::ops::Deref for IComObjectPoolEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1464,7 +1464,7 @@ pub struct IComObjectPoolEvents_Vtbl { pub OnObjPoolGetFromTx: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComObjectPoolEvents2, IComObjectPoolEvents2_Vtbl, 0x683130ae_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComObjectPoolEvents2 { +impl core::ops::Deref for IComObjectPoolEvents2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1498,7 +1498,7 @@ pub struct IComObjectPoolEvents2_Vtbl { pub OnObjPoolCreatePool: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComQCEvents, IComQCEvents_Vtbl, 0x683130b2_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComQCEvents { +impl core::ops::Deref for IComQCEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1540,7 +1540,7 @@ pub struct IComQCEvents_Vtbl { pub OnQCPlayback: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComResourceEvents, IComResourceEvents_Vtbl, 0x683130ab_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComResourceEvents { +impl core::ops::Deref for IComResourceEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1592,7 +1592,7 @@ pub struct IComResourceEvents_Vtbl { pub OnResourceTrack: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, windows_core::PCWSTR, u64, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComSecurityEvents, IComSecurityEvents_Vtbl, 0x683130ac_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComSecurityEvents { +impl core::ops::Deref for IComSecurityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1620,7 +1620,7 @@ pub struct IComSecurityEvents_Vtbl { pub OnAuthenticateFail: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u64, *const windows_core::GUID, u32, u32, *const u8, u32, *const u8, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComStaThreadPoolKnobs, IComStaThreadPoolKnobs_Vtbl, 0x324b64fa_33b6_11d2_98b7_00c04f8ee1c4); -impl std::ops::Deref for IComStaThreadPoolKnobs { +impl core::ops::Deref for IComStaThreadPoolKnobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1684,7 +1684,7 @@ pub struct IComStaThreadPoolKnobs_Vtbl { pub SetQueueDepth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComStaThreadPoolKnobs2, IComStaThreadPoolKnobs2_Vtbl, 0x73707523_ff9a_4974_bf84_2108dc213740); -impl std::ops::Deref for IComStaThreadPoolKnobs2 { +impl core::ops::Deref for IComStaThreadPoolKnobs2 { type Target = IComStaThreadPoolKnobs; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1749,7 +1749,7 @@ pub struct IComStaThreadPoolKnobs2_Vtbl { pub SetWaitTimeForThreadCleanup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComThreadEvents, IComThreadEvents_Vtbl, 0x683130a5_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComThreadEvents { +impl core::ops::Deref for IComThreadEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1807,7 +1807,7 @@ pub struct IComThreadEvents_Vtbl { pub OnThreadUnassignApartment: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComTrackingInfoCollection, IComTrackingInfoCollection_Vtbl, 0xc266c677_c9ad_49ab_9fd9_d9661078588a); -impl std::ops::Deref for IComTrackingInfoCollection { +impl core::ops::Deref for IComTrackingInfoCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1835,7 +1835,7 @@ pub struct IComTrackingInfoCollection_Vtbl { pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComTrackingInfoEvents, IComTrackingInfoEvents_Vtbl, 0x4e6cdcc9_fb25_4fd5_9cc5_c9f4b6559cec); -impl std::ops::Deref for IComTrackingInfoEvents { +impl core::ops::Deref for IComTrackingInfoEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1856,7 +1856,7 @@ pub struct IComTrackingInfoEvents_Vtbl { pub OnNewTrackingInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComTrackingInfoObject, IComTrackingInfoObject_Vtbl, 0x116e42c5_d8b1_47bf_ab1e_c895ed3e2372); -impl std::ops::Deref for IComTrackingInfoObject { +impl core::ops::Deref for IComTrackingInfoObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1878,7 +1878,7 @@ pub struct IComTrackingInfoObject_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComTrackingInfoProperties, IComTrackingInfoProperties_Vtbl, 0x789b42be_6f6b_443a_898e_67abf390aa14); -impl std::ops::Deref for IComTrackingInfoProperties { +impl core::ops::Deref for IComTrackingInfoProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1902,7 +1902,7 @@ pub struct IComTrackingInfoProperties_Vtbl { pub GetPropName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComTransaction2Events, IComTransaction2Events_Vtbl, 0xa136f62a_2f94_4288_86e0_d8a1fa4c0299); -impl std::ops::Deref for IComTransaction2Events { +impl core::ops::Deref for IComTransaction2Events { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1938,7 +1938,7 @@ pub struct IComTransaction2Events_Vtbl { pub OnTransactionCommit2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComTransactionEvents, IComTransactionEvents_Vtbl, 0x683130a8_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComTransactionEvents { +impl core::ops::Deref for IComTransactionEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1974,7 +1974,7 @@ pub struct IComTransactionEvents_Vtbl { pub OnTransactionCommit: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComUserEvent, IComUserEvent_Vtbl, 0x683130a4_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for IComUserEvent { +impl core::ops::Deref for IComUserEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1992,7 +1992,7 @@ pub struct IComUserEvent_Vtbl { pub OnUserEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextProperties, IContextProperties_Vtbl, 0xd396da85_bf8f_11d1_bbae_00c04fc2fa5f); -impl std::ops::Deref for IContextProperties { +impl core::ops::Deref for IContextProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2037,7 +2037,7 @@ pub struct IContextProperties_Vtbl { pub RemoveProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextSecurityPerimeter, IContextSecurityPerimeter_Vtbl, 0xa7549a29_a7c4_42e1_8dc1_7e3d748dc24a); -impl std::ops::Deref for IContextSecurityPerimeter { +impl core::ops::Deref for IContextSecurityPerimeter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2062,7 +2062,7 @@ pub struct IContextSecurityPerimeter_Vtbl { pub SetPerimeterFlag: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextState, IContextState_Vtbl, 0x3c05e54b_a42a_11d2_afc4_00c04f8ee1c4); -impl std::ops::Deref for IContextState { +impl core::ops::Deref for IContextState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2095,7 +2095,7 @@ pub struct IContextState_Vtbl { pub GetMyTransactionVote: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TransactionVote) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateWithLocalTransaction, ICreateWithLocalTransaction_Vtbl, 0x227ac7a8_8423_42ce_b7cf_03061ec9aaa3); -impl std::ops::Deref for ICreateWithLocalTransaction { +impl core::ops::Deref for ICreateWithLocalTransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2116,7 +2116,7 @@ pub struct ICreateWithLocalTransaction_Vtbl { pub CreateInstanceWithSysTx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateWithTipTransactionEx, ICreateWithTipTransactionEx_Vtbl, 0x455acf59_5345_11d2_99cf_00c04f797bc9); -impl std::ops::Deref for ICreateWithTipTransactionEx { +impl core::ops::Deref for ICreateWithTipTransactionEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2129,7 +2129,7 @@ impl ICreateWithTipTransactionEx { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), bstrtipurl.param().abi(), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2139,7 +2139,7 @@ pub struct ICreateWithTipTransactionEx_Vtbl { pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateWithTransactionEx, ICreateWithTransactionEx_Vtbl, 0x455acf57_5345_11d2_99cf_00c04f797bc9); -impl std::ops::Deref for ICreateWithTransactionEx { +impl core::ops::Deref for ICreateWithTransactionEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2153,7 +2153,7 @@ impl ICreateWithTransactionEx { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), ptransaction.param().abi(), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2166,7 +2166,7 @@ pub struct ICreateWithTransactionEx_Vtbl { CreateInstance: usize, } windows_core::imp::define_interface!(ICrmCompensator, ICrmCompensator_Vtbl, 0xbbc01830_8d3b_11d1_82ec_00a0c91eede9); -impl std::ops::Deref for ICrmCompensator { +impl core::ops::Deref for ICrmCompensator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2245,7 +2245,7 @@ pub struct ICrmCompensator_Vtbl { pub EndAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICrmCompensatorVariants, ICrmCompensatorVariants_Vtbl, 0xf0baf8e4_7804_11d1_82e9_00a0c91eede9); -impl std::ops::Deref for ICrmCompensatorVariants { +impl core::ops::Deref for ICrmCompensatorVariants { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2312,7 +2312,7 @@ pub struct ICrmCompensatorVariants_Vtbl { pub EndAbortVariants: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICrmFormatLogRecords, ICrmFormatLogRecords_Vtbl, 0x9c51d821_c98b_11d1_82fb_00a0c91eede9); -impl std::ops::Deref for ICrmFormatLogRecords { +impl core::ops::Deref for ICrmFormatLogRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2353,7 +2353,7 @@ pub struct ICrmFormatLogRecords_Vtbl { pub GetColumnVariants: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICrmLogControl, ICrmLogControl_Vtbl, 0xa0e174b3_d26e_11d2_8f84_00805fc7bcd9); -impl std::ops::Deref for ICrmLogControl { +impl core::ops::Deref for ICrmLogControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2404,7 +2404,7 @@ pub struct ICrmLogControl_Vtbl { WriteLogRecord: usize, } windows_core::imp::define_interface!(ICrmMonitor, ICrmMonitor_Vtbl, 0x70c8e443_c7ed_11d1_82fb_00a0c91eede9); -impl std::ops::Deref for ICrmMonitor { +impl core::ops::Deref for ICrmMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2437,7 +2437,7 @@ pub struct ICrmMonitor_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICrmMonitorClerks, ICrmMonitorClerks_Vtbl, 0x70c8e442_c7ed_11d1_82fb_00a0c91eede9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICrmMonitorClerks { +impl core::ops::Deref for ICrmMonitorClerks { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2504,7 +2504,7 @@ pub struct ICrmMonitorClerks_Vtbl { pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICrmMonitorLogRecords, ICrmMonitorLogRecords_Vtbl, 0x70c8e441_c7ed_11d1_82fb_00a0c91eede9); -impl std::ops::Deref for ICrmMonitorLogRecords { +impl core::ops::Deref for ICrmMonitorLogRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2549,7 +2549,7 @@ pub struct ICrmMonitorLogRecords_Vtbl { pub GetLogRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDispenserDriver, IDispenserDriver_Vtbl, 0x208b3651_2b48_11cf_be10_00aa00a2fa25); -impl std::ops::Deref for IDispenserDriver { +impl core::ops::Deref for IDispenserDriver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2590,7 +2590,7 @@ pub struct IDispenserDriver_Vtbl { pub DestroyResourceS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDispenserManager, IDispenserManager_Vtbl, 0x5cb31e10_2b5f_11cf_be10_00aa00a2fa25); -impl std::ops::Deref for IDispenserManager { +impl core::ops::Deref for IDispenserManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2617,7 +2617,7 @@ pub struct IDispenserManager_Vtbl { pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumNames, IEnumNames_Vtbl, 0x51372af2_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IEnumNames { +impl core::ops::Deref for IEnumNames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2650,7 +2650,7 @@ pub struct IEnumNames_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEventServerTrace, IEventServerTrace_Vtbl, 0x9a9f12b8_80af_47ab_a579_35ea57725370); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEventServerTrace { +impl core::ops::Deref for IEventServerTrace { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2687,7 +2687,7 @@ pub struct IEventServerTrace_Vtbl { pub EnumTraceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetAppTrackerData, IGetAppTrackerData_Vtbl, 0x507c3ac8_3e12_4cb0_9366_653d3e050638); -impl std::ops::Deref for IGetAppTrackerData { +impl core::ops::Deref for IGetAppTrackerData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2731,7 +2731,7 @@ pub struct IGetAppTrackerData_Vtbl { pub GetSuggestedPollingInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetContextProperties, IGetContextProperties_Vtbl, 0x51372af4_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IGetContextProperties { +impl core::ops::Deref for IGetContextProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2763,7 +2763,7 @@ pub struct IGetContextProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGetSecurityCallContext, IGetSecurityCallContext_Vtbl, 0xcafc823f_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGetSecurityCallContext { +impl core::ops::Deref for IGetSecurityCallContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2789,7 +2789,7 @@ pub struct IGetSecurityCallContext_Vtbl { GetSecurityCallContext: usize, } windows_core::imp::define_interface!(IHolder, IHolder_Vtbl, 0xbf6a1850_2b45_11cf_be10_00aa00a2fa25); -impl std::ops::Deref for IHolder { +impl core::ops::Deref for IHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2841,7 +2841,7 @@ pub struct IHolder_Vtbl { pub RequestDestroyResource: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILBEvents, ILBEvents_Vtbl, 0x683130b4_2e50_11d2_98a5_00c04f8ee1c4); -impl std::ops::Deref for ILBEvents { +impl core::ops::Deref for ILBEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2879,7 +2879,7 @@ pub struct ILBEvents_Vtbl { pub EngineDefined: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMTSActivity, IMTSActivity_Vtbl, 0x51372af0_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IMTSActivity { +impl core::ops::Deref for IMTSActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2919,7 +2919,7 @@ pub struct IMTSActivity_Vtbl { pub UnbindFromThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMTSCall, IMTSCall_Vtbl, 0x51372aef_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IMTSCall { +impl core::ops::Deref for IMTSCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2939,7 +2939,7 @@ pub struct IMTSCall_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMTSLocator, IMTSLocator_Vtbl, 0xd19b8bfd_7f88_11d0_b16e_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMTSLocator { +impl core::ops::Deref for IMTSLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2961,7 +2961,7 @@ pub struct IMTSLocator_Vtbl { pub GetEventDispatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IManagedActivationEvents, IManagedActivationEvents_Vtbl, 0xa5f325af_572f_46da_b8ab_827c3d95d99e); -impl std::ops::Deref for IManagedActivationEvents { +impl core::ops::Deref for IManagedActivationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2990,7 +2990,7 @@ pub struct IManagedActivationEvents_Vtbl { pub DestroyManagedStub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IManagedObjectInfo, IManagedObjectInfo_Vtbl, 0x1427c51a_4584_49d8_90a0_c50d8086cbe9); -impl std::ops::Deref for IManagedObjectInfo { +impl core::ops::Deref for IManagedObjectInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3029,7 +3029,7 @@ pub struct IManagedObjectInfo_Vtbl { pub SetWrapperStrength: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IManagedPoolAction, IManagedPoolAction_Vtbl, 0xda91b74e_5388_4783_949d_c1cd5fb00506); -impl std::ops::Deref for IManagedPoolAction { +impl core::ops::Deref for IManagedPoolAction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3047,7 +3047,7 @@ pub struct IManagedPoolAction_Vtbl { pub LastRelease: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IManagedPooledObj, IManagedPooledObj_Vtbl, 0xc5da4bea_1b42_4437_8926_b6a38860a770); -impl std::ops::Deref for IManagedPooledObj { +impl core::ops::Deref for IManagedPooledObj { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3070,7 +3070,7 @@ pub struct IManagedPooledObj_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMessageMover, IMessageMover_Vtbl, 0x588a085a_b795_11d1_8054_00c04fc340ee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMessageMover { +impl core::ops::Deref for IMessageMover { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3127,7 +3127,7 @@ pub struct IMessageMover_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMtsEventInfo, IMtsEventInfo_Vtbl, 0xd56c3dc1_8482_11d0_b170_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMtsEventInfo { +impl core::ops::Deref for IMtsEventInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3174,7 +3174,7 @@ pub struct IMtsEventInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMtsEvents, IMtsEvents_Vtbl, 0xbacedf4d_74ab_11d0_b162_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMtsEvents { +impl core::ops::Deref for IMtsEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3217,7 +3217,7 @@ pub struct IMtsEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMtsGrp, IMtsGrp_Vtbl, 0x4b2e958c_0393_11d1_b1ab_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMtsGrp { +impl core::ops::Deref for IMtsGrp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3248,7 +3248,7 @@ pub struct IMtsGrp_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjPool, IObjPool_Vtbl, 0x7d8805a0_2ea7_11d1_b1cc_00aa00ba3258); -impl std::ops::Deref for IObjPool { +impl core::ops::Deref for IObjPool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3293,7 +3293,7 @@ pub struct IObjPool_Vtbl { pub Reserved6: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IObjectConstruct, IObjectConstruct_Vtbl, 0x41c4f8b3_7439_11d2_98cb_00c04f8ee1c4); -impl std::ops::Deref for IObjectConstruct { +impl core::ops::Deref for IObjectConstruct { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3320,7 +3320,7 @@ pub struct IObjectConstruct_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IObjectConstructString, IObjectConstructString_Vtbl, 0x41c4f8b2_7439_11d2_98cb_00c04f8ee1c4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IObjectConstructString { +impl core::ops::Deref for IObjectConstructString { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3341,7 +3341,7 @@ pub struct IObjectConstructString_Vtbl { pub ConstructString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectContext, IObjectContext_Vtbl, 0x51372ae0_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IObjectContext { +impl core::ops::Deref for IObjectContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3390,7 +3390,7 @@ pub struct IObjectContext_Vtbl { pub IsCallerInRole: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectContextActivity, IObjectContextActivity_Vtbl, 0x51372afc_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IObjectContextActivity { +impl core::ops::Deref for IObjectContextActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3408,7 +3408,7 @@ pub struct IObjectContextActivity_Vtbl { pub GetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectContextInfo, IObjectContextInfo_Vtbl, 0x75b52ddb_e8ed_11d1_93ad_00aa00ba3258); -impl std::ops::Deref for IObjectContextInfo { +impl core::ops::Deref for IObjectContextInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3443,7 +3443,7 @@ pub struct IObjectContextInfo_Vtbl { pub GetContextId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectContextInfo2, IObjectContextInfo2_Vtbl, 0x594be71a_4bc4_438b_9197_cfd176248b09); -impl std::ops::Deref for IObjectContextInfo2 { +impl core::ops::Deref for IObjectContextInfo2 { type Target = IObjectContextInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3469,7 +3469,7 @@ pub struct IObjectContextInfo2_Vtbl { pub GetApplicationInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectContextTip, IObjectContextTip_Vtbl, 0x92fd41ca_bad9_11d2_9a2d_00c04f797bc9); -impl std::ops::Deref for IObjectContextTip { +impl core::ops::Deref for IObjectContextTip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3487,7 +3487,7 @@ pub struct IObjectContextTip_Vtbl { pub GetTipUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectControl, IObjectControl_Vtbl, 0x51372aec_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IObjectControl { +impl core::ops::Deref for IObjectControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3513,7 +3513,7 @@ pub struct IObjectControl_Vtbl { pub CanBePooled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IPlaybackControl, IPlaybackControl_Vtbl, 0x51372afd_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IPlaybackControl { +impl core::ops::Deref for IPlaybackControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3537,7 +3537,7 @@ pub struct IPlaybackControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPoolManager, IPoolManager_Vtbl, 0x0a469861_5a91_43a0_99b6_d5e179bb0631); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPoolManager { +impl core::ops::Deref for IPoolManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3561,7 +3561,7 @@ pub struct IPoolManager_Vtbl { pub ShutdownPool: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessInitializer, IProcessInitializer_Vtbl, 0x1113f52d_dc7f_4943_aed6_88d04027e32a); -impl std::ops::Deref for IProcessInitializer { +impl core::ops::Deref for IProcessInitializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3588,7 +3588,7 @@ pub struct IProcessInitializer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISecurityCallContext, ISecurityCallContext_Vtbl, 0xcafc823e_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISecurityCallContext { +impl core::ops::Deref for ISecurityCallContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3646,7 +3646,7 @@ pub struct ISecurityCallContext_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISecurityCallersColl, ISecurityCallersColl_Vtbl, 0xcafc823d_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISecurityCallersColl { +impl core::ops::Deref for ISecurityCallersColl { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3684,7 +3684,7 @@ pub struct ISecurityCallersColl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISecurityIdentityColl, ISecurityIdentityColl_Vtbl, 0xcafc823c_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISecurityIdentityColl { +impl core::ops::Deref for ISecurityIdentityColl { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3719,7 +3719,7 @@ pub struct ISecurityIdentityColl_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISecurityProperty, ISecurityProperty_Vtbl, 0x51372aea_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for ISecurityProperty { +impl core::ops::Deref for ISecurityProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3756,7 +3756,7 @@ pub struct ISecurityProperty_Vtbl { pub ReleaseSID: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::PSID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISelectCOMLBServer, ISelectCOMLBServer_Vtbl, 0xdcf443f4_3f8a_4872_b9f0_369a796d12d6); -impl std::ops::Deref for ISelectCOMLBServer { +impl core::ops::Deref for ISelectCOMLBServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3781,7 +3781,7 @@ pub struct ISelectCOMLBServer_Vtbl { pub GetLBServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISendMethodEvents, ISendMethodEvents_Vtbl, 0x2732fd59_b2b4_4d44_878c_8b8f09626008); -impl std::ops::Deref for ISendMethodEvents { +impl core::ops::Deref for ISendMethodEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3803,7 +3803,7 @@ pub struct ISendMethodEvents_Vtbl { pub SendMethodReturn: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *const windows_core::GUID, u32, windows_core::HRESULT, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceActivity, IServiceActivity_Vtbl, 0x67532e0c_9e2f_4450_a354_035633944e17); -impl std::ops::Deref for IServiceActivity { +impl core::ops::Deref for IServiceActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3839,7 +3839,7 @@ pub struct IServiceActivity_Vtbl { pub UnbindFromThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceCall, IServiceCall_Vtbl, 0xbd3e2e12_42dd_40f4_a09a_95a50c58304b); -impl std::ops::Deref for IServiceCall { +impl core::ops::Deref for IServiceCall { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3857,7 +3857,7 @@ pub struct IServiceCall_Vtbl { pub OnCall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceComTIIntrinsicsConfig, IServiceComTIIntrinsicsConfig_Vtbl, 0x09e6831e_04e1_4ed4_9d0f_e8b168bafeaf); -impl std::ops::Deref for IServiceComTIIntrinsicsConfig { +impl core::ops::Deref for IServiceComTIIntrinsicsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3875,7 +3875,7 @@ pub struct IServiceComTIIntrinsicsConfig_Vtbl { pub ComTIIntrinsicsConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_COMTIIntrinsicsConfig) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceIISIntrinsicsConfig, IServiceIISIntrinsicsConfig_Vtbl, 0x1a0cf920_d452_46f4_bc36_48118d54ea52); -impl std::ops::Deref for IServiceIISIntrinsicsConfig { +impl core::ops::Deref for IServiceIISIntrinsicsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3893,7 +3893,7 @@ pub struct IServiceIISIntrinsicsConfig_Vtbl { pub IISIntrinsicsConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_IISIntrinsicsConfig) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceInheritanceConfig, IServiceInheritanceConfig_Vtbl, 0x92186771_d3b4_4d77_a8ea_ee842d586f35); -impl std::ops::Deref for IServiceInheritanceConfig { +impl core::ops::Deref for IServiceInheritanceConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3911,7 +3911,7 @@ pub struct IServiceInheritanceConfig_Vtbl { pub ContainingContextTreatment: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_InheritanceConfig) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServicePartitionConfig, IServicePartitionConfig_Vtbl, 0x80182d03_5ea4_4831_ae97_55beffc2e590); -impl std::ops::Deref for IServicePartitionConfig { +impl core::ops::Deref for IServicePartitionConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3933,7 +3933,7 @@ pub struct IServicePartitionConfig_Vtbl { pub PartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServicePool, IServicePool_Vtbl, 0xb302df81_ea45_451e_99a2_09f9fd1b1e13); -impl std::ops::Deref for IServicePool { +impl core::ops::Deref for IServicePool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3962,7 +3962,7 @@ pub struct IServicePool_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServicePoolConfig, IServicePoolConfig_Vtbl, 0xa9690656_5bca_470c_8451_250c1f43a33e); -impl std::ops::Deref for IServicePoolConfig { +impl core::ops::Deref for IServicePoolConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4031,7 +4031,7 @@ pub struct IServicePoolConfig_Vtbl { ClassFactory: usize, } windows_core::imp::define_interface!(IServiceSxsConfig, IServiceSxsConfig_Vtbl, 0xc7cd7379_f3f2_4634_811b_703281d73e08); -impl std::ops::Deref for IServiceSxsConfig { +impl core::ops::Deref for IServiceSxsConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4063,7 +4063,7 @@ pub struct IServiceSxsConfig_Vtbl { pub SxsDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceSynchronizationConfig, IServiceSynchronizationConfig_Vtbl, 0xfd880e81_6dce_4c58_af83_a208846c0030); -impl std::ops::Deref for IServiceSynchronizationConfig { +impl core::ops::Deref for IServiceSynchronizationConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4081,7 +4081,7 @@ pub struct IServiceSynchronizationConfig_Vtbl { pub ConfigureSynchronization: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_SynchronizationConfig) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceSysTxnConfig, IServiceSysTxnConfig_Vtbl, 0x33caf1a1_fcb8_472b_b45e_967448ded6d8); -impl std::ops::Deref for IServiceSysTxnConfig { +impl core::ops::Deref for IServiceSysTxnConfig { type Target = IServiceTransactionConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4102,7 +4102,7 @@ pub struct IServiceSysTxnConfig_Vtbl { pub ConfigureBYOTSysTxn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceThreadPoolConfig, IServiceThreadPoolConfig_Vtbl, 0x186d89bc_f277_4bcc_80d5_4df7b836ef4a); -impl std::ops::Deref for IServiceThreadPoolConfig { +impl core::ops::Deref for IServiceThreadPoolConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4124,7 +4124,7 @@ pub struct IServiceThreadPoolConfig_Vtbl { pub SetBindingInfo: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_Binding) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceTrackerConfig, IServiceTrackerConfig_Vtbl, 0x6c3a3e1d_0ba6_4036_b76f_d0404db816c9); -impl std::ops::Deref for IServiceTrackerConfig { +impl core::ops::Deref for IServiceTrackerConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4146,7 +4146,7 @@ pub struct IServiceTrackerConfig_Vtbl { pub TrackerConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_TrackerConfig, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IServiceTransactionConfig, IServiceTransactionConfig_Vtbl, 0x59f4c2a3_d3d7_4a31_b6e4_6ab3177c50b9); -impl std::ops::Deref for IServiceTransactionConfig { +impl core::ops::Deref for IServiceTransactionConfig { type Target = IServiceTransactionConfigBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4171,7 +4171,7 @@ pub struct IServiceTransactionConfig_Vtbl { ConfigureBYOT: usize, } windows_core::imp::define_interface!(IServiceTransactionConfigBase, IServiceTransactionConfigBase_Vtbl, 0x772b3fbe_6ffd_42fb_b5f8_8f9b260f3810); -impl std::ops::Deref for IServiceTransactionConfigBase { +impl core::ops::Deref for IServiceTransactionConfigBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4213,7 +4213,7 @@ pub struct IServiceTransactionConfigBase_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISharedProperty, ISharedProperty_Vtbl, 0x2a005c01_a5de_11cf_9e66_00aa00a3f464); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISharedProperty { +impl core::ops::Deref for ISharedProperty { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4244,7 +4244,7 @@ pub struct ISharedProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISharedPropertyGroup, ISharedPropertyGroup_Vtbl, 0x2a005c07_a5de_11cf_9e66_00aa00a3f464); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISharedPropertyGroup { +impl core::ops::Deref for ISharedPropertyGroup { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4303,7 +4303,7 @@ pub struct ISharedPropertyGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISharedPropertyGroupManager, ISharedPropertyGroupManager_Vtbl, 0x2a005c0d_a5de_11cf_9e66_00aa00a3f464); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISharedPropertyGroupManager { +impl core::ops::Deref for ISharedPropertyGroupManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4348,7 +4348,7 @@ pub struct ISharedPropertyGroupManager_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemAppEventData, ISystemAppEventData_Vtbl, 0xd6d48a3c_d5c5_49e7_8c74_99e4889ed52f); -impl std::ops::Deref for ISystemAppEventData { +impl core::ops::Deref for ISystemAppEventData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4373,7 +4373,7 @@ pub struct ISystemAppEventData_Vtbl { pub OnDataChanged: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, core::mem::MaybeUninit, u32, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IThreadPoolKnobs, IThreadPoolKnobs_Vtbl, 0x51372af7_cae7_11cf_be81_00aa00a2fa25); -impl std::ops::Deref for IThreadPoolKnobs { +impl core::ops::Deref for IThreadPoolKnobs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4429,7 +4429,7 @@ pub struct IThreadPoolKnobs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITransactionContext, ITransactionContext_Vtbl, 0x7999fc21_d3c6_11cf_acab_00a024a55aef); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITransactionContext { +impl core::ops::Deref for ITransactionContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4462,7 +4462,7 @@ pub struct ITransactionContext_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionContextEx, ITransactionContextEx_Vtbl, 0x7999fc22_d3c6_11cf_acab_00a024a55aef); -impl std::ops::Deref for ITransactionContextEx { +impl core::ops::Deref for ITransactionContextEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4474,7 +4474,7 @@ impl ITransactionContextEx { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstance)(windows_core::Interface::as_raw(self), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -4492,7 +4492,7 @@ pub struct ITransactionContextEx_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionProperty, ITransactionProperty_Vtbl, 0x788ea814_87b1_11d1_bba6_00c04fc2fa5f); -impl std::ops::Deref for ITransactionProperty { +impl core::ops::Deref for ITransactionProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4579,7 +4579,7 @@ pub struct ITransactionProperty_Vtbl { pub Reserved17: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(ITransactionProxy, ITransactionProxy_Vtbl, 0x02558374_df2e_4dae_bd6b_1d5c994f9bdc); -impl std::ops::Deref for ITransactionProxy { +impl core::ops::Deref for ITransactionProxy { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4634,7 +4634,7 @@ pub struct ITransactionProxy_Vtbl { pub IsReusable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionResourcePool, ITransactionResourcePool_Vtbl, 0xc5feb7c1_346a_11d1_b1cc_00aa00ba3258); -impl std::ops::Deref for ITransactionResourcePool { +impl core::ops::Deref for ITransactionResourcePool { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4664,7 +4664,7 @@ pub struct ITransactionResourcePool_Vtbl { pub GetResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionStatus, ITransactionStatus_Vtbl, 0x61f589e8_3724_4898_a0a4_664ae9e1d1b4); -impl std::ops::Deref for ITransactionStatus { +impl core::ops::Deref for ITransactionStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4686,7 +4686,7 @@ pub struct ITransactionStatus_Vtbl { pub GetTransactionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITxProxyHolder, ITxProxyHolder_Vtbl, 0x13d86f31_0139_41af_bcad_c7d50435fe9f); -impl std::ops::Deref for ITxProxyHolder { +impl core::ops::Deref for ITxProxyHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4706,7 +4706,7 @@ pub struct ITxProxyHolder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ObjectContext, ObjectContext_Vtbl, 0x74c08646_cedb_11cf_8b49_00aa00b8a790); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ObjectContext { +impl core::ops::Deref for ObjectContext { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4801,7 +4801,7 @@ pub struct ObjectContext_Vtbl { ContextInfo: usize, } windows_core::imp::define_interface!(ObjectControl, ObjectControl_Vtbl, 0x7dc41850_0c31_11d0_8b79_00aa00b8a790); -impl std::ops::Deref for ObjectControl { +impl core::ops::Deref for ObjectControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4829,7 +4829,7 @@ pub struct ObjectControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(SecurityProperty, SecurityProperty_Vtbl, 0xe74a7215_014d_11d1_a63c_00a0c911b4e0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for SecurityProperty { +impl core::ops::Deref for SecurityProperty { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs index 232973a98e..88c960c0db 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IContact, IContact_Vtbl, 0xf941b671_bda7_4f77_884a_f46462f226a7); -impl std::ops::Deref for IContact { +impl core::ops::Deref for IContact { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -25,7 +25,7 @@ pub struct IContact_Vtbl { pub CommitChanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationAggregate, IContactAggregationAggregate_Vtbl, 0x7ed1c814_cd30_43c8_9b8d_2e489e53d54b); -impl std::ops::Deref for IContactAggregationAggregate { +impl core::ops::Deref for IContactAggregationAggregate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -86,7 +86,7 @@ pub struct IContactAggregationAggregate_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationAggregateCollection, IContactAggregationAggregateCollection_Vtbl, 0x2359f3a6_3a68_40af_98db_0f9eb143c3bb); -impl std::ops::Deref for IContactAggregationAggregateCollection { +impl core::ops::Deref for IContactAggregationAggregateCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -123,7 +123,7 @@ pub struct IContactAggregationAggregateCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationContact, IContactAggregationContact_Vtbl, 0x1eb22e86_4c86_41f0_9f9f_c251e9fda6c3); -impl std::ops::Deref for IContactAggregationContact { +impl core::ops::Deref for IContactAggregationContact { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -227,7 +227,7 @@ pub struct IContactAggregationContact_Vtbl { pub SetSyncIdentityHash: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTACT_AGGREGATION_BLOB) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationContactCollection, IContactAggregationContactCollection_Vtbl, 0x826e66fa_81de_43ca_a6fb_8c785cd996c6); -impl std::ops::Deref for IContactAggregationContactCollection { +impl core::ops::Deref for IContactAggregationContactCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -274,7 +274,7 @@ pub struct IContactAggregationContactCollection_Vtbl { pub FindFirstByRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const CONTACT_AGGREGATION_BLOB, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationGroup, IContactAggregationGroup_Vtbl, 0xc93c545f_1284_499b_96af_07372af473e0); -impl std::ops::Deref for IContactAggregationGroup { +impl core::ops::Deref for IContactAggregationGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -341,7 +341,7 @@ pub struct IContactAggregationGroup_Vtbl { pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationGroupCollection, IContactAggregationGroupCollection_Vtbl, 0x20a19a9c_d2f3_4b83_9143_beffd2cc226d); -impl std::ops::Deref for IContactAggregationGroupCollection { +impl core::ops::Deref for IContactAggregationGroupCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -375,7 +375,7 @@ pub struct IContactAggregationGroupCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationLink, IContactAggregationLink_Vtbl, 0xb6813323_a183_4654_8627_79b30de3a0ec); -impl std::ops::Deref for IContactAggregationLink { +impl core::ops::Deref for IContactAggregationLink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -480,7 +480,7 @@ pub struct IContactAggregationLink_Vtbl { pub SetSyncIdentityHash: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTACT_AGGREGATION_BLOB) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationLinkCollection, IContactAggregationLinkCollection_Vtbl, 0xf8bc0e93_fb55_4f28_b9fa_b1c274153292); -impl std::ops::Deref for IContactAggregationLinkCollection { +impl core::ops::Deref for IContactAggregationLinkCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -518,7 +518,7 @@ pub struct IContactAggregationLinkCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationManager, IContactAggregationManager_Vtbl, 0x1d865989_4b1f_4b60_8f34_c2ad468b2b50); -impl std::ops::Deref for IContactAggregationManager { +impl core::ops::Deref for IContactAggregationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -623,7 +623,7 @@ pub struct IContactAggregationManager_Vtbl { pub get_ServerContactLinks: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationServerPerson, IContactAggregationServerPerson_Vtbl, 0x7fdc3d4b_1b82_4334_85c5_25184ee5a5f2); -impl std::ops::Deref for IContactAggregationServerPerson { +impl core::ops::Deref for IContactAggregationServerPerson { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -758,7 +758,7 @@ pub struct IContactAggregationServerPerson_Vtbl { pub SetObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactAggregationServerPersonCollection, IContactAggregationServerPersonCollection_Vtbl, 0x4f730a4a_6604_47b6_a987_669ecf1e5751); -impl std::ops::Deref for IContactAggregationServerPersonCollection { +impl core::ops::Deref for IContactAggregationServerPersonCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -811,7 +811,7 @@ pub struct IContactAggregationServerPersonCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactCollection, IContactCollection_Vtbl, 0xb6afa338_d779_11d9_8bde_f66bad1e3f3a); -impl std::ops::Deref for IContactCollection { +impl core::ops::Deref for IContactCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -838,7 +838,7 @@ pub struct IContactCollection_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactManager, IContactManager_Vtbl, 0xad553d98_deb1_474a_8e17_fc0c2075b738); -impl std::ops::Deref for IContactManager { +impl core::ops::Deref for IContactManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -893,7 +893,7 @@ pub struct IContactManager_Vtbl { pub GetContactCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactProperties, IContactProperties_Vtbl, 0x70dd27dd_5cbd_46e8_bef0_23b6b346288f); -impl std::ops::Deref for IContactProperties { +impl core::ops::Deref for IContactProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1011,7 +1011,7 @@ pub struct IContactProperties_Vtbl { pub GetPropertyCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, windows_core::PCWSTR, u32, *const windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactPropertyCollection, IContactPropertyCollection_Vtbl, 0xffd3adf8_fa64_4328_b1b6_2e0db509cb3c); -impl std::ops::Deref for IContactPropertyCollection { +impl core::ops::Deref for IContactPropertyCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs index 5c61f7e3ef..2a48c3e4fe 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -710,7 +710,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportCacheable, IWdsTransportCacheable_Vtbl, 0x46ad894b_0bab_47dc_84b2_7b553f1d8f80); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportCacheable { +impl core::ops::Deref for IWdsTransportCacheable { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -746,7 +746,7 @@ pub struct IWdsTransportCacheable_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportClient, IWdsTransportClient_Vtbl, 0xb5dbc93a_cabe_46ca_837f_3e44e93c6545); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportClient { +impl core::ops::Deref for IWdsTransportClient { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -828,7 +828,7 @@ pub struct IWdsTransportClient_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportCollection, IWdsTransportCollection_Vtbl, 0xb8ba4b1a_2ff4_43ab_996c_b2b10a91a6eb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportCollection { +impl core::ops::Deref for IWdsTransportCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -866,7 +866,7 @@ pub struct IWdsTransportCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportConfigurationManager, IWdsTransportConfigurationManager_Vtbl, 0x84cc4779_42dd_4792_891e_1321d6d74b44); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportConfigurationManager { +impl core::ops::Deref for IWdsTransportConfigurationManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -935,7 +935,7 @@ pub struct IWdsTransportConfigurationManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportConfigurationManager2, IWdsTransportConfigurationManager2_Vtbl, 0xd0d85caf_a153_4f1d_a9dd_96f431c50717); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportConfigurationManager2 { +impl core::ops::Deref for IWdsTransportConfigurationManager2 { type Target = IWdsTransportConfigurationManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -963,7 +963,7 @@ pub struct IWdsTransportConfigurationManager2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportContent, IWdsTransportContent_Vtbl, 0xd405d711_0296_4ab4_a860_ac7d32e65798); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportContent { +impl core::ops::Deref for IWdsTransportContent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1014,7 +1014,7 @@ pub struct IWdsTransportContent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportContentProvider, IWdsTransportContentProvider_Vtbl, 0xb9489f24_f219_4acf_aad7_265c7c08a6ae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportContentProvider { +impl core::ops::Deref for IWdsTransportContentProvider { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1053,7 +1053,7 @@ pub struct IWdsTransportContentProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportDiagnosticsPolicy, IWdsTransportDiagnosticsPolicy_Vtbl, 0x13b33efc_7856_4f61_9a59_8de67b6b87b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportDiagnosticsPolicy { +impl core::ops::Deref for IWdsTransportDiagnosticsPolicy { type Target = IWdsTransportCacheable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1093,7 +1093,7 @@ pub struct IWdsTransportDiagnosticsPolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportManager, IWdsTransportManager_Vtbl, 0x5b0d35f5_1b13_4afd_b878_6526dc340b5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportManager { +impl core::ops::Deref for IWdsTransportManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1124,7 +1124,7 @@ pub struct IWdsTransportManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportMulticastSessionPolicy, IWdsTransportMulticastSessionPolicy_Vtbl, 0x4e5753cf_68ec_4504_a951_4a003266606b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportMulticastSessionPolicy { +impl core::ops::Deref for IWdsTransportMulticastSessionPolicy { type Target = IWdsTransportCacheable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1182,7 +1182,7 @@ pub struct IWdsTransportMulticastSessionPolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportNamespace, IWdsTransportNamespace_Vtbl, 0xfa561f57_fbef_4ed3_b056_127cb1b33b84); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportNamespace { +impl core::ops::Deref for IWdsTransportNamespace { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1324,7 +1324,7 @@ pub struct IWdsTransportNamespace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportNamespaceAutoCast, IWdsTransportNamespaceAutoCast_Vtbl, 0xad931a72_c4bd_4c41_8fbc_59c9c748df9e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportNamespaceAutoCast { +impl core::ops::Deref for IWdsTransportNamespaceAutoCast { type Target = IWdsTransportNamespace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1342,7 +1342,7 @@ pub struct IWdsTransportNamespaceAutoCast_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportNamespaceManager, IWdsTransportNamespaceManager_Vtbl, 0x3e22d9f6_3777_4d98_83e1_f98696717ba3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportNamespaceManager { +impl core::ops::Deref for IWdsTransportNamespaceManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1401,7 +1401,7 @@ pub struct IWdsTransportNamespaceManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCast, IWdsTransportNamespaceScheduledCast_Vtbl, 0x3840cecf_d76c_416e_a4cc_31c741d2874b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportNamespaceScheduledCast { +impl core::ops::Deref for IWdsTransportNamespaceScheduledCast { type Target = IWdsTransportNamespace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1424,7 +1424,7 @@ pub struct IWdsTransportNamespaceScheduledCast_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCastAutoStart, IWdsTransportNamespaceScheduledCastAutoStart_Vtbl, 0xd606af3d_ea9c_4219_961e_7491d618d9b9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportNamespaceScheduledCastAutoStart { +impl core::ops::Deref for IWdsTransportNamespaceScheduledCastAutoStart { type Target = IWdsTransportNamespaceScheduledCast; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1461,7 +1461,7 @@ pub struct IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCastManualStart, IWdsTransportNamespaceScheduledCastManualStart_Vtbl, 0x013e6e4c_e6a7_4fb5_b7ff_d9f5da805c31); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportNamespaceScheduledCastManualStart { +impl core::ops::Deref for IWdsTransportNamespaceScheduledCastManualStart { type Target = IWdsTransportNamespaceScheduledCast; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1479,7 +1479,7 @@ pub struct IWdsTransportNamespaceScheduledCastManualStart_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportServer, IWdsTransportServer_Vtbl, 0x09ccd093_830d_4344_a30a_73ae8e8fca90); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportServer { +impl core::ops::Deref for IWdsTransportServer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1534,7 +1534,7 @@ pub struct IWdsTransportServer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportServer2, IWdsTransportServer2_Vtbl, 0x256e999f_6df4_4538_81b9_857b9ab8fb47); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportServer2 { +impl core::ops::Deref for IWdsTransportServer2 { type Target = IWdsTransportServer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1562,7 +1562,7 @@ pub struct IWdsTransportServer2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportServicePolicy, IWdsTransportServicePolicy_Vtbl, 0xb9468578_9f2b_48cc_b27a_a60799c2750c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportServicePolicy { +impl core::ops::Deref for IWdsTransportServicePolicy { type Target = IWdsTransportCacheable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1641,7 +1641,7 @@ pub struct IWdsTransportServicePolicy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportServicePolicy2, IWdsTransportServicePolicy2_Vtbl, 0x65c19e5c_aa7e_4b91_8944_91e0e5572797); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportServicePolicy2 { +impl core::ops::Deref for IWdsTransportServicePolicy2 { type Target = IWdsTransportServicePolicy; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1690,7 +1690,7 @@ pub struct IWdsTransportServicePolicy2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportSession, IWdsTransportSession_Vtbl, 0xf4efea88_65b1_4f30_a4b9_2793987796fb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportSession { +impl core::ops::Deref for IWdsTransportSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1756,7 +1756,7 @@ pub struct IWdsTransportSession_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportSetupManager, IWdsTransportSetupManager_Vtbl, 0xf7238425_efa8_40a4_aef9_c98d969c0b75); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportSetupManager { +impl core::ops::Deref for IWdsTransportSetupManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1807,7 +1807,7 @@ pub struct IWdsTransportSetupManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportSetupManager2, IWdsTransportSetupManager2_Vtbl, 0x02be79da_7e9e_4366_8b6e_2aa9a91be47f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportSetupManager2 { +impl core::ops::Deref for IWdsTransportSetupManager2 { type Target = IWdsTransportSetupManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1840,7 +1840,7 @@ pub struct IWdsTransportSetupManager2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportTftpClient, IWdsTransportTftpClient_Vtbl, 0xb022d3ae_884d_4d85_b146_53320e76ef62); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportTftpClient { +impl core::ops::Deref for IWdsTransportTftpClient { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1894,7 +1894,7 @@ pub struct IWdsTransportTftpClient_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWdsTransportTftpManager, IWdsTransportTftpManager_Vtbl, 0x1327a7c8_ae8a_4fb3_8150_136227c37e9a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWdsTransportTftpManager { +impl core::ops::Deref for IWdsTransportTftpManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs index 5f98bee305..b80ed6033c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIApplication, IRDPSRAPIApplication_Vtbl, 0x41e7a09d_eb7a_436e_935d_780ca2628324); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIApplication { +impl core::ops::Deref for IRDPSRAPIApplication { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -56,7 +56,7 @@ pub struct IRDPSRAPIApplication_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIApplicationFilter, IRDPSRAPIApplicationFilter_Vtbl, 0xd20f10ca_6637_4f06_b1d5_277ea7e5160d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIApplicationFilter { +impl core::ops::Deref for IRDPSRAPIApplicationFilter { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -105,7 +105,7 @@ pub struct IRDPSRAPIApplicationFilter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIApplicationList, IRDPSRAPIApplicationList_Vtbl, 0xd4b4aeb3_22dc_4837_b3b6_42ea2517849a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIApplicationList { +impl core::ops::Deref for IRDPSRAPIApplicationList { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct IRDPSRAPIApplicationList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIAttendee, IRDPSRAPIAttendee_Vtbl, 0xec0671b3_1b78_4b80_a464_9132247543e3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIAttendee { +impl core::ops::Deref for IRDPSRAPIAttendee { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -199,7 +199,7 @@ pub struct IRDPSRAPIAttendee_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIAttendeeDisconnectInfo, IRDPSRAPIAttendeeDisconnectInfo_Vtbl, 0xc187689f_447c_44a1_9c14_fffbb3b7ec17); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIAttendeeDisconnectInfo { +impl core::ops::Deref for IRDPSRAPIAttendeeDisconnectInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -237,7 +237,7 @@ pub struct IRDPSRAPIAttendeeDisconnectInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIAttendeeManager, IRDPSRAPIAttendeeManager_Vtbl, 0xba3a37e8_33da_4749_8da0_07fa34da7944); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIAttendeeManager { +impl core::ops::Deref for IRDPSRAPIAttendeeManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -268,7 +268,7 @@ pub struct IRDPSRAPIAttendeeManager_Vtbl { get_Item: usize, } windows_core::imp::define_interface!(IRDPSRAPIAudioStream, IRDPSRAPIAudioStream_Vtbl, 0xe3e30ef9_89c6_4541_ba3b_19336ac6d31c); -impl std::ops::Deref for IRDPSRAPIAudioStream { +impl core::ops::Deref for IRDPSRAPIAudioStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -303,7 +303,7 @@ pub struct IRDPSRAPIAudioStream_Vtbl { pub FreeBuffer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRDPSRAPIClipboardUseEvents, IRDPSRAPIClipboardUseEvents_Vtbl, 0xd559f59a_7a27_4138_8763_247ce5f659a8); -impl std::ops::Deref for IRDPSRAPIClipboardUseEvents { +impl core::ops::Deref for IRDPSRAPIClipboardUseEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -329,7 +329,7 @@ pub struct IRDPSRAPIClipboardUseEvents_Vtbl { OnPasteFromClipboard: usize, } windows_core::imp::define_interface!(IRDPSRAPIDebug, IRDPSRAPIDebug_Vtbl, 0xaa1e42b5_496d_4ca4_a690_348dcb2ec4ad); -impl std::ops::Deref for IRDPSRAPIDebug { +impl core::ops::Deref for IRDPSRAPIDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -357,7 +357,7 @@ pub struct IRDPSRAPIDebug_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIFrameBuffer, IRDPSRAPIFrameBuffer_Vtbl, 0x3d67e7d2_b27b_448e_81b3_c6110ed8b4be); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIFrameBuffer { +impl core::ops::Deref for IRDPSRAPIFrameBuffer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -400,7 +400,7 @@ pub struct IRDPSRAPIFrameBuffer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIInvitation, IRDPSRAPIInvitation_Vtbl, 0x4fac1d43_fc51_45bb_b1b4_2b53aa562fa3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIInvitation { +impl core::ops::Deref for IRDPSRAPIInvitation { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -455,7 +455,7 @@ pub struct IRDPSRAPIInvitation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIInvitationManager, IRDPSRAPIInvitationManager_Vtbl, 0x4722b049_92c3_4c2d_8a65_f7348f644dcf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIInvitationManager { +impl core::ops::Deref for IRDPSRAPIInvitationManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -508,7 +508,7 @@ pub struct IRDPSRAPIInvitationManager_Vtbl { CreateInvitation: usize, } windows_core::imp::define_interface!(IRDPSRAPIPerfCounterLogger, IRDPSRAPIPerfCounterLogger_Vtbl, 0x071c2533_0fa4_4e8f_ae83_9c10b4305ab5); -impl std::ops::Deref for IRDPSRAPIPerfCounterLogger { +impl core::ops::Deref for IRDPSRAPIPerfCounterLogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -526,7 +526,7 @@ pub struct IRDPSRAPIPerfCounterLogger_Vtbl { pub LogValue: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRDPSRAPIPerfCounterLoggingManager, IRDPSRAPIPerfCounterLoggingManager_Vtbl, 0x9a512c86_ac6e_4a8e_b1a4_fcef363f6e64); -impl std::ops::Deref for IRDPSRAPIPerfCounterLoggingManager { +impl core::ops::Deref for IRDPSRAPIPerfCounterLoggingManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -550,7 +550,7 @@ pub struct IRDPSRAPIPerfCounterLoggingManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPISessionProperties, IRDPSRAPISessionProperties_Vtbl, 0x339b24f2_9bc0_4f16_9aac_f165433d13d4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPISessionProperties { +impl core::ops::Deref for IRDPSRAPISessionProperties { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -585,7 +585,7 @@ pub struct IRDPSRAPISessionProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPISharingSession, IRDPSRAPISharingSession_Vtbl, 0xeeb20886_e470_4cf6_842b_2739c0ec5cfb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPISharingSession { +impl core::ops::Deref for IRDPSRAPISharingSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -689,7 +689,7 @@ pub struct IRDPSRAPISharingSession_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPISharingSession2, IRDPSRAPISharingSession2_Vtbl, 0xfee4ee57_e3e8_4205_8fb0_8fd1d0675c21); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPISharingSession2 { +impl core::ops::Deref for IRDPSRAPISharingSession2 { type Target = IRDPSRAPISharingSession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -737,7 +737,7 @@ pub struct IRDPSRAPISharingSession2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPITcpConnectionInfo, IRDPSRAPITcpConnectionInfo_Vtbl, 0xf74049a4_3d06_4028_8193_0a8c29bc2452); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPITcpConnectionInfo { +impl core::ops::Deref for IRDPSRAPITcpConnectionInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -779,7 +779,7 @@ pub struct IRDPSRAPITcpConnectionInfo_Vtbl { pub PeerIP: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRDPSRAPITransportStream, IRDPSRAPITransportStream_Vtbl, 0x36cfa065_43bb_4ef7_aed7_9b88a5053036); -impl std::ops::Deref for IRDPSRAPITransportStream { +impl core::ops::Deref for IRDPSRAPITransportStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -830,7 +830,7 @@ pub struct IRDPSRAPITransportStream_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRDPSRAPITransportStreamBuffer, IRDPSRAPITransportStreamBuffer_Vtbl, 0x81c80290_5085_44b0_b460_f865c39cb4a9); -impl std::ops::Deref for IRDPSRAPITransportStreamBuffer { +impl core::ops::Deref for IRDPSRAPITransportStreamBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -893,7 +893,7 @@ pub struct IRDPSRAPITransportStreamBuffer_Vtbl { pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRDPSRAPITransportStreamEvents, IRDPSRAPITransportStreamEvents_Vtbl, 0xea81c254_f5af_4e40_982e_3e63bb595276); -impl std::ops::Deref for IRDPSRAPITransportStreamEvents { +impl core::ops::Deref for IRDPSRAPITransportStreamEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -927,7 +927,7 @@ pub struct IRDPSRAPITransportStreamEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIViewer, IRDPSRAPIViewer_Vtbl, 0xc6bfcd38_8ce9_404d_8ae8_f31d00c65cb5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIViewer { +impl core::ops::Deref for IRDPSRAPIViewer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1046,7 +1046,7 @@ pub struct IRDPSRAPIViewer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIVirtualChannel, IRDPSRAPIVirtualChannel_Vtbl, 0x05e12f95_28b3_4c9a_8780_d0248574a1e0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIVirtualChannel { +impl core::ops::Deref for IRDPSRAPIVirtualChannel { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1091,7 +1091,7 @@ pub struct IRDPSRAPIVirtualChannel_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIVirtualChannelManager, IRDPSRAPIVirtualChannelManager_Vtbl, 0x0d11c661_5d0d_4ee4_89df_2166ae1fdfed); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIVirtualChannelManager { +impl core::ops::Deref for IRDPSRAPIVirtualChannelManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1139,7 +1139,7 @@ pub struct IRDPSRAPIVirtualChannelManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIWindow, IRDPSRAPIWindow_Vtbl, 0xbeafe0f9_c77b_4933_ba9f_a24cddcc27cf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIWindow { +impl core::ops::Deref for IRDPSRAPIWindow { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1198,7 +1198,7 @@ pub struct IRDPSRAPIWindow_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRDPSRAPIWindowList, IRDPSRAPIWindowList_Vtbl, 0x8a05ce44_715a_4116_a189_a118f30a07bd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRDPSRAPIWindowList { +impl core::ops::Deref for IRDPSRAPIWindowList { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1229,7 +1229,7 @@ pub struct IRDPSRAPIWindowList_Vtbl { get_Item: usize, } windows_core::imp::define_interface!(IRDPViewerInputSink, IRDPViewerInputSink_Vtbl, 0xbb590853_a6c5_4a7b_8dd4_76b69eea12d5); -impl std::ops::Deref for IRDPViewerInputSink { +impl core::ops::Deref for IRDPViewerInputSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1285,7 +1285,7 @@ pub struct IRDPViewerInputSink_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IRDPSessionEvents, _IRDPSessionEvents_Vtbl, 0x98a97042_6698_40e9_8efd_b3200990004b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IRDPSessionEvents { +impl core::ops::Deref for _IRDPSessionEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs index e4ee1e7bfb..ae933ede5c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ICorProfilerAssemblyReferenceProvider, ICorProfilerAssemblyReferenceProvider_Vtbl, 0x66a78c24_2eef_4f65_b45f_dd1d8038bf3c); -impl std::ops::Deref for ICorProfilerAssemblyReferenceProvider { +impl core::ops::Deref for ICorProfilerAssemblyReferenceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21,7 +21,7 @@ pub struct ICorProfilerAssemblyReferenceProvider_Vtbl { AddAssemblyReference: usize, } windows_core::imp::define_interface!(ICorProfilerCallback, ICorProfilerCallback_Vtbl, 0x176fbed1_a55c_4796_98ca_a9da0ef883e7); -impl std::ops::Deref for ICorProfilerCallback { +impl core::ops::Deref for ICorProfilerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -334,7 +334,7 @@ pub struct ICorProfilerCallback_Vtbl { pub ExceptionCLRCatcherExecute: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback10, ICorProfilerCallback10_Vtbl, 0xcec5b60e_c69c_495f_87f6_84d28ee16ffb); -impl std::ops::Deref for ICorProfilerCallback10 { +impl core::ops::Deref for ICorProfilerCallback10 { type Target = ICorProfilerCallback9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -356,7 +356,7 @@ pub struct ICorProfilerCallback10_Vtbl { pub EventPipeProviderCreated: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback11, ICorProfilerCallback11_Vtbl, 0x42350846_aaed_47f7_b128_fd0c98881cde); -impl std::ops::Deref for ICorProfilerCallback11 { +impl core::ops::Deref for ICorProfilerCallback11 { type Target = ICorProfilerCallback10; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -374,7 +374,7 @@ pub struct ICorProfilerCallback11_Vtbl { pub LoadAsNotificationOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback2, ICorProfilerCallback2_Vtbl, 0x8a8cc829_ccf2_49fe_bbae_0f022228071a); -impl std::ops::Deref for ICorProfilerCallback2 { +impl core::ops::Deref for ICorProfilerCallback2 { type Target = ICorProfilerCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -420,7 +420,7 @@ pub struct ICorProfilerCallback2_Vtbl { pub HandleDestroyed: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback3, ICorProfilerCallback3_Vtbl, 0x4fd2ed52_7731_4b8d_9469_03d2cc3086c5); -impl std::ops::Deref for ICorProfilerCallback3 { +impl core::ops::Deref for ICorProfilerCallback3 { type Target = ICorProfilerCallback2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -449,7 +449,7 @@ pub struct ICorProfilerCallback3_Vtbl { pub ProfilerDetachSucceeded: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback4, ICorProfilerCallback4_Vtbl, 0x7b63b2e3_107d_4d48_b2f6_f61e229470d2); -impl std::ops::Deref for ICorProfilerCallback4 { +impl core::ops::Deref for ICorProfilerCallback4 { type Target = ICorProfilerCallback3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -496,7 +496,7 @@ pub struct ICorProfilerCallback4_Vtbl { pub SurvivingReferences2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const usize, *const usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback5, ICorProfilerCallback5_Vtbl, 0x8dfba405_8c9f_45f8_bffa_83b14cef78b5); -impl std::ops::Deref for ICorProfilerCallback5 { +impl core::ops::Deref for ICorProfilerCallback5 { type Target = ICorProfilerCallback4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -514,7 +514,7 @@ pub struct ICorProfilerCallback5_Vtbl { pub ConditionalWeakTableElementReferences: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const usize, *const usize, *const usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback6, ICorProfilerCallback6_Vtbl, 0xfc13df4b_4448_4f4f_950c_ba8d19d00c36); -impl std::ops::Deref for ICorProfilerCallback6 { +impl core::ops::Deref for ICorProfilerCallback6 { type Target = ICorProfilerCallback5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -536,7 +536,7 @@ pub struct ICorProfilerCallback6_Vtbl { pub GetAssemblyReferences: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback7, ICorProfilerCallback7_Vtbl, 0xf76a2dba_1d52_4539_866c_2aa518f9efc3); -impl std::ops::Deref for ICorProfilerCallback7 { +impl core::ops::Deref for ICorProfilerCallback7 { type Target = ICorProfilerCallback6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -554,7 +554,7 @@ pub struct ICorProfilerCallback7_Vtbl { pub ModuleInMemorySymbolsUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback8, ICorProfilerCallback8_Vtbl, 0x5bed9b15_c079_4d47_bfe2_215a140c07e0); -impl std::ops::Deref for ICorProfilerCallback8 { +impl core::ops::Deref for ICorProfilerCallback8 { type Target = ICorProfilerCallback7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -582,7 +582,7 @@ pub struct ICorProfilerCallback8_Vtbl { pub DynamicMethodJITCompilationFinished: unsafe extern "system" fn(*mut core::ffi::c_void, usize, windows_core::HRESULT, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerCallback9, ICorProfilerCallback9_Vtbl, 0x27583ec3_c8f5_482f_8052_194b8ce4705a); -impl std::ops::Deref for ICorProfilerCallback9 { +impl core::ops::Deref for ICorProfilerCallback9 { type Target = ICorProfilerCallback8; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -600,7 +600,7 @@ pub struct ICorProfilerCallback9_Vtbl { pub DynamicMethodUnloaded: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerFunctionControl, ICorProfilerFunctionControl_Vtbl, 0xf0963021_e1ea_4732_8581_e01b0bd3c0c6); -impl std::ops::Deref for ICorProfilerFunctionControl { +impl core::ops::Deref for ICorProfilerFunctionControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -626,7 +626,7 @@ pub struct ICorProfilerFunctionControl_Vtbl { pub SetILInstrumentedCodeMap: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const COR_IL_MAP) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerFunctionEnum, ICorProfilerFunctionEnum_Vtbl, 0xff71301a_b994_429d_a10b_b345a65280ef); -impl std::ops::Deref for ICorProfilerFunctionEnum { +impl core::ops::Deref for ICorProfilerFunctionEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -662,7 +662,7 @@ pub struct ICorProfilerFunctionEnum_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut COR_PRF_FUNCTION, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo, ICorProfilerInfo_Vtbl, 0x28b5557d_3f3f_48b4_90b2_5f9eea2f6c48); -impl std::ops::Deref for ICorProfilerInfo { +impl core::ops::Deref for ICorProfilerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -833,7 +833,7 @@ pub struct ICorProfilerInfo_Vtbl { pub GetILToNativeMapping: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u32, *mut COR_DEBUG_IL_TO_NATIVE_MAP) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo10, ICorProfilerInfo10_Vtbl, 0x2f1b5152_c869_40c9_aa5f_3abe026bd720); -impl std::ops::Deref for ICorProfilerInfo10 { +impl core::ops::Deref for ICorProfilerInfo10 { type Target = ICorProfilerInfo9; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -871,7 +871,7 @@ pub struct ICorProfilerInfo10_Vtbl { pub ResumeRuntime: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo11, ICorProfilerInfo11_Vtbl, 0x06398876_8987_4154_b621_40a00d6e4d04); -impl std::ops::Deref for ICorProfilerInfo11 { +impl core::ops::Deref for ICorProfilerInfo11 { type Target = ICorProfilerInfo10; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -900,7 +900,7 @@ pub struct ICorProfilerInfo11_Vtbl { pub SetEnvironmentVariable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo12, ICorProfilerInfo12_Vtbl, 0x27b24ccd_1cb1_47c5_96ee_98190dc30959); -impl std::ops::Deref for ICorProfilerInfo12 { +impl core::ops::Deref for ICorProfilerInfo12 { type Target = ICorProfilerInfo11; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -955,7 +955,7 @@ pub struct ICorProfilerInfo12_Vtbl { pub EventPipeWriteEvent: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const COR_PRF_EVENT_DATA, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo13, ICorProfilerInfo13_Vtbl, 0x6e6c7ee2_0701_4ec2_9d29_2e8733b66934); -impl std::ops::Deref for ICorProfilerInfo13 { +impl core::ops::Deref for ICorProfilerInfo13 { type Target = ICorProfilerInfo12; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -982,7 +982,7 @@ pub struct ICorProfilerInfo13_Vtbl { pub GetObjectIDFromHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const core::ffi::c_void, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo14, ICorProfilerInfo14_Vtbl, 0xf460e352_d76d_4fe9_835f_f6af9d6e862d); -impl std::ops::Deref for ICorProfilerInfo14 { +impl core::ops::Deref for ICorProfilerInfo14 { type Target = ICorProfilerInfo13; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1013,7 +1013,7 @@ pub struct ICorProfilerInfo14_Vtbl { pub EventPipeCreateProvider2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const EventPipeProviderCallback, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo2, ICorProfilerInfo2_Vtbl, 0xcc0935cd_a518_487d_b0bb_a93214e65478); -impl std::ops::Deref for ICorProfilerInfo2 { +impl core::ops::Deref for ICorProfilerInfo2 { type Target = ICorProfilerInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1123,7 +1123,7 @@ pub struct ICorProfilerInfo2_Vtbl { pub GetNotifiedExceptionClauseInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut COR_PRF_EX_CLAUSE_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo3, ICorProfilerInfo3_Vtbl, 0xb555ed4f_452a_4e54_8b39_b5360bad32a0); -impl std::ops::Deref for ICorProfilerInfo3 { +impl core::ops::Deref for ICorProfilerInfo3 { type Target = ICorProfilerInfo2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1196,7 +1196,7 @@ pub struct ICorProfilerInfo3_Vtbl { pub GetModuleInfo2: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut *mut u8, u32, *mut u32, windows_core::PWSTR, *mut usize, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo4, ICorProfilerInfo4_Vtbl, 0x0d8fdcaa_6257_47bf_b1bf_94dac88466ee); -impl std::ops::Deref for ICorProfilerInfo4 { +impl core::ops::Deref for ICorProfilerInfo4 { type Target = ICorProfilerInfo3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1253,7 +1253,7 @@ pub struct ICorProfilerInfo4_Vtbl { pub GetObjectSize2: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo5, ICorProfilerInfo5_Vtbl, 0x07602928_ce38_4b83_81e7_74adaf781214); -impl std::ops::Deref for ICorProfilerInfo5 { +impl core::ops::Deref for ICorProfilerInfo5 { type Target = ICorProfilerInfo4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1275,7 +1275,7 @@ pub struct ICorProfilerInfo5_Vtbl { pub SetEventMask2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo6, ICorProfilerInfo6_Vtbl, 0xf30a070d_bffb_46a7_b1d8_8781ef7b698a); -impl std::ops::Deref for ICorProfilerInfo6 { +impl core::ops::Deref for ICorProfilerInfo6 { type Target = ICorProfilerInfo5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1293,7 +1293,7 @@ pub struct ICorProfilerInfo6_Vtbl { pub EnumNgenModuleMethodsInliningThisMethod: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, u32, *mut super::super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo7, ICorProfilerInfo7_Vtbl, 0x9aeecc0d_63e0_4187_8c00_e312f503f663); -impl std::ops::Deref for ICorProfilerInfo7 { +impl core::ops::Deref for ICorProfilerInfo7 { type Target = ICorProfilerInfo6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1320,7 +1320,7 @@ pub struct ICorProfilerInfo7_Vtbl { pub ReadInMemorySymbols: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u8, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo8, ICorProfilerInfo8_Vtbl, 0xc5ac80a6_782e_4716_8044_39598c60cfbf); -impl std::ops::Deref for ICorProfilerInfo8 { +impl core::ops::Deref for ICorProfilerInfo8 { type Target = ICorProfilerInfo7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1347,7 +1347,7 @@ pub struct ICorProfilerInfo8_Vtbl { pub GetDynamicFunctionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize, *mut *mut u8, *mut u32, u32, *mut u32, windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerInfo9, ICorProfilerInfo9_Vtbl, 0x008170db_f8cc_4796_9a51_dc8aa0b47012); -impl std::ops::Deref for ICorProfilerInfo9 { +impl core::ops::Deref for ICorProfilerInfo9 { type Target = ICorProfilerInfo8; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1373,7 +1373,7 @@ pub struct ICorProfilerInfo9_Vtbl { pub GetCodeInfo4: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u32, *mut COR_PRF_CODE_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerMethodEnum, ICorProfilerMethodEnum_Vtbl, 0xfccee788_0088_454b_a811_c99f298d1942); -impl std::ops::Deref for ICorProfilerMethodEnum { +impl core::ops::Deref for ICorProfilerMethodEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1409,7 +1409,7 @@ pub struct ICorProfilerMethodEnum_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut COR_PRF_METHOD, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerModuleEnum, ICorProfilerModuleEnum_Vtbl, 0xb0266d75_2081_4493_af7f_028ba34db891); -impl std::ops::Deref for ICorProfilerModuleEnum { +impl core::ops::Deref for ICorProfilerModuleEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1445,7 +1445,7 @@ pub struct ICorProfilerModuleEnum_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerObjectEnum, ICorProfilerObjectEnum_Vtbl, 0x2c6269bd_2d13_4321_ae12_6686365fd6af); -impl std::ops::Deref for ICorProfilerObjectEnum { +impl core::ops::Deref for ICorProfilerObjectEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1481,7 +1481,7 @@ pub struct ICorProfilerObjectEnum_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorProfilerThreadEnum, ICorProfilerThreadEnum_Vtbl, 0x571194f7_25ed_419f_aa8b_7016b3159701); -impl std::ops::Deref for ICorProfilerThreadEnum { +impl core::ops::Deref for ICorProfilerThreadEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1517,7 +1517,7 @@ pub struct ICorProfilerThreadEnum_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMethodMalloc, IMethodMalloc_Vtbl, 0xa0efb28b_6ee2_4d7b_b983_a75ef7beedb8); -impl std::ops::Deref for IMethodMalloc { +impl core::ops::Deref for IMethodMalloc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs index 027449ddbc..ca55daff8a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(AsyncIDebugApplicationNodeEvents, AsyncIDebugApplicationNodeEvents_Vtbl, 0xa2e3aa3b_aa8d_4ebf_84cd_648b737b8c13); -impl std::ops::Deref for AsyncIDebugApplicationNodeEvents { +impl core::ops::Deref for AsyncIDebugApplicationNodeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -54,7 +54,7 @@ pub struct AsyncIDebugApplicationNodeEvents_Vtbl { pub Finish_onAttach: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScript, IActiveScript_Vtbl, 0xbb1a2ae1_a4f9_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IActiveScript { +impl core::ops::Deref for IActiveScript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -72,7 +72,7 @@ impl IActiveScript { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetScriptSite)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetScriptState(&self, ss: SCRIPTSTATE) -> windows_core::Result<()> { @@ -147,7 +147,7 @@ pub struct IActiveScript_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptAuthor, IActiveScriptAuthor_Vtbl, 0x9c109da0_7006_11d1_b36c_00a0c911e8b2); -impl std::ops::Deref for IActiveScriptAuthor { +impl core::ops::Deref for IActiveScriptAuthor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -267,7 +267,7 @@ pub struct IActiveScriptAuthor_Vtbl { pub IsCommitChar: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptAuthorProcedure, IActiveScriptAuthorProcedure_Vtbl, 0x7e2d4b70_bd9a_11d0_9336_00a0c90dcaa9); -impl std::ops::Deref for IActiveScriptAuthorProcedure { +impl core::ops::Deref for IActiveScriptAuthorProcedure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -297,7 +297,7 @@ pub struct IActiveScriptAuthorProcedure_Vtbl { ParseProcedureText: usize, } windows_core::imp::define_interface!(IActiveScriptDebug32, IActiveScriptDebug32_Vtbl, 0x51973c10_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IActiveScriptDebug32 { +impl core::ops::Deref for IActiveScriptDebug32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -332,7 +332,7 @@ pub struct IActiveScriptDebug32_Vtbl { pub EnumCodeContextsOfPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptDebug64, IActiveScriptDebug64_Vtbl, 0xbc437e23_f5b8_47f4_bb79_7d1ce5483b86); -impl std::ops::Deref for IActiveScriptDebug64 { +impl core::ops::Deref for IActiveScriptDebug64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -367,7 +367,7 @@ pub struct IActiveScriptDebug64_Vtbl { pub EnumCodeContextsOfPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptEncode, IActiveScriptEncode_Vtbl, 0xbb1a2ae3_a4f9_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IActiveScriptEncode { +impl core::ops::Deref for IActiveScriptEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -399,7 +399,7 @@ pub struct IActiveScriptEncode_Vtbl { pub GetEncodeProgId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptError, IActiveScriptError_Vtbl, 0xeae1ba61_a4ed_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IActiveScriptError { +impl core::ops::Deref for IActiveScriptError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -430,7 +430,7 @@ pub struct IActiveScriptError_Vtbl { pub GetSourceLineText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptError64, IActiveScriptError64_Vtbl, 0xb21fb2a1_5b8f_4963_8c21_21450f84ed7f); -impl std::ops::Deref for IActiveScriptError64 { +impl core::ops::Deref for IActiveScriptError64 { type Target = IActiveScriptError; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -448,7 +448,7 @@ pub struct IActiveScriptError64_Vtbl { pub GetSourcePosition64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptErrorDebug, IActiveScriptErrorDebug_Vtbl, 0x51973c12_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IActiveScriptErrorDebug { +impl core::ops::Deref for IActiveScriptErrorDebug { type Target = IActiveScriptError; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -472,7 +472,7 @@ pub struct IActiveScriptErrorDebug_Vtbl { pub GetStackFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptErrorDebug110, IActiveScriptErrorDebug110_Vtbl, 0x516e42b6_89a8_4530_937b_5f0708431442); -impl std::ops::Deref for IActiveScriptErrorDebug110 { +impl core::ops::Deref for IActiveScriptErrorDebug110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -491,7 +491,7 @@ pub struct IActiveScriptErrorDebug110_Vtbl { pub GetExceptionThrownKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCRIPT_ERROR_DEBUG_EXCEPTION_THROWN_KIND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptGarbageCollector, IActiveScriptGarbageCollector_Vtbl, 0x6aa2c4a0_2b53_11d4_a2a0_00104bd35090); -impl std::ops::Deref for IActiveScriptGarbageCollector { +impl core::ops::Deref for IActiveScriptGarbageCollector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -509,7 +509,7 @@ pub struct IActiveScriptGarbageCollector_Vtbl { pub CollectGarbage: unsafe extern "system" fn(*mut core::ffi::c_void, SCRIPTGCTYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptHostEncode, IActiveScriptHostEncode_Vtbl, 0xbee9b76e_cfe3_11d1_b747_00c04fc2b085); -impl std::ops::Deref for IActiveScriptHostEncode { +impl core::ops::Deref for IActiveScriptHostEncode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -531,7 +531,7 @@ pub struct IActiveScriptHostEncode_Vtbl { pub EncodeScriptHostFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, u32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptParse32, IActiveScriptParse32_Vtbl, 0xbb1a2ae2_a4f9_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IActiveScriptParse32 { +impl core::ops::Deref for IActiveScriptParse32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -579,7 +579,7 @@ pub struct IActiveScriptParse32_Vtbl { ParseScriptText: usize, } windows_core::imp::define_interface!(IActiveScriptParse64, IActiveScriptParse64_Vtbl, 0xc7ef7658_e1ee_480e_97ea_d52cb4d76d17); -impl std::ops::Deref for IActiveScriptParse64 { +impl core::ops::Deref for IActiveScriptParse64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -627,7 +627,7 @@ pub struct IActiveScriptParse64_Vtbl { ParseScriptText: usize, } windows_core::imp::define_interface!(IActiveScriptParseProcedure2_32, IActiveScriptParseProcedure2_32_Vtbl, 0x71ee5b20_fb04_11d1_b3a8_00a0c911e8b2); -impl std::ops::Deref for IActiveScriptParseProcedure2_32 { +impl core::ops::Deref for IActiveScriptParseProcedure2_32 { type Target = IActiveScriptParseProcedure32; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -640,7 +640,7 @@ pub struct IActiveScriptParseProcedure2_32_Vtbl { pub base__: IActiveScriptParseProcedure32_Vtbl, } windows_core::imp::define_interface!(IActiveScriptParseProcedure2_64, IActiveScriptParseProcedure2_64_Vtbl, 0xfe7c4271_210c_448d_9f54_76dab7047b28); -impl std::ops::Deref for IActiveScriptParseProcedure2_64 { +impl core::ops::Deref for IActiveScriptParseProcedure2_64 { type Target = IActiveScriptParseProcedure64; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -653,7 +653,7 @@ pub struct IActiveScriptParseProcedure2_64_Vtbl { pub base__: IActiveScriptParseProcedure64_Vtbl, } windows_core::imp::define_interface!(IActiveScriptParseProcedure32, IActiveScriptParseProcedure32_Vtbl, 0xaa5b6a80_b834_11d0_932f_00a0c90dcaa9); -impl std::ops::Deref for IActiveScriptParseProcedure32 { +impl core::ops::Deref for IActiveScriptParseProcedure32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -684,7 +684,7 @@ pub struct IActiveScriptParseProcedure32_Vtbl { ParseProcedureText: usize, } windows_core::imp::define_interface!(IActiveScriptParseProcedure64, IActiveScriptParseProcedure64_Vtbl, 0xc64713b6_e029_4cc5_9200_438b72890b6a); -impl std::ops::Deref for IActiveScriptParseProcedure64 { +impl core::ops::Deref for IActiveScriptParseProcedure64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -715,7 +715,7 @@ pub struct IActiveScriptParseProcedure64_Vtbl { ParseProcedureText: usize, } windows_core::imp::define_interface!(IActiveScriptParseProcedureOld32, IActiveScriptParseProcedureOld32_Vtbl, 0x1cff0050_6fdd_11d0_9328_00a0c90dcaa9); -impl std::ops::Deref for IActiveScriptParseProcedureOld32 { +impl core::ops::Deref for IActiveScriptParseProcedureOld32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -745,7 +745,7 @@ pub struct IActiveScriptParseProcedureOld32_Vtbl { ParseProcedureText: usize, } windows_core::imp::define_interface!(IActiveScriptParseProcedureOld64, IActiveScriptParseProcedureOld64_Vtbl, 0x21f57128_08c9_4638_ba12_22d15d88dc5c); -impl std::ops::Deref for IActiveScriptParseProcedureOld64 { +impl core::ops::Deref for IActiveScriptParseProcedureOld64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -775,7 +775,7 @@ pub struct IActiveScriptParseProcedureOld64_Vtbl { ParseProcedureText: usize, } windows_core::imp::define_interface!(IActiveScriptProfilerCallback, IActiveScriptProfilerCallback_Vtbl, 0x740eca23_7d9d_42e5_ba9d_f8b24b1c7a9b); -impl std::ops::Deref for IActiveScriptProfilerCallback { +impl core::ops::Deref for IActiveScriptProfilerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -821,7 +821,7 @@ pub struct IActiveScriptProfilerCallback_Vtbl { pub OnFunctionExit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerCallback2, IActiveScriptProfilerCallback2_Vtbl, 0x31b7f8ad_a637_409c_b22f_040995b6103d); -impl std::ops::Deref for IActiveScriptProfilerCallback2 { +impl core::ops::Deref for IActiveScriptProfilerCallback2 { type Target = IActiveScriptProfilerCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -849,7 +849,7 @@ pub struct IActiveScriptProfilerCallback2_Vtbl { pub OnFunctionExitByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, PROFILER_SCRIPT_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerCallback3, IActiveScriptProfilerCallback3_Vtbl, 0x6ac5ad25_2037_4687_91df_b59979d93d73); -impl std::ops::Deref for IActiveScriptProfilerCallback3 { +impl core::ops::Deref for IActiveScriptProfilerCallback3 { type Target = IActiveScriptProfilerCallback2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -867,7 +867,7 @@ pub struct IActiveScriptProfilerCallback3_Vtbl { pub SetWebWorkerId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerControl, IActiveScriptProfilerControl_Vtbl, 0x784b5ff0_69b0_47d1_a7dc_2518f4230e90); -impl std::ops::Deref for IActiveScriptProfilerControl { +impl core::ops::Deref for IActiveScriptProfilerControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -893,7 +893,7 @@ pub struct IActiveScriptProfilerControl_Vtbl { pub StopProfiling: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerControl2, IActiveScriptProfilerControl2_Vtbl, 0x47810165_498f_40be_94f1_653557e9e7da); -impl std::ops::Deref for IActiveScriptProfilerControl2 { +impl core::ops::Deref for IActiveScriptProfilerControl2 { type Target = IActiveScriptProfilerControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -915,7 +915,7 @@ pub struct IActiveScriptProfilerControl2_Vtbl { pub PrepareProfilerStop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerControl3, IActiveScriptProfilerControl3_Vtbl, 0x0b403015_f381_4023_a5d0_6fed076de716); -impl std::ops::Deref for IActiveScriptProfilerControl3 { +impl core::ops::Deref for IActiveScriptProfilerControl3 { type Target = IActiveScriptProfilerControl2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -934,7 +934,7 @@ pub struct IActiveScriptProfilerControl3_Vtbl { pub EnumHeap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerControl4, IActiveScriptProfilerControl4_Vtbl, 0x160f94fd_9dbc_40d4_9eac_2b71db3132f4); -impl std::ops::Deref for IActiveScriptProfilerControl4 { +impl core::ops::Deref for IActiveScriptProfilerControl4 { type Target = IActiveScriptProfilerControl3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -952,7 +952,7 @@ pub struct IActiveScriptProfilerControl4_Vtbl { pub SummarizeHeap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROFILER_HEAP_SUMMARY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerControl5, IActiveScriptProfilerControl5_Vtbl, 0x1c01a2d1_8f0f_46a5_9720_0d7ed2c62f0a); -impl std::ops::Deref for IActiveScriptProfilerControl5 { +impl core::ops::Deref for IActiveScriptProfilerControl5 { type Target = IActiveScriptProfilerControl4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -971,7 +971,7 @@ pub struct IActiveScriptProfilerControl5_Vtbl { pub EnumHeap2: unsafe extern "system" fn(*mut core::ffi::c_void, PROFILER_HEAP_ENUM_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProfilerHeapEnum, IActiveScriptProfilerHeapEnum_Vtbl, 0x32e4694e_0d37_419b_b93d_fa20ded6e8ea); -impl std::ops::Deref for IActiveScriptProfilerHeapEnum { +impl core::ops::Deref for IActiveScriptProfilerHeapEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1001,7 +1001,7 @@ pub struct IActiveScriptProfilerHeapEnum_Vtbl { pub GetNameIdMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut *mut windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptProperty, IActiveScriptProperty_Vtbl, 0x4954e0d0_fbc7_11d1_8410_006008c3fbfc); -impl std::ops::Deref for IActiveScriptProperty { +impl core::ops::Deref for IActiveScriptProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1024,7 +1024,7 @@ pub struct IActiveScriptProperty_Vtbl { pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSIPInfo, IActiveScriptSIPInfo_Vtbl, 0x764651d0_38de_11d4_a2a3_00104bd35090); -impl std::ops::Deref for IActiveScriptSIPInfo { +impl core::ops::Deref for IActiveScriptSIPInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1043,7 +1043,7 @@ pub struct IActiveScriptSIPInfo_Vtbl { pub GetSIPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSite, IActiveScriptSite_Vtbl, 0xdb01a1e3_a42b_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IActiveScriptSite { +impl core::ops::Deref for IActiveScriptSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1105,7 +1105,7 @@ pub struct IActiveScriptSite_Vtbl { pub OnLeaveScript: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSiteDebug32, IActiveScriptSiteDebug32_Vtbl, 0x51973c11_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IActiveScriptSiteDebug32 { +impl core::ops::Deref for IActiveScriptSiteDebug32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1141,7 +1141,7 @@ pub struct IActiveScriptSiteDebug32_Vtbl { pub OnScriptErrorDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSiteDebug64, IActiveScriptSiteDebug64_Vtbl, 0xd6b96b0a_7463_402c_92ac_89984226942f); -impl std::ops::Deref for IActiveScriptSiteDebug64 { +impl core::ops::Deref for IActiveScriptSiteDebug64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1177,7 +1177,7 @@ pub struct IActiveScriptSiteDebug64_Vtbl { pub OnScriptErrorDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSiteDebugEx, IActiveScriptSiteDebugEx_Vtbl, 0xbb722ccb_6ad2_41c6_b780_af9c03ee69f5); -impl std::ops::Deref for IActiveScriptSiteDebugEx { +impl core::ops::Deref for IActiveScriptSiteDebugEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1199,7 +1199,7 @@ pub struct IActiveScriptSiteDebugEx_Vtbl { pub OnCanNotJITScriptErrorDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSiteInterruptPoll, IActiveScriptSiteInterruptPoll_Vtbl, 0x539698a0_cdca_11cf_a5eb_00aa0047a063); -impl std::ops::Deref for IActiveScriptSiteInterruptPoll { +impl core::ops::Deref for IActiveScriptSiteInterruptPoll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1217,7 +1217,7 @@ pub struct IActiveScriptSiteInterruptPoll_Vtbl { pub QueryContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSiteTraceInfo, IActiveScriptSiteTraceInfo_Vtbl, 0x4b7272ae_1955_4bfe_98b0_780621888569); -impl std::ops::Deref for IActiveScriptSiteTraceInfo { +impl core::ops::Deref for IActiveScriptSiteTraceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1235,7 +1235,7 @@ pub struct IActiveScriptSiteTraceInfo_Vtbl { pub SendScriptTraceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, SCRIPTTRACEINFO, windows_core::GUID, u32, i32, i32, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSiteUIControl, IActiveScriptSiteUIControl_Vtbl, 0xaedae97e_d7ee_4796_b960_7f092ae844ab); -impl std::ops::Deref for IActiveScriptSiteUIControl { +impl core::ops::Deref for IActiveScriptSiteUIControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1254,7 +1254,7 @@ pub struct IActiveScriptSiteUIControl_Vtbl { pub GetUIBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, SCRIPTUICITEM, *mut SCRIPTUICHANDLING) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptSiteWindow, IActiveScriptSiteWindow_Vtbl, 0xd10f6761_83e9_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IActiveScriptSiteWindow { +impl core::ops::Deref for IActiveScriptSiteWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1280,7 +1280,7 @@ pub struct IActiveScriptSiteWindow_Vtbl { pub EnableModeless: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptStats, IActiveScriptStats_Vtbl, 0xb8da6310_e19b_11d0_933c_00a0c90dcaa9); -impl std::ops::Deref for IActiveScriptStats { +impl core::ops::Deref for IActiveScriptStats { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1306,7 +1306,7 @@ pub struct IActiveScriptStats_Vtbl { pub ResetStats: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptStringCompare, IActiveScriptStringCompare_Vtbl, 0x58562769_ed52_42f7_8403_4963514e1f11); -impl std::ops::Deref for IActiveScriptStringCompare { +impl core::ops::Deref for IActiveScriptStringCompare { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1329,7 +1329,7 @@ pub struct IActiveScriptStringCompare_Vtbl { pub StrComp: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptTraceInfo, IActiveScriptTraceInfo_Vtbl, 0xc35456e7_bebf_4a1b_86a9_24d56be8b369); -impl std::ops::Deref for IActiveScriptTraceInfo { +impl core::ops::Deref for IActiveScriptTraceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1354,7 +1354,7 @@ pub struct IActiveScriptTraceInfo_Vtbl { pub StopScriptTracing: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveScriptWinRTErrorDebug, IActiveScriptWinRTErrorDebug_Vtbl, 0x73a3f82a_0fe9_4b33_ba3b_fe095f697e0a); -impl std::ops::Deref for IActiveScriptWinRTErrorDebug { +impl core::ops::Deref for IActiveScriptWinRTErrorDebug { type Target = IActiveScriptError; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1383,7 +1383,7 @@ pub struct IActiveScriptWinRTErrorDebug_Vtbl { pub GetCapabilitySid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDebugger, IApplicationDebugger_Vtbl, 0x51973c2a_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IApplicationDebugger { +impl core::ops::Deref for IApplicationDebugger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1435,7 +1435,7 @@ pub struct IApplicationDebugger_Vtbl { pub onDebuggerEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDebuggerUI, IApplicationDebuggerUI_Vtbl, 0x51973c2b_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IApplicationDebuggerUI { +impl core::ops::Deref for IApplicationDebuggerUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1463,7 +1463,7 @@ pub struct IApplicationDebuggerUI_Vtbl { pub BringDocumentContextToTop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBindEventHandler, IBindEventHandler_Vtbl, 0x63cdbcb0_c1b1_11d0_9336_00a0c90dcaa9); -impl std::ops::Deref for IBindEventHandler { +impl core::ops::Deref for IBindEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1489,7 +1489,7 @@ pub struct IBindEventHandler_Vtbl { BindHandler: usize, } windows_core::imp::define_interface!(IDebugApplication11032, IDebugApplication11032_Vtbl, 0xbdb3b5de_89f2_4e11_84a5_97445f941c7d); -impl std::ops::Deref for IDebugApplication11032 { +impl core::ops::Deref for IDebugApplication11032 { type Target = IRemoteDebugApplication110; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1522,7 +1522,7 @@ pub struct IDebugApplication11032_Vtbl { pub CallableWaitForHandles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::super::super::Foundation::HANDLE, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplication11064, IDebugApplication11064_Vtbl, 0x2039d958_4eeb_496a_87bb_2e5201eadeef); -impl std::ops::Deref for IDebugApplication11064 { +impl core::ops::Deref for IDebugApplication11064 { type Target = IRemoteDebugApplication110; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1555,7 +1555,7 @@ pub struct IDebugApplication11064_Vtbl { pub CallableWaitForHandles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::super::super::Foundation::HANDLE, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplication32, IDebugApplication32_Vtbl, 0x51973c32_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugApplication32 { +impl core::ops::Deref for IDebugApplication32 { type Target = IRemoteDebugApplication; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1680,7 +1680,7 @@ pub struct IDebugApplication32_Vtbl { pub RemoveGlobalExpressionContextProvider: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplication64, IDebugApplication64_Vtbl, 0x4dedc754_04c7_4f10_9e60_16a390fe6e62); -impl std::ops::Deref for IDebugApplication64 { +impl core::ops::Deref for IDebugApplication64 { type Target = IRemoteDebugApplication; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1805,7 +1805,7 @@ pub struct IDebugApplication64_Vtbl { pub RemoveGlobalExpressionContextProvider: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationNode, IDebugApplicationNode_Vtbl, 0x51973c34_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugApplicationNode { +impl core::ops::Deref for IDebugApplicationNode { type Target = IDebugDocumentProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1851,7 +1851,7 @@ pub struct IDebugApplicationNode_Vtbl { pub Detach: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationNode100, IDebugApplicationNode100_Vtbl, 0x90a7734e_841b_4f77_9384_a2891e76e7e2); -impl std::ops::Deref for IDebugApplicationNode100 { +impl core::ops::Deref for IDebugApplicationNode100 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1881,7 +1881,7 @@ pub struct IDebugApplicationNode100_Vtbl { pub QueryIsChildNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationNodeEvents, IDebugApplicationNodeEvents_Vtbl, 0x51973c35_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugApplicationNodeEvents { +impl core::ops::Deref for IDebugApplicationNodeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1920,7 +1920,7 @@ pub struct IDebugApplicationNodeEvents_Vtbl { pub onAttach: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationThread, IDebugApplicationThread_Vtbl, 0x51973c38_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugApplicationThread { +impl core::ops::Deref for IDebugApplicationThread { type Target = IRemoteDebugApplicationThread; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1963,7 +1963,7 @@ pub struct IDebugApplicationThread_Vtbl { pub SetStateString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationThread11032, IDebugApplicationThread11032_Vtbl, 0x2194ac5c_6561_404a_a2e9_f57d72de3702); -impl std::ops::Deref for IDebugApplicationThread11032 { +impl core::ops::Deref for IDebugApplicationThread11032 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1999,7 +1999,7 @@ pub struct IDebugApplicationThread11032_Vtbl { pub AsynchronousCallIntoThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationThread11064, IDebugApplicationThread11064_Vtbl, 0x420aa4cc_efd8_4dac_983b_47127826917d); -impl std::ops::Deref for IDebugApplicationThread11064 { +impl core::ops::Deref for IDebugApplicationThread11064 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2035,7 +2035,7 @@ pub struct IDebugApplicationThread11064_Vtbl { pub AsynchronousCallIntoThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationThread64, IDebugApplicationThread64_Vtbl, 0x9dac5886_dbad_456d_9dee_5dec39ab3dda); -impl std::ops::Deref for IDebugApplicationThread64 { +impl core::ops::Deref for IDebugApplicationThread64 { type Target = IDebugApplicationThread; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2056,7 +2056,7 @@ pub struct IDebugApplicationThread64_Vtbl { pub SynchronousCallIntoThread64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, u64, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugApplicationThreadEvents110, IDebugApplicationThreadEvents110_Vtbl, 0x84e5e468_d5da_48a8_83f4_40366429007b); -impl std::ops::Deref for IDebugApplicationThreadEvents110 { +impl core::ops::Deref for IDebugApplicationThreadEvents110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2086,7 +2086,7 @@ pub struct IDebugApplicationThreadEvents110_Vtbl { pub OnBeginThreadRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugAsyncOperation, IDebugAsyncOperation_Vtbl, 0x51973c1b_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugAsyncOperation { +impl core::ops::Deref for IDebugAsyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2124,7 +2124,7 @@ pub struct IDebugAsyncOperation_Vtbl { pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugAsyncOperationCallBack, IDebugAsyncOperationCallBack_Vtbl, 0x51973c1c_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugAsyncOperationCallBack { +impl core::ops::Deref for IDebugAsyncOperationCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2142,7 +2142,7 @@ pub struct IDebugAsyncOperationCallBack_Vtbl { pub onComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugCodeContext, IDebugCodeContext_Vtbl, 0x51973c13_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugCodeContext { +impl core::ops::Deref for IDebugCodeContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2165,7 +2165,7 @@ pub struct IDebugCodeContext_Vtbl { pub SetBreakPoint: unsafe extern "system" fn(*mut core::ffi::c_void, BREAKPOINT_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugCookie, IDebugCookie_Vtbl, 0x51973c39_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugCookie { +impl core::ops::Deref for IDebugCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2183,7 +2183,7 @@ pub struct IDebugCookie_Vtbl { pub SetDebugCookie: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocument, IDebugDocument_Vtbl, 0x51973c21_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocument { +impl core::ops::Deref for IDebugDocument { type Target = IDebugDocumentInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2196,7 +2196,7 @@ pub struct IDebugDocument_Vtbl { pub base__: IDebugDocumentInfo_Vtbl, } windows_core::imp::define_interface!(IDebugDocumentContext, IDebugDocumentContext_Vtbl, 0x51973c28_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentContext { +impl core::ops::Deref for IDebugDocumentContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2220,7 +2220,7 @@ pub struct IDebugDocumentContext_Vtbl { pub EnumCodeContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentHelper32, IDebugDocumentHelper32_Vtbl, 0x51973c26_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentHelper32 { +impl core::ops::Deref for IDebugDocumentHelper32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2339,7 +2339,7 @@ pub struct IDebugDocumentHelper32_Vtbl { pub BringDocumentContextToTop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentHelper64, IDebugDocumentHelper64_Vtbl, 0xc4c7363c_20fd_47f9_bd82_4855e0150871); -impl std::ops::Deref for IDebugDocumentHelper64 { +impl core::ops::Deref for IDebugDocumentHelper64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2458,7 +2458,7 @@ pub struct IDebugDocumentHelper64_Vtbl { pub BringDocumentContextToTop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentHost, IDebugDocumentHost_Vtbl, 0x51973c27_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentHost { +impl core::ops::Deref for IDebugDocumentHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2502,7 +2502,7 @@ pub struct IDebugDocumentHost_Vtbl { pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentInfo, IDebugDocumentInfo_Vtbl, 0x51973c1f_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentInfo { +impl core::ops::Deref for IDebugDocumentInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2526,7 +2526,7 @@ pub struct IDebugDocumentInfo_Vtbl { pub GetDocumentClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentProvider, IDebugDocumentProvider_Vtbl, 0x51973c20_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentProvider { +impl core::ops::Deref for IDebugDocumentProvider { type Target = IDebugDocumentInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2545,7 +2545,7 @@ pub struct IDebugDocumentProvider_Vtbl { pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentText, IDebugDocumentText_Vtbl, 0x51973c22_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentText { +impl core::ops::Deref for IDebugDocumentText { type Target = IDebugDocument; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2593,7 +2593,7 @@ pub struct IDebugDocumentText_Vtbl { pub GetContextOfPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentTextAuthor, IDebugDocumentTextAuthor_Vtbl, 0x51973c24_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentTextAuthor { +impl core::ops::Deref for IDebugDocumentTextAuthor { type Target = IDebugDocumentText; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2619,7 +2619,7 @@ pub struct IDebugDocumentTextAuthor_Vtbl { pub ReplaceText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentTextEvents, IDebugDocumentTextEvents_Vtbl, 0x51973c23_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentTextEvents { +impl core::ops::Deref for IDebugDocumentTextEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2657,7 +2657,7 @@ pub struct IDebugDocumentTextEvents_Vtbl { pub onUpdateDocumentAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDocumentTextExternalAuthor, IDebugDocumentTextExternalAuthor_Vtbl, 0x51973c25_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugDocumentTextExternalAuthor { +impl core::ops::Deref for IDebugDocumentTextExternalAuthor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2684,7 +2684,7 @@ pub struct IDebugDocumentTextExternalAuthor_Vtbl { pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugExpression, IDebugExpression_Vtbl, 0x51973c14_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugExpression { +impl core::ops::Deref for IDebugExpression { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2721,7 +2721,7 @@ pub struct IDebugExpression_Vtbl { pub GetResultAsDebugProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugExpressionCallBack, IDebugExpressionCallBack_Vtbl, 0x51973c16_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugExpressionCallBack { +impl core::ops::Deref for IDebugExpressionCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2739,7 +2739,7 @@ pub struct IDebugExpressionCallBack_Vtbl { pub onComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugExpressionContext, IDebugExpressionContext_Vtbl, 0x51973c15_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugExpressionContext { +impl core::ops::Deref for IDebugExpressionContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2766,7 +2766,7 @@ pub struct IDebugExpressionContext_Vtbl { pub GetLanguageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugFormatter, IDebugFormatter_Vtbl, 0x51973c05_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugFormatter { +impl core::ops::Deref for IDebugFormatter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2802,7 +2802,7 @@ pub struct IDebugFormatter_Vtbl { GetStringForVarType: usize, } windows_core::imp::define_interface!(IDebugHelper, IDebugHelper_Vtbl, 0x51973c3f_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugHelper { +impl core::ops::Deref for IDebugHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2847,7 +2847,7 @@ pub struct IDebugHelper_Vtbl { CreateSimpleConnectionPoint: usize, } windows_core::imp::define_interface!(IDebugSessionProvider, IDebugSessionProvider_Vtbl, 0x51973c29_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugSessionProvider { +impl core::ops::Deref for IDebugSessionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2868,7 +2868,7 @@ pub struct IDebugSessionProvider_Vtbl { pub StartDebugSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugStackFrame, IDebugStackFrame_Vtbl, 0x51973c17_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugStackFrame { +impl core::ops::Deref for IDebugStackFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2913,7 +2913,7 @@ pub struct IDebugStackFrame_Vtbl { pub GetDebugProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugStackFrame110, IDebugStackFrame110_Vtbl, 0x4b509611_b6ea_4b24_adcb_d0ccfd1a7e33); -impl std::ops::Deref for IDebugStackFrame110 { +impl core::ops::Deref for IDebugStackFrame110 { type Target = IDebugStackFrame; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2937,7 +2937,7 @@ pub struct IDebugStackFrame110_Vtbl { pub GetScriptInvocationContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugStackFrameSniffer, IDebugStackFrameSniffer_Vtbl, 0x51973c18_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugStackFrameSniffer { +impl core::ops::Deref for IDebugStackFrameSniffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2956,7 +2956,7 @@ pub struct IDebugStackFrameSniffer_Vtbl { pub EnumStackFrames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugStackFrameSnifferEx32, IDebugStackFrameSnifferEx32_Vtbl, 0x51973c19_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugStackFrameSnifferEx32 { +impl core::ops::Deref for IDebugStackFrameSnifferEx32 { type Target = IDebugStackFrameSniffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2975,7 +2975,7 @@ pub struct IDebugStackFrameSnifferEx32_Vtbl { pub EnumStackFramesEx32: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugStackFrameSnifferEx64, IDebugStackFrameSnifferEx64_Vtbl, 0x8cd12af4_49c1_4d52_8d8a_c146f47581aa); -impl std::ops::Deref for IDebugStackFrameSnifferEx64 { +impl core::ops::Deref for IDebugStackFrameSnifferEx64 { type Target = IDebugStackFrameSniffer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2994,7 +2994,7 @@ pub struct IDebugStackFrameSnifferEx64_Vtbl { pub EnumStackFramesEx64: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSyncOperation, IDebugSyncOperation_Vtbl, 0x51973c1a_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugSyncOperation { +impl core::ops::Deref for IDebugSyncOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3022,7 +3022,7 @@ pub struct IDebugSyncOperation_Vtbl { pub InProgressAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugThreadCall32, IDebugThreadCall32_Vtbl, 0x51973c36_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugThreadCall32 { +impl core::ops::Deref for IDebugThreadCall32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3040,7 +3040,7 @@ pub struct IDebugThreadCall32_Vtbl { pub ThreadCallHandler: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugThreadCall64, IDebugThreadCall64_Vtbl, 0xcb3fa335_e979_42fd_9fcf_a7546a0f3905); -impl std::ops::Deref for IDebugThreadCall64 { +impl core::ops::Deref for IDebugThreadCall64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3058,7 +3058,7 @@ pub struct IDebugThreadCall64_Vtbl { pub ThreadCallHandler: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDebugApplicationNodes, IEnumDebugApplicationNodes_Vtbl, 0x51973c3a_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumDebugApplicationNodes { +impl core::ops::Deref for IEnumDebugApplicationNodes { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3089,7 +3089,7 @@ pub struct IEnumDebugApplicationNodes_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDebugCodeContexts, IEnumDebugCodeContexts_Vtbl, 0x51973c1d_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumDebugCodeContexts { +impl core::ops::Deref for IEnumDebugCodeContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3120,7 +3120,7 @@ pub struct IEnumDebugCodeContexts_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDebugExpressionContexts, IEnumDebugExpressionContexts_Vtbl, 0x51973c40_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumDebugExpressionContexts { +impl core::ops::Deref for IEnumDebugExpressionContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3151,7 +3151,7 @@ pub struct IEnumDebugExpressionContexts_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDebugStackFrames, IEnumDebugStackFrames_Vtbl, 0x51973c1e_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumDebugStackFrames { +impl core::ops::Deref for IEnumDebugStackFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3182,7 +3182,7 @@ pub struct IEnumDebugStackFrames_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDebugStackFrames64, IEnumDebugStackFrames64_Vtbl, 0x0dc38853_c1b0_4176_a984_b298361027af); -impl std::ops::Deref for IEnumDebugStackFrames64 { +impl core::ops::Deref for IEnumDebugStackFrames64 { type Target = IEnumDebugStackFrames; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3200,7 +3200,7 @@ pub struct IEnumDebugStackFrames64_Vtbl { pub Next64: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DebugStackFrameDescriptor64, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumJsStackFrames, IEnumJsStackFrames_Vtbl, 0x5e7da34b_fb51_4791_abe7_cb5bdf419755); -impl std::ops::Deref for IEnumJsStackFrames { +impl core::ops::Deref for IEnumJsStackFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3222,7 +3222,7 @@ pub struct IEnumJsStackFrames_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumRemoteDebugApplicationThreads, IEnumRemoteDebugApplicationThreads_Vtbl, 0x51973c3c_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumRemoteDebugApplicationThreads { +impl core::ops::Deref for IEnumRemoteDebugApplicationThreads { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3253,7 +3253,7 @@ pub struct IEnumRemoteDebugApplicationThreads_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumRemoteDebugApplications, IEnumRemoteDebugApplications_Vtbl, 0x51973c3b_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumRemoteDebugApplications { +impl core::ops::Deref for IEnumRemoteDebugApplications { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3284,7 +3284,7 @@ pub struct IEnumRemoteDebugApplications_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebug, IJsDebug_Vtbl, 0xbe0e89da_2ac5_4c04_ac5e_59956aae3613); -impl std::ops::Deref for IJsDebug { +impl core::ops::Deref for IJsDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3306,7 +3306,7 @@ pub struct IJsDebug_Vtbl { pub OpenVirtualProcess: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebugBreakPoint, IJsDebugBreakPoint_Vtbl, 0xdf6773e3_ed8d_488b_8a3e_5812577d1542); -impl std::ops::Deref for IJsDebugBreakPoint { +impl core::ops::Deref for IJsDebugBreakPoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3341,7 +3341,7 @@ pub struct IJsDebugBreakPoint_Vtbl { pub GetDocumentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebugDataTarget, IJsDebugDataTarget_Vtbl, 0x53b28977_53a1_48e5_9000_5d0dfa893931); -impl std::ops::Deref for IJsDebugDataTarget { +impl core::ops::Deref for IJsDebugDataTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3396,7 +3396,7 @@ pub struct IJsDebugDataTarget_Vtbl { pub GetThreadContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebugFrame, IJsDebugFrame_Vtbl, 0xc9196637_ab9d_44b2_bad2_13b95b3f390e); -impl std::ops::Deref for IJsDebugFrame { +impl core::ops::Deref for IJsDebugFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3444,7 +3444,7 @@ pub struct IJsDebugFrame_Vtbl { pub Evaluate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebugProcess, IJsDebugProcess_Vtbl, 0x3d587168_6a2d_4041_bd3b_0de674502862); -impl std::ops::Deref for IJsDebugProcess { +impl core::ops::Deref for IJsDebugProcess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3480,7 +3480,7 @@ pub struct IJsDebugProcess_Vtbl { pub GetExternalStepAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebugProperty, IJsDebugProperty_Vtbl, 0xf8ffcf2b_3aa4_4320_85c3_52a312ba9633); -impl std::ops::Deref for IJsDebugProperty { +impl core::ops::Deref for IJsDebugProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3503,7 +3503,7 @@ pub struct IJsDebugProperty_Vtbl { pub GetMembers: unsafe extern "system" fn(*mut core::ffi::c_void, JS_PROPERTY_MEMBERS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsDebugStackWalker, IJsDebugStackWalker_Vtbl, 0xdb24b094_73c4_456c_a4ec_e90ea00bdfe3); -impl std::ops::Deref for IJsDebugStackWalker { +impl core::ops::Deref for IJsDebugStackWalker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3522,7 +3522,7 @@ pub struct IJsDebugStackWalker_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IJsEnumDebugProperty, IJsEnumDebugProperty_Vtbl, 0x4092432f_2f0f_4fe1_b638_5b74a52cdcbe); -impl std::ops::Deref for IJsEnumDebugProperty { +impl core::ops::Deref for IJsEnumDebugProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3545,7 +3545,7 @@ pub struct IJsEnumDebugProperty_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMachineDebugManager, IMachineDebugManager_Vtbl, 0x51973c2c_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IMachineDebugManager { +impl core::ops::Deref for IMachineDebugManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3576,7 +3576,7 @@ pub struct IMachineDebugManager_Vtbl { pub EnumApplications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMachineDebugManagerCookie, IMachineDebugManagerCookie_Vtbl, 0x51973c2d_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IMachineDebugManagerCookie { +impl core::ops::Deref for IMachineDebugManagerCookie { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3607,7 +3607,7 @@ pub struct IMachineDebugManagerCookie_Vtbl { pub EnumApplications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMachineDebugManagerEvents, IMachineDebugManagerEvents_Vtbl, 0x51973c2e_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IMachineDebugManagerEvents { +impl core::ops::Deref for IMachineDebugManagerEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3635,7 +3635,7 @@ pub struct IMachineDebugManagerEvents_Vtbl { pub onRemoveApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessDebugManager32, IProcessDebugManager32_Vtbl, 0x51973c2f_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IProcessDebugManager32 { +impl core::ops::Deref for IProcessDebugManager32 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3679,7 +3679,7 @@ pub struct IProcessDebugManager32_Vtbl { pub CreateDebugDocumentHelper: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProcessDebugManager64, IProcessDebugManager64_Vtbl, 0x56b9fc1c_63a9_4cc1_ac21_087d69a17fab); -impl std::ops::Deref for IProcessDebugManager64 { +impl core::ops::Deref for IProcessDebugManager64 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3723,7 +3723,7 @@ pub struct IProcessDebugManager64_Vtbl { pub CreateDebugDocumentHelper: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvideExpressionContexts, IProvideExpressionContexts_Vtbl, 0x51973c41_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IProvideExpressionContexts { +impl core::ops::Deref for IProvideExpressionContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3742,7 +3742,7 @@ pub struct IProvideExpressionContexts_Vtbl { pub EnumExpressionContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDebugApplication, IRemoteDebugApplication_Vtbl, 0x51973c30_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IRemoteDebugApplication { +impl core::ops::Deref for IRemoteDebugApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3815,7 +3815,7 @@ pub struct IRemoteDebugApplication_Vtbl { pub EnumGlobalExpressionContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDebugApplication110, IRemoteDebugApplication110_Vtbl, 0xd5fe005b_2836_485e_b1f9_89d91aa24fd4); -impl std::ops::Deref for IRemoteDebugApplication110 { +impl core::ops::Deref for IRemoteDebugApplication110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3843,7 +3843,7 @@ pub struct IRemoteDebugApplication110_Vtbl { pub GetMainThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDebugApplicationEvents, IRemoteDebugApplicationEvents_Vtbl, 0x51973c33_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IRemoteDebugApplicationEvents { +impl core::ops::Deref for IRemoteDebugApplicationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3921,7 +3921,7 @@ pub struct IRemoteDebugApplicationEvents_Vtbl { pub OnBreakFlagChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDebugApplicationThread, IRemoteDebugApplicationThread_Vtbl, 0x51973c37_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IRemoteDebugApplicationThread { +impl core::ops::Deref for IRemoteDebugApplicationThread { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3982,7 +3982,7 @@ pub struct IRemoteDebugApplicationThread_Vtbl { pub GetSuspendCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDebugCriticalErrorEvent110, IRemoteDebugCriticalErrorEvent110_Vtbl, 0x2f69c611_6b14_47e8_9260_4bb7c52f504b); -impl std::ops::Deref for IRemoteDebugCriticalErrorEvent110 { +impl core::ops::Deref for IRemoteDebugCriticalErrorEvent110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4000,7 +4000,7 @@ pub struct IRemoteDebugCriticalErrorEvent110_Vtbl { pub GetErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteDebugInfoEvent110, IRemoteDebugInfoEvent110_Vtbl, 0x9ff56bb6_eb89_4c0f_8823_cc2a4c0b7f26); -impl std::ops::Deref for IRemoteDebugInfoEvent110 { +impl core::ops::Deref for IRemoteDebugInfoEvent110 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4018,7 +4018,7 @@ pub struct IRemoteDebugInfoEvent110_Vtbl { pub GetEventInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEBUG_EVENT_INFO_TYPE, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScriptEntry, IScriptEntry_Vtbl, 0x0aee2a95_bcbb_11d0_8c72_00c04fc2b085); -impl std::ops::Deref for IScriptEntry { +impl core::ops::Deref for IScriptEntry { type Target = IScriptNode; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4103,7 +4103,7 @@ pub struct IScriptEntry_Vtbl { pub GetRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScriptInvocationContext, IScriptInvocationContext_Vtbl, 0x5d7741b7_af7e_4a2a_85e5_c77f4d0659fb); -impl std::ops::Deref for IScriptInvocationContext { +impl core::ops::Deref for IScriptInvocationContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4132,7 +4132,7 @@ pub struct IScriptInvocationContext_Vtbl { pub GetContextObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScriptNode, IScriptNode_Vtbl, 0x0aee2a94_bcbb_11d0_8c72_00c04fc2b085); -impl std::ops::Deref for IScriptNode { +impl core::ops::Deref for IScriptNode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4207,7 +4207,7 @@ pub struct IScriptNode_Vtbl { CreateChildHandler: usize, } windows_core::imp::define_interface!(IScriptScriptlet, IScriptScriptlet_Vtbl, 0x0aee2a96_bcbb_11d0_8c72_00c04fc2b085); -impl std::ops::Deref for IScriptScriptlet { +impl core::ops::Deref for IScriptScriptlet { type Target = IScriptEntry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4257,7 +4257,7 @@ pub struct IScriptScriptlet_Vtbl { pub SetSimpleEventName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimpleConnectionPoint, ISimpleConnectionPoint_Vtbl, 0x51973c3e_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for ISimpleConnectionPoint { +impl core::ops::Deref for ISimpleConnectionPoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4296,7 +4296,7 @@ pub struct ISimpleConnectionPoint_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITridentEventSink, ITridentEventSink_Vtbl, 0x1dc9ca50_06ef_11d2_8415_006008c3fbfc); -impl std::ops::Deref for ITridentEventSink { +impl core::ops::Deref for ITridentEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4321,7 +4321,7 @@ pub struct ITridentEventSink_Vtbl { FireEvent: usize, } windows_core::imp::define_interface!(IWebAppDiagnosticsObjectInitialization, IWebAppDiagnosticsObjectInitialization_Vtbl, 0x16ff3a42_a5f5_432b_b625_8e8e16f57e15); -impl std::ops::Deref for IWebAppDiagnosticsObjectInitialization { +impl core::ops::Deref for IWebAppDiagnosticsObjectInitialization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4343,7 +4343,7 @@ pub struct IWebAppDiagnosticsObjectInitialization_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::HANDLE_PTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAppDiagnosticsSetup, IWebAppDiagnosticsSetup_Vtbl, 0x379bfbe1_c6c9_432a_93e1_6d17656c538c); -impl std::ops::Deref for IWebAppDiagnosticsSetup { +impl core::ops::Deref for IWebAppDiagnosticsSetup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs index 16e7899957..2b2f11373b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/mod.rs @@ -29,7 +29,7 @@ where T: windows_core::Interface, { windows_targets::link!("dbgeng.dll" "system" fn DebugCreate(interfaceid : *const windows_core::GUID, interface : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DebugCreate(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -38,11 +38,11 @@ where T: windows_core::Interface, { windows_targets::link!("dbgeng.dll" "system" fn DebugCreateEx(interfaceid : *const windows_core::GUID, dbgengoptions : u32, interface : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); DebugCreateEx(&T::IID, dbgengoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(DebugBaseEventCallbacks, DebugBaseEventCallbacks_Vtbl, 0); -impl std::ops::Deref for DebugBaseEventCallbacks { +impl core::ops::Deref for DebugBaseEventCallbacks { type Target = IDebugEventCallbacks; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -55,7 +55,7 @@ pub struct DebugBaseEventCallbacks_Vtbl { pub base__: IDebugEventCallbacks_Vtbl, } windows_core::imp::define_interface!(DebugBaseEventCallbacksWide, DebugBaseEventCallbacksWide_Vtbl, 0); -impl std::ops::Deref for DebugBaseEventCallbacksWide { +impl core::ops::Deref for DebugBaseEventCallbacksWide { type Target = IDebugEventCallbacksWide; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -68,7 +68,7 @@ pub struct DebugBaseEventCallbacksWide_Vtbl { pub base__: IDebugEventCallbacksWide_Vtbl, } windows_core::imp::define_interface!(ICodeAddressConcept, ICodeAddressConcept_Vtbl, 0xc7371568_5c78_4a00_a4ab_6ef8823184cb); -impl std::ops::Deref for ICodeAddressConcept { +impl core::ops::Deref for ICodeAddressConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -90,7 +90,7 @@ pub struct ICodeAddressConcept_Vtbl { pub GetContainingSymbol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComparableConcept, IComparableConcept_Vtbl, 0xa7830646_9f0c_4a31_ba19_503f33e6c8a3); -impl std::ops::Deref for IComparableConcept { +impl core::ops::Deref for IComparableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -113,7 +113,7 @@ pub struct IComparableConcept_Vtbl { pub CompareObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelConcept, IDataModelConcept_Vtbl, 0xfcb98d1d_1114_4fbf_b24c_effcb5def0d3); -impl std::ops::Deref for IDataModelConcept { +impl core::ops::Deref for IDataModelConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -141,7 +141,7 @@ pub struct IDataModelConcept_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelManager, IDataModelManager_Vtbl, 0x73fe19f4_a110_4500_8ed9_3c28896f508c); -impl std::ops::Deref for IDataModelManager { +impl core::ops::Deref for IDataModelManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -302,7 +302,7 @@ pub struct IDataModelManager_Vtbl { pub AcquireNamedModel: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelManager2, IDataModelManager2_Vtbl, 0xf412c5ea_2284_4622_a660_a697160d3312); -impl std::ops::Deref for IDataModelManager2 { +impl core::ops::Deref for IDataModelManager2 { type Target = IDataModelManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -336,7 +336,7 @@ pub struct IDataModelManager2_Vtbl { pub CreateTypedIntrinsicObjectEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelNameBinder, IDataModelNameBinder_Vtbl, 0xaf352b7b_8292_4c01_b360_2dc3696c65e7); -impl std::ops::Deref for IDataModelNameBinder { +impl core::ops::Deref for IDataModelNameBinder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -382,7 +382,7 @@ pub struct IDataModelNameBinder_Vtbl { pub EnumerateReferences: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScript, IDataModelScript_Vtbl, 0x7b4d30fc_b14a_49f8_8d87_d9a1480c97f7); -impl std::ops::Deref for IDataModelScript { +impl core::ops::Deref for IDataModelScript { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -442,7 +442,7 @@ pub struct IDataModelScript_Vtbl { pub InvokeMain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptClient, IDataModelScriptClient_Vtbl, 0x3b362b0e_89f0_46c6_a663_dfdc95194aef); -impl std::ops::Deref for IDataModelScriptClient { +impl core::ops::Deref for IDataModelScriptClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -463,7 +463,7 @@ pub struct IDataModelScriptClient_Vtbl { pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, ErrorClass, windows_core::HRESULT, windows_core::PCWSTR, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebug, IDataModelScriptDebug_Vtbl, 0xde8e0945_9750_4471_ab76_a8f79d6ec350); -impl std::ops::Deref for IDataModelScriptDebug { +impl core::ops::Deref for IDataModelScriptDebug { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -528,7 +528,7 @@ pub struct IDataModelScriptDebug_Vtbl { pub StopDebugging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebug2, IDataModelScriptDebug2_Vtbl, 0xcbb10ed3_839e_426c_9243_e23535c1ae1a); -impl std::ops::Deref for IDataModelScriptDebug2 { +impl core::ops::Deref for IDataModelScriptDebug2 { type Target = IDataModelScriptDebug; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -550,7 +550,7 @@ pub struct IDataModelScriptDebug2_Vtbl { pub SetBreakpointAtFunction: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebugBreakpoint, IDataModelScriptDebugBreakpoint_Vtbl, 0x6bb27b35_02e6_47cb_90a0_5371244032de); -impl std::ops::Deref for IDataModelScriptDebugBreakpoint { +impl core::ops::Deref for IDataModelScriptDebugBreakpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -588,7 +588,7 @@ pub struct IDataModelScriptDebugBreakpoint_Vtbl { pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ScriptDebugPosition, *mut ScriptDebugPosition, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebugBreakpointEnumerator, IDataModelScriptDebugBreakpointEnumerator_Vtbl, 0x39484a75_b4f3_4799_86da_691afa57b299); -impl std::ops::Deref for IDataModelScriptDebugBreakpointEnumerator { +impl core::ops::Deref for IDataModelScriptDebugBreakpointEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -611,7 +611,7 @@ pub struct IDataModelScriptDebugBreakpointEnumerator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebugClient, IDataModelScriptDebugClient_Vtbl, 0x53159b6d_d4c4_471b_a863_5b110ca800ca); -impl std::ops::Deref for IDataModelScriptDebugClient { +impl core::ops::Deref for IDataModelScriptDebugClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -633,7 +633,7 @@ pub struct IDataModelScriptDebugClient_Vtbl { pub NotifyDebugEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const ScriptDebugEventInformation, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut ScriptExecutionKind) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebugStack, IDataModelScriptDebugStack_Vtbl, 0x051364dd_e449_443e_9762_fe578f4a5473); -impl std::ops::Deref for IDataModelScriptDebugStack { +impl core::ops::Deref for IDataModelScriptDebugStack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -656,7 +656,7 @@ pub struct IDataModelScriptDebugStack_Vtbl { pub GetStackFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebugStackFrame, IDataModelScriptDebugStackFrame_Vtbl, 0xdec6ed5e_6360_4941_ab4c_a26409de4f82); -impl std::ops::Deref for IDataModelScriptDebugStackFrame { +impl core::ops::Deref for IDataModelScriptDebugStackFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -706,7 +706,7 @@ pub struct IDataModelScriptDebugStackFrame_Vtbl { pub EnumerateArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptDebugVariableSetEnumerator, IDataModelScriptDebugVariableSetEnumerator_Vtbl, 0x0f9feed7_d045_4ac3_98a8_a98942cf6a35); -impl std::ops::Deref for IDataModelScriptDebugVariableSetEnumerator { +impl core::ops::Deref for IDataModelScriptDebugVariableSetEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -728,7 +728,7 @@ pub struct IDataModelScriptDebugVariableSetEnumerator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptHostContext, IDataModelScriptHostContext_Vtbl, 0x014d366a_1f23_4981_9219_b2db8b402054); -impl std::ops::Deref for IDataModelScriptHostContext { +impl core::ops::Deref for IDataModelScriptHostContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -754,7 +754,7 @@ pub struct IDataModelScriptHostContext_Vtbl { pub GetNamespaceObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptManager, IDataModelScriptManager_Vtbl, 0x6fd11e33_e5ad_410b_8011_68c6bc4bf80d); -impl std::ops::Deref for IDataModelScriptManager { +impl core::ops::Deref for IDataModelScriptManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -808,7 +808,7 @@ pub struct IDataModelScriptManager_Vtbl { pub EnumerateScriptProviders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptProvider, IDataModelScriptProvider_Vtbl, 0x513461e0_4fca_48ce_8658_32f3e2056f3b); -impl std::ops::Deref for IDataModelScriptProvider { +impl core::ops::Deref for IDataModelScriptProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -847,7 +847,7 @@ pub struct IDataModelScriptProvider_Vtbl { pub EnumerateTemplates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptProviderEnumerator, IDataModelScriptProviderEnumerator_Vtbl, 0x95ba00e2_704a_4fe2_a8f1_a7e7d8fb0941); -impl std::ops::Deref for IDataModelScriptProviderEnumerator { +impl core::ops::Deref for IDataModelScriptProviderEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -870,7 +870,7 @@ pub struct IDataModelScriptProviderEnumerator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataModelScriptTemplate, IDataModelScriptTemplate_Vtbl, 0x1303dec4_fa3b_4f1b_9224_b953d16babb5); -impl std::ops::Deref for IDataModelScriptTemplate { +impl core::ops::Deref for IDataModelScriptTemplate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -903,7 +903,7 @@ pub struct IDataModelScriptTemplate_Vtbl { GetContent: usize, } windows_core::imp::define_interface!(IDataModelScriptTemplateEnumerator, IDataModelScriptTemplateEnumerator_Vtbl, 0x69ce6ae2_2268_4e6f_b062_20ce62bfe677); -impl std::ops::Deref for IDataModelScriptTemplateEnumerator { +impl core::ops::Deref for IDataModelScriptTemplateEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -926,7 +926,7 @@ pub struct IDataModelScriptTemplateEnumerator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugAdvanced, IDebugAdvanced_Vtbl, 0xf2df5f53_071f_47bd_9de6_5734c3fed689); -impl std::ops::Deref for IDebugAdvanced { +impl core::ops::Deref for IDebugAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -948,7 +948,7 @@ pub struct IDebugAdvanced_Vtbl { pub SetThreadContext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugAdvanced2, IDebugAdvanced2_Vtbl, 0x716d14c9_119b_4ba5_af1f_0890e672416a); -impl std::ops::Deref for IDebugAdvanced2 { +impl core::ops::Deref for IDebugAdvanced2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -996,7 +996,7 @@ pub struct IDebugAdvanced2_Vtbl { pub GetSystemObjectInformation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugAdvanced3, IDebugAdvanced3_Vtbl, 0xcba4abb4_84c4_444d_87ca_a04e13286739); -impl std::ops::Deref for IDebugAdvanced3 { +impl core::ops::Deref for IDebugAdvanced3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1062,7 +1062,7 @@ pub struct IDebugAdvanced3_Vtbl { pub GetSymbolInformationWide: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugAdvanced4, IDebugAdvanced4_Vtbl, 0xd1069067_2a65_4bf0_ae97_76184b67856b); -impl std::ops::Deref for IDebugAdvanced4 { +impl core::ops::Deref for IDebugAdvanced4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1145,7 +1145,7 @@ pub struct IDebugAdvanced4_Vtbl { pub GetSymbolInformationWideEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PWSTR, u32, *mut u32, *mut SYMBOL_INFO_EX) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugBreakpoint, IDebugBreakpoint_Vtbl, 0x5bd9d474_5975_423a_b88b_65a8e7110e65); -impl std::ops::Deref for IDebugBreakpoint { +impl core::ops::Deref for IDebugBreakpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1256,7 +1256,7 @@ pub struct IDebugBreakpoint_Vtbl { pub GetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugBreakpoint2, IDebugBreakpoint2_Vtbl, 0x1b278d20_79f2_426e_a3f9_c1ddf375d48e); -impl std::ops::Deref for IDebugBreakpoint2 { +impl core::ops::Deref for IDebugBreakpoint2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1389,7 +1389,7 @@ pub struct IDebugBreakpoint2_Vtbl { pub SetOffsetExpressionWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugBreakpoint3, IDebugBreakpoint3_Vtbl, 0x38f5c249_b448_43bb_9835_579d4ec02249); -impl std::ops::Deref for IDebugBreakpoint3 { +impl core::ops::Deref for IDebugBreakpoint3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1527,7 +1527,7 @@ pub struct IDebugBreakpoint3_Vtbl { pub GetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient, IDebugClient_Vtbl, 0x27fe5639_8407_4f47_8364_ee118fb08ac8); -impl std::ops::Deref for IDebugClient { +impl core::ops::Deref for IDebugClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1801,7 +1801,7 @@ pub struct IDebugClient_Vtbl { pub FlushCallbacks: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient2, IDebugClient2_Vtbl, 0xedbed635_372e_4dab_bbfe_ed0d2f63be81); -impl std::ops::Deref for IDebugClient2 { +impl core::ops::Deref for IDebugClient2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2114,7 +2114,7 @@ pub struct IDebugClient2_Vtbl { pub AbandonCurrentProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient3, IDebugClient3_Vtbl, 0xdd492d7f_71b8_4ad6_a8dc_1c887479ff91); -impl std::ops::Deref for IDebugClient3 { +impl core::ops::Deref for IDebugClient3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2465,7 +2465,7 @@ pub struct IDebugClient3_Vtbl { pub CreateProcessAndAttachWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient4, IDebugClient4_Vtbl, 0xca83c3de_5089_4cf8_93c8_d892387f2a5e); -impl std::ops::Deref for IDebugClient4 { +impl core::ops::Deref for IDebugClient4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2851,7 +2851,7 @@ pub struct IDebugClient4_Vtbl { pub GetDumpFileWide: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32, *mut u32, *mut u64, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient5, IDebugClient5_Vtbl, 0xe3acb9d7_7ec2_4f0c_a0da_e81e0cbbe628); -impl std::ops::Deref for IDebugClient5 { +impl core::ops::Deref for IDebugClient5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3423,7 +3423,7 @@ pub struct IDebugClient5_Vtbl { pub SetQuitLockStringWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient6, IDebugClient6_Vtbl, 0xfd28b4c5_c498_4686_a28e_62cad2154eb3); -impl std::ops::Deref for IDebugClient6 { +impl core::ops::Deref for IDebugClient6 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4002,7 +4002,7 @@ pub struct IDebugClient6_Vtbl { pub SetEventContextCallbacks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient7, IDebugClient7_Vtbl, 0x13586be3_542e_481e_b1f2_8497ba74f9a9); -impl std::ops::Deref for IDebugClient7 { +impl core::ops::Deref for IDebugClient7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4585,7 +4585,7 @@ pub struct IDebugClient7_Vtbl { pub SetClientContext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugClient8, IDebugClient8_Vtbl, 0xcec43add_6375_469e_83d5_414e4033c19a); -impl std::ops::Deref for IDebugClient8 { +impl core::ops::Deref for IDebugClient8 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5175,7 +5175,7 @@ pub struct IDebugClient8_Vtbl { pub OpenDumpFileWide2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u64, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugControl, IDebugControl_Vtbl, 0x5182e668_105e_416e_ad92_24ef800424ba); -impl std::ops::Deref for IDebugControl { +impl core::ops::Deref for IDebugControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5678,7 +5678,7 @@ pub struct IDebugControl_Vtbl { pub GetLastEventInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugControl2, IDebugControl2_Vtbl, 0xd4366723_44df_4bed_8c7e_4c05424f4588); -impl std::ops::Deref for IDebugControl2 { +impl core::ops::Deref for IDebugControl2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6235,7 +6235,7 @@ pub struct IDebugControl2_Vtbl { pub OutputTextReplacements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugControl3, IDebugControl3_Vtbl, 0x7df74a86_b03f_407f_90ab_a20dadcead08); -impl std::ops::Deref for IDebugControl3 { +impl core::ops::Deref for IDebugControl3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6866,7 +6866,7 @@ pub struct IDebugControl3_Vtbl { pub SetNextEventIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugControl4, IDebugControl4_Vtbl, 0x94e60ce9_9b41_4b19_9fc0_6d9eb35272b3); -impl std::ops::Deref for IDebugControl4 { +impl core::ops::Deref for IDebugControl4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7830,7 +7830,7 @@ pub struct IDebugControl4_Vtbl { pub ResetManagedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugControl5, IDebugControl5_Vtbl, 0xb2ffe162_2412_429f_8d1d_5bf6dd824696); -impl std::ops::Deref for IDebugControl5 { +impl core::ops::Deref for IDebugControl5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8815,7 +8815,7 @@ pub struct IDebugControl5_Vtbl { pub GetBreakpointByGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugControl6, IDebugControl6_Vtbl, 0xbc0d583f_126d_43a1_9cc4_a860ab1d537b); -impl std::ops::Deref for IDebugControl6 { +impl core::ops::Deref for IDebugControl6 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9809,7 +9809,7 @@ pub struct IDebugControl6_Vtbl { pub GetSynchronizationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugControl7, IDebugControl7_Vtbl, 0xb86fb3b1_80d4_475b_aea3_cf06539cf63a); -impl std::ops::Deref for IDebugControl7 { +impl core::ops::Deref for IDebugControl7 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10807,7 +10807,7 @@ pub struct IDebugControl7_Vtbl { pub GetDebuggeeType2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDataSpaces, IDebugDataSpaces_Vtbl, 0x88f7dfab_3ea7_4c3a_aefb_c4e8106173aa); -impl std::ops::Deref for IDebugDataSpaces { +impl core::ops::Deref for IDebugDataSpaces { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10903,7 +10903,7 @@ pub struct IDebugDataSpaces_Vtbl { pub ReadProcessorSystemData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDataSpaces2, IDebugDataSpaces2_Vtbl, 0x7a5e852f_96e9_468f_ac1b_0b3addc4a049); -impl std::ops::Deref for IDebugDataSpaces2 { +impl core::ops::Deref for IDebugDataSpaces2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11028,7 +11028,7 @@ pub struct IDebugDataSpaces2_Vtbl { QueryVirtual: usize, } windows_core::imp::define_interface!(IDebugDataSpaces3, IDebugDataSpaces3_Vtbl, 0x23f79d6c_8aaf_4f7c_a607_9995f5407e63); -impl std::ops::Deref for IDebugDataSpaces3 { +impl core::ops::Deref for IDebugDataSpaces3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11178,7 +11178,7 @@ pub struct IDebugDataSpaces3_Vtbl { pub EndEnumTagged: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugDataSpaces4, IDebugDataSpaces4_Vtbl, 0xd98ada1f_29e9_4ef5_a6c0_e53349883212); -impl std::ops::Deref for IDebugDataSpaces4 { +impl core::ops::Deref for IDebugDataSpaces4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11370,7 +11370,7 @@ pub struct IDebugDataSpaces4_Vtbl { pub WritePhysical2: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *const core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugEventCallbacks, IDebugEventCallbacks_Vtbl, 0x337be28b_5036_4d72_b6bf_c45fbb9f2eaa); -impl std::ops::Deref for IDebugEventCallbacks { +impl core::ops::Deref for IDebugEventCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11455,7 +11455,7 @@ pub struct IDebugEventCallbacks_Vtbl { pub ChangeSymbolState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugEventCallbacksWide, IDebugEventCallbacksWide_Vtbl, 0x0690e046_9c23_45ac_a04f_987ac29ad0d3); -impl std::ops::Deref for IDebugEventCallbacksWide { +impl core::ops::Deref for IDebugEventCallbacksWide { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11540,7 +11540,7 @@ pub struct IDebugEventCallbacksWide_Vtbl { pub ChangeSymbolState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugEventContextCallbacks, IDebugEventContextCallbacks_Vtbl, 0x61a4905b_23f9_4247_b3c5_53d087529ab7); -impl std::ops::Deref for IDebugEventContextCallbacks { +impl core::ops::Deref for IDebugEventContextCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11664,7 +11664,7 @@ pub struct IDebugFAEntryTags_Vtbl { pub IsValidTagToSet: unsafe extern "system" fn(*mut core::ffi::c_void, DEBUG_FLR_PARAM_TYPE) -> super::super::super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDebugFailureAnalysis, IDebugFailureAnalysis_Vtbl, 0xed0de363_451f_4943_820c_62dccdfa7e6d); -impl std::ops::Deref for IDebugFailureAnalysis { +impl core::ops::Deref for IDebugFailureAnalysis { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11718,7 +11718,7 @@ pub struct IDebugFailureAnalysis_Vtbl { pub NextEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *const FA_ENTRY) -> *mut FA_ENTRY, } windows_core::imp::define_interface!(IDebugFailureAnalysis2, IDebugFailureAnalysis2_Vtbl, 0xea15c288_8226_4b70_acf6_0be6b189e3ad); -impl std::ops::Deref for IDebugFailureAnalysis2 { +impl core::ops::Deref for IDebugFailureAnalysis2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11845,7 +11845,7 @@ pub struct IDebugFailureAnalysis2_Vtbl { pub AddStructuredAnalysisData: unsafe extern "system" fn(*mut core::ffi::c_void, DEBUG_FLR_PARAM_TYPE, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugFailureAnalysis3, IDebugFailureAnalysis3_Vtbl, 0x3627dc67_fd45_42ff_9ba4_4a67ee64619f); -impl std::ops::Deref for IDebugFailureAnalysis3 { +impl core::ops::Deref for IDebugFailureAnalysis3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12076,7 +12076,7 @@ pub struct IDebugFailureAnalysis3_Vtbl { pub DeleteAdditionalXML: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHost, IDebugHost_Vtbl, 0xb8c74943_6b2c_4eeb_b5c5_35d378a6d99d); -impl std::ops::Deref for IDebugHost { +impl core::ops::Deref for IDebugHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12105,7 +12105,7 @@ pub struct IDebugHost_Vtbl { pub GetDefaultMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostBaseClass, IDebugHostBaseClass_Vtbl, 0xb94d57d2_390b_40f7_b5b4_b6db897d974b); -impl std::ops::Deref for IDebugHostBaseClass { +impl core::ops::Deref for IDebugHostBaseClass { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12124,7 +12124,7 @@ pub struct IDebugHostBaseClass_Vtbl { pub GetOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostConstant, IDebugHostConstant_Vtbl, 0x62787edc_fa76_4690_bd71_5e8c3e2937ec); -impl std::ops::Deref for IDebugHostConstant { +impl core::ops::Deref for IDebugHostConstant { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12143,7 +12143,7 @@ pub struct IDebugHostConstant_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostContext, IDebugHostContext_Vtbl, 0xa68c70d8_5ec0_46e5_b775_3134a48ea2e3); -impl std::ops::Deref for IDebugHostContext { +impl core::ops::Deref for IDebugHostContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12165,7 +12165,7 @@ pub struct IDebugHostContext_Vtbl { pub IsEqualTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostData, IDebugHostData_Vtbl, 0xa3d64993_826c_44fa_897d_926f2fe7ad0b); -impl std::ops::Deref for IDebugHostData { +impl core::ops::Deref for IDebugHostData { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12194,7 +12194,7 @@ pub struct IDebugHostData_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostErrorSink, IDebugHostErrorSink_Vtbl, 0xc8ff0f0b_fce9_467e_8bb3_5d69ef109c00); -impl std::ops::Deref for IDebugHostErrorSink { +impl core::ops::Deref for IDebugHostErrorSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12215,7 +12215,7 @@ pub struct IDebugHostErrorSink_Vtbl { pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, ErrorClass, windows_core::HRESULT, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostEvaluator, IDebugHostEvaluator_Vtbl, 0x0fef9a21_577e_4997_ac7b_1c4883241d99); -impl std::ops::Deref for IDebugHostEvaluator { +impl core::ops::Deref for IDebugHostEvaluator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12247,7 +12247,7 @@ pub struct IDebugHostEvaluator_Vtbl { pub EvaluateExtendedExpression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostEvaluator2, IDebugHostEvaluator2_Vtbl, 0xa117a435_1fb4_4092_a2ab_a929576c1e87); -impl std::ops::Deref for IDebugHostEvaluator2 { +impl core::ops::Deref for IDebugHostEvaluator2 { type Target = IDebugHostEvaluator; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12269,7 +12269,7 @@ pub struct IDebugHostEvaluator2_Vtbl { pub AssignTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostExtensibility, IDebugHostExtensibility_Vtbl, 0x3c2b24e1_11d0_4f86_8ae5_4df166f73253); -impl std::ops::Deref for IDebugHostExtensibility { +impl core::ops::Deref for IDebugHostExtensibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12298,7 +12298,7 @@ pub struct IDebugHostExtensibility_Vtbl { pub DestroyFunctionAlias: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostField, IDebugHostField_Vtbl, 0xe06f6495_16bc_4cc9_b11d_2a6b23fa72f3); -impl std::ops::Deref for IDebugHostField { +impl core::ops::Deref for IDebugHostField { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12332,7 +12332,7 @@ pub struct IDebugHostField_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostMemory, IDebugHostMemory_Vtbl, 0x212149c9_9183_4a3e_b00e_4fd1dc95339b); -impl std::ops::Deref for IDebugHostMemory { +impl core::ops::Deref for IDebugHostMemory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12382,7 +12382,7 @@ pub struct IDebugHostMemory_Vtbl { pub GetDisplayStringForLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, u8, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostMemory2, IDebugHostMemory2_Vtbl, 0xeea033de_38f6_416b_a251_1d3771001270); -impl std::ops::Deref for IDebugHostMemory2 { +impl core::ops::Deref for IDebugHostMemory2 { type Target = IDebugHostMemory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12404,7 +12404,7 @@ pub struct IDebugHostMemory2_Vtbl { pub LinearizeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, *mut Location) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostModule, IDebugHostModule_Vtbl, 0xc9ba3e18_d070_4378_bbd0_34613b346e1e); -impl std::ops::Deref for IDebugHostModule { +impl core::ops::Deref for IDebugHostModule { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12453,7 +12453,7 @@ pub struct IDebugHostModule_Vtbl { pub FindSymbolByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostModule2, IDebugHostModule2_Vtbl, 0xb51887e8_bcd0_4e8f_a8c7_434398b78c37); -impl std::ops::Deref for IDebugHostModule2 { +impl core::ops::Deref for IDebugHostModule2 { type Target = IDebugHostModule; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12471,7 +12471,7 @@ pub struct IDebugHostModule2_Vtbl { pub FindContainingSymbolByRVA: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostModuleSignature, IDebugHostModuleSignature_Vtbl, 0x31e53a5a_01ee_4bbb_b899_4b46ae7d595c); -impl std::ops::Deref for IDebugHostModuleSignature { +impl core::ops::Deref for IDebugHostModuleSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12493,7 +12493,7 @@ pub struct IDebugHostModuleSignature_Vtbl { pub IsMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostPublic, IDebugHostPublic_Vtbl, 0x6c597ac9_fb4d_4f6d_9f39_22488539f8f4); -impl std::ops::Deref for IDebugHostPublic { +impl core::ops::Deref for IDebugHostPublic { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12517,7 +12517,7 @@ pub struct IDebugHostPublic_Vtbl { pub GetLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Location) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostScriptHost, IDebugHostScriptHost_Vtbl, 0xb70334a4_b92c_4570_93a1_d3eb686649a0); -impl std::ops::Deref for IDebugHostScriptHost { +impl core::ops::Deref for IDebugHostScriptHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12539,7 +12539,7 @@ pub struct IDebugHostScriptHost_Vtbl { pub CreateContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostStatus, IDebugHostStatus_Vtbl, 0x4f3e1ce2_86b2_4c7a_9c65_d0a9d0eecf44); -impl std::ops::Deref for IDebugHostStatus { +impl core::ops::Deref for IDebugHostStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12558,7 +12558,7 @@ pub struct IDebugHostStatus_Vtbl { pub PollUserInterrupt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostSymbol, IDebugHostSymbol_Vtbl, 0x0f819103_87de_4e96_8277_e05cd441fb22); -impl std::ops::Deref for IDebugHostSymbol { +impl core::ops::Deref for IDebugHostSymbol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12613,7 +12613,7 @@ pub struct IDebugHostSymbol_Vtbl { pub CompareAgainst: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostSymbol2, IDebugHostSymbol2_Vtbl, 0x21515b67_6720_4257_8a68_077dc944471c); -impl std::ops::Deref for IDebugHostSymbol2 { +impl core::ops::Deref for IDebugHostSymbol2 { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12632,7 +12632,7 @@ pub struct IDebugHostSymbol2_Vtbl { pub GetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LanguageKind) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostSymbolEnumerator, IDebugHostSymbolEnumerator_Vtbl, 0x28d96c86_10a3_4976_b14e_eaef4790aa1f); -impl std::ops::Deref for IDebugHostSymbolEnumerator { +impl core::ops::Deref for IDebugHostSymbolEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12655,7 +12655,7 @@ pub struct IDebugHostSymbolEnumerator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostSymbols, IDebugHostSymbols_Vtbl, 0x854fd751_c2e1_4eb2_b525_6619cb97a588); -impl std::ops::Deref for IDebugHostSymbols { +impl core::ops::Deref for IDebugHostSymbols { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12732,7 +12732,7 @@ pub struct IDebugHostSymbols_Vtbl { pub GetMostDerivedObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, *mut core::ffi::c_void, *mut Location, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostType, IDebugHostType_Vtbl, 0x3aadc353_2b14_4abb_9893_5e03458e07ee); -impl std::ops::Deref for IDebugHostType { +impl core::ops::Deref for IDebugHostType { type Target = IDebugHostSymbol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12838,7 +12838,7 @@ pub struct IDebugHostType_Vtbl { pub GetGenericArgumentAt: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostType2, IDebugHostType2_Vtbl, 0xb28632b9_8506_4676_87ce_8f7e05e59876); -impl std::ops::Deref for IDebugHostType2 { +impl core::ops::Deref for IDebugHostType2 { type Target = IDebugHostType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12877,7 +12877,7 @@ pub struct IDebugHostType2_Vtbl { pub GetFunctionInstancePointerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugHostTypeSignature, IDebugHostTypeSignature_Vtbl, 0x3aadc353_2b14_4abb_9893_5e03458e07ee); -impl std::ops::Deref for IDebugHostTypeSignature { +impl core::ops::Deref for IDebugHostTypeSignature { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12911,7 +12911,7 @@ pub struct IDebugHostTypeSignature_Vtbl { pub CompareAgainst: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut SignatureComparison) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugInputCallbacks, IDebugInputCallbacks_Vtbl, 0x9f50e42c_f136_499e_9a97_73036c94ed2d); -impl std::ops::Deref for IDebugInputCallbacks { +impl core::ops::Deref for IDebugInputCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12933,7 +12933,7 @@ pub struct IDebugInputCallbacks_Vtbl { pub EndInput: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugOutputCallbacks, IDebugOutputCallbacks_Vtbl, 0x4bf58045_d654_4c40_b0af_683090f356dc); -impl std::ops::Deref for IDebugOutputCallbacks { +impl core::ops::Deref for IDebugOutputCallbacks { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12954,7 +12954,7 @@ pub struct IDebugOutputCallbacks_Vtbl { pub Output: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugOutputCallbacks2, IDebugOutputCallbacks2_Vtbl, 0x67721fe9_56d2_4a44_a325_2b65513ce6eb); -impl std::ops::Deref for IDebugOutputCallbacks2 { +impl core::ops::Deref for IDebugOutputCallbacks2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12987,7 +12987,7 @@ pub struct IDebugOutputCallbacks2_Vtbl { pub Output2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u64, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugOutputCallbacksWide, IDebugOutputCallbacksWide_Vtbl, 0x4c7fd663_c394_4e26_8ef1_34ad5ed3764c); -impl std::ops::Deref for IDebugOutputCallbacksWide { +impl core::ops::Deref for IDebugOutputCallbacksWide { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13008,7 +13008,7 @@ pub struct IDebugOutputCallbacksWide_Vtbl { pub Output: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugOutputStream, IDebugOutputStream_Vtbl, 0x7782d8f2_2b85_4059_ab88_28ceddca1c80); -impl std::ops::Deref for IDebugOutputStream { +impl core::ops::Deref for IDebugOutputStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13029,7 +13029,7 @@ pub struct IDebugOutputStream_Vtbl { pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugPlmClient, IDebugPlmClient_Vtbl, 0xa02b66c4_aea3_4234_a9f7_fe4c383d4e29); -impl std::ops::Deref for IDebugPlmClient { +impl core::ops::Deref for IDebugPlmClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13052,7 +13052,7 @@ pub struct IDebugPlmClient_Vtbl { pub LaunchPlmPackageForDebugWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugPlmClient2, IDebugPlmClient2_Vtbl, 0x597c980d_e7bd_4309_962c_9d9b69a7372c); -impl std::ops::Deref for IDebugPlmClient2 { +impl core::ops::Deref for IDebugPlmClient2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13083,7 +13083,7 @@ pub struct IDebugPlmClient2_Vtbl { pub LaunchPlmBgTaskForDebugWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugPlmClient3, IDebugPlmClient3_Vtbl, 0xd4a5dbd1_ca02_4d90_856a_2a92bfd0f20f); -impl std::ops::Deref for IDebugPlmClient3 { +impl core::ops::Deref for IDebugPlmClient3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13181,7 +13181,7 @@ pub struct IDebugPlmClient3_Vtbl { pub ActivateAndDebugPlmBgTaskWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugRegisters, IDebugRegisters_Vtbl, 0xce289126_9e84_45a7_937e_67bb18691493); -impl std::ops::Deref for IDebugRegisters { +impl core::ops::Deref for IDebugRegisters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13247,7 +13247,7 @@ pub struct IDebugRegisters_Vtbl { pub GetFrameOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugRegisters2, IDebugRegisters2_Vtbl, 0x1656afa9_19c6_4e3a_97e7_5dc9160cf9c4); -impl std::ops::Deref for IDebugRegisters2 { +impl core::ops::Deref for IDebugRegisters2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13389,7 +13389,7 @@ pub struct IDebugRegisters2_Vtbl { pub GetFrameOffset2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSymbolGroup, IDebugSymbolGroup_Vtbl, 0xf2528316_0f1a_4431_aeed_11d096e1e2ab); -impl std::ops::Deref for IDebugSymbolGroup { +impl core::ops::Deref for IDebugSymbolGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13459,7 +13459,7 @@ pub struct IDebugSymbolGroup_Vtbl { pub OutputAsType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSymbolGroup2, IDebugSymbolGroup2_Vtbl, 0x6a7ccc5f_fb5e_4dcc_b41c_6c20307bccc7); -impl std::ops::Deref for IDebugSymbolGroup2 { +impl core::ops::Deref for IDebugSymbolGroup2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13596,7 +13596,7 @@ pub struct IDebugSymbolGroup2_Vtbl { pub GetSymbolEntryInformation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DEBUG_SYMBOL_ENTRY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSymbols, IDebugSymbols_Vtbl, 0x8c31e98c_983a_48a5_9016_6fe5d667a950); -impl std::ops::Deref for IDebugSymbols { +impl core::ops::Deref for IDebugSymbols { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13885,7 +13885,7 @@ pub struct IDebugSymbols_Vtbl { pub GetSourceFileLineOffsets: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut u64, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSymbols2, IDebugSymbols2_Vtbl, 0x3a707211_afdd_4495_ad4f_56fecdf8163f); -impl std::ops::Deref for IDebugSymbols2 { +impl core::ops::Deref for IDebugSymbols2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14210,7 +14210,7 @@ pub struct IDebugSymbols2_Vtbl { pub SetTypeOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSymbols3, IDebugSymbols3_Vtbl, 0xf02fbecc_50ac_4f36_9ad9_c975e8f32ff8); -impl std::ops::Deref for IDebugSymbols3 { +impl core::ops::Deref for IDebugSymbols3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14905,7 +14905,7 @@ pub struct IDebugSymbols3_Vtbl { pub GetSourceEntryBySourceEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *const DEBUG_SYMBOL_SOURCE_ENTRY, u32, *mut DEBUG_SYMBOL_SOURCE_ENTRY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSymbols4, IDebugSymbols4_Vtbl, 0xe391bbd8_9d8c_4418_840b_c006592a1752); -impl std::ops::Deref for IDebugSymbols4 { +impl core::ops::Deref for IDebugSymbols4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15628,7 +15628,7 @@ pub struct IDebugSymbols4_Vtbl { pub OutputSymbolByInlineContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u64, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSymbols5, IDebugSymbols5_Vtbl, 0xc65fa83e_1e69_475e_8e0e_b5d79e9cc17e); -impl std::ops::Deref for IDebugSymbols5 { +impl core::ops::Deref for IDebugSymbols5 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16360,7 +16360,7 @@ pub struct IDebugSymbols5_Vtbl { pub SetScopeFrameByIndexEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSystemObjects, IDebugSystemObjects_Vtbl, 0x6b86fe2c_2c4f_4f0c_9da2_174311acc327); -impl std::ops::Deref for IDebugSystemObjects { +impl core::ops::Deref for IDebugSystemObjects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16513,7 +16513,7 @@ pub struct IDebugSystemObjects_Vtbl { pub GetCurrentProcessExecutableName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSystemObjects2, IDebugSystemObjects2_Vtbl, 0x0ae9f5ff_1852_4679_b055_494bee6407ee); -impl std::ops::Deref for IDebugSystemObjects2 { +impl core::ops::Deref for IDebugSystemObjects2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16689,7 +16689,7 @@ pub struct IDebugSystemObjects2_Vtbl { pub SetImplicitProcessDataOffset: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSystemObjects3, IDebugSystemObjects3_Vtbl, 0xe9676e2f_e286_4ea3_b0f9_dfe5d9fc330e); -impl std::ops::Deref for IDebugSystemObjects3 { +impl core::ops::Deref for IDebugSystemObjects3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16906,7 +16906,7 @@ pub struct IDebugSystemObjects3_Vtbl { pub GetCurrentSystemServerName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugSystemObjects4, IDebugSystemObjects4_Vtbl, 0x489468e6_7d0f_4af5_87ab_25207454d553); -impl std::ops::Deref for IDebugSystemObjects4 { +impl core::ops::Deref for IDebugSystemObjects4 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17131,7 +17131,7 @@ pub struct IDebugSystemObjects4_Vtbl { pub GetCurrentSystemServerNameWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDynamicConceptProviderConcept, IDynamicConceptProviderConcept_Vtbl, 0x95a7f7dd_602e_483f_9d06_a15c0ee13174); -impl std::ops::Deref for IDynamicConceptProviderConcept { +impl core::ops::Deref for IDynamicConceptProviderConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17179,7 +17179,7 @@ pub struct IDynamicConceptProviderConcept_Vtbl { pub NotifyDestruct: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDynamicKeyProviderConcept, IDynamicKeyProviderConcept_Vtbl, 0xe7983fa1_80a7_498c_988f_518ddc5d4025); -impl std::ops::Deref for IDynamicKeyProviderConcept { +impl core::ops::Deref for IDynamicKeyProviderConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17219,7 +17219,7 @@ pub struct IDynamicKeyProviderConcept_Vtbl { pub EnumerateKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEquatableConcept, IEquatableConcept_Vtbl, 0xc52d5d3d_609d_4d5d_8a82_46b0acdec4f4); -impl std::ops::Deref for IEquatableConcept { +impl core::ops::Deref for IEquatableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17242,7 +17242,7 @@ pub struct IEquatableConcept_Vtbl { pub AreObjectsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostDataModelAccess, IHostDataModelAccess_Vtbl, 0xf2bce54e_4835_4f8a_836e_7981e29904d1); -impl std::ops::Deref for IHostDataModelAccess { +impl core::ops::Deref for IHostDataModelAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17260,7 +17260,7 @@ pub struct IHostDataModelAccess_Vtbl { pub GetDataModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIndexableConcept, IIndexableConcept_Vtbl, 0xd1fad99f_3f53_4457_850c_8051df2d3fb5); -impl std::ops::Deref for IIndexableConcept { +impl core::ops::Deref for IIndexableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17297,7 +17297,7 @@ pub struct IIndexableConcept_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, *const *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIterableConcept, IIterableConcept_Vtbl, 0xf5d49d0c_0b02_4301_9c9b_b3a6037628f3); -impl std::ops::Deref for IIterableConcept { +impl core::ops::Deref for IIterableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17327,7 +17327,7 @@ pub struct IIterableConcept_Vtbl { pub GetIterator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyEnumerator, IKeyEnumerator_Vtbl, 0x345fa92e_5e00_4319_9cae_971f7601cdcf); -impl std::ops::Deref for IKeyEnumerator { +impl core::ops::Deref for IKeyEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17349,7 +17349,7 @@ pub struct IKeyEnumerator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKeyStore, IKeyStore_Vtbl, 0x0fc7557d_401d_4fca_9365_da1e9850697c); -impl std::ops::Deref for IKeyStore { +impl core::ops::Deref for IKeyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17398,7 +17398,7 @@ pub struct IKeyStore_Vtbl { pub ClearKeys: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IModelIterator, IModelIterator_Vtbl, 0xe4622136_927d_4490_874f_581f3e4e3688); -impl std::ops::Deref for IModelIterator { +impl core::ops::Deref for IModelIterator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17420,7 +17420,7 @@ pub struct IModelIterator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IModelKeyReference, IModelKeyReference_Vtbl, 0x5253dcf8_5aff_4c62_b302_56a289e00998); -impl std::ops::Deref for IModelKeyReference { +impl core::ops::Deref for IModelKeyReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17472,7 +17472,7 @@ pub struct IModelKeyReference_Vtbl { pub SetKeyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IModelKeyReference2, IModelKeyReference2_Vtbl, 0x80e2f7c5_7159_4e92_887e_7e0347e88406); -impl std::ops::Deref for IModelKeyReference2 { +impl core::ops::Deref for IModelKeyReference2 { type Target = IModelKeyReference; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17493,7 +17493,7 @@ pub struct IModelKeyReference2_Vtbl { pub OverrideContextObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IModelMethod, IModelMethod_Vtbl, 0x80600c1f_b90b_4896_82ad_1c00207909e8); -impl std::ops::Deref for IModelMethod { +impl core::ops::Deref for IModelMethod { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17514,7 +17514,7 @@ pub struct IModelMethod_Vtbl { pub Call: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, *const *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IModelObject, IModelObject_Vtbl, 0xe28c7893_3f4b_4b96_baca_293cdc55f45d); -impl std::ops::Deref for IModelObject { +impl core::ops::Deref for IModelObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17730,7 +17730,7 @@ pub struct IModelObject_Vtbl { pub IsEqualTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IModelPropertyAccessor, IModelPropertyAccessor_Vtbl, 0x5a0c63d9_0526_42b8_960c_9516a3254c85); -impl std::ops::Deref for IModelPropertyAccessor { +impl core::ops::Deref for IModelPropertyAccessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17762,7 +17762,7 @@ pub struct IModelPropertyAccessor_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPreferredRuntimeTypeConcept, IPreferredRuntimeTypeConcept_Vtbl, 0x9d6c1d7b_a76f_4618_8068_5f76bd9a4e8a); -impl std::ops::Deref for IPreferredRuntimeTypeConcept { +impl core::ops::Deref for IPreferredRuntimeTypeConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17784,7 +17784,7 @@ pub struct IPreferredRuntimeTypeConcept_Vtbl { pub CastToPreferredRuntimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawEnumerator, IRawEnumerator_Vtbl, 0xe13613f9_3a3c_40b5_8f48_1e5ebfb9b21b); -impl std::ops::Deref for IRawEnumerator { +impl core::ops::Deref for IRawEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17806,7 +17806,7 @@ pub struct IRawEnumerator_Vtbl { pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut SymbolKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStringDisplayableConcept, IStringDisplayableConcept_Vtbl, 0xd28e8d70_6c00_4205_940d_501016601ea3); -impl std::ops::Deref for IStringDisplayableConcept { +impl core::ops::Deref for IStringDisplayableConcept { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index dff8645e5a..d89fa39c96 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs @@ -2606,7 +2606,7 @@ where WriteProcessMemory(hprocess.param().abi(), lpbaseaddress, lpbuffer, nsize, core::mem::transmute(lpnumberofbyteswritten.unwrap_or(std::ptr::null_mut()))).ok() } windows_core::imp::define_interface!(IDebugExtendedProperty, IDebugExtendedProperty_Vtbl, 0x51973c52_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugExtendedProperty { +impl core::ops::Deref for IDebugExtendedProperty { type Target = IDebugProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2633,7 +2633,7 @@ pub struct IDebugExtendedProperty_Vtbl { pub EnumExtendedMembers: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugProperty, IDebugProperty_Vtbl, 0x51973c50_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugProperty { +impl core::ops::Deref for IDebugProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2672,7 +2672,7 @@ pub struct IDebugProperty_Vtbl { pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugPropertyEnumType_All, IDebugPropertyEnumType_All_Vtbl, 0x51973c55_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugPropertyEnumType_All { +impl core::ops::Deref for IDebugPropertyEnumType_All { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2691,7 +2691,7 @@ pub struct IDebugPropertyEnumType_All_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDebugPropertyEnumType_Arguments, IDebugPropertyEnumType_Arguments_Vtbl, 0x51973c57_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugPropertyEnumType_Arguments { +impl core::ops::Deref for IDebugPropertyEnumType_Arguments { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2704,7 +2704,7 @@ pub struct IDebugPropertyEnumType_Arguments_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } windows_core::imp::define_interface!(IDebugPropertyEnumType_Locals, IDebugPropertyEnumType_Locals_Vtbl, 0x51973c56_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugPropertyEnumType_Locals { +impl core::ops::Deref for IDebugPropertyEnumType_Locals { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2717,7 +2717,7 @@ pub struct IDebugPropertyEnumType_Locals_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } windows_core::imp::define_interface!(IDebugPropertyEnumType_LocalsPlusArgs, IDebugPropertyEnumType_LocalsPlusArgs_Vtbl, 0x51973c58_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugPropertyEnumType_LocalsPlusArgs { +impl core::ops::Deref for IDebugPropertyEnumType_LocalsPlusArgs { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2730,7 +2730,7 @@ pub struct IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } windows_core::imp::define_interface!(IDebugPropertyEnumType_Registers, IDebugPropertyEnumType_Registers_Vtbl, 0x51973c59_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IDebugPropertyEnumType_Registers { +impl core::ops::Deref for IDebugPropertyEnumType_Registers { type Target = IDebugPropertyEnumType_All; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2743,7 +2743,7 @@ pub struct IDebugPropertyEnumType_Registers_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } windows_core::imp::define_interface!(IEnumDebugExtendedPropertyInfo, IEnumDebugExtendedPropertyInfo_Vtbl, 0x51973c53_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumDebugExtendedPropertyInfo { +impl core::ops::Deref for IEnumDebugExtendedPropertyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2783,7 +2783,7 @@ pub struct IEnumDebugExtendedPropertyInfo_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumDebugPropertyInfo, IEnumDebugPropertyInfo_Vtbl, 0x51973c51_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IEnumDebugPropertyInfo { +impl core::ops::Deref for IEnumDebugPropertyInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2819,7 +2819,7 @@ pub struct IEnumDebugPropertyInfo_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectSafety, IObjectSafety_Vtbl, 0xcb5bdc81_93c1_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IObjectSafety { +impl core::ops::Deref for IObjectSafety { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2841,7 +2841,7 @@ pub struct IObjectSafety_Vtbl { pub SetInterfaceSafetyOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPerPropertyBrowsing2, IPerPropertyBrowsing2_Vtbl, 0x51973c54_cb0c_11d0_b5c9_00a0244a0e7a); -impl std::ops::Deref for IPerPropertyBrowsing2 { +impl core::ops::Deref for IPerPropertyBrowsing2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs index ae7754c2e6..b9654393e3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs @@ -540,7 +540,7 @@ where UpdateTraceW(core::mem::transmute(tracehandle), instancename.param().abi(), properties) } windows_core::imp::define_interface!(ITraceEvent, ITraceEvent_Vtbl, 0x8cc97f40_9028_4ff3_9b62_7d1f79ca7bcb); -impl std::ops::Deref for ITraceEvent { +impl core::ops::Deref for ITraceEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -605,7 +605,7 @@ pub struct ITraceEvent_Vtbl { pub SetProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITraceEventCallback, ITraceEventCallback_Vtbl, 0x3ed25501_593f_43e9_8f38_3ab46f5a4a52); -impl std::ops::Deref for ITraceEventCallback { +impl core::ops::Deref for ITraceEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -642,7 +642,7 @@ pub struct ITraceEventCallback_Vtbl { pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITraceRelogger, ITraceRelogger_Vtbl, 0xf754ad43_3bcc_4286_8009_9c5da214e84e); -impl std::ops::Deref for ITraceRelogger { +impl core::ops::Deref for ITraceRelogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index c4f9fda473..fd7df0e2d7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -35,7 +35,7 @@ where DtcGetTransactionManagerExW(i_pwszhost.param().abi(), i_pwsztmname.param().abi(), i_riid, i_grfoptions, i_pvconfigparams, o_ppvobject).ok() } windows_core::imp::define_interface!(IDtcLuConfigure, IDtcLuConfigure_Vtbl, 0x4131e760_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuConfigure { +impl core::ops::Deref for IDtcLuConfigure { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -57,7 +57,7 @@ pub struct IDtcLuConfigure_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRecovery, IDtcLuRecovery_Vtbl, 0xac2b8ad2_d6f0_11d0_b386_00a0c9083365); -impl std::ops::Deref for IDtcLuRecovery { +impl core::ops::Deref for IDtcLuRecovery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -70,7 +70,7 @@ pub struct IDtcLuRecovery_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IDtcLuRecoveryFactory, IDtcLuRecoveryFactory_Vtbl, 0x4131e762_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRecoveryFactory { +impl core::ops::Deref for IDtcLuRecoveryFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -89,7 +89,7 @@ pub struct IDtcLuRecoveryFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtc, IDtcLuRecoveryInitiatedByDtc_Vtbl, 0x4131e764_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRecoveryInitiatedByDtc { +impl core::ops::Deref for IDtcLuRecoveryInitiatedByDtc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -107,7 +107,7 @@ pub struct IDtcLuRecoveryInitiatedByDtc_Vtbl { pub GetWork: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DTCINITIATEDRECOVERYWORK, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtcStatusWork, IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl, 0x4131e766_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRecoveryInitiatedByDtcStatusWork { +impl core::ops::Deref for IDtcLuRecoveryInitiatedByDtcStatusWork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -125,7 +125,7 @@ pub struct IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl { pub HandleCheckLuStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtcTransWork, IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl, 0x4131e765_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRecoveryInitiatedByDtcTransWork { +impl core::ops::Deref for IDtcLuRecoveryInitiatedByDtcTransWork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -191,7 +191,7 @@ pub struct IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl { pub ObsoleteRecoverySeqNum: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByLu, IDtcLuRecoveryInitiatedByLu_Vtbl, 0x4131e768_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRecoveryInitiatedByLu { +impl core::ops::Deref for IDtcLuRecoveryInitiatedByLu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -210,7 +210,7 @@ pub struct IDtcLuRecoveryInitiatedByLu_Vtbl { pub GetObjectToHandleWorkFromLu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByLuWork, IDtcLuRecoveryInitiatedByLuWork_Vtbl, 0xac2b8ad1_d6f0_11d0_b386_00a0c9083365); -impl std::ops::Deref for IDtcLuRecoveryInitiatedByLuWork { +impl core::ops::Deref for IDtcLuRecoveryInitiatedByLuWork { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -256,7 +256,7 @@ pub struct IDtcLuRecoveryInitiatedByLuWork_Vtbl { pub ConversationLost: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRmEnlistment, IDtcLuRmEnlistment_Vtbl, 0x4131e769_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRmEnlistment { +impl core::ops::Deref for IDtcLuRmEnlistment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -297,7 +297,7 @@ pub struct IDtcLuRmEnlistment_Vtbl { pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRmEnlistmentFactory, IDtcLuRmEnlistmentFactory_Vtbl, 0x4131e771_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRmEnlistmentFactory { +impl core::ops::Deref for IDtcLuRmEnlistmentFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -319,7 +319,7 @@ pub struct IDtcLuRmEnlistmentFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuRmEnlistmentSink, IDtcLuRmEnlistmentSink_Vtbl, 0x4131e770_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuRmEnlistmentSink { +impl core::ops::Deref for IDtcLuRmEnlistmentSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -369,7 +369,7 @@ pub struct IDtcLuRmEnlistmentSink_Vtbl { pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuSubordinateDtc, IDtcLuSubordinateDtc_Vtbl, 0x4131e773_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuSubordinateDtc { +impl core::ops::Deref for IDtcLuSubordinateDtc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -414,7 +414,7 @@ pub struct IDtcLuSubordinateDtc_Vtbl { pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuSubordinateDtcFactory, IDtcLuSubordinateDtcFactory_Vtbl, 0x4131e775_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuSubordinateDtcFactory { +impl core::ops::Deref for IDtcLuSubordinateDtcFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -437,7 +437,7 @@ pub struct IDtcLuSubordinateDtcFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, i32, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcLuSubordinateDtcSink, IDtcLuSubordinateDtcSink_Vtbl, 0x4131e774_1aea_11d0_944b_00a0c905416e); -impl std::ops::Deref for IDtcLuSubordinateDtcSink { +impl core::ops::Deref for IDtcLuSubordinateDtcSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -483,7 +483,7 @@ pub struct IDtcLuSubordinateDtcSink_Vtbl { pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcNetworkAccessConfig, IDtcNetworkAccessConfig_Vtbl, 0x9797c15d_a428_4291_87b6_0995031a678d); -impl std::ops::Deref for IDtcNetworkAccessConfig { +impl core::ops::Deref for IDtcNetworkAccessConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -573,7 +573,7 @@ pub struct IDtcNetworkAccessConfig_Vtbl { pub RestartDtcService: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcNetworkAccessConfig2, IDtcNetworkAccessConfig2_Vtbl, 0xa7aa013b_eb7d_4f42_b41c_b2dec09ae034); -impl std::ops::Deref for IDtcNetworkAccessConfig2 { +impl core::ops::Deref for IDtcNetworkAccessConfig2 { type Target = IDtcNetworkAccessConfig; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -620,7 +620,7 @@ pub struct IDtcNetworkAccessConfig2_Vtbl { pub SetAuthenticationLevel: unsafe extern "system" fn(*mut core::ffi::c_void, AUTHENTICATION_LEVEL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcNetworkAccessConfig3, IDtcNetworkAccessConfig3_Vtbl, 0x76e4b4f3_2ca5_466b_89d5_fd218ee75b49); -impl std::ops::Deref for IDtcNetworkAccessConfig3 { +impl core::ops::Deref for IDtcNetworkAccessConfig3 { type Target = IDtcNetworkAccessConfig2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -646,7 +646,7 @@ pub struct IDtcNetworkAccessConfig3_Vtbl { pub SetLUAccess: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcToXaHelper, IDtcToXaHelper_Vtbl, 0xa9861611_304a_11d1_9813_00a0c905416e); -impl std::ops::Deref for IDtcToXaHelper { +impl core::ops::Deref for IDtcToXaHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -674,7 +674,7 @@ pub struct IDtcToXaHelper_Vtbl { pub TranslateTridToXid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut XID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcToXaHelperFactory, IDtcToXaHelperFactory_Vtbl, 0xa9861610_304a_11d1_9813_00a0c905416e); -impl std::ops::Deref for IDtcToXaHelperFactory { +impl core::ops::Deref for IDtcToXaHelperFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -696,7 +696,7 @@ pub struct IDtcToXaHelperFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, windows_core::PCSTR, *mut windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDtcToXaHelperSinglePipe, IDtcToXaHelperSinglePipe_Vtbl, 0x47ed4971_53b3_11d1_bbb9_00c04fd658f6); -impl std::ops::Deref for IDtcToXaHelperSinglePipe { +impl core::ops::Deref for IDtcToXaHelperSinglePipe { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -738,7 +738,7 @@ pub struct IDtcToXaHelperSinglePipe_Vtbl { pub ReleaseRMCookie: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL), } windows_core::imp::define_interface!(IDtcToXaMapper, IDtcToXaMapper_Vtbl, 0x64ffabe0_7ce9_11d0_8ce6_00c04fdc877e); -impl std::ops::Deref for IDtcToXaMapper { +impl core::ops::Deref for IDtcToXaMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -772,7 +772,7 @@ pub struct IDtcToXaMapper_Vtbl { pub ReleaseResourceManager: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetDispenser, IGetDispenser_Vtbl, 0xc23cc370_87ef_11ce_8081_0080c758527e); -impl std::ops::Deref for IGetDispenser { +impl core::ops::Deref for IGetDispenser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -790,7 +790,7 @@ pub struct IGetDispenser_Vtbl { pub GetDispenser: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKernelTransaction, IKernelTransaction_Vtbl, 0x79427a2b_f895_40e0_be79_b57dc82ed231); -impl std::ops::Deref for IKernelTransaction { +impl core::ops::Deref for IKernelTransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -809,7 +809,7 @@ pub struct IKernelTransaction_Vtbl { pub GetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILastResourceManager, ILastResourceManager_Vtbl, 0x4d964ad4_5b33_11d3_8a91_00c04f79eb6d); -impl std::ops::Deref for ILastResourceManager { +impl core::ops::Deref for ILastResourceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -831,7 +831,7 @@ pub struct ILastResourceManager_Vtbl { pub RecoveryDone: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrepareInfo, IPrepareInfo_Vtbl, 0x80c7bfd0_87ee_11ce_8081_0080c758527e); -impl std::ops::Deref for IPrepareInfo { +impl core::ops::Deref for IPrepareInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -853,7 +853,7 @@ pub struct IPrepareInfo_Vtbl { pub GetPrepareInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrepareInfo2, IPrepareInfo2_Vtbl, 0x5fab2547_9779_11d1_b886_00c04fb9618a); -impl std::ops::Deref for IPrepareInfo2 { +impl core::ops::Deref for IPrepareInfo2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -876,7 +876,7 @@ pub struct IPrepareInfo2_Vtbl { pub GetPrepareInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRMHelper, IRMHelper_Vtbl, 0xe793f6d1_f53d_11cf_a60d_00a0c905416e); -impl std::ops::Deref for IRMHelper { +impl core::ops::Deref for IRMHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -903,7 +903,7 @@ pub struct IRMHelper_Vtbl { pub RMInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut xa_switch_t, super::super::Foundation::BOOL, windows_core::PCSTR, windows_core::PCSTR, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceManager, IResourceManager_Vtbl, 0x13741d21_87eb_11ce_8081_0080c758527e); -impl std::ops::Deref for IResourceManager { +impl core::ops::Deref for IResourceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -938,7 +938,7 @@ pub struct IResourceManager_Vtbl { pub GetDistributedTransactionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceManager2, IResourceManager2_Vtbl, 0xd136c69a_f749_11d1_8f47_00c04f8ee57d); -impl std::ops::Deref for IResourceManager2 { +impl core::ops::Deref for IResourceManager2 { type Target = IResourceManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -965,7 +965,7 @@ pub struct IResourceManager2_Vtbl { pub Reenlist2: unsafe extern "system" fn(*mut core::ffi::c_void, *const XID, u32, *mut XACTSTAT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceManagerFactory, IResourceManagerFactory_Vtbl, 0x13741d20_87eb_11ce_8081_0080c758527e); -impl std::ops::Deref for IResourceManagerFactory { +impl core::ops::Deref for IResourceManagerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -988,7 +988,7 @@ pub struct IResourceManagerFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceManagerFactory2, IResourceManagerFactory2_Vtbl, 0x6b369c21_fbd2_11d1_8f47_00c04f8ee57d); -impl std::ops::Deref for IResourceManagerFactory2 { +impl core::ops::Deref for IResourceManagerFactory2 { type Target = IResourceManagerFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1010,7 +1010,7 @@ pub struct IResourceManagerFactory2_Vtbl { pub CreateEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCSTR, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceManagerRejoinable, IResourceManagerRejoinable_Vtbl, 0x6f6de620_b5df_4f3e_9cfa_c8aebd05172b); -impl std::ops::Deref for IResourceManagerRejoinable { +impl core::ops::Deref for IResourceManagerRejoinable { type Target = IResourceManager2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1029,7 +1029,7 @@ pub struct IResourceManagerRejoinable_Vtbl { pub Rejoin: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, u32, *mut XACTSTAT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResourceManagerSink, IResourceManagerSink_Vtbl, 0x0d563181_defb_11ce_aed1_00aa0051e2c4); -impl std::ops::Deref for IResourceManagerSink { +impl core::ops::Deref for IResourceManagerSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1047,7 +1047,7 @@ pub struct IResourceManagerSink_Vtbl { pub TMDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITipHelper, ITipHelper_Vtbl, 0x17cf72d1_bac5_11d1_b1bf_00c04fc2f3ef); -impl std::ops::Deref for ITipHelper { +impl core::ops::Deref for ITipHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1079,7 +1079,7 @@ pub struct ITipHelper_Vtbl { pub GetLocalTmUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITipPullSink, ITipPullSink_Vtbl, 0x17cf72d2_bac5_11d1_b1bf_00c04fc2f3ef); -impl std::ops::Deref for ITipPullSink { +impl core::ops::Deref for ITipPullSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1097,7 +1097,7 @@ pub struct ITipPullSink_Vtbl { pub PullComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITipTransaction, ITipTransaction_Vtbl, 0x17cf72d0_bac5_11d1_b1bf_00c04fc2f3ef); -impl std::ops::Deref for ITipTransaction { +impl core::ops::Deref for ITipTransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1121,7 +1121,7 @@ pub struct ITipTransaction_Vtbl { pub GetTransactionUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITmNodeName, ITmNodeName_Vtbl, 0x30274f88_6ee4_474e_9b95_7807bc9ef8cf); -impl std::ops::Deref for ITmNodeName { +impl core::ops::Deref for ITmNodeName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1144,7 +1144,7 @@ pub struct ITmNodeName_Vtbl { pub GetNodeName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransaction, ITransaction_Vtbl, 0x0fb15084_af41_11ce_bd2b_204c4f4f5020); -impl std::ops::Deref for ITransaction { +impl core::ops::Deref for ITransaction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1177,7 +1177,7 @@ pub struct ITransaction_Vtbl { pub GetTransactionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XACTTRANSINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransaction2, ITransaction2_Vtbl, 0x34021548_0065_11d3_bac1_00c04f797be2); -impl std::ops::Deref for ITransaction2 { +impl core::ops::Deref for ITransaction2 { type Target = ITransactionCloner; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1195,7 +1195,7 @@ pub struct ITransaction2_Vtbl { pub GetTransactionInfo2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XACTTRANSINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionCloner, ITransactionCloner_Vtbl, 0x02656950_2152_11d0_944c_00a0c905416e); -impl std::ops::Deref for ITransactionCloner { +impl core::ops::Deref for ITransactionCloner { type Target = ITransaction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1214,7 +1214,7 @@ pub struct ITransactionCloner_Vtbl { pub CloneWithCommitDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionDispenser, ITransactionDispenser_Vtbl, 0x3a6ad9e1_23b9_11cf_ad60_00aa00a74ccd); -impl std::ops::Deref for ITransactionDispenser { +impl core::ops::Deref for ITransactionDispenser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1242,7 +1242,7 @@ pub struct ITransactionDispenser_Vtbl { pub BeginTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionEnlistmentAsync, ITransactionEnlistmentAsync_Vtbl, 0x0fb15081_af41_11ce_bd2b_204c4f4f5020); -impl std::ops::Deref for ITransactionEnlistmentAsync { +impl core::ops::Deref for ITransactionEnlistmentAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1275,7 +1275,7 @@ pub struct ITransactionEnlistmentAsync_Vtbl { pub AbortRequestDone: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionExport, ITransactionExport_Vtbl, 0x0141fda5_8fc0_11ce_bd18_204c4f4f5020); -impl std::ops::Deref for ITransactionExport { +impl core::ops::Deref for ITransactionExport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1304,7 +1304,7 @@ pub struct ITransactionExport_Vtbl { pub GetTransactionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionExportFactory, ITransactionExportFactory_Vtbl, 0xe1cf9b53_8745_11ce_a9ba_00aa006c3706); -impl std::ops::Deref for ITransactionExportFactory { +impl core::ops::Deref for ITransactionExportFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1328,7 +1328,7 @@ pub struct ITransactionExportFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionImport, ITransactionImport_Vtbl, 0xe1cf9b5a_8745_11ce_a9ba_00aa006c3706); -impl std::ops::Deref for ITransactionImport { +impl core::ops::Deref for ITransactionImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1340,7 +1340,7 @@ impl ITransactionImport { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Import)(windows_core::Interface::as_raw(self), rgbtransactioncookie.len().try_into().unwrap(), core::mem::transmute(rgbtransactioncookie.as_ptr()), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1350,7 +1350,7 @@ pub struct ITransactionImport_Vtbl { pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionImportWhereabouts, ITransactionImportWhereabouts_Vtbl, 0x0141fda4_8fc0_11ce_bd18_204c4f4f5020); -impl std::ops::Deref for ITransactionImportWhereabouts { +impl core::ops::Deref for ITransactionImportWhereabouts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1373,7 +1373,7 @@ pub struct ITransactionImportWhereabouts_Vtbl { pub GetWhereabouts: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionLastEnlistmentAsync, ITransactionLastEnlistmentAsync_Vtbl, 0xc82bd533_5b30_11d3_8a91_00c04f79eb6d); -impl std::ops::Deref for ITransactionLastEnlistmentAsync { +impl core::ops::Deref for ITransactionLastEnlistmentAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1391,7 +1391,7 @@ pub struct ITransactionLastEnlistmentAsync_Vtbl { pub TransactionOutcome: unsafe extern "system" fn(*mut core::ffi::c_void, XACTSTAT, *const BOID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionLastResourceAsync, ITransactionLastResourceAsync_Vtbl, 0xc82bd532_5b30_11d3_8a91_00c04f79eb6d); -impl std::ops::Deref for ITransactionLastResourceAsync { +impl core::ops::Deref for ITransactionLastResourceAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1413,7 +1413,7 @@ pub struct ITransactionLastResourceAsync_Vtbl { pub ForgetRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const BOID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionOptions, ITransactionOptions_Vtbl, 0x3a6ad9e0_23b9_11cf_ad60_00aa00a74ccd); -impl std::ops::Deref for ITransactionOptions { +impl core::ops::Deref for ITransactionOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1435,7 +1435,7 @@ pub struct ITransactionOptions_Vtbl { pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XACTOPT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionOutcomeEvents, ITransactionOutcomeEvents_Vtbl, 0x3a6ad9e2_23b9_11cf_ad60_00aa00a74ccd); -impl std::ops::Deref for ITransactionOutcomeEvents { +impl core::ops::Deref for ITransactionOutcomeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1471,7 +1471,7 @@ pub struct ITransactionOutcomeEvents_Vtbl { pub Indoubt: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionPhase0EnlistmentAsync, ITransactionPhase0EnlistmentAsync_Vtbl, 0x82dc88e1_a954_11d1_8f88_00600895e7d5); -impl std::ops::Deref for ITransactionPhase0EnlistmentAsync { +impl core::ops::Deref for ITransactionPhase0EnlistmentAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1506,7 +1506,7 @@ pub struct ITransactionPhase0EnlistmentAsync_Vtbl { pub GetTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionPhase0Factory, ITransactionPhase0Factory_Vtbl, 0x82dc88e0_a954_11d1_8f88_00600895e7d5); -impl std::ops::Deref for ITransactionPhase0Factory { +impl core::ops::Deref for ITransactionPhase0Factory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1528,7 +1528,7 @@ pub struct ITransactionPhase0Factory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionPhase0NotifyAsync, ITransactionPhase0NotifyAsync_Vtbl, 0xef081809_0c76_11d2_87a6_00c04f990f34); -impl std::ops::Deref for ITransactionPhase0NotifyAsync { +impl core::ops::Deref for ITransactionPhase0NotifyAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1553,7 +1553,7 @@ pub struct ITransactionPhase0NotifyAsync_Vtbl { pub EnlistCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionReceiver, ITransactionReceiver_Vtbl, 0x59313e03_b36c_11cf_a539_00aa006887c3); -impl std::ops::Deref for ITransactionReceiver { +impl core::ops::Deref for ITransactionReceiver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1585,7 +1585,7 @@ pub struct ITransactionReceiver_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionReceiverFactory, ITransactionReceiverFactory_Vtbl, 0x59313e02_b36c_11cf_a539_00aa006887c3); -impl std::ops::Deref for ITransactionReceiverFactory { +impl core::ops::Deref for ITransactionReceiverFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1604,7 +1604,7 @@ pub struct ITransactionReceiverFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionResource, ITransactionResource_Vtbl, 0xee5ff7b3_4572_11d0_9452_00a0c905416e); -impl std::ops::Deref for ITransactionResource { +impl core::ops::Deref for ITransactionResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1642,7 +1642,7 @@ pub struct ITransactionResource_Vtbl { pub TMDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionResourceAsync, ITransactionResourceAsync_Vtbl, 0x69e971f0_23ce_11cf_ad60_00aa00a74ccd); -impl std::ops::Deref for ITransactionResourceAsync { +impl core::ops::Deref for ITransactionResourceAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1680,7 +1680,7 @@ pub struct ITransactionResourceAsync_Vtbl { pub TMDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionTransmitter, ITransactionTransmitter_Vtbl, 0x59313e01_b36c_11cf_a539_00aa006887c3); -impl std::ops::Deref for ITransactionTransmitter { +impl core::ops::Deref for ITransactionTransmitter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1718,7 +1718,7 @@ pub struct ITransactionTransmitter_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionTransmitterFactory, ITransactionTransmitterFactory_Vtbl, 0x59313e00_b36c_11cf_a539_00aa006887c3); -impl std::ops::Deref for ITransactionTransmitterFactory { +impl core::ops::Deref for ITransactionTransmitterFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1737,7 +1737,7 @@ pub struct ITransactionTransmitterFactory_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionVoterBallotAsync2, ITransactionVoterBallotAsync2_Vtbl, 0x5433376c_414d_11d3_b206_00c04fc2f3ef); -impl std::ops::Deref for ITransactionVoterBallotAsync2 { +impl core::ops::Deref for ITransactionVoterBallotAsync2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1755,7 +1755,7 @@ pub struct ITransactionVoterBallotAsync2_Vtbl { pub VoteRequestDone: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *const BOID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionVoterFactory2, ITransactionVoterFactory2_Vtbl, 0x5433376a_414d_11d3_b206_00c04fc2f3ef); -impl std::ops::Deref for ITransactionVoterFactory2 { +impl core::ops::Deref for ITransactionVoterFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1778,7 +1778,7 @@ pub struct ITransactionVoterFactory2_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionVoterNotifyAsync2, ITransactionVoterNotifyAsync2_Vtbl, 0x5433376b_414d_11d3_b206_00c04fc2f3ef); -impl std::ops::Deref for ITransactionVoterNotifyAsync2 { +impl core::ops::Deref for ITransactionVoterNotifyAsync2 { type Target = ITransactionOutcomeEvents; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1796,7 +1796,7 @@ pub struct ITransactionVoterNotifyAsync2_Vtbl { pub VoteRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXAConfig, IXAConfig_Vtbl, 0xc8a6e3a1_9a8c_11cf_a308_00a0c905416e); -impl std::ops::Deref for IXAConfig { +impl core::ops::Deref for IXAConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1818,7 +1818,7 @@ pub struct IXAConfig_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXAObtainRMInfo, IXAObtainRMInfo_Vtbl, 0xe793f6d2_f53d_11cf_a60d_00a0c905416e); -impl std::ops::Deref for IXAObtainRMInfo { +impl core::ops::Deref for IXAObtainRMInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1839,7 +1839,7 @@ pub struct IXAObtainRMInfo_Vtbl { pub ObtainRMInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXATransLookup, IXATransLookup_Vtbl, 0xf3b1f131_eeda_11ce_aed4_00aa0051e2c4); -impl std::ops::Deref for IXATransLookup { +impl core::ops::Deref for IXATransLookup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1858,7 +1858,7 @@ pub struct IXATransLookup_Vtbl { pub Lookup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IXATransLookup2, IXATransLookup2_Vtbl, 0xbf193c85_0d1a_4290_b88f_d2cb8873d1e7); -impl std::ops::Deref for IXATransLookup2 { +impl core::ops::Deref for IXATransLookup2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs index 8e53beafff..2ed04b9715 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -22,7 +22,7 @@ pub unsafe fn IsNetworkAlive(lpdwflags: *mut u32) -> windows_core::Result<()> { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISensLogon, ISensLogon_Vtbl, 0xd597bab3_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISensLogon { +impl core::ops::Deref for ISensLogon { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -90,7 +90,7 @@ pub struct ISensLogon_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISensLogon2, ISensLogon2_Vtbl, 0xd597bab4_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISensLogon2 { +impl core::ops::Deref for ISensLogon2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -144,7 +144,7 @@ pub struct ISensLogon2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISensNetwork, ISensNetwork_Vtbl, 0xd597bab1_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISensNetwork { +impl core::ops::Deref for ISensNetwork { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -200,7 +200,7 @@ pub struct ISensNetwork_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISensOnNow, ISensOnNow_Vtbl, 0xd597bab2_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISensOnNow { +impl core::ops::Deref for ISensOnNow { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs index 0440bfadf0..986f4ec32a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -254,7 +254,7 @@ where UnregisterGPNotification(hevent.param().abi()).ok() } windows_core::imp::define_interface!(IGPEInformation, IGPEInformation_Vtbl, 0x8fc0b735_a0e1_11d1_a7d3_0000f87571e3); -impl std::ops::Deref for IGPEInformation { +impl core::ops::Deref for IGPEInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -314,7 +314,7 @@ pub struct IGPEInformation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPM, IGPM_Vtbl, 0xf5fae809_3bd6_4da9_a65e_17665b41d763); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPM { +impl core::ops::Deref for IGPM { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -464,7 +464,7 @@ pub struct IGPM_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPM2, IGPM2_Vtbl, 0x00238f8a_3d86_41ac_8f5e_06a6638a634a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPM2 { +impl core::ops::Deref for IGPM2 { type Target = IGPM; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -502,7 +502,7 @@ pub struct IGPM2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMAsyncCancel, IGPMAsyncCancel_Vtbl, 0xddc67754_be67_4541_8166_f48166868c9c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMAsyncCancel { +impl core::ops::Deref for IGPMAsyncCancel { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -525,7 +525,7 @@ pub struct IGPMAsyncCancel_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMAsyncProgress, IGPMAsyncProgress_Vtbl, 0x6aac29f8_5948_4324_bf70_423818942dbc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMAsyncProgress { +impl core::ops::Deref for IGPMAsyncProgress { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -555,7 +555,7 @@ pub struct IGPMAsyncProgress_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMBackup, IGPMBackup_Vtbl, 0xd8a16a35_3b0d_416b_8d02_4df6f95a7119); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMBackup { +impl core::ops::Deref for IGPMBackup { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -634,7 +634,7 @@ pub struct IGPMBackup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMBackupCollection, IGPMBackupCollection_Vtbl, 0xc786fc0f_26d8_4bab_a745_39ca7e800cac); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMBackupCollection { +impl core::ops::Deref for IGPMBackupCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -672,7 +672,7 @@ pub struct IGPMBackupCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMBackupDir, IGPMBackupDir_Vtbl, 0xb1568bed_0a93_4acc_810f_afe7081019b9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMBackupDir { +impl core::ops::Deref for IGPMBackupDir { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -720,7 +720,7 @@ pub struct IGPMBackupDir_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMBackupDirEx, IGPMBackupDirEx_Vtbl, 0xf8dc55ed_3ba0_4864_aad4_d365189ee1d5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMBackupDirEx { +impl core::ops::Deref for IGPMBackupDirEx { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -769,7 +769,7 @@ pub struct IGPMBackupDirEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMCSECollection, IGPMCSECollection_Vtbl, 0x2e52a97d_0a4a_4a6f_85db_201622455da0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMCSECollection { +impl core::ops::Deref for IGPMCSECollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -807,7 +807,7 @@ pub struct IGPMCSECollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMClientSideExtension, IGPMClientSideExtension_Vtbl, 0x69da7488_b8db_415e_9266_901be4d49928); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMClientSideExtension { +impl core::ops::Deref for IGPMClientSideExtension { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -846,7 +846,7 @@ pub struct IGPMClientSideExtension_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMConstants, IGPMConstants_Vtbl, 0x50ef73e6_d35c_4c8d_be63_7ea5d2aac5c4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMConstants { +impl core::ops::Deref for IGPMConstants { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1174,7 +1174,7 @@ pub struct IGPMConstants_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMConstants2, IGPMConstants2_Vtbl, 0x05ae21b0_ac09_4032_a26f_9e7da786dc19); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMConstants2 { +impl core::ops::Deref for IGPMConstants2 { type Target = IGPMConstants; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1268,7 +1268,7 @@ pub struct IGPMConstants2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMDomain, IGPMDomain_Vtbl, 0x6b21cc14_5a00_4f44_a738_feec8a94c7e3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMDomain { +impl core::ops::Deref for IGPMDomain { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1390,7 +1390,7 @@ pub struct IGPMDomain_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMDomain2, IGPMDomain2_Vtbl, 0x7ca6bb8b_f1eb_490a_938d_3c4e51c768e6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMDomain2 { +impl core::ops::Deref for IGPMDomain2 { type Target = IGPMDomain; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1479,7 +1479,7 @@ pub struct IGPMDomain2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMDomain3, IGPMDomain3_Vtbl, 0x0077fdfe_88c7_4acf_a11d_d10a7c310a03); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMDomain3 { +impl core::ops::Deref for IGPMDomain3 { type Target = IGPMDomain2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1523,7 +1523,7 @@ pub struct IGPMDomain3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMGPO, IGPMGPO_Vtbl, 0x58cc4352_1ca3_48e5_9864_1da4d6e0d60f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMGPO { +impl core::ops::Deref for IGPMGPO { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1754,7 +1754,7 @@ pub struct IGPMGPO_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMGPO2, IGPMGPO2_Vtbl, 0x8a66a210_b78b_4d99_88e2_c306a817c925); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMGPO2 { +impl core::ops::Deref for IGPMGPO2 { type Target = IGPMGPO; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1785,7 +1785,7 @@ pub struct IGPMGPO2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMGPO3, IGPMGPO3_Vtbl, 0x7cf123a1_f94a_4112_bfae_6aa1db9cb248); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMGPO3 { +impl core::ops::Deref for IGPMGPO3 { type Target = IGPMGPO2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1820,7 +1820,7 @@ pub struct IGPMGPO3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMGPOCollection, IGPMGPOCollection_Vtbl, 0xf0f0d5cf_70ca_4c39_9e29_b642f8726c01); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMGPOCollection { +impl core::ops::Deref for IGPMGPOCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1858,7 +1858,7 @@ pub struct IGPMGPOCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMGPOLink, IGPMGPOLink_Vtbl, 0x434b99bd_5de7_478a_809c_c251721df70c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMGPOLink { +impl core::ops::Deref for IGPMGPOLink { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1929,7 +1929,7 @@ pub struct IGPMGPOLink_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMGPOLinksCollection, IGPMGPOLinksCollection_Vtbl, 0x189d7b68_16bd_4d0d_a2ec_2e6aa2288c7f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMGPOLinksCollection { +impl core::ops::Deref for IGPMGPOLinksCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1967,7 +1967,7 @@ pub struct IGPMGPOLinksCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMMapEntry, IGPMMapEntry_Vtbl, 0x8e79ad06_2381_4444_be4c_ff693e6e6f2b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMMapEntry { +impl core::ops::Deref for IGPMMapEntry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2006,7 +2006,7 @@ pub struct IGPMMapEntry_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMMapEntryCollection, IGPMMapEntryCollection_Vtbl, 0xbb0bf49b_e53f_443f_b807_8be22bfb6d42); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMMapEntryCollection { +impl core::ops::Deref for IGPMMapEntryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2044,7 +2044,7 @@ pub struct IGPMMapEntryCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMMigrationTable, IGPMMigrationTable_Vtbl, 0x48f823b1_efaf_470b_b6ed_40d14ee1a4ec); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMMigrationTable { +impl core::ops::Deref for IGPMMigrationTable { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2138,7 +2138,7 @@ pub struct IGPMMigrationTable_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMPermission, IGPMPermission_Vtbl, 0x35ebca40_e1a1_4a02_8905_d79416fb464a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMPermission { +impl core::ops::Deref for IGPMPermission { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2186,7 +2186,7 @@ pub struct IGPMPermission_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMRSOP, IGPMRSOP_Vtbl, 0x49ed785a_3237_4ff2_b1f0_fdf5a8d5a1ee); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMRSOP { +impl core::ops::Deref for IGPMRSOP { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2411,7 +2411,7 @@ pub struct IGPMRSOP_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMResult, IGPMResult_Vtbl, 0x86dff7e9_f76f_42ab_9570_cebc6be8a52d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMResult { +impl core::ops::Deref for IGPMResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2448,7 +2448,7 @@ pub struct IGPMResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMSOM, IGPMSOM_Vtbl, 0xc0a7f09e_05a1_4f0c_8158_9e5c33684f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMSOM { +impl core::ops::Deref for IGPMSOM { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2544,7 +2544,7 @@ pub struct IGPMSOM_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMSOMCollection, IGPMSOMCollection_Vtbl, 0xadc1688e_00e4_4495_abba_bed200df0cab); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMSOMCollection { +impl core::ops::Deref for IGPMSOMCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2582,7 +2582,7 @@ pub struct IGPMSOMCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMSearchCriteria, IGPMSearchCriteria_Vtbl, 0xd6f11c42_829b_48d4_83f5_3615b67dfc22); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMSearchCriteria { +impl core::ops::Deref for IGPMSearchCriteria { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2608,7 +2608,7 @@ pub struct IGPMSearchCriteria_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMSecurityInfo, IGPMSecurityInfo_Vtbl, 0xb6c31ed4_1c93_4d3e_ae84_eb6d61161b60); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMSecurityInfo { +impl core::ops::Deref for IGPMSecurityInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2675,7 +2675,7 @@ pub struct IGPMSecurityInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMSitesContainer, IGPMSitesContainer_Vtbl, 0x4725a899_2782_4d27_a6bb_d499246ffd72); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMSitesContainer { +impl core::ops::Deref for IGPMSitesContainer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2733,7 +2733,7 @@ pub struct IGPMSitesContainer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMStarterGPO, IGPMStarterGPO_Vtbl, 0xdfc3f61b_8880_4490_9337_d29c7ba8c2f0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMStarterGPO { +impl core::ops::Deref for IGPMStarterGPO { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2902,7 +2902,7 @@ pub struct IGPMStarterGPO_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMStarterGPOBackup, IGPMStarterGPOBackup_Vtbl, 0x51d98eda_a87e_43dd_b80a_0b66ef1938d6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMStarterGPOBackup { +impl core::ops::Deref for IGPMStarterGPOBackup { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2986,7 +2986,7 @@ pub struct IGPMStarterGPOBackup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMStarterGPOBackupCollection, IGPMStarterGPOBackupCollection_Vtbl, 0xc998031d_add0_4bb5_8dea_298505d8423b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMStarterGPOBackupCollection { +impl core::ops::Deref for IGPMStarterGPOBackupCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3024,7 +3024,7 @@ pub struct IGPMStarterGPOBackupCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMStarterGPOCollection, IGPMStarterGPOCollection_Vtbl, 0x2e522729_2219_44ad_933a_64dfd650c423); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMStarterGPOCollection { +impl core::ops::Deref for IGPMStarterGPOCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3062,7 +3062,7 @@ pub struct IGPMStarterGPOCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMStatusMessage, IGPMStatusMessage_Vtbl, 0x8496c22f_f3de_4a1f_8f58_603caaa93d7b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMStatusMessage { +impl core::ops::Deref for IGPMStatusMessage { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3109,7 +3109,7 @@ pub struct IGPMStatusMessage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMStatusMsgCollection, IGPMStatusMsgCollection_Vtbl, 0x9b6e1af0_1a92_40f3_a59d_f36ac1f728b7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMStatusMsgCollection { +impl core::ops::Deref for IGPMStatusMsgCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3147,7 +3147,7 @@ pub struct IGPMStatusMsgCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMTrustee, IGPMTrustee_Vtbl, 0x3b466da8_c1a4_4b2a_999a_befcdd56cefb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMTrustee { +impl core::ops::Deref for IGPMTrustee { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3191,7 +3191,7 @@ pub struct IGPMTrustee_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMWMIFilter, IGPMWMIFilter_Vtbl, 0xef2ff9b4_3c27_459a_b979_038305cec75d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMWMIFilter { +impl core::ops::Deref for IGPMWMIFilter { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3264,7 +3264,7 @@ pub struct IGPMWMIFilter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IGPMWMIFilterCollection, IGPMWMIFilterCollection_Vtbl, 0x5782d582_1a36_4661_8a94_c3c32551945b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IGPMWMIFilterCollection { +impl core::ops::Deref for IGPMWMIFilterCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3300,7 +3300,7 @@ pub struct IGPMWMIFilterCollection_Vtbl { _NewEnum: usize, } windows_core::imp::define_interface!(IGroupPolicyObject, IGroupPolicyObject_Vtbl, 0xea502723_a23d_11d1_a7d3_0000f87571e3); -impl std::ops::Deref for IGroupPolicyObject { +impl core::ops::Deref for IGroupPolicyObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3411,7 +3411,7 @@ pub struct IGroupPolicyObject_Vtbl { GetPropertySheetPages: usize, } windows_core::imp::define_interface!(IRSOPInformation, IRSOPInformation_Vtbl, 0x9a5a81b5_d9c7_49ef_9d11_ddf50968c48d); -impl std::ops::Deref for IRSOPInformation { +impl core::ops::Deref for IRSOPInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs index 4688a2d243..fed6741615 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -19,7 +19,7 @@ pub unsafe fn HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u3 HttpFilterProc(pfc, notificationtype, pvnotification) } windows_core::imp::define_interface!(AsyncIFtpAuthenticationProvider, AsyncIFtpAuthenticationProvider_Vtbl, 0xc24efb65_9f3e_4996_8fb1_ce166916bab5); -impl std::ops::Deref for AsyncIFtpAuthenticationProvider { +impl core::ops::Deref for AsyncIFtpAuthenticationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -47,7 +47,7 @@ pub struct AsyncIFtpAuthenticationProvider_Vtbl { pub Finish_AuthenticateUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIFtpAuthorizationProvider, AsyncIFtpAuthorizationProvider_Vtbl, 0x860dc339_07e5_4a5c_9c61_8820cea012bc); -impl std::ops::Deref for AsyncIFtpAuthorizationProvider { +impl core::ops::Deref for AsyncIFtpAuthorizationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -76,7 +76,7 @@ pub struct AsyncIFtpAuthorizationProvider_Vtbl { pub Finish_GetUserAccessPermission: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FTP_ACCESS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIFtpHomeDirectoryProvider, AsyncIFtpHomeDirectoryProvider_Vtbl, 0x73f81638_6295_42bd_a2be_4a657f7c479c); -impl std::ops::Deref for AsyncIFtpHomeDirectoryProvider { +impl core::ops::Deref for AsyncIFtpHomeDirectoryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -104,7 +104,7 @@ pub struct AsyncIFtpHomeDirectoryProvider_Vtbl { pub Finish_GetUserHomeDirectoryData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIFtpLogProvider, AsyncIFtpLogProvider_Vtbl, 0x00a0ae46_2498_48b2_95e6_df678ed7d49f); -impl std::ops::Deref for AsyncIFtpLogProvider { +impl core::ops::Deref for AsyncIFtpLogProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -126,7 +126,7 @@ pub struct AsyncIFtpLogProvider_Vtbl { pub Finish_Log: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIFtpPostprocessProvider, AsyncIFtpPostprocessProvider_Vtbl, 0xa16b2542_9694_4eb1_a564_6c2e91fdc133); -impl std::ops::Deref for AsyncIFtpPostprocessProvider { +impl core::ops::Deref for AsyncIFtpPostprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -149,7 +149,7 @@ pub struct AsyncIFtpPostprocessProvider_Vtbl { pub Finish_HandlePostprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIFtpPreprocessProvider, AsyncIFtpPreprocessProvider_Vtbl, 0x6ff5fd8f_fd8e_48b1_a3e0_bf7073db4db5); -impl std::ops::Deref for AsyncIFtpPreprocessProvider { +impl core::ops::Deref for AsyncIFtpPreprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -172,7 +172,7 @@ pub struct AsyncIFtpPreprocessProvider_Vtbl { pub Finish_HandlePreprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIFtpRoleProvider, AsyncIFtpRoleProvider_Vtbl, 0x3e83bf99_70ec_41ca_84b6_aca7c7a62caf); -impl std::ops::Deref for AsyncIFtpRoleProvider { +impl core::ops::Deref for AsyncIFtpRoleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -201,7 +201,7 @@ pub struct AsyncIFtpRoleProvider_Vtbl { pub Finish_IsUserInRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(AsyncIMSAdminBaseSinkW, AsyncIMSAdminBaseSinkW_Vtbl, 0xa9e69613_b80d_11d0_b9b9_00a0c922e750); -impl std::ops::Deref for AsyncIMSAdminBaseSinkW { +impl core::ops::Deref for AsyncIMSAdminBaseSinkW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -231,7 +231,7 @@ pub struct AsyncIMSAdminBaseSinkW_Vtbl { pub Finish_ShutdownNotify: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IADMEXT, IADMEXT_Vtbl, 0x51dfe970_f6f2_11d0_b9bd_00a0c922e750); -impl std::ops::Deref for IADMEXT { +impl core::ops::Deref for IADMEXT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -257,7 +257,7 @@ pub struct IADMEXT_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFtpAuthenticationProvider, IFtpAuthenticationProvider_Vtbl, 0x4659f95c_d5a8_4707_b2fc_6fd5794246cf); -impl std::ops::Deref for IFtpAuthenticationProvider { +impl core::ops::Deref for IFtpAuthenticationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -281,7 +281,7 @@ pub struct IFtpAuthenticationProvider_Vtbl { pub AuthenticateUser: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFtpAuthorizationProvider, IFtpAuthorizationProvider_Vtbl, 0xa50ae7a1_a35a_42b4_a4f3_f4f7057a05d1); -impl std::ops::Deref for IFtpAuthorizationProvider { +impl core::ops::Deref for IFtpAuthorizationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -306,7 +306,7 @@ pub struct IFtpAuthorizationProvider_Vtbl { pub GetUserAccessPermission: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut FTP_ACCESS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFtpHomeDirectoryProvider, IFtpHomeDirectoryProvider_Vtbl, 0x0933b392_18dd_4097_8b9c_83325c35d9a6); -impl std::ops::Deref for IFtpHomeDirectoryProvider { +impl core::ops::Deref for IFtpHomeDirectoryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -330,7 +330,7 @@ pub struct IFtpHomeDirectoryProvider_Vtbl { pub GetUserHomeDirectoryData: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFtpLogProvider, IFtpLogProvider_Vtbl, 0xa18a94cc_8299_4408_816c_7c3baca1a40e); -impl std::ops::Deref for IFtpLogProvider { +impl core::ops::Deref for IFtpLogProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -348,7 +348,7 @@ pub struct IFtpLogProvider_Vtbl { pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, *const LOGGING_PARAMETERS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFtpPostprocessProvider, IFtpPostprocessProvider_Vtbl, 0x4522cbc6_16cd_49ad_8653_9a2c579e4280); -impl std::ops::Deref for IFtpPostprocessProvider { +impl core::ops::Deref for IFtpPostprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -367,7 +367,7 @@ pub struct IFtpPostprocessProvider_Vtbl { pub HandlePostprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *const POST_PROCESS_PARAMETERS, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFtpPreprocessProvider, IFtpPreprocessProvider_Vtbl, 0xa3c19b60_5a28_471a_8f93_ab30411cee82); -impl std::ops::Deref for IFtpPreprocessProvider { +impl core::ops::Deref for IFtpPreprocessProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -386,7 +386,7 @@ pub struct IFtpPreprocessProvider_Vtbl { pub HandlePreprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *const PRE_PROCESS_PARAMETERS, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFtpProviderConstruct, IFtpProviderConstruct_Vtbl, 0x4d1a3f7b_412d_447c_b199_64f967e9a2da); -impl std::ops::Deref for IFtpProviderConstruct { +impl core::ops::Deref for IFtpProviderConstruct { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -408,7 +408,7 @@ pub struct IFtpProviderConstruct_Vtbl { Construct: usize, } windows_core::imp::define_interface!(IFtpRoleProvider, IFtpRoleProvider_Vtbl, 0x909c850d_8ca0_4674_96b8_cc2941535725); -impl std::ops::Deref for IFtpRoleProvider { +impl core::ops::Deref for IFtpRoleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -433,7 +433,7 @@ pub struct IFtpRoleProvider_Vtbl { pub IsUserInRole: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMSAdminBase2W, IMSAdminBase2W_Vtbl, 0x8298d101_f992_43b7_8eca_5052d885b995); -impl std::ops::Deref for IMSAdminBase2W { +impl core::ops::Deref for IMSAdminBase2W { type Target = IMSAdminBaseW; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -493,7 +493,7 @@ pub struct IMSAdminBase2W_Vtbl { pub EnumHistory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32, *mut u32, *mut super::super::Foundation::FILETIME, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMSAdminBase3W, IMSAdminBase3W_Vtbl, 0xf612954d_3b0b_4c56_9563_227b7be624b4); -impl std::ops::Deref for IMSAdminBase3W { +impl core::ops::Deref for IMSAdminBase3W { type Target = IMSAdminBase2W; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -514,7 +514,7 @@ pub struct IMSAdminBase3W_Vtbl { pub GetChildPaths: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMSAdminBaseSinkW, IMSAdminBaseSinkW_Vtbl, 0xa9e69612_b80d_11d0_b9b9_00a0c922e750); -impl std::ops::Deref for IMSAdminBaseSinkW { +impl core::ops::Deref for IMSAdminBaseSinkW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -536,7 +536,7 @@ pub struct IMSAdminBaseSinkW_Vtbl { pub ShutdownNotify: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMSAdminBaseW, IMSAdminBaseW_Vtbl, 0x70b51430_b6ca_11d0_b9b9_00a0c922e750); -impl std::ops::Deref for IMSAdminBaseW { +impl core::ops::Deref for IMSAdminBaseW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -750,7 +750,7 @@ pub struct IMSAdminBaseW_Vtbl { pub GetServerGuid: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMSImpExpHelpW, IMSImpExpHelpW_Vtbl, 0x29ff67ff_8050_480f_9f30_cc41635f2f9d); -impl std::ops::Deref for IMSImpExpHelpW { +impl core::ops::Deref for IMSImpExpHelpW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs index 20edde38dd..a214b2e825 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -260,7 +260,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQApplication, IMSMQApplication_Vtbl, 0xd7d6e085_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQApplication { +impl core::ops::Deref for IMSMQApplication { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -287,7 +287,7 @@ pub struct IMSMQApplication_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQApplication2, IMSMQApplication2_Vtbl, 0x12a30900_7300_11d2_b0e6_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQApplication2 { +impl core::ops::Deref for IMSMQApplication2 { type Target = IMSMQApplication; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -347,7 +347,7 @@ pub struct IMSMQApplication2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQApplication3, IMSMQApplication3_Vtbl, 0xeba96b1f_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQApplication3 { +impl core::ops::Deref for IMSMQApplication3 { type Target = IMSMQApplication2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -415,7 +415,7 @@ pub struct IMSMQApplication3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQCollection, IMSMQCollection_Vtbl, 0x0188ac2f_ecb3_4173_9779_635ca2039c72); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQCollection { +impl core::ops::Deref for IMSMQCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -449,7 +449,7 @@ pub struct IMSMQCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser, IMSMQCoordinatedTransactionDispenser_Vtbl, 0xd7d6e081_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQCoordinatedTransactionDispenser { +impl core::ops::Deref for IMSMQCoordinatedTransactionDispenser { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -477,7 +477,7 @@ pub struct IMSMQCoordinatedTransactionDispenser_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser2, IMSMQCoordinatedTransactionDispenser2_Vtbl, 0xeba96b10_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQCoordinatedTransactionDispenser2 { +impl core::ops::Deref for IMSMQCoordinatedTransactionDispenser2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -514,7 +514,7 @@ pub struct IMSMQCoordinatedTransactionDispenser2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser3, IMSMQCoordinatedTransactionDispenser3_Vtbl, 0xeba96b14_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQCoordinatedTransactionDispenser3 { +impl core::ops::Deref for IMSMQCoordinatedTransactionDispenser3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -551,7 +551,7 @@ pub struct IMSMQCoordinatedTransactionDispenser3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQDestination, IMSMQDestination_Vtbl, 0xeba96b16_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQDestination { +impl core::ops::Deref for IMSMQDestination { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -668,7 +668,7 @@ pub struct IMSMQDestination_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQEvent, IMSMQEvent_Vtbl, 0xd7d6e077_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQEvent { +impl core::ops::Deref for IMSMQEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -686,7 +686,7 @@ pub struct IMSMQEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQEvent2, IMSMQEvent2_Vtbl, 0xeba96b12_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQEvent2 { +impl core::ops::Deref for IMSMQEvent2 { type Target = IMSMQEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -714,7 +714,7 @@ pub struct IMSMQEvent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQEvent3, IMSMQEvent3_Vtbl, 0xeba96b1c_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQEvent3 { +impl core::ops::Deref for IMSMQEvent3 { type Target = IMSMQEvent2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -732,7 +732,7 @@ pub struct IMSMQEvent3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQManagement, IMSMQManagement_Vtbl, 0xbe5f0241_e489_4957_8cc4_a452fcf3e23e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQManagement { +impl core::ops::Deref for IMSMQManagement { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -795,7 +795,7 @@ pub struct IMSMQManagement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQMessage, IMSMQMessage_Vtbl, 0xd7d6e074_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQMessage { +impl core::ops::Deref for IMSMQMessage { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1083,7 +1083,7 @@ pub struct IMSMQMessage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQMessage2, IMSMQMessage2_Vtbl, 0xd9933be0_a567_11d2_b0f3_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQMessage2 { +impl core::ops::Deref for IMSMQMessage2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1539,7 +1539,7 @@ pub struct IMSMQMessage2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQMessage3, IMSMQMessage3_Vtbl, 0xeba96b1a_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQMessage3 { +impl core::ops::Deref for IMSMQMessage3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2112,7 +2112,7 @@ pub struct IMSMQMessage3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQMessage4, IMSMQMessage4_Vtbl, 0xeba96b23_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQMessage4 { +impl core::ops::Deref for IMSMQMessage4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2685,7 +2685,7 @@ pub struct IMSMQMessage4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQOutgoingQueueManagement, IMSMQOutgoingQueueManagement_Vtbl, 0x64c478fb_f9b0_4695_8a7f_439ac94326d3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQOutgoingQueueManagement { +impl core::ops::Deref for IMSMQOutgoingQueueManagement { type Target = IMSMQManagement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2735,7 +2735,7 @@ pub struct IMSMQOutgoingQueueManagement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQPrivateDestination, IMSMQPrivateDestination_Vtbl, 0xeba96b17_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQPrivateDestination { +impl core::ops::Deref for IMSMQPrivateDestination { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2766,7 +2766,7 @@ pub struct IMSMQPrivateDestination_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQPrivateEvent, IMSMQPrivateEvent_Vtbl, 0xd7ab3341_c9d3_11d1_bb47_0080c7c5a2c0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQPrivateEvent { +impl core::ops::Deref for IMSMQPrivateEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2812,7 +2812,7 @@ pub struct IMSMQPrivateEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQuery, IMSMQQuery_Vtbl, 0xd7d6e072_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQuery { +impl core::ops::Deref for IMSMQQuery { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2840,7 +2840,7 @@ pub struct IMSMQQuery_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQuery2, IMSMQQuery2_Vtbl, 0xeba96b0e_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQuery2 { +impl core::ops::Deref for IMSMQQuery2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2877,7 +2877,7 @@ pub struct IMSMQQuery2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQuery3, IMSMQQuery3_Vtbl, 0xeba96b19_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQuery3 { +impl core::ops::Deref for IMSMQQuery3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2923,7 +2923,7 @@ pub struct IMSMQQuery3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQuery4, IMSMQQuery4_Vtbl, 0xeba96b24_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQuery4 { +impl core::ops::Deref for IMSMQQuery4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2969,7 +2969,7 @@ pub struct IMSMQQuery4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueue, IMSMQQueue_Vtbl, 0xd7d6e076_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueue { +impl core::ops::Deref for IMSMQQueue { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3081,7 +3081,7 @@ pub struct IMSMQQueue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueue2, IMSMQQueue2_Vtbl, 0xef0574e0_06d8_11d3_b100_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueue2 { +impl core::ops::Deref for IMSMQQueue2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3247,7 +3247,7 @@ pub struct IMSMQQueue2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueue3, IMSMQQueue3_Vtbl, 0xeba96b1b_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueue3 { +impl core::ops::Deref for IMSMQQueue3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3535,7 +3535,7 @@ pub struct IMSMQQueue3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueue4, IMSMQQueue4_Vtbl, 0xeba96b20_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueue4 { +impl core::ops::Deref for IMSMQQueue4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3835,7 +3835,7 @@ pub struct IMSMQQueue4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfo, IMSMQQueueInfo_Vtbl, 0xd7d6e07b_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfo { +impl core::ops::Deref for IMSMQQueueInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4006,7 +4006,7 @@ pub struct IMSMQQueueInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfo2, IMSMQQueueInfo2_Vtbl, 0xfd174a80_89cf_11d2_b0f2_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfo2 { +impl core::ops::Deref for IMSMQQueueInfo2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4203,7 +4203,7 @@ pub struct IMSMQQueueInfo2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfo3, IMSMQQueueInfo3_Vtbl, 0xeba96b1d_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfo3 { +impl core::ops::Deref for IMSMQQueueInfo3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4427,7 +4427,7 @@ pub struct IMSMQQueueInfo3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfo4, IMSMQQueueInfo4_Vtbl, 0xeba96b21_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfo4 { +impl core::ops::Deref for IMSMQQueueInfo4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4651,7 +4651,7 @@ pub struct IMSMQQueueInfo4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfos, IMSMQQueueInfos_Vtbl, 0xd7d6e07d_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfos { +impl core::ops::Deref for IMSMQQueueInfos { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4683,7 +4683,7 @@ pub struct IMSMQQueueInfos_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfos2, IMSMQQueueInfos2_Vtbl, 0xeba96b0f_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfos2 { +impl core::ops::Deref for IMSMQQueueInfos2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4724,7 +4724,7 @@ pub struct IMSMQQueueInfos2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfos3, IMSMQQueueInfos3_Vtbl, 0xeba96b1e_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfos3 { +impl core::ops::Deref for IMSMQQueueInfos3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4765,7 +4765,7 @@ pub struct IMSMQQueueInfos3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueInfos4, IMSMQQueueInfos4_Vtbl, 0xeba96b22_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueInfos4 { +impl core::ops::Deref for IMSMQQueueInfos4 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4806,7 +4806,7 @@ pub struct IMSMQQueueInfos4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQQueueManagement, IMSMQQueueManagement_Vtbl, 0x7fbe7759_5760_444d_b8a5_5e7ab9a84cce); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQQueueManagement { +impl core::ops::Deref for IMSMQQueueManagement { type Target = IMSMQManagement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4840,7 +4840,7 @@ pub struct IMSMQQueueManagement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransaction, IMSMQTransaction_Vtbl, 0xd7d6e07f_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQTransaction { +impl core::ops::Deref for IMSMQTransaction { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4872,7 +4872,7 @@ pub struct IMSMQTransaction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransaction2, IMSMQTransaction2_Vtbl, 0x2ce0c5b0_6e67_11d2_b0e6_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQTransaction2 { +impl core::ops::Deref for IMSMQTransaction2 { type Target = IMSMQTransaction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4907,7 +4907,7 @@ pub struct IMSMQTransaction2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransaction3, IMSMQTransaction3_Vtbl, 0xeba96b13_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQTransaction3 { +impl core::ops::Deref for IMSMQTransaction3 { type Target = IMSMQTransaction2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4931,7 +4931,7 @@ pub struct IMSMQTransaction3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransactionDispenser, IMSMQTransactionDispenser_Vtbl, 0xd7d6e083_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQTransactionDispenser { +impl core::ops::Deref for IMSMQTransactionDispenser { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4959,7 +4959,7 @@ pub struct IMSMQTransactionDispenser_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransactionDispenser2, IMSMQTransactionDispenser2_Vtbl, 0xeba96b11_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQTransactionDispenser2 { +impl core::ops::Deref for IMSMQTransactionDispenser2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4996,7 +4996,7 @@ pub struct IMSMQTransactionDispenser2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMSMQTransactionDispenser3, IMSMQTransactionDispenser3_Vtbl, 0xeba96b15_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMSMQTransactionDispenser3 { +impl core::ops::Deref for IMSMQTransactionDispenser3 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5033,7 +5033,7 @@ pub struct IMSMQTransactionDispenser3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_DMSMQEventEvents, _DMSMQEventEvents_Vtbl, 0xd7d6e078_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _DMSMQEventEvents { +impl core::ops::Deref for _DMSMQEventEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs index f22af88ba9..7613681bba 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(AppEvents, AppEvents_Vtbl, 0xfc7a4252_78ac_4532_8c5a_563cfe138863); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for AppEvents { +impl core::ops::Deref for AppEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19,7 +19,7 @@ pub struct AppEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Column, Column_Vtbl, 0xfd1c5f63_2b16_4d06_9ab3_f45350b940ab); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Column { +impl core::ops::Deref for Column { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -82,7 +82,7 @@ pub struct Column_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Columns, Columns_Vtbl, 0x383d4d97_fc44_478b_b139_6323dc48611c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Columns { +impl core::ops::Deref for Columns { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -120,7 +120,7 @@ pub struct Columns_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ContextMenu, ContextMenu_Vtbl, 0xdab39ce0_25e6_4e07_8362_ba9c95706545); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ContextMenu { +impl core::ops::Deref for ContextMenu { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -161,7 +161,7 @@ pub struct ContextMenu_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Document, Document_Vtbl, 0x225120d6_1e0f_40a3_93fe_1079e6a8017b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Document { +impl core::ops::Deref for Document { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -292,7 +292,7 @@ pub struct Document_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Extension, Extension_Vtbl, 0xad4d6ca6_912f_409b_a26e_7fd234aef542); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Extension { +impl core::ops::Deref for Extension { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -354,7 +354,7 @@ pub struct Extension_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Extensions, Extensions_Vtbl, 0x82dbea43_8ca4_44bc_a2ca_d18741059ec8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Extensions { +impl core::ops::Deref for Extensions { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -392,7 +392,7 @@ pub struct Extensions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Frame, Frame_Vtbl, 0xe5e2d970_5bb3_4306_8804_b0968a31c8e6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Frame { +impl core::ops::Deref for Frame { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -457,7 +457,7 @@ pub struct Frame_Vtbl { pub SetRight: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IColumnData, IColumnData_Vtbl, 0x547c1354_024d_11d3_a707_00c04f8ef4cb); -impl std::ops::Deref for IColumnData { +impl core::ops::Deref for IColumnData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -489,7 +489,7 @@ pub struct IColumnData_Vtbl { pub GetColumnSortData: unsafe extern "system" fn(*mut core::ffi::c_void, *const SColumnSetID, *mut *mut MMC_SORT_SET_DATA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComponent, IComponent_Vtbl, 0x43136eb2_d36c_11cf_adbc_00aa00a80033); -impl std::ops::Deref for IComponent { +impl core::ops::Deref for IComponent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -556,7 +556,7 @@ pub struct IComponent_Vtbl { CompareObjects: usize, } windows_core::imp::define_interface!(IComponent2, IComponent2_Vtbl, 0x79a2d615_4a10_4ed4_8c65_8633f9335095); -impl std::ops::Deref for IComponent2 { +impl core::ops::Deref for IComponent2 { type Target = IComponent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -587,7 +587,7 @@ pub struct IComponent2_Vtbl { pub RestoreResultView: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *const RESULT_VIEW_TYPE_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IComponentData, IComponentData_Vtbl, 0x955ab28a_5218_11d0_a985_00c04fd8d565); -impl std::ops::Deref for IComponentData { +impl core::ops::Deref for IComponentData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -655,7 +655,7 @@ pub struct IComponentData_Vtbl { CompareObjects: usize, } windows_core::imp::define_interface!(IComponentData2, IComponentData2_Vtbl, 0xcca0f2d2_82de_41b5_bf47_3b2076273d5c); -impl std::ops::Deref for IComponentData2 { +impl core::ops::Deref for IComponentData2 { type Target = IComponentData; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -678,7 +678,7 @@ pub struct IComponentData2_Vtbl { QueryDispatch: usize, } windows_core::imp::define_interface!(IConsole, IConsole_Vtbl, 0x43136eb1_d36c_11cf_adbc_00aa00a80033); -impl std::ops::Deref for IConsole { +impl core::ops::Deref for IConsole { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -760,7 +760,7 @@ pub struct IConsole_Vtbl { pub NewWindow: unsafe extern "system" fn(*mut core::ffi::c_void, isize, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConsole2, IConsole2_Vtbl, 0x103d842a_aa63_11d1_a7e1_00c04fd8d565); -impl std::ops::Deref for IConsole2 { +impl core::ops::Deref for IConsole2 { type Target = IConsole; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -792,7 +792,7 @@ pub struct IConsole2_Vtbl { pub SetStatusText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConsole3, IConsole3_Vtbl, 0x4f85efdb_d0e1_498c_8d4a_d010dfdd404f); -impl std::ops::Deref for IConsole3 { +impl core::ops::Deref for IConsole3 { type Target = IConsole2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -810,7 +810,7 @@ pub struct IConsole3_Vtbl { pub RenameScopeItem: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConsoleNameSpace, IConsoleNameSpace_Vtbl, 0xbedeb620_f24d_11cf_8afc_00aa003ca9f6); -impl std::ops::Deref for IConsoleNameSpace { +impl core::ops::Deref for IConsoleNameSpace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -852,7 +852,7 @@ pub struct IConsoleNameSpace_Vtbl { pub GetParentItem: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut isize, *mut isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConsoleNameSpace2, IConsoleNameSpace2_Vtbl, 0x255f18cc_65db_11d1_a7dc_00c04fd8d565); -impl std::ops::Deref for IConsoleNameSpace2 { +impl core::ops::Deref for IConsoleNameSpace2 { type Target = IConsoleNameSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -874,7 +874,7 @@ pub struct IConsoleNameSpace2_Vtbl { pub AddExtension: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConsolePower, IConsolePower_Vtbl, 0x1cfbdd0e_62ca_49ce_a3af_dbb2de61b068); -impl std::ops::Deref for IConsolePower { +impl core::ops::Deref for IConsolePower { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -896,7 +896,7 @@ pub struct IConsolePower_Vtbl { pub ResetIdleTimer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConsolePowerSink, IConsolePowerSink_Vtbl, 0x3333759f_fe4f_4975_b143_fec0a5dd6d65); -impl std::ops::Deref for IConsolePowerSink { +impl core::ops::Deref for IConsolePowerSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -918,7 +918,7 @@ pub struct IConsolePowerSink_Vtbl { pub OnPowerBroadcast: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConsoleVerb, IConsoleVerb_Vtbl, 0xe49f7a60_74af_11d0_a286_00c04fd8fe93); -impl std::ops::Deref for IConsoleVerb { +impl core::ops::Deref for IConsoleVerb { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -953,7 +953,7 @@ pub struct IConsoleVerb_Vtbl { pub GetDefaultVerb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MMC_CONSOLE_VERB) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextMenuCallback, IContextMenuCallback_Vtbl, 0x43136eb7_d36c_11cf_adbc_00aa00a80033); -impl std::ops::Deref for IContextMenuCallback { +impl core::ops::Deref for IContextMenuCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -971,7 +971,7 @@ pub struct IContextMenuCallback_Vtbl { pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTEXTMENUITEM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextMenuCallback2, IContextMenuCallback2_Vtbl, 0xe178bc0e_2ed0_4b5e_8097_42c9087e8b33); -impl std::ops::Deref for IContextMenuCallback2 { +impl core::ops::Deref for IContextMenuCallback2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -989,7 +989,7 @@ pub struct IContextMenuCallback2_Vtbl { pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTEXTMENUITEM2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextMenuProvider, IContextMenuProvider_Vtbl, 0x43136eb6_d36c_11cf_adbc_00aa00a80033); -impl std::ops::Deref for IContextMenuProvider { +impl core::ops::Deref for IContextMenuProvider { type Target = IContextMenuCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1038,7 +1038,7 @@ pub struct IContextMenuProvider_Vtbl { pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IControlbar, IControlbar_Vtbl, 0x69fb811e_6c1c_11d0_a2cb_00c04fd909dd); -impl std::ops::Deref for IControlbar { +impl core::ops::Deref for IControlbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1074,7 +1074,7 @@ pub struct IControlbar_Vtbl { pub Detach: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDisplayHelp, IDisplayHelp_Vtbl, 0xcc593830_b926_11d1_8063_0000f875a9ce); -impl std::ops::Deref for IDisplayHelp { +impl core::ops::Deref for IDisplayHelp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1095,7 +1095,7 @@ pub struct IDisplayHelp_Vtbl { pub ShowTopic: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTASK, IEnumTASK_Vtbl, 0x338698b1_5a02_11d1_9fec_00600832db4a); -impl std::ops::Deref for IEnumTASK { +impl core::ops::Deref for IEnumTASK { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1126,7 +1126,7 @@ pub struct IEnumTASK_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExtendContextMenu, IExtendContextMenu_Vtbl, 0x4f3b7a4f_cfac_11cf_b8e3_00c04fd8d5b0); -impl std::ops::Deref for IExtendContextMenu { +impl core::ops::Deref for IExtendContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1163,7 +1163,7 @@ pub struct IExtendContextMenu_Vtbl { Command: usize, } windows_core::imp::define_interface!(IExtendControlbar, IExtendControlbar_Vtbl, 0x49506520_6f40_11d0_a98b_00c04fd8d565); -impl std::ops::Deref for IExtendControlbar { +impl core::ops::Deref for IExtendControlbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1192,7 +1192,7 @@ pub struct IExtendControlbar_Vtbl { pub ControlbarNotify: unsafe extern "system" fn(*mut core::ffi::c_void, MMC_NOTIFY_TYPE, super::super::Foundation::LPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExtendPropertySheet, IExtendPropertySheet_Vtbl, 0x85de64dc_ef21_11cf_a285_00c04fd8dbe6); -impl std::ops::Deref for IExtendPropertySheet { +impl core::ops::Deref for IExtendPropertySheet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1229,7 +1229,7 @@ pub struct IExtendPropertySheet_Vtbl { QueryPagesFor: usize, } windows_core::imp::define_interface!(IExtendPropertySheet2, IExtendPropertySheet2_Vtbl, 0xb7a87232_4a51_11d1_a7ea_00c04fd909dd); -impl std::ops::Deref for IExtendPropertySheet2 { +impl core::ops::Deref for IExtendPropertySheet2 { type Target = IExtendPropertySheet; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1254,7 +1254,7 @@ pub struct IExtendPropertySheet2_Vtbl { GetWatermarks: usize, } windows_core::imp::define_interface!(IExtendTaskPad, IExtendTaskPad_Vtbl, 0x8dee6511_554d_11d1_9fea_00600832db4a); -impl std::ops::Deref for IExtendTaskPad { +impl core::ops::Deref for IExtendTaskPad { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1324,7 +1324,7 @@ pub struct IExtendTaskPad_Vtbl { pub GetListPadInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut MMC_LISTPAD_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExtendView, IExtendView_Vtbl, 0x89995cee_d2ed_4c0e_ae5e_df7e76f3fa53); -impl std::ops::Deref for IExtendView { +impl core::ops::Deref for IExtendView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1350,7 +1350,7 @@ pub struct IExtendView_Vtbl { GetViews: usize, } windows_core::imp::define_interface!(IHeaderCtrl, IHeaderCtrl_Vtbl, 0x43136eb3_d36c_11cf_adbc_00aa00a80033); -impl std::ops::Deref for IHeaderCtrl { +impl core::ops::Deref for IHeaderCtrl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1396,7 +1396,7 @@ pub struct IHeaderCtrl_Vtbl { pub GetColumnWidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHeaderCtrl2, IHeaderCtrl2_Vtbl, 0x9757abb8_1b32_11d1_a7ce_00c04fd8d565); -impl std::ops::Deref for IHeaderCtrl2 { +impl core::ops::Deref for IHeaderCtrl2 { type Target = IHeaderCtrl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1422,7 +1422,7 @@ pub struct IHeaderCtrl2_Vtbl { pub GetColumnFilter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut MMC_FILTERDATA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageList, IImageList_Vtbl, 0x43136eb8_d36c_11cf_adbc_00aa00a80033); -impl std::ops::Deref for IImageList { +impl core::ops::Deref for IImageList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1447,7 +1447,7 @@ pub struct IImageList_Vtbl { pub ImageListSetStrip: unsafe extern "system" fn(*mut core::ffi::c_void, *const isize, *const isize, i32, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMMCVersionInfo, IMMCVersionInfo_Vtbl, 0xa8d2c5fe_cdcb_4b9d_bde5_a27343ff54bc); -impl std::ops::Deref for IMMCVersionInfo { +impl core::ops::Deref for IMMCVersionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1465,7 +1465,7 @@ pub struct IMMCVersionInfo_Vtbl { pub GetMMCVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMenuButton, IMenuButton_Vtbl, 0x951ed750_d080_11d0_b197_000000000000); -impl std::ops::Deref for IMenuButton { +impl core::ops::Deref for IMenuButton { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1502,7 +1502,7 @@ pub struct IMenuButton_Vtbl { pub SetButtonState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, MMC_BUTTON_STATE, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMessageView, IMessageView_Vtbl, 0x80f94174_fccc_11d2_b991_00c04f8ecd78); -impl std::ops::Deref for IMessageView { +impl core::ops::Deref for IMessageView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1538,7 +1538,7 @@ pub struct IMessageView_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INodeProperties, INodeProperties_Vtbl, 0x15bc4d24_a522_4406_aa55_0749537a6865); -impl std::ops::Deref for INodeProperties { +impl core::ops::Deref for INodeProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1565,7 +1565,7 @@ pub struct INodeProperties_Vtbl { GetProperty: usize, } windows_core::imp::define_interface!(IPropertySheetCallback, IPropertySheetCallback_Vtbl, 0x85de64dd_ef21_11cf_a285_00c04fd8dbe6); -impl std::ops::Deref for IPropertySheetCallback { +impl core::ops::Deref for IPropertySheetCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1601,7 +1601,7 @@ pub struct IPropertySheetCallback_Vtbl { RemovePage: usize, } windows_core::imp::define_interface!(IPropertySheetProvider, IPropertySheetProvider_Vtbl, 0x85de64de_ef21_11cf_a285_00c04fd8dbe6); -impl std::ops::Deref for IPropertySheetProvider { +impl core::ops::Deref for IPropertySheetProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1657,7 +1657,7 @@ pub struct IPropertySheetProvider_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, isize, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRequiredExtensions, IRequiredExtensions_Vtbl, 0x72782d7a_a4a0_11d1_af0f_00c04fb6dd2c); -impl std::ops::Deref for IRequiredExtensions { +impl core::ops::Deref for IRequiredExtensions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1685,7 +1685,7 @@ pub struct IRequiredExtensions_Vtbl { pub GetNextExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResultData, IResultData_Vtbl, 0x31da5fa0_e0eb_11cf_9f21_00aa003ca9f6); -impl std::ops::Deref for IResultData { +impl core::ops::Deref for IResultData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1770,7 +1770,7 @@ pub struct IResultData_Vtbl { pub SetItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResultData2, IResultData2_Vtbl, 0x0f36e0eb_a7f1_4a81_be5a_9247f7de4b1b); -impl std::ops::Deref for IResultData2 { +impl core::ops::Deref for IResultData2 { type Target = IResultData; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1788,7 +1788,7 @@ pub struct IResultData2_Vtbl { pub RenameResultItem: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResultDataCompare, IResultDataCompare_Vtbl, 0xe8315a52_7a1a_11d0_a2d2_00c04fd909dd); -impl std::ops::Deref for IResultDataCompare { +impl core::ops::Deref for IResultDataCompare { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1809,7 +1809,7 @@ pub struct IResultDataCompare_Vtbl { pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::LPARAM, isize, isize, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResultDataCompareEx, IResultDataCompareEx_Vtbl, 0x96933476_0251_11d3_aeb0_00c04f8ecd78); -impl std::ops::Deref for IResultDataCompareEx { +impl core::ops::Deref for IResultDataCompareEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1828,7 +1828,7 @@ pub struct IResultDataCompareEx_Vtbl { pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *const RDCOMPARE, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResultOwnerData, IResultOwnerData_Vtbl, 0x9cb396d8_ea83_11d0_aef1_00c04fb6dd2c); -impl std::ops::Deref for IResultOwnerData { +impl core::ops::Deref for IResultOwnerData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1858,7 +1858,7 @@ pub struct IResultOwnerData_Vtbl { pub SortItems: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISnapinAbout, ISnapinAbout_Vtbl, 0x1245208c_a151_11d0_a7d7_00c04fd909dd); -impl std::ops::Deref for ISnapinAbout { +impl core::ops::Deref for ISnapinAbout { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1904,7 +1904,7 @@ pub struct ISnapinAbout_Vtbl { GetStaticFolderImage: usize, } windows_core::imp::define_interface!(ISnapinHelp, ISnapinHelp_Vtbl, 0xa6b15ace_df59_11d0_a7dd_00c04fd909dd); -impl std::ops::Deref for ISnapinHelp { +impl core::ops::Deref for ISnapinHelp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1923,7 +1923,7 @@ pub struct ISnapinHelp_Vtbl { pub GetHelpTopic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISnapinHelp2, ISnapinHelp2_Vtbl, 0x4861a010_20f9_11d2_a510_00c04fb6dd2c); -impl std::ops::Deref for ISnapinHelp2 { +impl core::ops::Deref for ISnapinHelp2 { type Target = ISnapinHelp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1942,7 +1942,7 @@ pub struct ISnapinHelp2_Vtbl { pub GetLinkedTopics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISnapinProperties, ISnapinProperties_Vtbl, 0xf7889da9_4a02_4837_bf89_1a6f2a021010); -impl std::ops::Deref for ISnapinProperties { +impl core::ops::Deref for ISnapinProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1978,7 +1978,7 @@ pub struct ISnapinProperties_Vtbl { pub PropertiesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const MMC_SNAPIN_PROPERTY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISnapinPropertiesCallback, ISnapinPropertiesCallback_Vtbl, 0xa50fa2e5_7e61_45eb_a8d4_9a07b3e851a8); -impl std::ops::Deref for ISnapinPropertiesCallback { +impl core::ops::Deref for ISnapinPropertiesCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1999,7 +1999,7 @@ pub struct ISnapinPropertiesCallback_Vtbl { pub AddPropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStringTable, IStringTable_Vtbl, 0xde40b7a4_0f65_11d2_8e25_00c04f8ecd78); -impl std::ops::Deref for IStringTable { +impl core::ops::Deref for IStringTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2055,7 +2055,7 @@ pub struct IStringTable_Vtbl { Enumerate: usize, } windows_core::imp::define_interface!(IToolbar, IToolbar_Vtbl, 0x43136eb9_d36c_11cf_adbc_00aa00a80033); -impl std::ops::Deref for IToolbar { +impl core::ops::Deref for IToolbar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2105,7 +2105,7 @@ pub struct IToolbar_Vtbl { pub SetButtonState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, MMC_BUTTON_STATE, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewExtensionCallback, IViewExtensionCallback_Vtbl, 0x34dd928a_7599_41e5_9f5e_d6bc3062c2da); -impl std::ops::Deref for IViewExtensionCallback { +impl core::ops::Deref for IViewExtensionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2125,7 +2125,7 @@ pub struct IViewExtensionCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(MenuItem, MenuItem_Vtbl, 0x0178fad1_b361_4b27_96ad_67c57ebf2e1d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for MenuItem { +impl core::ops::Deref for MenuItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2173,7 +2173,7 @@ pub struct MenuItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Node, Node_Vtbl, 0xf81ed800_7839_4447_945d_8e15da59ca55); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Node { +impl core::ops::Deref for Node { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2220,7 +2220,7 @@ pub struct Node_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Nodes, Nodes_Vtbl, 0x313b01df_b22f_4d42_b1b8_483cdcf51d35); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Nodes { +impl core::ops::Deref for Nodes { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2258,7 +2258,7 @@ pub struct Nodes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Properties, Properties_Vtbl, 0x2886abc2_a425_42b2_91c6_e25c0e04581c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Properties { +impl core::ops::Deref for Properties { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2306,7 +2306,7 @@ pub struct Properties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Property, Property_Vtbl, 0x4600c3a5_e301_41d8_b6d0_ef2e4212e0ca); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Property { +impl core::ops::Deref for Property { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2342,7 +2342,7 @@ pub struct Property_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ScopeNamespace, ScopeNamespace_Vtbl, 0xebbb48dc_1a3b_4d86_b786_c21b28389012); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ScopeNamespace { +impl core::ops::Deref for ScopeNamespace { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2417,7 +2417,7 @@ pub struct ScopeNamespace_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(SnapIn, SnapIn_Vtbl, 0x3be910f6_3459_49c6_a1bb_41e6be9df3ea); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for SnapIn { +impl core::ops::Deref for SnapIn { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2481,7 +2481,7 @@ pub struct SnapIn_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(SnapIns, SnapIns_Vtbl, 0x2ef3de1d_b12a_49d1_92c5_0b00798768f1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for SnapIns { +impl core::ops::Deref for SnapIns { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2544,7 +2544,7 @@ pub struct SnapIns_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(View, View_Vtbl, 0x6efc2da2_b38c_457e_9abb_ed2d189b8c38); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for View { +impl core::ops::Deref for View { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2884,7 +2884,7 @@ pub struct View_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Views, Views_Vtbl, 0xd6b8c29d_a1ff_4d72_aab0_e381e9b9338d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Views { +impl core::ops::Deref for Views { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2933,7 +2933,7 @@ pub struct Views_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_AppEvents, _AppEvents_Vtbl, 0xde46cbdd_53f5_4635_af54_4fe71e923d3f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _AppEvents { +impl core::ops::Deref for _AppEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3082,7 +3082,7 @@ pub struct _AppEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_Application, _Application_Vtbl, 0xa3afb9cc_b653_4741_86ab_f0470ec1384c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _Application { +impl core::ops::Deref for _Application { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3169,7 +3169,7 @@ pub struct _Application_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_EventConnector, _EventConnector_Vtbl, 0xc0bccd30_de44_4528_8403_a05a6a1cc8ea); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _EventConnector { +impl core::ops::Deref for _EventConnector { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs index b6171c3b9c..8464e32800 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -439,7 +439,7 @@ where T: windows_core::Interface, { windows_targets::link!("oleaut32.dll" "system" fn OleCreatePictureIndirect(lppictdesc : *const PICTDESC, riid : *const windows_core::GUID, fown : super::super::Foundation:: BOOL, lplpvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); OleCreatePictureIndirect(lppictdesc, &T::IID, fown.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -3146,7 +3146,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAdviseSinkEx, IAdviseSinkEx_Vtbl, 0x3af24290_0c96_11ce_a0cf_00aa00600ab8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAdviseSinkEx { +impl core::ops::Deref for IAdviseSinkEx { type Target = super::Com::IAdviseSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3167,7 +3167,7 @@ pub struct IAdviseSinkEx_Vtbl { pub OnViewStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } windows_core::imp::define_interface!(ICanHandleException, ICanHandleException_Vtbl, 0xc5598e60_b307_11d1_b27d_006008c3fbfb); -impl std::ops::Deref for ICanHandleException { +impl core::ops::Deref for ICanHandleException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3191,7 +3191,7 @@ pub struct ICanHandleException_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IClassFactory2, IClassFactory2_Vtbl, 0xb196b28f_bab4_101a_b69c_00aa00341d07); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IClassFactory2 { +impl core::ops::Deref for IClassFactory2 { type Target = super::Com::IClassFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3215,7 +3215,7 @@ impl IClassFactory2 { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInstanceLic)(windows_core::Interface::as_raw(self), punkouter.param().abi(), punkreserved.param().abi(), &T::IID, bstrkey.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -3228,7 +3228,7 @@ pub struct IClassFactory2_Vtbl { pub CreateInstanceLic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContinue, IContinue_Vtbl, 0x0000012a_0000_0000_c000_000000000046); -impl std::ops::Deref for IContinue { +impl core::ops::Deref for IContinue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3246,7 +3246,7 @@ pub struct IContinue_Vtbl { pub FContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContinueCallback, IContinueCallback_Vtbl, 0xb722bcca_4e68_101b_a2bc_00aa00404770); -impl std::ops::Deref for IContinueCallback { +impl core::ops::Deref for IContinueCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3271,7 +3271,7 @@ pub struct IContinueCallback_Vtbl { pub FContinuePrinting: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateErrorInfo, ICreateErrorInfo_Vtbl, 0x22f03340_547d_101b_8e65_08002b2bd119); -impl std::ops::Deref for ICreateErrorInfo { +impl core::ops::Deref for ICreateErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3314,7 +3314,7 @@ pub struct ICreateErrorInfo_Vtbl { pub SetHelpContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateTypeInfo, ICreateTypeInfo_Vtbl, 0x00020405_0000_0000_c000_000000000046); -impl std::ops::Deref for ICreateTypeInfo { +impl core::ops::Deref for ICreateTypeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3469,7 +3469,7 @@ pub struct ICreateTypeInfo_Vtbl { pub LayOut: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateTypeInfo2, ICreateTypeInfo2_Vtbl, 0x0002040e_0000_0000_c000_000000000046); -impl std::ops::Deref for ICreateTypeInfo2 { +impl core::ops::Deref for ICreateTypeInfo2 { type Target = ICreateTypeInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3550,7 +3550,7 @@ pub struct ICreateTypeInfo2_Vtbl { pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateTypeLib, ICreateTypeLib_Vtbl, 0x00020406_0000_0000_c000_000000000046); -impl std::ops::Deref for ICreateTypeLib { +impl core::ops::Deref for ICreateTypeLib { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3621,7 +3621,7 @@ pub struct ICreateTypeLib_Vtbl { pub SaveAllChanges: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateTypeLib2, ICreateTypeLib2_Vtbl, 0x0002040f_0000_0000_c000_000000000046); -impl std::ops::Deref for ICreateTypeLib2 { +impl core::ops::Deref for ICreateTypeLib2 { type Target = ICreateTypeLib; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3657,7 +3657,7 @@ pub struct ICreateTypeLib2_Vtbl { pub SetHelpStringDll: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDispError, IDispError_Vtbl, 0xa6ef9861_c720_11d0_9337_00a0c90dcaa9); -impl std::ops::Deref for IDispError { +impl core::ops::Deref for IDispError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3702,7 +3702,7 @@ pub struct IDispError_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDispatchEx, IDispatchEx_Vtbl, 0xa6ef9860_c720_11d0_9337_00a0c90dcaa9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDispatchEx { +impl core::ops::Deref for IDispatchEx { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3769,7 +3769,7 @@ pub struct IDispatchEx_Vtbl { pub GetNameSpaceParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDropSource, IDropSource_Vtbl, 0x00000121_0000_0000_c000_000000000046); -impl std::ops::Deref for IDropSource { +impl core::ops::Deref for IDropSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3798,7 +3798,7 @@ pub struct IDropSource_Vtbl { pub GiveFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, DROPEFFECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDropSourceNotify, IDropSourceNotify_Vtbl, 0x0000012b_0000_0000_c000_000000000046); -impl std::ops::Deref for IDropSourceNotify { +impl core::ops::Deref for IDropSourceNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3823,7 +3823,7 @@ pub struct IDropSourceNotify_Vtbl { pub DragLeaveTarget: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDropTarget, IDropTarget_Vtbl, 0x00000122_0000_0000_c000_000000000046); -impl std::ops::Deref for IDropTarget { +impl core::ops::Deref for IDropTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3871,7 +3871,7 @@ pub struct IDropTarget_Vtbl { Drop: usize, } windows_core::imp::define_interface!(IEnterpriseDropTarget, IEnterpriseDropTarget_Vtbl, 0x390e3878_fd55_4e18_819d_4682081c0cfd); -impl std::ops::Deref for IEnterpriseDropTarget { +impl core::ops::Deref for IEnterpriseDropTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3897,7 +3897,7 @@ pub struct IEnterpriseDropTarget_Vtbl { pub IsEvaluatingEdpPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumOLEVERB, IEnumOLEVERB_Vtbl, 0x00000104_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumOLEVERB { +impl core::ops::Deref for IEnumOLEVERB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3932,7 +3932,7 @@ pub struct IEnumOLEVERB_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumOleDocumentViews, IEnumOleDocumentViews_Vtbl, 0xb722bcc8_4e68_101b_a2bc_00aa00404770); -impl std::ops::Deref for IEnumOleDocumentViews { +impl core::ops::Deref for IEnumOleDocumentViews { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3963,7 +3963,7 @@ pub struct IEnumOleDocumentViews_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumOleUndoUnits, IEnumOleUndoUnits_Vtbl, 0xb3e7c340_ef97_11ce_9bc9_00aa00608e01); -impl std::ops::Deref for IEnumOleUndoUnits { +impl core::ops::Deref for IEnumOleUndoUnits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3994,7 +3994,7 @@ pub struct IEnumOleUndoUnits_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumVARIANT, IEnumVARIANT_Vtbl, 0x00020404_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumVARIANT { +impl core::ops::Deref for IEnumVARIANT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4025,7 +4025,7 @@ pub struct IEnumVARIANT_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFont, IFont_Vtbl, 0xbef6e002_a874_101a_8bba_00aa00300cab); -impl std::ops::Deref for IFont { +impl core::ops::Deref for IFont { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4202,7 +4202,7 @@ pub struct IFont_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFontDisp, IFontDisp_Vtbl, 0xbef6e003_a874_101a_8bba_00aa00300cab); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFontDisp { +impl core::ops::Deref for IFontDisp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4220,7 +4220,7 @@ pub struct IFontDisp_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFontEventsDisp, IFontEventsDisp_Vtbl, 0x4ef6100a_af88_11d0_9846_00c04fc29993); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFontEventsDisp { +impl core::ops::Deref for IFontEventsDisp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4236,7 +4236,7 @@ pub struct IFontEventsDisp_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IGetOleObject, IGetOleObject_Vtbl, 0x8a701da0_4feb_101b_a82e_08002b2b2337); -impl std::ops::Deref for IGetOleObject { +impl core::ops::Deref for IGetOleObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4254,7 +4254,7 @@ pub struct IGetOleObject_Vtbl { pub GetOleObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetVBAObject, IGetVBAObject_Vtbl, 0x91733a60_3f4c_101b_a3f6_00aa0034e4e9); -impl std::ops::Deref for IGetVBAObject { +impl core::ops::Deref for IGetVBAObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4272,7 +4272,7 @@ pub struct IGetVBAObject_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectIdentity, IObjectIdentity_Vtbl, 0xca04b7e6_0d21_11d1_8cc5_00c04fc2b085); -impl std::ops::Deref for IObjectIdentity { +impl core::ops::Deref for IObjectIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4293,7 +4293,7 @@ pub struct IObjectIdentity_Vtbl { pub IsEqualObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithSite, IObjectWithSite_Vtbl, 0xfc4801a3_2ba9_11cf_a229_00aa003d7352); -impl std::ops::Deref for IObjectWithSite { +impl core::ops::Deref for IObjectWithSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4311,7 +4311,7 @@ impl IObjectWithSite { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetSite)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -4322,7 +4322,7 @@ pub struct IObjectWithSite_Vtbl { pub GetSite: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleAdviseHolder, IOleAdviseHolder_Vtbl, 0x00000111_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleAdviseHolder { +impl core::ops::Deref for IOleAdviseHolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4380,7 +4380,7 @@ pub struct IOleAdviseHolder_Vtbl { pub SendOnClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleCache, IOleCache_Vtbl, 0x0000011e_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleCache { +impl core::ops::Deref for IOleCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4438,7 +4438,7 @@ pub struct IOleCache_Vtbl { SetData: usize, } windows_core::imp::define_interface!(IOleCache2, IOleCache2_Vtbl, 0x00000128_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleCache2 { +impl core::ops::Deref for IOleCache2 { type Target = IOleCache; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4467,7 +4467,7 @@ pub struct IOleCache2_Vtbl { pub DiscardCache: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleCacheControl, IOleCacheControl_Vtbl, 0x00000129_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleCacheControl { +impl core::ops::Deref for IOleCacheControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4496,7 +4496,7 @@ pub struct IOleCacheControl_Vtbl { pub OnStop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleClientSite, IOleClientSite_Vtbl, 0x00000118_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleClientSite { +impl core::ops::Deref for IOleClientSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4543,7 +4543,7 @@ pub struct IOleClientSite_Vtbl { pub RequestNewObjectLayout: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleCommandTarget, IOleCommandTarget_Vtbl, 0xb722bccb_4e68_101b_a2bc_00aa00404770); -impl std::ops::Deref for IOleCommandTarget { +impl core::ops::Deref for IOleCommandTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4565,7 +4565,7 @@ pub struct IOleCommandTarget_Vtbl { pub Exec: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleContainer, IOleContainer_Vtbl, 0x0000011b_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleContainer { +impl core::ops::Deref for IOleContainer { type Target = IParseDisplayName; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4595,7 +4595,7 @@ pub struct IOleContainer_Vtbl { pub LockContainer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleControl, IOleControl_Vtbl, 0xb196b288_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IOleControl { +impl core::ops::Deref for IOleControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4636,7 +4636,7 @@ pub struct IOleControl_Vtbl { pub FreezeEvents: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleControlSite, IOleControlSite_Vtbl, 0xb196b289_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IOleControlSite { +impl core::ops::Deref for IOleControlSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4693,7 +4693,7 @@ pub struct IOleControlSite_Vtbl { pub ShowPropertyFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleDocument, IOleDocument_Vtbl, 0xb722bcc5_4e68_101b_a2bc_00aa00404770); -impl std::ops::Deref for IOleDocument { +impl core::ops::Deref for IOleDocument { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4729,7 +4729,7 @@ pub struct IOleDocument_Vtbl { pub EnumViews: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleDocumentSite, IOleDocumentSite_Vtbl, 0xb722bcc7_4e68_101b_a2bc_00aa00404770); -impl std::ops::Deref for IOleDocumentSite { +impl core::ops::Deref for IOleDocumentSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4750,7 +4750,7 @@ pub struct IOleDocumentSite_Vtbl { pub ActivateMe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleDocumentView, IOleDocumentView_Vtbl, 0xb722bcc6_4e68_101b_a2bc_00aa00404770); -impl std::ops::Deref for IOleDocumentView { +impl core::ops::Deref for IOleDocumentView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4846,7 +4846,7 @@ pub struct IOleDocumentView_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleInPlaceActiveObject, IOleInPlaceActiveObject_Vtbl, 0x00000117_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleInPlaceActiveObject { +impl core::ops::Deref for IOleInPlaceActiveObject { type Target = IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4897,7 +4897,7 @@ pub struct IOleInPlaceActiveObject_Vtbl { pub EnableModeless: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleInPlaceFrame, IOleInPlaceFrame_Vtbl, 0x00000116_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleInPlaceFrame { +impl core::ops::Deref for IOleInPlaceFrame { type Target = IOleInPlaceUIWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4967,7 +4967,7 @@ pub struct IOleInPlaceFrame_Vtbl { TranslateAccelerator: usize, } windows_core::imp::define_interface!(IOleInPlaceObject, IOleInPlaceObject_Vtbl, 0x00000113_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleInPlaceObject { +impl core::ops::Deref for IOleInPlaceObject { type Target = IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4997,7 +4997,7 @@ pub struct IOleInPlaceObject_Vtbl { pub ReactivateAndUndo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleInPlaceObjectWindowless, IOleInPlaceObjectWindowless_Vtbl, 0x1c2056cc_5ef4_101b_8bc8_00aa003e3b29); -impl std::ops::Deref for IOleInPlaceObjectWindowless { +impl core::ops::Deref for IOleInPlaceObjectWindowless { type Target = IOleInPlaceObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5025,7 +5025,7 @@ pub struct IOleInPlaceObjectWindowless_Vtbl { pub GetDropTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleInPlaceSite, IOleInPlaceSite_Vtbl, 0x00000119_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleInPlaceSite { +impl core::ops::Deref for IOleInPlaceSite { type Target = IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5086,7 +5086,7 @@ pub struct IOleInPlaceSite_Vtbl { pub OnPosRectChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleInPlaceSiteEx, IOleInPlaceSiteEx_Vtbl, 0x9c2cad80_3424_11cf_b670_00aa004cd6d8); -impl std::ops::Deref for IOleInPlaceSiteEx { +impl core::ops::Deref for IOleInPlaceSiteEx { type Target = IOleInPlaceSite; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5115,7 +5115,7 @@ pub struct IOleInPlaceSiteEx_Vtbl { pub RequestUIActivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleInPlaceSiteWindowless, IOleInPlaceSiteWindowless_Vtbl, 0x922eada0_3424_11cf_b670_00aa004cd6d8); -impl std::ops::Deref for IOleInPlaceSiteWindowless { +impl core::ops::Deref for IOleInPlaceSiteWindowless { type Target = IOleInPlaceSiteEx; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5211,7 +5211,7 @@ pub struct IOleInPlaceSiteWindowless_Vtbl { pub OnDefWindowMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleInPlaceUIWindow, IOleInPlaceUIWindow_Vtbl, 0x00000115_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleInPlaceUIWindow { +impl core::ops::Deref for IOleInPlaceUIWindow { type Target = IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5246,7 +5246,7 @@ pub struct IOleInPlaceUIWindow_Vtbl { pub SetActiveObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleItemContainer, IOleItemContainer_Vtbl, 0x0000011c_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleItemContainer { +impl core::ops::Deref for IOleItemContainer { type Target = IOleContainer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5261,7 +5261,7 @@ impl IOleItemContainer { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), pszitem.param().abi(), dwspeedneeded, pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -5271,7 +5271,7 @@ impl IOleItemContainer { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetObjectStorage)(windows_core::Interface::as_raw(self), pszitem.param().abi(), pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsRunning(&self, pszitem: P0) -> windows_core::Result<()> @@ -5295,7 +5295,7 @@ pub struct IOleItemContainer_Vtbl { pub IsRunning: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleLink, IOleLink_Vtbl, 0x0000011d_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleLink { +impl core::ops::Deref for IOleLink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5385,7 +5385,7 @@ pub struct IOleLink_Vtbl { Update: usize, } windows_core::imp::define_interface!(IOleObject, IOleObject_Vtbl, 0x00000112_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleObject { +impl core::ops::Deref for IOleObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5558,7 +5558,7 @@ pub struct IOleObject_Vtbl { SetColorScheme: usize, } windows_core::imp::define_interface!(IOleParentUndoUnit, IOleParentUndoUnit_Vtbl, 0xa1faf330_ef97_11ce_9bc9_00aa00608e01); -impl std::ops::Deref for IOleParentUndoUnit { +impl core::ops::Deref for IOleParentUndoUnit { type Target = IOleUndoUnit; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5606,7 +5606,7 @@ pub struct IOleParentUndoUnit_Vtbl { pub GetParentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUILinkContainerA, IOleUILinkContainerA_Vtbl, 0); -impl std::ops::Deref for IOleUILinkContainerA { +impl core::ops::Deref for IOleUILinkContainerA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5661,7 +5661,7 @@ pub struct IOleUILinkContainerA_Vtbl { pub CancelLink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUILinkContainerW, IOleUILinkContainerW_Vtbl, 0); -impl std::ops::Deref for IOleUILinkContainerW { +impl core::ops::Deref for IOleUILinkContainerW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5716,7 +5716,7 @@ pub struct IOleUILinkContainerW_Vtbl { pub CancelLink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUILinkInfoA, IOleUILinkInfoA_Vtbl, 0); -impl std::ops::Deref for IOleUILinkInfoA { +impl core::ops::Deref for IOleUILinkInfoA { type Target = IOleUILinkContainerA; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5735,7 +5735,7 @@ pub struct IOleUILinkInfoA_Vtbl { pub GetLastUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUILinkInfoW, IOleUILinkInfoW_Vtbl, 0); -impl std::ops::Deref for IOleUILinkInfoW { +impl core::ops::Deref for IOleUILinkInfoW { type Target = IOleUILinkContainerW; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5754,7 +5754,7 @@ pub struct IOleUILinkInfoW_Vtbl { pub GetLastUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUIObjInfoA, IOleUIObjInfoA_Vtbl, 0); -impl std::ops::Deref for IOleUIObjInfoA { +impl core::ops::Deref for IOleUIObjInfoA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5792,7 +5792,7 @@ pub struct IOleUIObjInfoA_Vtbl { pub SetViewInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HGLOBAL, u32, i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUIObjInfoW, IOleUIObjInfoW_Vtbl, 0); -impl std::ops::Deref for IOleUIObjInfoW { +impl core::ops::Deref for IOleUIObjInfoW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5830,7 +5830,7 @@ pub struct IOleUIObjInfoW_Vtbl { pub SetViewInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HGLOBAL, u32, i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUndoManager, IOleUndoManager_Vtbl, 0xd001f200_ef97_11ce_9bc9_00aa00608e01); -impl std::ops::Deref for IOleUndoManager { +impl core::ops::Deref for IOleUndoManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5919,7 +5919,7 @@ pub struct IOleUndoManager_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleUndoUnit, IOleUndoUnit_Vtbl, 0x894ad3b0_ef97_11ce_9bc9_00aa00608e01); -impl std::ops::Deref for IOleUndoUnit { +impl core::ops::Deref for IOleUndoUnit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5953,7 +5953,7 @@ pub struct IOleUndoUnit_Vtbl { pub OnNextAdd: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOleWindow, IOleWindow_Vtbl, 0x00000114_0000_0000_c000_000000000046); -impl std::ops::Deref for IOleWindow { +impl core::ops::Deref for IOleWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5979,7 +5979,7 @@ pub struct IOleWindow_Vtbl { pub ContextSensitiveHelp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IParseDisplayName, IParseDisplayName_Vtbl, 0x0000011a_0000_0000_c000_000000000046); -impl std::ops::Deref for IParseDisplayName { +impl core::ops::Deref for IParseDisplayName { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6005,7 +6005,7 @@ pub struct IParseDisplayName_Vtbl { ParseDisplayName: usize, } windows_core::imp::define_interface!(IPerPropertyBrowsing, IPerPropertyBrowsing_Vtbl, 0x376bd3aa_3845_101b_84ed_08002b2ec713); -impl std::ops::Deref for IPerPropertyBrowsing { +impl core::ops::Deref for IPerPropertyBrowsing { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6040,7 +6040,7 @@ pub struct IPerPropertyBrowsing_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistPropertyBag, IPersistPropertyBag_Vtbl, 0x37d84f60_42cb_11ce_8135_00aa004bb851); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistPropertyBag { +impl core::ops::Deref for IPersistPropertyBag { type Target = super::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6088,7 +6088,7 @@ pub struct IPersistPropertyBag_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistPropertyBag2, IPersistPropertyBag2_Vtbl, 0x22f55881_280b_11d0_a8a9_00a0c90c2004); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistPropertyBag2 { +impl core::ops::Deref for IPersistPropertyBag2 { type Target = super::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6138,7 +6138,7 @@ pub struct IPersistPropertyBag2_Vtbl { pub IsDirty: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPicture, IPicture_Vtbl, 0x7bf80980_bf32_101a_8bbb_00aa00300cab); -impl std::ops::Deref for IPicture { +impl core::ops::Deref for IPicture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6249,7 +6249,7 @@ pub struct IPicture_Vtbl { pub Attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPicture2, IPicture2_Vtbl, 0xf5185dd8_2012_4b0b_aad9_f052c6bd482b); -impl std::ops::Deref for IPicture2 { +impl core::ops::Deref for IPicture2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6359,7 +6359,7 @@ pub struct IPicture2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPictureDisp, IPictureDisp_Vtbl, 0x7bf80981_bf32_101a_8bbb_00aa00300cab); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPictureDisp { +impl core::ops::Deref for IPictureDisp { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6375,7 +6375,7 @@ pub struct IPictureDisp_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IPointerInactive, IPointerInactive_Vtbl, 0x55980ba0_35aa_11cf_b671_00aa004cd6d8); -impl std::ops::Deref for IPointerInactive { +impl core::ops::Deref for IPointerInactive { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6405,7 +6405,7 @@ pub struct IPointerInactive_Vtbl { pub OnInactiveSetCursor: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, i32, i32, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrint, IPrint_Vtbl, 0xb722bcc9_4e68_101b_a2bc_00aa00404770); -impl std::ops::Deref for IPrint { +impl core::ops::Deref for IPrint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6438,7 +6438,7 @@ pub struct IPrint_Vtbl { Print: usize, } windows_core::imp::define_interface!(IPropertyNotifySink, IPropertyNotifySink_Vtbl, 0x9bfbbc02_eff1_101a_84ed_00aa00341d07); -impl std::ops::Deref for IPropertyNotifySink { +impl core::ops::Deref for IPropertyNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6460,7 +6460,7 @@ pub struct IPropertyNotifySink_Vtbl { pub OnRequestEdit: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyPage, IPropertyPage_Vtbl, 0xb196b28d_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IPropertyPage { +impl core::ops::Deref for IPropertyPage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6532,7 +6532,7 @@ pub struct IPropertyPage_Vtbl { TranslateAccelerator: usize, } windows_core::imp::define_interface!(IPropertyPage2, IPropertyPage2_Vtbl, 0x01e44665_24ac_101b_84ed_08002b2ec713); -impl std::ops::Deref for IPropertyPage2 { +impl core::ops::Deref for IPropertyPage2 { type Target = IPropertyPage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6550,7 +6550,7 @@ pub struct IPropertyPage2_Vtbl { pub EditProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyPageSite, IPropertyPageSite_Vtbl, 0xb196b28c_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IPropertyPageSite { +impl core::ops::Deref for IPropertyPageSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6586,7 +6586,7 @@ pub struct IPropertyPageSite_Vtbl { TranslateAccelerator: usize, } windows_core::imp::define_interface!(IProtectFocus, IProtectFocus_Vtbl, 0xd81f90a3_8156_44f7_ad28_5abb87003274); -impl std::ops::Deref for IProtectFocus { +impl core::ops::Deref for IProtectFocus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6605,7 +6605,7 @@ pub struct IProtectFocus_Vtbl { pub AllowFocusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtectedModeMenuServices, IProtectedModeMenuServices_Vtbl, 0x73c105ee_9dff_4a07_b83c_7eff290c266e); -impl std::ops::Deref for IProtectedModeMenuServices { +impl core::ops::Deref for IProtectedModeMenuServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6653,7 +6653,7 @@ pub struct IProtectedModeMenuServices_Vtbl { LoadMenuID: usize, } windows_core::imp::define_interface!(IProvideClassInfo, IProvideClassInfo_Vtbl, 0xb196b283_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for IProvideClassInfo { +impl core::ops::Deref for IProvideClassInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6676,7 +6676,7 @@ pub struct IProvideClassInfo_Vtbl { GetClassInfo: usize, } windows_core::imp::define_interface!(IProvideClassInfo2, IProvideClassInfo2_Vtbl, 0xa6bc3ac0_dbaa_11ce_9de3_00aa004bb851); -impl std::ops::Deref for IProvideClassInfo2 { +impl core::ops::Deref for IProvideClassInfo2 { type Target = IProvideClassInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6695,7 +6695,7 @@ pub struct IProvideClassInfo2_Vtbl { pub GetGUID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvideMultipleClassInfo, IProvideMultipleClassInfo_Vtbl, 0xa7aba9c1_8983_11cf_8f20_00805f2cd064); -impl std::ops::Deref for IProvideMultipleClassInfo { +impl core::ops::Deref for IProvideMultipleClassInfo { type Target = IProvideClassInfo2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6722,7 +6722,7 @@ pub struct IProvideMultipleClassInfo_Vtbl { GetInfoOfIndex: usize, } windows_core::imp::define_interface!(IProvideRuntimeContext, IProvideRuntimeContext_Vtbl, 0x10e2414a_ec59_49d2_bc51_5add2c36febc); -impl std::ops::Deref for IProvideRuntimeContext { +impl core::ops::Deref for IProvideRuntimeContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6740,7 +6740,7 @@ pub struct IProvideRuntimeContext_Vtbl { pub GetCurrentSourceContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQuickActivate, IQuickActivate_Vtbl, 0xcf51ed10_62fe_11cf_bf86_00a0c9034836); -impl std::ops::Deref for IQuickActivate { +impl core::ops::Deref for IQuickActivate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6771,7 +6771,7 @@ pub struct IQuickActivate_Vtbl { pub GetContentExtent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRecordInfo, IRecordInfo_Vtbl, 0x0000002f_0000_0000_c000_000000000046); -impl std::ops::Deref for IRecordInfo { +impl core::ops::Deref for IRecordInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6873,7 +6873,7 @@ pub struct IRecordInfo_Vtbl { pub RecordDestroy: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISimpleFrameSite, ISimpleFrameSite_Vtbl, 0x742b0e01_14e6_101b_914e_00aa00300cab); -impl std::ops::Deref for ISimpleFrameSite { +impl core::ops::Deref for ISimpleFrameSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6905,7 +6905,7 @@ pub struct ISimpleFrameSite_Vtbl { pub PostMessageFilter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpecifyPropertyPages, ISpecifyPropertyPages_Vtbl, 0xb196b28b_bab4_101a_b69c_00aa00341d07); -impl std::ops::Deref for ISpecifyPropertyPages { +impl core::ops::Deref for ISpecifyPropertyPages { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6924,7 +6924,7 @@ pub struct ISpecifyPropertyPages_Vtbl { pub GetPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CAUUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITypeChangeEvents, ITypeChangeEvents_Vtbl, 0x00020410_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeChangeEvents { +impl core::ops::Deref for ITypeChangeEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6963,7 +6963,7 @@ pub struct ITypeChangeEvents_Vtbl { AfterTypeChange: usize, } windows_core::imp::define_interface!(ITypeFactory, ITypeFactory_Vtbl, 0x0000002e_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeFactory { +impl core::ops::Deref for ITypeFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6989,7 +6989,7 @@ pub struct ITypeFactory_Vtbl { CreateFromTypeInfo: usize, } windows_core::imp::define_interface!(ITypeMarshal, ITypeMarshal_Vtbl, 0x0000002d_0000_0000_c000_000000000046); -impl std::ops::Deref for ITypeMarshal { +impl core::ops::Deref for ITypeMarshal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7020,7 +7020,7 @@ pub struct ITypeMarshal_Vtbl { pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVBFormat, IVBFormat_Vtbl, 0x9849fd60_3768_101b_8d72_ae6164ffe3cf); -impl std::ops::Deref for IVBFormat { +impl core::ops::Deref for IVBFormat { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7041,7 +7041,7 @@ pub struct IVBFormat_Vtbl { pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, core::mem::MaybeUninit, *mut core::ffi::c_void, u16, i32, i16, u16, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVBGetControl, IVBGetControl_Vtbl, 0x40a050a0_3c31_101b_a82e_08002b2b2337); -impl std::ops::Deref for IVBGetControl { +impl core::ops::Deref for IVBGetControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7064,7 +7064,7 @@ pub struct IVBGetControl_Vtbl { EnumControls: usize, } windows_core::imp::define_interface!(IVariantChangeType, IVariantChangeType_Vtbl, 0xa6ef9862_c720_11d0_9337_00a0c90dcaa9); -impl std::ops::Deref for IVariantChangeType { +impl core::ops::Deref for IVariantChangeType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7086,7 +7086,7 @@ pub struct IVariantChangeType_Vtbl { ChangeType: usize, } windows_core::imp::define_interface!(IViewObject, IViewObject_Vtbl, 0x0000010d_0000_0000_c000_000000000046); -impl std::ops::Deref for IViewObject { +impl core::ops::Deref for IViewObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7154,7 +7154,7 @@ pub struct IViewObject_Vtbl { GetAdvise: usize, } windows_core::imp::define_interface!(IViewObject2, IViewObject2_Vtbl, 0x00000127_0000_0000_c000_000000000046); -impl std::ops::Deref for IViewObject2 { +impl core::ops::Deref for IViewObject2 { type Target = IViewObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7177,7 +7177,7 @@ pub struct IViewObject2_Vtbl { GetExtent: usize, } windows_core::imp::define_interface!(IViewObjectEx, IViewObjectEx_Vtbl, 0x3af24292_0c96_11ce_a0cf_00aa00600ab8); -impl std::ops::Deref for IViewObjectEx { +impl core::ops::Deref for IViewObjectEx { type Target = IViewObject2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7223,7 +7223,7 @@ pub struct IViewObjectEx_Vtbl { GetNaturalExtent: usize, } windows_core::imp::define_interface!(IZoomEvents, IZoomEvents_Vtbl, 0x41b68150_904c_4e17_a0ba_a438182e359d); -impl std::ops::Deref for IZoomEvents { +impl core::ops::Deref for IZoomEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs index 80f829fc20..f148788f1e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IWPCGamesSettings, IWPCGamesSettings_Vtbl, 0x95e87780_e158_489e_b452_bbb850790715); -impl std::ops::Deref for IWPCGamesSettings { +impl core::ops::Deref for IWPCGamesSettings { type Target = IWPCSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18,7 +18,7 @@ pub struct IWPCGamesSettings_Vtbl { pub IsBlocked: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWPCProviderConfig, IWPCProviderConfig_Vtbl, 0xbef54196_2d02_4a26_b6e5_d65af295d0f1); -impl std::ops::Deref for IWPCProviderConfig { +impl core::ops::Deref for IWPCProviderConfig { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -56,7 +56,7 @@ pub struct IWPCProviderConfig_Vtbl { pub RequestOverride: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWPCProviderState, IWPCProviderState_Vtbl, 0x50b6a267_c4bd_450b_adb5_759073837c9e); -impl std::ops::Deref for IWPCProviderState { +impl core::ops::Deref for IWPCProviderState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -78,7 +78,7 @@ pub struct IWPCProviderState_Vtbl { pub Disable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWPCProviderSupport, IWPCProviderSupport_Vtbl, 0x41eba572_23ed_4779_bec1_8df96206c44c); -impl std::ops::Deref for IWPCProviderSupport { +impl core::ops::Deref for IWPCProviderSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -97,7 +97,7 @@ pub struct IWPCProviderSupport_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWPCSettings, IWPCSettings_Vtbl, 0x8fdf6ca1_0189_47e4_b670_1a8a4636e340); -impl std::ops::Deref for IWPCSettings { +impl core::ops::Deref for IWPCSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -126,7 +126,7 @@ pub struct IWPCSettings_Vtbl { pub GetRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WPCFLAG_RESTRICTION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWPCWebSettings, IWPCWebSettings_Vtbl, 0xffccbdb8_0992_4c30_b0f1_1cbb09c240aa); -impl std::ops::Deref for IWPCWebSettings { +impl core::ops::Deref for IWPCWebSettings { type Target = IWPCSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -154,7 +154,7 @@ pub struct IWPCWebSettings_Vtbl { pub RequestURLOverride: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, u32, *const windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsParentalControls, IWindowsParentalControls_Vtbl, 0x28b4d88b_e072_49e6_804d_26edbe21a7b9); -impl std::ops::Deref for IWindowsParentalControls { +impl core::ops::Deref for IWindowsParentalControls { type Target = IWindowsParentalControlsCore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -176,7 +176,7 @@ pub struct IWindowsParentalControls_Vtbl { pub GetGamesSettings: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsParentalControlsCore, IWindowsParentalControlsCore_Vtbl, 0x4ff40a0f_3f3b_4d7c_a41b_4f39d7b44d05); -impl std::ops::Deref for IWindowsParentalControlsCore { +impl core::ops::Deref for IWindowsParentalControlsCore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs index f05be01e56..04ce3771ee 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -1008,7 +1008,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DICounterItem, DICounterItem_Vtbl, 0xc08c4ff2_0e2e_11cf_942c_008029004347); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DICounterItem { +impl core::ops::Deref for DICounterItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1026,7 +1026,7 @@ pub struct DICounterItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DILogFileItem, DILogFileItem_Vtbl, 0x8d093ffc_f777_4917_82d1_833fbc54c58f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DILogFileItem { +impl core::ops::Deref for DILogFileItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1044,7 +1044,7 @@ pub struct DILogFileItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DISystemMonitor, DISystemMonitor_Vtbl, 0x13d73d81_c32e_11cf_9398_00aa00a3ddea); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DISystemMonitor { +impl core::ops::Deref for DISystemMonitor { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1062,7 +1062,7 @@ pub struct DISystemMonitor_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DISystemMonitorEvents, DISystemMonitorEvents_Vtbl, 0x84979930_4ab3_11cf_943a_008029004347); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DISystemMonitorEvents { +impl core::ops::Deref for DISystemMonitorEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1080,7 +1080,7 @@ pub struct DISystemMonitorEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DISystemMonitorInternal, DISystemMonitorInternal_Vtbl, 0x194eb242_c32c_11cf_9398_00aa00a3ddea); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DISystemMonitorInternal { +impl core::ops::Deref for DISystemMonitorInternal { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1098,7 +1098,7 @@ pub struct DISystemMonitorInternal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAlertDataCollector, IAlertDataCollector_Vtbl, 0x03837516_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAlertDataCollector { +impl core::ops::Deref for IAlertDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1215,7 +1215,7 @@ pub struct IAlertDataCollector_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IApiTracingDataCollector, IApiTracingDataCollector_Vtbl, 0x0383751a_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IApiTracingDataCollector { +impl core::ops::Deref for IApiTracingDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1333,7 +1333,7 @@ pub struct IApiTracingDataCollector_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IConfigurationDataCollector, IConfigurationDataCollector_Vtbl, 0x03837514_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IConfigurationDataCollector { +impl core::ops::Deref for IConfigurationDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1461,7 +1461,7 @@ pub struct IConfigurationDataCollector_Vtbl { pub SetSystemStateFile: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICounterItem, ICounterItem_Vtbl, 0x771a9520_ee28_11ce_941e_008029004347); -impl std::ops::Deref for ICounterItem { +impl core::ops::Deref for ICounterItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1529,7 +1529,7 @@ pub struct ICounterItem_Vtbl { pub GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut f64, *mut f64, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICounterItem2, ICounterItem2_Vtbl, 0xeefcd4e1_ea1c_4435_b7f4_e341ba03b4f9); -impl std::ops::Deref for ICounterItem2 { +impl core::ops::Deref for ICounterItem2 { type Target = ICounterItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1574,7 +1574,7 @@ pub struct ICounterItem2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICounters, ICounters_Vtbl, 0x79167962_28fc_11cf_942f_008029004347); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICounters { +impl core::ops::Deref for ICounters { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1634,7 +1634,7 @@ pub struct ICounters_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataCollector, IDataCollector_Vtbl, 0x038374ff_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDataCollector { +impl core::ops::Deref for IDataCollector { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1810,7 +1810,7 @@ pub struct IDataCollector_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataCollectorCollection, IDataCollectorCollection_Vtbl, 0x03837502_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDataCollectorCollection { +impl core::ops::Deref for IDataCollectorCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1904,7 +1904,7 @@ pub struct IDataCollectorCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataCollectorSet, IDataCollectorSet_Vtbl, 0x03837520_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDataCollectorSet { +impl core::ops::Deref for IDataCollectorSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2295,7 +2295,7 @@ pub struct IDataCollectorSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataCollectorSetCollection, IDataCollectorSetCollection_Vtbl, 0x03837524_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDataCollectorSetCollection { +impl core::ops::Deref for IDataCollectorSetCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2377,7 +2377,7 @@ pub struct IDataCollectorSetCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataManager, IDataManager_Vtbl, 0x03837541_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDataManager { +impl core::ops::Deref for IDataManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2545,7 +2545,7 @@ pub struct IDataManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFolderAction, IFolderAction_Vtbl, 0x03837543_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFolderAction { +impl core::ops::Deref for IFolderAction { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2603,7 +2603,7 @@ pub struct IFolderAction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFolderActionCollection, IFolderActionCollection_Vtbl, 0x03837544_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFolderActionCollection { +impl core::ops::Deref for IFolderActionCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2684,7 +2684,7 @@ pub struct IFolderActionCollection_Vtbl { CreateFolderAction: usize, } windows_core::imp::define_interface!(ILogFileItem, ILogFileItem_Vtbl, 0xd6b518dd_05c7_418a_89e6_4f9ce8c6841e); -impl std::ops::Deref for ILogFileItem { +impl core::ops::Deref for ILogFileItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2705,7 +2705,7 @@ pub struct ILogFileItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILogFiles, ILogFiles_Vtbl, 0x6a2a97e6_6851_41ea_87ad_2a8225335865); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ILogFiles { +impl core::ops::Deref for ILogFiles { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2765,7 +2765,7 @@ pub struct ILogFiles_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPerformanceCounterDataCollector, IPerformanceCounterDataCollector_Vtbl, 0x03837506_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPerformanceCounterDataCollector { +impl core::ops::Deref for IPerformanceCounterDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2840,7 +2840,7 @@ pub struct IPerformanceCounterDataCollector_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISchedule, ISchedule_Vtbl, 0x0383753a_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISchedule { +impl core::ops::Deref for ISchedule { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2904,7 +2904,7 @@ pub struct ISchedule_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IScheduleCollection, IScheduleCollection_Vtbl, 0x0383753d_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IScheduleCollection { +impl core::ops::Deref for IScheduleCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2985,7 +2985,7 @@ pub struct IScheduleCollection_Vtbl { CreateSchedule: usize, } windows_core::imp::define_interface!(ISystemMonitor, ISystemMonitor_Vtbl, 0x194eb241_c32c_11cf_9398_00aa00a3ddea); -impl std::ops::Deref for ISystemMonitor { +impl core::ops::Deref for ISystemMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3409,7 +3409,7 @@ pub struct ISystemMonitor_Vtbl { pub SqlLogSetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemMonitor2, ISystemMonitor2_Vtbl, 0x08e3206a_5fd2_4fde_a8a5_8cb3b63d2677); -impl std::ops::Deref for ISystemMonitor2 { +impl core::ops::Deref for ISystemMonitor2 { type Target = ISystemMonitor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3537,7 +3537,7 @@ pub struct ISystemMonitor2_Vtbl { pub LoadSettings: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemMonitorEvents, ISystemMonitorEvents_Vtbl, 0xee660ea0_4abd_11cf_943a_008029004347); -impl std::ops::Deref for ISystemMonitorEvents { +impl core::ops::Deref for ISystemMonitorEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3573,7 +3573,7 @@ pub struct ISystemMonitorEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITraceDataCollector, ITraceDataCollector_Vtbl, 0x0383750b_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITraceDataCollector { +impl core::ops::Deref for ITraceDataCollector { type Target = IDataCollector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3786,7 +3786,7 @@ pub struct ITraceDataCollector_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITraceDataProvider, ITraceDataProvider_Vtbl, 0x03837512_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITraceDataProvider { +impl core::ops::Deref for ITraceDataProvider { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3940,7 +3940,7 @@ pub struct ITraceDataProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITraceDataProviderCollection, ITraceDataProviderCollection_Vtbl, 0x03837510_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITraceDataProviderCollection { +impl core::ops::Deref for ITraceDataProviderCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4037,7 +4037,7 @@ pub struct ITraceDataProviderCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IValueMap, IValueMap_Vtbl, 0x03837534_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IValueMap { +impl core::ops::Deref for IValueMap { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4149,7 +4149,7 @@ pub struct IValueMap_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IValueMapItem, IValueMapItem_Vtbl, 0x03837533_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IValueMapItem { +impl core::ops::Deref for IValueMapItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4223,7 +4223,7 @@ pub struct IValueMapItem_Vtbl { pub SetValueMapType: unsafe extern "system" fn(*mut core::ffi::c_void, ValueMapType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(_ICounterItemUnion, _ICounterItemUnion_Vtbl, 0xde1a6b74_9182_4c41_8e2c_24c2cd30ee83); -impl std::ops::Deref for _ICounterItemUnion { +impl core::ops::Deref for _ICounterItemUnion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4320,7 +4320,7 @@ pub struct _ICounterItemUnion_Vtbl { pub GetDataAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SysmonDataType, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(_ISystemMonitorUnion, _ISystemMonitorUnion_Vtbl, 0xc8a77338_265f_4de5_aa25_c7da1ce5a8f4); -impl std::ops::Deref for _ISystemMonitorUnion { +impl core::ops::Deref for _ISystemMonitorUnion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs index 595171d98a..cf0dbb8e92 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(INetworkTransportSettings, INetworkTransportSettings_Vtbl, 0x5e7abb2c_f2c1_4a61_bd35_deb7a08ab0f1); -impl std::ops::Deref for INetworkTransportSettings { +impl core::ops::Deref for INetworkTransportSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -29,7 +29,7 @@ pub struct INetworkTransportSettings_Vtbl { QuerySetting: usize, } windows_core::imp::define_interface!(INotificationTransportSync, INotificationTransportSync_Vtbl, 0x79eb1402_0ab8_49c0_9e14_a1ae4ba93058); -impl std::ops::Deref for INotificationTransportSync { +impl core::ops::Deref for INotificationTransportSync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -51,7 +51,7 @@ pub struct INotificationTransportSync_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCBuddy, IRTCBuddy_Vtbl, 0xfcb136c8_7b90_4e0c_befe_56edf0ba6f1c); -impl std::ops::Deref for IRTCBuddy { +impl core::ops::Deref for IRTCBuddy { type Target = IRTCPresenceContact; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -75,7 +75,7 @@ pub struct IRTCBuddy_Vtbl { pub Notes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCBuddy2, IRTCBuddy2_Vtbl, 0x102f9588_23e7_40e3_954d_cd7a1d5c0361); -impl std::ops::Deref for IRTCBuddy2 { +impl core::ops::Deref for IRTCBuddy2 { type Target = IRTCBuddy; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct IRTCBuddy2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCBuddyEvent, IRTCBuddyEvent_Vtbl, 0xf36d755d_17e6_404e_954f_0fc07574c78d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCBuddyEvent { +impl core::ops::Deref for IRTCBuddyEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -162,7 +162,7 @@ pub struct IRTCBuddyEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCBuddyEvent2, IRTCBuddyEvent2_Vtbl, 0x484a7f1e_73f0_4990_bfc2_60bc3978a720); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCBuddyEvent2 { +impl core::ops::Deref for IRTCBuddyEvent2 { type Target = IRTCBuddyEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -194,7 +194,7 @@ pub struct IRTCBuddyEvent2_Vtbl { pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCBuddyGroup, IRTCBuddyGroup_Vtbl, 0x60361e68_9164_4389_a4c6_d0b3925bda5e); -impl std::ops::Deref for IRTCBuddyGroup { +impl core::ops::Deref for IRTCBuddyGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -267,7 +267,7 @@ pub struct IRTCBuddyGroup_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCBuddyGroupEvent, IRTCBuddyGroupEvent_Vtbl, 0x3a79e1d1_b736_4414_96f8_bbc7f08863e4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCBuddyGroupEvent { +impl core::ops::Deref for IRTCBuddyGroupEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -304,7 +304,7 @@ pub struct IRTCBuddyGroupEvent_Vtbl { pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClient, IRTCClient_Vtbl, 0x07829e45_9a34_408e_a011_bddf13487cd1); -impl std::ops::Deref for IRTCClient { +impl core::ops::Deref for IRTCClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -543,7 +543,7 @@ pub struct IRTCClient_Vtbl { pub IsTuned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClient2, IRTCClient2_Vtbl, 0x0c91d71d_1064_42da_bfa5_572beb8eea84); -impl std::ops::Deref for IRTCClient2 { +impl core::ops::Deref for IRTCClient2 { type Target = IRTCClient; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -634,7 +634,7 @@ pub struct IRTCClient2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCClientEvent, IRTCClientEvent_Vtbl, 0x2b493b7a_3cba_4170_9c8b_76a9dacdd644); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCClientEvent { +impl core::ops::Deref for IRTCClientEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -661,7 +661,7 @@ pub struct IRTCClientEvent_Vtbl { pub Client: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientPortManagement, IRTCClientPortManagement_Vtbl, 0xd5df3f03_4bde_4417_aefe_71177bdaea66); -impl std::ops::Deref for IRTCClientPortManagement { +impl core::ops::Deref for IRTCClientPortManagement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -693,7 +693,7 @@ pub struct IRTCClientPortManagement_Vtbl { pub GetPortRange: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PORT_TYPE, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientPresence, IRTCClientPresence_Vtbl, 0x11c3cbcc_0744_42d1_968a_51aa1bb274c6); -impl std::ops::Deref for IRTCClientPresence { +impl core::ops::Deref for IRTCClientPresence { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -837,7 +837,7 @@ pub struct IRTCClientPresence_Vtbl { pub SetPrivacyMode: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRIVACY_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientPresence2, IRTCClientPresence2_Vtbl, 0xad1809e8_62f7_4783_909a_29c9d2cb1d34); -impl std::ops::Deref for IRTCClientPresence2 { +impl core::ops::Deref for IRTCClientPresence2 { type Target = IRTCClientPresence; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -962,7 +962,7 @@ pub struct IRTCClientPresence2_Vtbl { pub AddBuddyEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL, RTC_BUDDY_SUBSCRIPTION_TYPE, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientProvisioning, IRTCClientProvisioning_Vtbl, 0xb9f5cf06_65b9_4a80_a0e6_73cae3ef3822); -impl std::ops::Deref for IRTCClientProvisioning { +impl core::ops::Deref for IRTCClientProvisioning { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1027,7 +1027,7 @@ pub struct IRTCClientProvisioning_Vtbl { pub SessionCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCClientProvisioning2, IRTCClientProvisioning2_Vtbl, 0xa70909b5_f40e_4587_bb75_e6bc0845023e); -impl std::ops::Deref for IRTCClientProvisioning2 { +impl core::ops::Deref for IRTCClientProvisioning2 { type Target = IRTCClientProvisioning; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1050,7 +1050,7 @@ pub struct IRTCClientProvisioning2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCCollection, IRTCCollection_Vtbl, 0xec7c8096_b918_4044_94f1_e4fba0361d5c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCCollection { +impl core::ops::Deref for IRTCCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1084,7 +1084,7 @@ pub struct IRTCCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCDispatchEventNotification, IRTCDispatchEventNotification_Vtbl, 0x176ddfbe_fec0_4d55_bc87_84cff1ef7f91); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCDispatchEventNotification { +impl core::ops::Deref for IRTCDispatchEventNotification { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1100,7 +1100,7 @@ pub struct IRTCDispatchEventNotification_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IRTCEnumBuddies, IRTCEnumBuddies_Vtbl, 0xf7296917_5569_4b3b_b3af_98d1144b2b87); -impl std::ops::Deref for IRTCEnumBuddies { +impl core::ops::Deref for IRTCEnumBuddies { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1131,7 +1131,7 @@ pub struct IRTCEnumBuddies_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCEnumGroups, IRTCEnumGroups_Vtbl, 0x742378d6_a141_4415_8f27_35d99076cf5d); -impl std::ops::Deref for IRTCEnumGroups { +impl core::ops::Deref for IRTCEnumGroups { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1162,7 +1162,7 @@ pub struct IRTCEnumGroups_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCEnumParticipants, IRTCEnumParticipants_Vtbl, 0xfcd56f29_4a4f_41b2_ba5c_f5bccc060bf6); -impl std::ops::Deref for IRTCEnumParticipants { +impl core::ops::Deref for IRTCEnumParticipants { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1193,7 +1193,7 @@ pub struct IRTCEnumParticipants_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCEnumPresenceDevices, IRTCEnumPresenceDevices_Vtbl, 0x708c2ab7_8bf8_42f8_8c7d_635197ad5539); -impl std::ops::Deref for IRTCEnumPresenceDevices { +impl core::ops::Deref for IRTCEnumPresenceDevices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1224,7 +1224,7 @@ pub struct IRTCEnumPresenceDevices_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCEnumProfiles, IRTCEnumProfiles_Vtbl, 0x29b7c41c_ed82_4bca_84ad_39d5101b58e3); -impl std::ops::Deref for IRTCEnumProfiles { +impl core::ops::Deref for IRTCEnumProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1255,7 +1255,7 @@ pub struct IRTCEnumProfiles_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCEnumUserSearchResults, IRTCEnumUserSearchResults_Vtbl, 0x83d4d877_aa5d_4a5b_8d0e_002a8067e0e8); -impl std::ops::Deref for IRTCEnumUserSearchResults { +impl core::ops::Deref for IRTCEnumUserSearchResults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1286,7 +1286,7 @@ pub struct IRTCEnumUserSearchResults_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCEnumWatchers, IRTCEnumWatchers_Vtbl, 0xa87d55d7_db74_4ed1_9ca4_77a0e41b413e); -impl std::ops::Deref for IRTCEnumWatchers { +impl core::ops::Deref for IRTCEnumWatchers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1317,7 +1317,7 @@ pub struct IRTCEnumWatchers_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCEventNotification, IRTCEventNotification_Vtbl, 0x13fa24c7_5748_4b21_91f5_7397609ce747); -impl std::ops::Deref for IRTCEventNotification { +impl core::ops::Deref for IRTCEventNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1344,7 +1344,7 @@ pub struct IRTCEventNotification_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCInfoEvent, IRTCInfoEvent_Vtbl, 0x4e1d68ae_1912_4f49_b2c3_594fadfd425f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCInfoEvent { +impl core::ops::Deref for IRTCInfoEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1383,7 +1383,7 @@ pub struct IRTCInfoEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCIntensityEvent, IRTCIntensityEvent_Vtbl, 0x4c23bf51_390c_4992_a41d_41eec05b2a4b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCIntensityEvent { +impl core::ops::Deref for IRTCIntensityEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1422,7 +1422,7 @@ pub struct IRTCIntensityEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCMediaEvent, IRTCMediaEvent_Vtbl, 0x099944fb_bcda_453e_8c41_e13da2adf7f3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCMediaEvent { +impl core::ops::Deref for IRTCMediaEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1456,7 +1456,7 @@ pub struct IRTCMediaEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCMediaRequestEvent, IRTCMediaRequestEvent_Vtbl, 0x52572d15_148c_4d97_a36c_2da55c289d63); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCMediaRequestEvent { +impl core::ops::Deref for IRTCMediaRequestEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1508,7 +1508,7 @@ pub struct IRTCMediaRequestEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCMessagingEvent, IRTCMessagingEvent_Vtbl, 0xd3609541_1b29_4de5_a4ad_5aebaf319512); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCMessagingEvent { +impl core::ops::Deref for IRTCMessagingEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1555,7 +1555,7 @@ pub struct IRTCMessagingEvent_Vtbl { pub UserStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_MESSAGING_USER_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCParticipant, IRTCParticipant_Vtbl, 0xae86add5_26b1_4414_af1d_b94cd938d739); -impl std::ops::Deref for IRTCParticipant { +impl core::ops::Deref for IRTCParticipant { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1596,7 +1596,7 @@ pub struct IRTCParticipant_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCParticipantStateChangeEvent, IRTCParticipantStateChangeEvent_Vtbl, 0x09bcb597_f0fa_48f9_b420_468cea7fde04); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCParticipantStateChangeEvent { +impl core::ops::Deref for IRTCParticipantStateChangeEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1628,7 +1628,7 @@ pub struct IRTCParticipantStateChangeEvent_Vtbl { pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCPortManager, IRTCPortManager_Vtbl, 0xda77c14b_6208_43ca_8ddf_5b60a0a69fac); -impl std::ops::Deref for IRTCPortManager { +impl core::ops::Deref for IRTCPortManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1666,7 +1666,7 @@ pub struct IRTCPortManager_Vtbl { pub ReleaseMapping: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCPresenceContact, IRTCPresenceContact_Vtbl, 0x8b22f92c_cd90_42db_a733_212205c3e3df); -impl std::ops::Deref for IRTCPresenceContact { +impl core::ops::Deref for IRTCPresenceContact { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1730,7 +1730,7 @@ pub struct IRTCPresenceContact_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCPresenceDataEvent, IRTCPresenceDataEvent_Vtbl, 0x38f0e78c_8b87_4c04_a82d_aedd83c909bb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCPresenceDataEvent { +impl core::ops::Deref for IRTCPresenceDataEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1761,7 +1761,7 @@ pub struct IRTCPresenceDataEvent_Vtbl { pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCPresenceDevice, IRTCPresenceDevice_Vtbl, 0xbc6a90dd_ad9a_48da_9b0c_2515e38521ad); -impl std::ops::Deref for IRTCPresenceDevice { +impl core::ops::Deref for IRTCPresenceDevice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1796,7 +1796,7 @@ pub struct IRTCPresenceDevice_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCPresencePropertyEvent, IRTCPresencePropertyEvent_Vtbl, 0xf777f570_a820_49d5_86bd_e099493f1518); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCPresencePropertyEvent { +impl core::ops::Deref for IRTCPresencePropertyEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1835,7 +1835,7 @@ pub struct IRTCPresencePropertyEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCPresenceStatusEvent, IRTCPresenceStatusEvent_Vtbl, 0x78673f32_4a0f_462c_89aa_ee7706707678); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCPresenceStatusEvent { +impl core::ops::Deref for IRTCPresenceStatusEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1866,7 +1866,7 @@ pub struct IRTCPresenceStatusEvent_Vtbl { pub GetLocalPresenceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRESENCE_STATUS, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCProfile, IRTCProfile_Vtbl, 0xd07eca9e_4062_4dd4_9e7d_722a49ba7303); -impl std::ops::Deref for IRTCProfile { +impl core::ops::Deref for IRTCProfile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1974,7 +1974,7 @@ pub struct IRTCProfile_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_REGISTRATION_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCProfile2, IRTCProfile2_Vtbl, 0x4b81f84e_bdc7_4184_9154_3cb2dd7917fb); -impl std::ops::Deref for IRTCProfile2 { +impl core::ops::Deref for IRTCProfile2 { type Target = IRTCProfile; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2011,7 +2011,7 @@ pub struct IRTCProfile2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCProfileEvent, IRTCProfileEvent_Vtbl, 0xd6d5ab3b_770e_43e8_800a_79b062395fca); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCProfileEvent { +impl core::ops::Deref for IRTCProfileEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2045,7 +2045,7 @@ pub struct IRTCProfileEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCProfileEvent2, IRTCProfileEvent2_Vtbl, 0x62e56edc_03fa_4121_94fb_23493fd0ae64); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCProfileEvent2 { +impl core::ops::Deref for IRTCProfileEvent2 { type Target = IRTCProfileEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2069,7 +2069,7 @@ pub struct IRTCProfileEvent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCReInviteEvent, IRTCReInviteEvent_Vtbl, 0x11558d84_204c_43e7_99b0_2034e9417f7d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCReInviteEvent { +impl core::ops::Deref for IRTCReInviteEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2114,7 +2114,7 @@ pub struct IRTCReInviteEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCRegistrationStateChangeEvent, IRTCRegistrationStateChangeEvent_Vtbl, 0x62d0991b_50ab_4f02_b948_ca94f26f8f95); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCRegistrationStateChangeEvent { +impl core::ops::Deref for IRTCRegistrationStateChangeEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2153,7 +2153,7 @@ pub struct IRTCRegistrationStateChangeEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCRoamingEvent, IRTCRoamingEvent_Vtbl, 0x79960a6b_0cb1_4dc8_a805_7318e99902e8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCRoamingEvent { +impl core::ops::Deref for IRTCRoamingEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2190,7 +2190,7 @@ pub struct IRTCRoamingEvent_Vtbl { pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSession, IRTCSession_Vtbl, 0x387c8086_99be_42fb_9973_7c0fc0ca9fa8); -impl std::ops::Deref for IRTCSession { +impl core::ops::Deref for IRTCSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2316,7 +2316,7 @@ pub struct IRTCSession_Vtbl { pub put_EncryptionKey: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSession2, IRTCSession2_Vtbl, 0x17d7cdfc_b007_484c_99d2_86a8a820991d); -impl std::ops::Deref for IRTCSession2 { +impl core::ops::Deref for IRTCSession2 { type Target = IRTCSession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2368,7 +2368,7 @@ pub struct IRTCSession2_Vtbl { pub ReInviteWithSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSessionCallControl, IRTCSessionCallControl_Vtbl, 0xe9a50d94_190b_4f82_9530_3b8ebf60758a); -impl std::ops::Deref for IRTCSessionCallControl { +impl core::ops::Deref for IRTCSessionCallControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2434,7 +2434,7 @@ pub struct IRTCSessionCallControl_Vtbl { pub IsReferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSessionDescriptionManager, IRTCSessionDescriptionManager_Vtbl, 0xba7f518e_d336_4070_93a6_865395c843f9); -impl std::ops::Deref for IRTCSessionDescriptionManager { +impl core::ops::Deref for IRTCSessionDescriptionManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2458,7 +2458,7 @@ pub struct IRTCSessionDescriptionManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent, IRTCSessionOperationCompleteEvent_Vtbl, 0xa6bff4c0_f7c8_4d3c_9a41_3550f78a95b0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCSessionOperationCompleteEvent { +impl core::ops::Deref for IRTCSessionOperationCompleteEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2497,7 +2497,7 @@ pub struct IRTCSessionOperationCompleteEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent2, IRTCSessionOperationCompleteEvent2_Vtbl, 0xf6fc2a9b_d5bc_4241_b436_1b8460c13832); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCSessionOperationCompleteEvent2 { +impl core::ops::Deref for IRTCSessionOperationCompleteEvent2 { type Target = IRTCSessionOperationCompleteEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2523,7 +2523,7 @@ pub struct IRTCSessionOperationCompleteEvent2_Vtbl { pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCSessionPortManagement, IRTCSessionPortManagement_Vtbl, 0xa072f1d6_0286_4e1f_85f2_17a2948456ec); -impl std::ops::Deref for IRTCSessionPortManagement { +impl core::ops::Deref for IRTCSessionPortManagement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2546,7 +2546,7 @@ pub struct IRTCSessionPortManagement_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionReferStatusEvent, IRTCSessionReferStatusEvent_Vtbl, 0x3d8fc2cd_5d76_44ab_bb68_2a80353b34a2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCSessionReferStatusEvent { +impl core::ops::Deref for IRTCSessionReferStatusEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2585,7 +2585,7 @@ pub struct IRTCSessionReferStatusEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionReferredEvent, IRTCSessionReferredEvent_Vtbl, 0x176a6828_4fcc_4f28_a862_04597a6cf1c4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCSessionReferredEvent { +impl core::ops::Deref for IRTCSessionReferredEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2636,7 +2636,7 @@ pub struct IRTCSessionReferredEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionStateChangeEvent, IRTCSessionStateChangeEvent_Vtbl, 0xb5bad703_5952_48b3_9321_7f4500521506); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCSessionStateChangeEvent { +impl core::ops::Deref for IRTCSessionStateChangeEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2675,7 +2675,7 @@ pub struct IRTCSessionStateChangeEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCSessionStateChangeEvent2, IRTCSessionStateChangeEvent2_Vtbl, 0x4f933171_6f95_4880_80d9_2ec8d495d261); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCSessionStateChangeEvent2 { +impl core::ops::Deref for IRTCSessionStateChangeEvent2 { type Target = IRTCSessionStateChangeEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2711,7 +2711,7 @@ pub struct IRTCSessionStateChangeEvent2_Vtbl { pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCUserSearch, IRTCUserSearch_Vtbl, 0xb619882b_860c_4db4_be1b_693b6505bbe5); -impl std::ops::Deref for IRTCUserSearch { +impl core::ops::Deref for IRTCUserSearch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2738,7 +2738,7 @@ pub struct IRTCUserSearch_Vtbl { pub ExecuteSearch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCUserSearchQuery, IRTCUserSearchQuery_Vtbl, 0x288300f5_d23a_4365_9a73_9985c98c2881); -impl std::ops::Deref for IRTCUserSearchQuery { +impl core::ops::Deref for IRTCUserSearchQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2794,7 +2794,7 @@ pub struct IRTCUserSearchQuery_Vtbl { pub SearchDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCUserSearchResult, IRTCUserSearchResult_Vtbl, 0x851278b2_9592_480f_8db5_2de86b26b54d); -impl std::ops::Deref for IRTCUserSearchResult { +impl core::ops::Deref for IRTCUserSearchResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2815,7 +2815,7 @@ pub struct IRTCUserSearchResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCUserSearchResultsEvent, IRTCUserSearchResultsEvent_Vtbl, 0xd8c8c3cd_7fac_4088_81c5_c24cbc0938e3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCUserSearchResultsEvent { +impl core::ops::Deref for IRTCUserSearchResultsEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2871,7 +2871,7 @@ pub struct IRTCUserSearchResultsEvent_Vtbl { pub MoreAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCWatcher, IRTCWatcher_Vtbl, 0xc7cedad8_346b_4d1b_ac02_a2088df9be4f); -impl std::ops::Deref for IRTCWatcher { +impl core::ops::Deref for IRTCWatcher { type Target = IRTCPresenceContact; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2894,7 +2894,7 @@ pub struct IRTCWatcher_Vtbl { pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_WATCHER_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRTCWatcher2, IRTCWatcher2_Vtbl, 0xd4d9967f_d011_4b1d_91e3_aba78f96393d); -impl std::ops::Deref for IRTCWatcher2 { +impl core::ops::Deref for IRTCWatcher2 { type Target = IRTCWatcher; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2920,7 +2920,7 @@ pub struct IRTCWatcher2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCWatcherEvent, IRTCWatcherEvent_Vtbl, 0xf30d7261_587a_424f_822c_312788f43548); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCWatcherEvent { +impl core::ops::Deref for IRTCWatcherEvent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2944,7 +2944,7 @@ pub struct IRTCWatcherEvent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRTCWatcherEvent2, IRTCWatcherEvent2_Vtbl, 0xe52891e8_188c_49af_b005_98ed13f83f9c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRTCWatcherEvent2 { +impl core::ops::Deref for IRTCWatcherEvent2 { type Target = IRTCWatcherEvent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2971,7 +2971,7 @@ pub struct IRTCWatcherEvent2_Vtbl { pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransportSettingsInternal, ITransportSettingsInternal_Vtbl, 0x5123e076_29e3_4bfd_84fe_0192d411e3e8); -impl std::ops::Deref for ITransportSettingsInternal { +impl core::ops::Deref for ITransportSettingsInternal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs index eb611c8497..0d4b8d478b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DRendezvousSessionEvents, DRendezvousSessionEvents_Vtbl, 0x3fa19cf8_64c4_4f53_ae60_635b3806eca6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DRendezvousSessionEvents { +impl core::ops::Deref for DRendezvousSessionEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17,7 +17,7 @@ pub struct DRendezvousSessionEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IRendezvousApplication, IRendezvousApplication_Vtbl, 0x4f4d070b_a275_49fb_b10d_8ec26387b50d); -impl std::ops::Deref for IRendezvousApplication { +impl core::ops::Deref for IRendezvousApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -38,7 +38,7 @@ pub struct IRendezvousApplication_Vtbl { pub SetRendezvousSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRendezvousSession, IRendezvousSession_Vtbl, 0x9ba4b1dd_8b0c_48b7_9e7c_2f25857c8df5); -impl std::ops::Deref for IRendezvousSession { +impl core::ops::Deref for IRendezvousSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs index 172f005f25..d145d7328c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -528,7 +528,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IADsTSUserEx, IADsTSUserEx_Vtbl, 0xc4930e79_2989_4462_8a60_2fcf2f2955ef); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IADsTSUserEx { +impl core::ops::Deref for IADsTSUserEx { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -695,7 +695,7 @@ pub struct IADsTSUserEx_Vtbl { pub SetTerminalServicesInitialProgram: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioDeviceEndpoint, IAudioDeviceEndpoint_Vtbl, 0xd4952f5a_a0b2_4cc4_8b82_9358488dd8ac); -impl std::ops::Deref for IAudioDeviceEndpoint { +impl core::ops::Deref for IAudioDeviceEndpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -727,7 +727,7 @@ pub struct IAudioDeviceEndpoint_Vtbl { pub WriteExclusiveModeParametersToSharedMemory: unsafe extern "system" fn(*mut core::ffi::c_void, usize, i64, i64, u32, *mut u32, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpoint, IAudioEndpoint_Vtbl, 0x30a99515_1527_4451_af9f_00c5f0234daf); -impl std::ops::Deref for IAudioEndpoint { +impl core::ops::Deref for IAudioEndpoint { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -771,7 +771,7 @@ pub struct IAudioEndpoint_Vtbl { pub SetEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointControl, IAudioEndpointControl_Vtbl, 0xc684b72a_6df4_4774_bdf9_76b77509b653); -impl std::ops::Deref for IAudioEndpointControl { +impl core::ops::Deref for IAudioEndpointControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -797,7 +797,7 @@ pub struct IAudioEndpointControl_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioEndpointRT, IAudioEndpointRT_Vtbl, 0xdfd2005f_a6e5_4d39_a265_939ada9fbb4d); -impl std::ops::Deref for IAudioEndpointRT { +impl core::ops::Deref for IAudioEndpointRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -827,7 +827,7 @@ pub struct IAudioEndpointRT_Vtbl { pub SetPinActive: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioInputEndpointRT, IAudioInputEndpointRT_Vtbl, 0x8026ab61_92b2_43c1_a1df_5c37ebd08d82); -impl std::ops::Deref for IAudioInputEndpointRT { +impl core::ops::Deref for IAudioInputEndpointRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -857,7 +857,7 @@ pub struct IAudioInputEndpointRT_Vtbl { pub PulseEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IAudioOutputEndpointRT, IAudioOutputEndpointRT_Vtbl, 0x8fa906e4_c31c_4e31_932e_19a66385e9aa); -impl std::ops::Deref for IAudioOutputEndpointRT { +impl core::ops::Deref for IAudioOutputEndpointRT { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -889,7 +889,7 @@ pub struct IAudioOutputEndpointRT_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteDesktopClient, IRemoteDesktopClient_Vtbl, 0x57d25668_625a_4905_be4e_304caa13f89c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRemoteDesktopClient { +impl core::ops::Deref for IRemoteDesktopClient { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -982,7 +982,7 @@ pub struct IRemoteDesktopClient_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteDesktopClientActions, IRemoteDesktopClientActions_Vtbl, 0x7d54bc4e_1028_45d4_8b0a_b9b6bffba176); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRemoteDesktopClientActions { +impl core::ops::Deref for IRemoteDesktopClientActions { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1018,7 +1018,7 @@ pub struct IRemoteDesktopClientActions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteDesktopClientSettings, IRemoteDesktopClientSettings_Vtbl, 0x48a0f2a7_2713_431f_bbac_6f4558e7d64d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRemoteDesktopClientSettings { +impl core::ops::Deref for IRemoteDesktopClientSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1065,7 +1065,7 @@ pub struct IRemoteDesktopClientSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteDesktopClientTouchPointer, IRemoteDesktopClientTouchPointer_Vtbl, 0x260ec22d_8cbc_44b5_9e88_2a37f6c93ae9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRemoteDesktopClientTouchPointer { +impl core::ops::Deref for IRemoteDesktopClientTouchPointer { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1115,7 +1115,7 @@ pub struct IRemoteDesktopClientTouchPointer_Vtbl { pub PointerSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteSystemAdditionalInfoProvider, IRemoteSystemAdditionalInfoProvider_Vtbl, 0xeeaa3d5f_ec63_4d27_af38_e86b1d7292cb); -impl std::ops::Deref for IRemoteSystemAdditionalInfoProvider { +impl core::ops::Deref for IRemoteSystemAdditionalInfoProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1127,7 +1127,7 @@ impl IRemoteSystemAdditionalInfoProvider { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAdditionalInfo)(windows_core::Interface::as_raw(self), core::mem::transmute(deduplicationid), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1137,7 +1137,7 @@ pub struct IRemoteSystemAdditionalInfoProvider_Vtbl { pub GetAdditionalInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGAccountingEngine, ITSGAccountingEngine_Vtbl, 0x4ce2a0c9_e874_4f1a_86f4_06bbb9115338); -impl std::ops::Deref for ITSGAccountingEngine { +impl core::ops::Deref for ITSGAccountingEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1155,7 +1155,7 @@ pub struct ITSGAccountingEngine_Vtbl { pub DoAccounting: unsafe extern "system" fn(*mut core::ffi::c_void, AAAccountingDataType, AAAccountingData) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGAuthenticateUserSink, ITSGAuthenticateUserSink_Vtbl, 0x2c3e2e73_a782_47f9_8dfb_77ee1ed27a03); -impl std::ops::Deref for ITSGAuthenticateUserSink { +impl core::ops::Deref for ITSGAuthenticateUserSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1190,7 +1190,7 @@ pub struct ITSGAuthenticateUserSink_Vtbl { pub DisconnectUser: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGAuthenticationEngine, ITSGAuthenticationEngine_Vtbl, 0x9ee3e5bf_04ab_4691_998c_d7f622321a56); -impl std::ops::Deref for ITSGAuthenticationEngine { +impl core::ops::Deref for ITSGAuthenticationEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1215,7 +1215,7 @@ pub struct ITSGAuthenticationEngine_Vtbl { pub CancelAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGAuthorizeConnectionSink, ITSGAuthorizeConnectionSink_Vtbl, 0xc27ece33_7781_4318_98ef_1cf2da7b7005); -impl std::ops::Deref for ITSGAuthorizeConnectionSink { +impl core::ops::Deref for ITSGAuthorizeConnectionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1233,7 +1233,7 @@ pub struct ITSGAuthorizeConnectionSink_Vtbl { pub OnConnectionAuthorized: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::GUID, u32, *const u8, u32, u32, SESSION_TIMEOUT_ACTION_TYPE, AATrustClassID, *const u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGAuthorizeResourceSink, ITSGAuthorizeResourceSink_Vtbl, 0xfeddfcd4_fa12_4435_ae55_7ad1a9779af7); -impl std::ops::Deref for ITSGAuthorizeResourceSink { +impl core::ops::Deref for ITSGAuthorizeResourceSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1251,7 +1251,7 @@ pub struct ITSGAuthorizeResourceSink_Vtbl { pub OnChannelAuthorized: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::GUID, i32, *const core::mem::MaybeUninit, u32, *const core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITSGPolicyEngine, ITSGPolicyEngine_Vtbl, 0x8bc24f08_6223_42f4_a5b4_8e37cd135bbd); -impl std::ops::Deref for ITSGPolicyEngine { +impl core::ops::Deref for ITSGPolicyEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1294,7 +1294,7 @@ pub struct ITSGPolicyEngine_Vtbl { pub IsQuarantineEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbBaseNotifySink, ITsSbBaseNotifySink_Vtbl, 0x808a6537_1282_4989_9e09_f43938b71722); -impl std::ops::Deref for ITsSbBaseNotifySink { +impl core::ops::Deref for ITsSbBaseNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1316,7 +1316,7 @@ pub struct ITsSbBaseNotifySink_Vtbl { pub OnReportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, CLIENT_MESSAGE_TYPE, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbClientConnection, ITsSbClientConnection_Vtbl, 0x18857499_ad61_4b1b_b7df_cbcd41fb8338); -impl std::ops::Deref for ITsSbClientConnection { +impl core::ops::Deref for ITsSbClientConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1416,7 +1416,7 @@ pub struct ITsSbClientConnection_Vtbl { #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::define_interface!(ITsSbClientConnectionPropertySet, ITsSbClientConnectionPropertySet_Vtbl, 0xe51995b0_46d6_11dd_aa21_cedc55d89593); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl std::ops::Deref for ITsSbClientConnectionPropertySet { +impl core::ops::Deref for ITsSbClientConnectionPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1432,7 +1432,7 @@ pub struct ITsSbClientConnectionPropertySet_Vtbl { pub base__: ITsSbPropertySet_Vtbl, } windows_core::imp::define_interface!(ITsSbEnvironment, ITsSbEnvironment_Vtbl, 0x8c87f7f7_bf51_4a5c_87bf_8e94fb6e2256); -impl std::ops::Deref for ITsSbEnvironment { +impl core::ops::Deref for ITsSbEnvironment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1478,7 +1478,7 @@ pub struct ITsSbEnvironment_Vtbl { #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::define_interface!(ITsSbEnvironmentPropertySet, ITsSbEnvironmentPropertySet_Vtbl, 0xd0d1bf7e_7acf_11dd_a243_e51156d89593); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl std::ops::Deref for ITsSbEnvironmentPropertySet { +impl core::ops::Deref for ITsSbEnvironmentPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1494,7 +1494,7 @@ pub struct ITsSbEnvironmentPropertySet_Vtbl { pub base__: ITsSbPropertySet_Vtbl, } windows_core::imp::define_interface!(ITsSbFilterPluginStore, ITsSbFilterPluginStore_Vtbl, 0x85b44b0f_ed78_413f_9702_fa6d3b5ee755); -impl std::ops::Deref for ITsSbFilterPluginStore { +impl core::ops::Deref for ITsSbFilterPluginStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1535,7 +1535,7 @@ pub struct ITsSbFilterPluginStore_Vtbl { pub DeleteProperties: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbGenericNotifySink, ITsSbGenericNotifySink_Vtbl, 0x4c4c8c4f_300b_46ad_9164_8468a7e7568c); -impl std::ops::Deref for ITsSbGenericNotifySink { +impl core::ops::Deref for ITsSbGenericNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1558,7 +1558,7 @@ pub struct ITsSbGenericNotifySink_Vtbl { pub GetWaitTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbGlobalStore, ITsSbGlobalStore_Vtbl, 0x9ab60f7b_bd72_4d9f_8a3a_a0ea5574e635); -impl std::ops::Deref for ITsSbGlobalStore { +impl core::ops::Deref for ITsSbGlobalStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1638,7 +1638,7 @@ pub struct ITsSbGlobalStore_Vtbl { pub GetFarmProperty: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbLoadBalanceResult, ITsSbLoadBalanceResult_Vtbl, 0x24fdb7ac_fea6_11dc_9672_9a8956d89593); -impl std::ops::Deref for ITsSbLoadBalanceResult { +impl core::ops::Deref for ITsSbLoadBalanceResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1657,7 +1657,7 @@ pub struct ITsSbLoadBalanceResult_Vtbl { pub TargetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbLoadBalancing, ITsSbLoadBalancing_Vtbl, 0x24329274_9eb7_11dc_ae98_f2b456d89593); -impl std::ops::Deref for ITsSbLoadBalancing { +impl core::ops::Deref for ITsSbLoadBalancing { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1679,7 +1679,7 @@ pub struct ITsSbLoadBalancing_Vtbl { pub GetMostSuitableTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbLoadBalancingNotifySink, ITsSbLoadBalancingNotifySink_Vtbl, 0x5f8a8297_3244_4e6a_958a_27c822c1e141); -impl std::ops::Deref for ITsSbLoadBalancingNotifySink { +impl core::ops::Deref for ITsSbLoadBalancingNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1701,7 +1701,7 @@ pub struct ITsSbLoadBalancingNotifySink_Vtbl { pub OnGetMostSuitableTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbOrchestration, ITsSbOrchestration_Vtbl, 0x64fc1172_9eb7_11dc_8b00_3aba56d89593); -impl std::ops::Deref for ITsSbOrchestration { +impl core::ops::Deref for ITsSbOrchestration { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1723,7 +1723,7 @@ pub struct ITsSbOrchestration_Vtbl { pub PrepareTargetForConnect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbOrchestrationNotifySink, ITsSbOrchestrationNotifySink_Vtbl, 0x36c37d61_926b_442f_bca5_118c6d50dcf2); -impl std::ops::Deref for ITsSbOrchestrationNotifySink { +impl core::ops::Deref for ITsSbOrchestrationNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1744,7 +1744,7 @@ pub struct ITsSbOrchestrationNotifySink_Vtbl { pub OnReadyToConnect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbPlacement, ITsSbPlacement_Vtbl, 0xdaadee5f_6d32_480e_9e36_ddab2329f06d); -impl std::ops::Deref for ITsSbPlacement { +impl core::ops::Deref for ITsSbPlacement { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1766,7 +1766,7 @@ pub struct ITsSbPlacement_Vtbl { pub QueryEnvironmentForTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbPlacementNotifySink, ITsSbPlacementNotifySink_Vtbl, 0x68a0c487_2b4f_46c2_94a1_6ce685183634); -impl std::ops::Deref for ITsSbPlacementNotifySink { +impl core::ops::Deref for ITsSbPlacementNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1787,7 +1787,7 @@ pub struct ITsSbPlacementNotifySink_Vtbl { pub OnQueryEnvironmentCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbPlugin, ITsSbPlugin_Vtbl, 0x48cd7406_caab_465f_a5d6_baa863b9ea4f); -impl std::ops::Deref for ITsSbPlugin { +impl core::ops::Deref for ITsSbPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1818,7 +1818,7 @@ pub struct ITsSbPlugin_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbPluginNotifySink, ITsSbPluginNotifySink_Vtbl, 0x44dfe30b_c3be_40f5_bf82_7a95bb795adf); -impl std::ops::Deref for ITsSbPluginNotifySink { +impl core::ops::Deref for ITsSbPluginNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1842,7 +1842,7 @@ pub struct ITsSbPluginNotifySink_Vtbl { #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::define_interface!(ITsSbPluginPropertySet, ITsSbPluginPropertySet_Vtbl, 0x95006e34_7eff_4b6c_bb40_49a4fda7cea6); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl std::ops::Deref for ITsSbPluginPropertySet { +impl core::ops::Deref for ITsSbPluginPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1860,7 +1860,7 @@ pub struct ITsSbPluginPropertySet_Vtbl { #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::define_interface!(ITsSbPropertySet, ITsSbPropertySet_Vtbl, 0x5c025171_bb1e_4baf_a212_6d5e9774b33b); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl std::ops::Deref for ITsSbPropertySet { +impl core::ops::Deref for ITsSbPropertySet { type Target = super::Com::StructuredStorage::IPropertyBag; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1876,7 +1876,7 @@ pub struct ITsSbPropertySet_Vtbl { pub base__: super::Com::StructuredStorage::IPropertyBag_Vtbl, } windows_core::imp::define_interface!(ITsSbProvider, ITsSbProvider_Vtbl, 0x87a4098f_6d7b_44dd_bc17_8ce44e370d52); -impl std::ops::Deref for ITsSbProvider { +impl core::ops::Deref for ITsSbProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1982,7 +1982,7 @@ pub struct ITsSbProvider_Vtbl { CreateEnvironmentPropertySetObject: usize, } windows_core::imp::define_interface!(ITsSbProvisioning, ITsSbProvisioning_Vtbl, 0x2f6f0dbb_9e4f_462b_9c3f_fccc3dcb6232); -impl std::ops::Deref for ITsSbProvisioning { +impl core::ops::Deref for ITsSbProvisioning { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2030,7 +2030,7 @@ pub struct ITsSbProvisioning_Vtbl { pub CancelJob: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbProvisioningPluginNotifySink, ITsSbProvisioningPluginNotifySink_Vtbl, 0xaca87a8e_818b_4581_a032_49c3dfb9c701); -impl std::ops::Deref for ITsSbProvisioningPluginNotifySink { +impl core::ops::Deref for ITsSbProvisioningPluginNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2078,7 +2078,7 @@ pub struct ITsSbProvisioningPluginNotifySink_Vtbl { pub OnVirtualMachineHostStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, VM_HOST_NOTIFY_STATUS, windows_core::HRESULT, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbResourceNotification, ITsSbResourceNotification_Vtbl, 0x65d3e85a_c39b_11dc_b92d_3cd255d89593); -impl std::ops::Deref for ITsSbResourceNotification { +impl core::ops::Deref for ITsSbResourceNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2113,7 +2113,7 @@ pub struct ITsSbResourceNotification_Vtbl { pub NotifyClientConnectionStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, CONNECTION_CHANGE_NOTIFICATION, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbResourceNotificationEx, ITsSbResourceNotificationEx_Vtbl, 0xa8a47fde_ca91_44d2_b897_3aa28a43b2b7); -impl std::ops::Deref for ITsSbResourceNotificationEx { +impl core::ops::Deref for ITsSbResourceNotificationEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2154,7 +2154,7 @@ pub struct ITsSbResourceNotificationEx_Vtbl { pub NotifyClientConnectionStateChangeEx: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, CONNECTION_CHANGE_NOTIFICATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbResourcePlugin, ITsSbResourcePlugin_Vtbl, 0xea8db42c_98ed_4535_a88b_2a164f35490f); -impl std::ops::Deref for ITsSbResourcePlugin { +impl core::ops::Deref for ITsSbResourcePlugin { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2167,7 +2167,7 @@ pub struct ITsSbResourcePlugin_Vtbl { pub base__: ITsSbPlugin_Vtbl, } windows_core::imp::define_interface!(ITsSbResourcePluginStore, ITsSbResourcePluginStore_Vtbl, 0x5c38f65f_bcf1_4036_a6bf_9e3cccae0b63); -impl std::ops::Deref for ITsSbResourcePluginStore { +impl core::ops::Deref for ITsSbResourcePluginStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2401,7 +2401,7 @@ pub struct ITsSbResourcePluginStore_Vtbl { pub SetServerDrainMode: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbServiceNotification, ITsSbServiceNotification_Vtbl, 0x86cb68ae_86e0_4f57_8a64_bb7406bc5550); -impl std::ops::Deref for ITsSbServiceNotification { +impl core::ops::Deref for ITsSbServiceNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2423,7 +2423,7 @@ pub struct ITsSbServiceNotification_Vtbl { pub NotifyServiceSuccess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbSession, ITsSbSession_Vtbl, 0xd453aac7_b1d8_4c5e_ba34_9afb4c8c5510); -impl std::ops::Deref for ITsSbSession { +impl core::ops::Deref for ITsSbSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2521,7 +2521,7 @@ pub struct ITsSbSession_Vtbl { pub SetProtocolType: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbTarget, ITsSbTarget_Vtbl, 0x16616ecc_272d_411d_b324_126893033856); -impl std::ops::Deref for ITsSbTarget { +impl core::ops::Deref for ITsSbTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2649,7 +2649,7 @@ pub struct ITsSbTarget_Vtbl { #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::define_interface!(ITsSbTargetPropertySet, ITsSbTargetPropertySet_Vtbl, 0xf7bda5d6_994c_4e11_a079_2763b61830ac); #[cfg(feature = "Win32_System_Com_StructuredStorage")] -impl std::ops::Deref for ITsSbTargetPropertySet { +impl core::ops::Deref for ITsSbTargetPropertySet { type Target = ITsSbPropertySet; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2665,7 +2665,7 @@ pub struct ITsSbTargetPropertySet_Vtbl { pub base__: ITsSbPropertySet_Vtbl, } windows_core::imp::define_interface!(ITsSbTaskInfo, ITsSbTaskInfo_Vtbl, 0x523d1083_89be_48dd_99ea_04e82ffa7265); -impl std::ops::Deref for ITsSbTaskInfo { +impl core::ops::Deref for ITsSbTaskInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2728,7 +2728,7 @@ pub struct ITsSbTaskInfo_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RDV_TASK_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbTaskPlugin, ITsSbTaskPlugin_Vtbl, 0xfa22ef0f_8705_41be_93bc_44bdbcf1c9c4); -impl std::ops::Deref for ITsSbTaskPlugin { +impl core::ops::Deref for ITsSbTaskPlugin { type Target = ITsSbPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2756,7 +2756,7 @@ pub struct ITsSbTaskPlugin_Vtbl { pub SetTaskQueue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITsSbTaskPluginNotifySink, ITsSbTaskPluginNotifySink_Vtbl, 0x6aaf899e_c2ec_45ee_aa37_45e60895261a); -impl std::ops::Deref for ITsSbTaskPluginNotifySink { +impl core::ops::Deref for ITsSbTaskPluginNotifySink { type Target = ITsSbBaseNotifySink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2807,7 +2807,7 @@ pub struct ITsSbTaskPluginNotifySink_Vtbl { pub OnReportTasks: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsEnhancedFastReconnectArbitrator, IWRdsEnhancedFastReconnectArbitrator_Vtbl, 0x5718ae9b_47f2_499f_b634_d8175bd51131); -impl std::ops::Deref for IWRdsEnhancedFastReconnectArbitrator { +impl core::ops::Deref for IWRdsEnhancedFastReconnectArbitrator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2826,7 +2826,7 @@ pub struct IWRdsEnhancedFastReconnectArbitrator_Vtbl { pub GetSessionForEnhancedFastReconnect: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, u32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsGraphicsChannel, IWRdsGraphicsChannel_Vtbl, 0x684b7a0b_edff_43ad_d5a2_4a8d5388f401); -impl std::ops::Deref for IWRdsGraphicsChannel { +impl core::ops::Deref for IWRdsGraphicsChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2859,7 +2859,7 @@ pub struct IWRdsGraphicsChannel_Vtbl { pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsGraphicsChannelEvents, IWRdsGraphicsChannelEvents_Vtbl, 0x67f2368c_d674_4fae_66a5_d20628a640d2); -impl std::ops::Deref for IWRdsGraphicsChannelEvents { +impl core::ops::Deref for IWRdsGraphicsChannelEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2900,7 +2900,7 @@ pub struct IWRdsGraphicsChannelEvents_Vtbl { pub OnMetricsUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsGraphicsChannelManager, IWRdsGraphicsChannelManager_Vtbl, 0x0fd57159_e83e_476a_a8b9_4a7976e71e18); -impl std::ops::Deref for IWRdsGraphicsChannelManager { +impl core::ops::Deref for IWRdsGraphicsChannelManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2919,7 +2919,7 @@ pub struct IWRdsGraphicsChannelManager_Vtbl { pub CreateChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, WRdsGraphicsChannelType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolConnection, IWRdsProtocolConnection_Vtbl, 0x324ed94f_fdaf_4ff6_81a8_42abe755830b); -impl std::ops::Deref for IWRdsProtocolConnection { +impl core::ops::Deref for IWRdsProtocolConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3056,7 +3056,7 @@ pub struct IWRdsProtocolConnection_Vtbl { pub NotifyCommandProcessCreated: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolConnectionCallback, IWRdsProtocolConnectionCallback_Vtbl, 0xf1d70332_d070_4ef1_a088_78313536c2d6); -impl std::ops::Deref for IWRdsProtocolConnectionCallback { +impl core::ops::Deref for IWRdsProtocolConnectionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3091,7 +3091,7 @@ pub struct IWRdsProtocolConnectionCallback_Vtbl { pub GetConnectionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolConnectionSettings, IWRdsProtocolConnectionSettings_Vtbl, 0x83fcf5d3_f6f4_ea94_9cd2_32f280e1e510); -impl std::ops::Deref for IWRdsProtocolConnectionSettings { +impl core::ops::Deref for IWRdsProtocolConnectionSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3113,7 +3113,7 @@ pub struct IWRdsProtocolConnectionSettings_Vtbl { pub GetConnectionSetting: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut WTS_PROPERTY_VALUE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolLicenseConnection, IWRdsProtocolLicenseConnection_Vtbl, 0x1d6a145f_d095_4424_957a_407fae822d84); -impl std::ops::Deref for IWRdsProtocolLicenseConnection { +impl core::ops::Deref for IWRdsProtocolLicenseConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3143,7 +3143,7 @@ pub struct IWRdsProtocolLicenseConnection_Vtbl { pub ProtocolComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolListener, IWRdsProtocolListener_Vtbl, 0xfcbc131b_c686_451d_a773_e279e230f540); -impl std::ops::Deref for IWRdsProtocolListener { +impl core::ops::Deref for IWRdsProtocolListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3173,7 +3173,7 @@ pub struct IWRdsProtocolListener_Vtbl { pub StopListen: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolListenerCallback, IWRdsProtocolListenerCallback_Vtbl, 0x3ab27e5b_4449_4dc1_b74a_91621d4fe984); -impl std::ops::Deref for IWRdsProtocolListenerCallback { +impl core::ops::Deref for IWRdsProtocolListenerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3195,7 +3195,7 @@ pub struct IWRdsProtocolListenerCallback_Vtbl { pub OnConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const WRDS_CONNECTION_SETTINGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolLogonErrorRedirector, IWRdsProtocolLogonErrorRedirector_Vtbl, 0x519fe83b_142a_4120_a3d5_a405d315281a); -impl std::ops::Deref for IWRdsProtocolLogonErrorRedirector { +impl core::ops::Deref for IWRdsProtocolLogonErrorRedirector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3239,7 +3239,7 @@ pub struct IWRdsProtocolLogonErrorRedirector_Vtbl { pub RedirectLogonError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut WTS_LOGON_ERROR_REDIRECTOR_RESPONSE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolManager, IWRdsProtocolManager_Vtbl, 0xdc796967_3abb_40cd_a446_105276b58950); -impl std::ops::Deref for IWRdsProtocolManager { +impl core::ops::Deref for IWRdsProtocolManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3292,7 +3292,7 @@ pub struct IWRdsProtocolManager_Vtbl { pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolSettings, IWRdsProtocolSettings_Vtbl, 0x654a5a6a_2550_47eb_b6f7_ebd637475265); -impl std::ops::Deref for IWRdsProtocolSettings { +impl core::ops::Deref for IWRdsProtocolSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3314,7 +3314,7 @@ pub struct IWRdsProtocolSettings_Vtbl { pub MergeSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *const WRDS_SETTINGS, WRDS_CONNECTION_SETTING_LEVEL, *mut WRDS_CONNECTION_SETTINGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolShadowCallback, IWRdsProtocolShadowCallback_Vtbl, 0xe0667ce0_0372_40d6_adb2_a0f3322674d6); -impl std::ops::Deref for IWRdsProtocolShadowCallback { +impl core::ops::Deref for IWRdsProtocolShadowCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3340,7 +3340,7 @@ pub struct IWRdsProtocolShadowCallback_Vtbl { pub InvokeTargetShadow: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsProtocolShadowConnection, IWRdsProtocolShadowConnection_Vtbl, 0x9ae85ce6_cade_4548_8feb_99016597f60a); -impl std::ops::Deref for IWRdsProtocolShadowConnection { +impl core::ops::Deref for IWRdsProtocolShadowConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3373,7 +3373,7 @@ pub struct IWRdsProtocolShadowConnection_Vtbl { pub DoTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsWddmIddProps, IWRdsWddmIddProps_Vtbl, 0x1382df4d_a289_43d1_a184_144726f9af90); -impl std::ops::Deref for IWRdsWddmIddProps { +impl core::ops::Deref for IWRdsWddmIddProps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3409,7 +3409,7 @@ pub struct IWRdsWddmIddProps_Vtbl { pub EnableWddmIdd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWRdsWddmIddProps1, IWRdsWddmIddProps1_Vtbl, 0x60f71b1a_3682_4bc7_997e_4e4f02a08148); -impl std::ops::Deref for IWRdsWddmIddProps1 { +impl core::ops::Deref for IWRdsWddmIddProps1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3438,7 +3438,7 @@ pub struct IWRdsWddmIddProps1_Vtbl { pub OnDriverUnload: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSBitmapRenderService, IWTSBitmapRenderService_Vtbl, 0xea326091_05fe_40c1_b49c_3d2ef4626a0e); -impl std::ops::Deref for IWTSBitmapRenderService { +impl core::ops::Deref for IWTSBitmapRenderService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3460,7 +3460,7 @@ pub struct IWTSBitmapRenderService_Vtbl { pub GetMappedRenderer: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSBitmapRenderer, IWTSBitmapRenderer_Vtbl, 0x5b7acc97_f3c9_46f7_8c5b_fa685d3441b1); -impl std::ops::Deref for IWTSBitmapRenderer { +impl core::ops::Deref for IWTSBitmapRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3487,7 +3487,7 @@ pub struct IWTSBitmapRenderer_Vtbl { pub RemoveMapping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSBitmapRendererCallback, IWTSBitmapRendererCallback_Vtbl, 0xd782928e_fe4e_4e77_ae90_9cd0b3e3b353); -impl std::ops::Deref for IWTSBitmapRendererCallback { +impl core::ops::Deref for IWTSBitmapRendererCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3505,7 +3505,7 @@ pub struct IWTSBitmapRendererCallback_Vtbl { pub OnTargetSizeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSListener, IWTSListener_Vtbl, 0xa1230206_9a39_4d58_8674_cdb4dff4e73b); -impl std::ops::Deref for IWTSListener { +impl core::ops::Deref for IWTSListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3528,7 +3528,7 @@ pub struct IWTSListener_Vtbl { GetConfiguration: usize, } windows_core::imp::define_interface!(IWTSListenerCallback, IWTSListenerCallback_Vtbl, 0xa1230203_d6a7_11d8_b9fd_000bdbd1f198); -impl std::ops::Deref for IWTSListenerCallback { +impl core::ops::Deref for IWTSListenerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3550,7 +3550,7 @@ pub struct IWTSListenerCallback_Vtbl { pub OnNewChannelConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSPlugin, IWTSPlugin_Vtbl, 0xa1230201_1439_4e62_a414_190d0ac3d40e); -impl std::ops::Deref for IWTSPlugin { +impl core::ops::Deref for IWTSPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3583,7 +3583,7 @@ pub struct IWTSPlugin_Vtbl { pub Terminated: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSPluginServiceProvider, IWTSPluginServiceProvider_Vtbl, 0xd3e07363_087c_476c_86a7_dbb15f46ddb4); -impl std::ops::Deref for IWTSPluginServiceProvider { +impl core::ops::Deref for IWTSPluginServiceProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3602,7 +3602,7 @@ pub struct IWTSPluginServiceProvider_Vtbl { pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolConnection, IWTSProtocolConnection_Vtbl, 0x23083765_9095_4648_98bf_ef81c914032d); -impl std::ops::Deref for IWTSProtocolConnection { +impl core::ops::Deref for IWTSProtocolConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3731,7 +3731,7 @@ pub struct IWTSProtocolConnection_Vtbl { pub GetShadowConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolConnectionCallback, IWTSProtocolConnectionCallback_Vtbl, 0x23083765_75eb_41fe_b4fb_e086242afa0f); -impl std::ops::Deref for IWTSProtocolConnectionCallback { +impl core::ops::Deref for IWTSProtocolConnectionCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3765,7 +3765,7 @@ pub struct IWTSProtocolConnectionCallback_Vtbl { pub DisplayIOCtl: unsafe extern "system" fn(*mut core::ffi::c_void, *const WTS_DISPLAY_IOCTL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolLicenseConnection, IWTSProtocolLicenseConnection_Vtbl, 0x23083765_178c_4079_8e4a_fea6496a4d70); -impl std::ops::Deref for IWTSProtocolLicenseConnection { +impl core::ops::Deref for IWTSProtocolLicenseConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3795,7 +3795,7 @@ pub struct IWTSProtocolLicenseConnection_Vtbl { pub ProtocolComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolListener, IWTSProtocolListener_Vtbl, 0x23083765_45f0_4394_8f69_32b2bc0ef4ca); -impl std::ops::Deref for IWTSProtocolListener { +impl core::ops::Deref for IWTSProtocolListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3820,7 +3820,7 @@ pub struct IWTSProtocolListener_Vtbl { pub StopListen: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolListenerCallback, IWTSProtocolListenerCallback_Vtbl, 0x23083765_1a2d_4de2_97de_4a35f260f0b3); -impl std::ops::Deref for IWTSProtocolListenerCallback { +impl core::ops::Deref for IWTSProtocolListenerCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3842,7 +3842,7 @@ pub struct IWTSProtocolListenerCallback_Vtbl { pub OnConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolLogonErrorRedirector, IWTSProtocolLogonErrorRedirector_Vtbl, 0xfd9b61a7_2916_4627_8dee_4328711ad6cb); -impl std::ops::Deref for IWTSProtocolLogonErrorRedirector { +impl core::ops::Deref for IWTSProtocolLogonErrorRedirector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3886,7 +3886,7 @@ pub struct IWTSProtocolLogonErrorRedirector_Vtbl { pub RedirectLogonError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut WTS_LOGON_ERROR_REDIRECTOR_RESPONSE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolManager, IWTSProtocolManager_Vtbl, 0xf9eaf6cc_ed79_4f01_821d_1f881b9f66cc); -impl std::ops::Deref for IWTSProtocolManager { +impl core::ops::Deref for IWTSProtocolManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3924,7 +3924,7 @@ pub struct IWTSProtocolManager_Vtbl { pub NotifySessionStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const WTS_SESSION_ID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolShadowCallback, IWTSProtocolShadowCallback_Vtbl, 0x503a2504_aae5_4ab1_93e0_6d1c4bc6f71a); -impl std::ops::Deref for IWTSProtocolShadowCallback { +impl core::ops::Deref for IWTSProtocolShadowCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3950,7 +3950,7 @@ pub struct IWTSProtocolShadowCallback_Vtbl { pub InvokeTargetShadow: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSProtocolShadowConnection, IWTSProtocolShadowConnection_Vtbl, 0xee3b0c14_37fb_456b_bab3_6d6cd51e13bf); -impl std::ops::Deref for IWTSProtocolShadowConnection { +impl core::ops::Deref for IWTSProtocolShadowConnection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3983,7 +3983,7 @@ pub struct IWTSProtocolShadowConnection_Vtbl { pub DoTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSSBPlugin, IWTSSBPlugin_Vtbl, 0xdc44be78_b18d_4399_b210_641bf67a002c); -impl std::ops::Deref for IWTSSBPlugin { +impl core::ops::Deref for IWTSSBPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4033,7 +4033,7 @@ pub struct IWTSSBPlugin_Vtbl { pub WTSSBX_GetUserExternalSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const WTSSBX_IP_ADDRESS, *mut u32, *mut WTSSBX_MACHINE_CONNECT_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSVirtualChannel, IWTSVirtualChannel_Vtbl, 0xa1230207_d6a7_11d8_b9fd_000bdbd1f198); -impl std::ops::Deref for IWTSVirtualChannel { +impl core::ops::Deref for IWTSVirtualChannel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4058,7 +4058,7 @@ pub struct IWTSVirtualChannel_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSVirtualChannelCallback, IWTSVirtualChannelCallback_Vtbl, 0xa1230204_d6a7_11d8_b9fd_000bdbd1f198); -impl std::ops::Deref for IWTSVirtualChannelCallback { +impl core::ops::Deref for IWTSVirtualChannelCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4080,7 +4080,7 @@ pub struct IWTSVirtualChannelCallback_Vtbl { pub OnClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWTSVirtualChannelManager, IWTSVirtualChannelManager_Vtbl, 0xa1230205_d6a7_11d8_b9fd_000bdbd1f198); -impl std::ops::Deref for IWTSVirtualChannelManager { +impl core::ops::Deref for IWTSVirtualChannelManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4103,7 +4103,7 @@ pub struct IWTSVirtualChannelManager_Vtbl { pub CreateListener: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspace, IWorkspace_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e5); -impl std::ops::Deref for IWorkspace { +impl core::ops::Deref for IWorkspace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4142,7 +4142,7 @@ pub struct IWorkspace_Vtbl { pub GetProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspace2, IWorkspace2_Vtbl, 0x96d8d7cf_783e_4286_834c_ebc0e95f783c); -impl std::ops::Deref for IWorkspace2 { +impl core::ops::Deref for IWorkspace2 { type Target = IWorkspace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4171,7 +4171,7 @@ pub struct IWorkspace2_Vtbl { StartRemoteApplicationEx: usize, } windows_core::imp::define_interface!(IWorkspace3, IWorkspace3_Vtbl, 0x1becbe4a_d654_423b_afeb_be8d532c13c6); -impl std::ops::Deref for IWorkspace3 { +impl core::ops::Deref for IWorkspace3 { type Target = IWorkspace2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4202,7 +4202,7 @@ pub struct IWorkspace3_Vtbl { pub SetClaimsToken: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u64, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspaceClientExt, IWorkspaceClientExt_Vtbl, 0x12b952f4_41ca_4f21_a829_a6d07d9a16e5); -impl std::ops::Deref for IWorkspaceClientExt { +impl core::ops::Deref for IWorkspaceClientExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4230,7 +4230,7 @@ pub struct IWorkspaceClientExt_Vtbl { pub IssueDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspaceRegistration, IWorkspaceRegistration_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e6); -impl std::ops::Deref for IWorkspaceRegistration { +impl core::ops::Deref for IWorkspaceRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4256,7 +4256,7 @@ pub struct IWorkspaceRegistration_Vtbl { pub RemoveResource: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspaceRegistration2, IWorkspaceRegistration2_Vtbl, 0xcf59f654_39bb_44d8_94d0_4635728957e9); -impl std::ops::Deref for IWorkspaceRegistration2 { +impl core::ops::Deref for IWorkspaceRegistration2 { type Target = IWorkspaceRegistration; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4282,7 +4282,7 @@ pub struct IWorkspaceRegistration2_Vtbl { pub RemoveResourceEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWorkspaceReportMessage, IWorkspaceReportMessage_Vtbl, 0xa7c06739_500f_4e8c_99a8_2bd6955899eb); -impl std::ops::Deref for IWorkspaceReportMessage { +impl core::ops::Deref for IWorkspaceReportMessage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4322,7 +4322,7 @@ pub struct IWorkspaceReportMessage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceResTypeRegistry, IWorkspaceResTypeRegistry_Vtbl, 0x1d428c79_6e2e_4351_a361_c0401a03a0ba); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWorkspaceResTypeRegistry { +impl core::ops::Deref for IWorkspaceResTypeRegistry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4388,7 +4388,7 @@ pub struct IWorkspaceResTypeRegistry_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceScriptable, IWorkspaceScriptable_Vtbl, 0xefea49a2_dda5_429d_8f42_b23b92c4c347); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWorkspaceScriptable { +impl core::ops::Deref for IWorkspaceScriptable { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4460,7 +4460,7 @@ pub struct IWorkspaceScriptable_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceScriptable2, IWorkspaceScriptable2_Vtbl, 0xefea49a2_dda5_429d_8f42_b33ba2c4c348); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWorkspaceScriptable2 { +impl core::ops::Deref for IWorkspaceScriptable2 { type Target = IWorkspaceScriptable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4500,7 +4500,7 @@ pub struct IWorkspaceScriptable2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWorkspaceScriptable3, IWorkspaceScriptable3_Vtbl, 0x531e6512_2cbf_4bd2_80a5_d90a71636a9a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWorkspaceScriptable3 { +impl core::ops::Deref for IWorkspaceScriptable3 { type Target = IWorkspaceScriptable2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4531,7 +4531,7 @@ pub struct IWorkspaceScriptable3_Vtbl { pub StartWorkspaceEx2: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, i32, core::mem::MaybeUninit, windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ItsPubPlugin, ItsPubPlugin_Vtbl, 0x70c04b05_f347_412b_822f_36c99c54ca45); -impl std::ops::Deref for ItsPubPlugin { +impl core::ops::Deref for ItsPubPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4582,7 +4582,7 @@ pub struct ItsPubPlugin_Vtbl { pub ResolveResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, windows_core::PWSTR, windows_core::PWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ItsPubPlugin2, ItsPubPlugin2_Vtbl, 0xfa4ce418_aad7_4ec6_bad1_0a321ba465d5); -impl std::ops::Deref for ItsPubPlugin2 { +impl core::ops::Deref for ItsPubPlugin2 { type Target = ItsPubPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4629,7 +4629,7 @@ pub struct ItsPubPlugin2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_ITSWkspEvents, _ITSWkspEvents_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _ITSWkspEvents { +impl core::ops::Deref for _ITSWkspEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs index 73408d0b31..53932c4a53 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -285,7 +285,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSMan, IWSMan_Vtbl, 0x190d8637_5cd3_496d_ad24_69636bb5a3b5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSMan { +impl core::ops::Deref for IWSMan { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -336,7 +336,7 @@ pub struct IWSMan_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManConnectionOptions, IWSManConnectionOptions_Vtbl, 0xf704e861_9e52_464f_b786_da5eb2320fdd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManConnectionOptions { +impl core::ops::Deref for IWSManConnectionOptions { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -374,7 +374,7 @@ pub struct IWSManConnectionOptions_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManConnectionOptionsEx, IWSManConnectionOptionsEx_Vtbl, 0xef43edf7_2a48_4d93_9526_8bd6ab6d4a6b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManConnectionOptionsEx { +impl core::ops::Deref for IWSManConnectionOptionsEx { type Target = IWSManConnectionOptions; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -405,7 +405,7 @@ pub struct IWSManConnectionOptionsEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManConnectionOptionsEx2, IWSManConnectionOptionsEx2_Vtbl, 0xf500c9ec_24ee_48ab_b38d_fc9a164c658e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManConnectionOptionsEx2 { +impl core::ops::Deref for IWSManConnectionOptionsEx2 { type Target = IWSManConnectionOptionsEx; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -467,7 +467,7 @@ pub struct IWSManConnectionOptionsEx2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManEnumerator, IWSManEnumerator_Vtbl, 0xf3457ca9_abb9_4fa5_b850_90e8ca300e7f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManEnumerator { +impl core::ops::Deref for IWSManEnumerator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -501,7 +501,7 @@ pub struct IWSManEnumerator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManEx, IWSManEx_Vtbl, 0x2d53bdaa_798e_49e6_a1aa_74d01256f411); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManEx { +impl core::ops::Deref for IWSManEx { type Target = IWSMan; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -627,7 +627,7 @@ pub struct IWSManEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManEx2, IWSManEx2_Vtbl, 0x1d1b5ae0_42d9_4021_8261_3987619512e9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManEx2 { +impl core::ops::Deref for IWSManEx2 { type Target = IWSManEx; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -651,7 +651,7 @@ pub struct IWSManEx2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManEx3, IWSManEx3_Vtbl, 0x6400e966_011d_4eac_8474_049e0848afad); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManEx3 { +impl core::ops::Deref for IWSManEx3 { type Target = IWSManEx2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -705,7 +705,7 @@ pub struct IWSManEx3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManInternal, IWSManInternal_Vtbl, 0x04ae2b1d_9954_4d99_94a9_a961e72c3a13); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManInternal { +impl core::ops::Deref for IWSManInternal { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -737,7 +737,7 @@ pub struct IWSManInternal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManResourceLocator, IWSManResourceLocator_Vtbl, 0xa7a1ba28_de41_466a_ad0a_c4059ead7428); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManResourceLocator { +impl core::ops::Deref for IWSManResourceLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -832,7 +832,7 @@ pub struct IWSManResourceLocator_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWSManResourceLocatorInternal, IWSManResourceLocatorInternal_Vtbl, 0xeffaead7_7ec8_4716_b9be_f2e7e9fb4adb); -impl std::ops::Deref for IWSManResourceLocatorInternal { +impl core::ops::Deref for IWSManResourceLocatorInternal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -847,7 +847,7 @@ pub struct IWSManResourceLocatorInternal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSManSession, IWSManSession_Vtbl, 0xfc84fc58_1286_40c4_9da0_c8ef6ec241e0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSManSession { +impl core::ops::Deref for IWSManSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs index 9dfdf63d82..3b8585790c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -1628,7 +1628,7 @@ pub unsafe fn dbprtypeW(param0: i32) -> windows_core::PWSTR { dbprtypeW(param0) } windows_core::imp::define_interface!(DataSource, DataSource_Vtbl, 0x7c0ffab3_cd84_11d0_949a_00a0c91110ed); -impl std::ops::Deref for DataSource { +impl core::ops::Deref for DataSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1671,7 +1671,7 @@ pub struct DataSource_Vtbl { pub removeDataSourceListener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(DataSourceListener, DataSourceListener_Vtbl, 0x7c0ffab2_cd84_11d0_949a_00a0c91110ed); -impl std::ops::Deref for DataSourceListener { +impl core::ops::Deref for DataSourceListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1699,7 +1699,7 @@ pub struct DataSourceListener_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DataSourceObject, DataSourceObject_Vtbl, 0x0ae9a4e4_18d4_11d1_b3b3_00aa00c1a924); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DataSourceObject { +impl core::ops::Deref for DataSourceObject { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1715,7 +1715,7 @@ pub struct DataSourceObject_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IAccessor, IAccessor_Vtbl, 0x0c733a8c_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IAccessor { +impl core::ops::Deref for IAccessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1762,7 +1762,7 @@ pub struct IAccessor_Vtbl { pub ReleaseAccessor: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAlterIndex, IAlterIndex_Vtbl, 0x0c733aa6_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IAlterIndex { +impl core::ops::Deref for IAlterIndex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1784,7 +1784,7 @@ pub struct IAlterIndex_Vtbl { AlterIndex: usize, } windows_core::imp::define_interface!(IAlterTable, IAlterTable_Vtbl, 0x0c733aa5_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IAlterTable { +impl core::ops::Deref for IAlterTable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1814,7 +1814,7 @@ pub struct IAlterTable_Vtbl { AlterTable: usize, } windows_core::imp::define_interface!(IBindResource, IBindResource_Vtbl, 0x0c733ab1_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IBindResource { +impl core::ops::Deref for IBindResource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1841,7 +1841,7 @@ pub struct IBindResource_Vtbl { Bind: usize, } windows_core::imp::define_interface!(IChapteredRowset, IChapteredRowset_Vtbl, 0x0c733a93_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IChapteredRowset { +impl core::ops::Deref for IChapteredRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1863,7 +1863,7 @@ pub struct IChapteredRowset_Vtbl { pub ReleaseChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IColumnMapper, IColumnMapper_Vtbl, 0x0b63e37a_9ccc_11d0_bcdb_00805fccce04); -impl std::ops::Deref for IColumnMapper { +impl core::ops::Deref for IColumnMapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1908,7 +1908,7 @@ pub struct IColumnMapper_Vtbl { pub IsMapUpToDate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IColumnMapperCreator, IColumnMapperCreator_Vtbl, 0x0b63e37b_9ccc_11d0_bcdb_00805fccce04); -impl std::ops::Deref for IColumnMapperCreator { +impl core::ops::Deref for IColumnMapperCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1931,7 +1931,7 @@ pub struct IColumnMapperCreator_Vtbl { pub GetColumnMapper: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IColumnsInfo, IColumnsInfo_Vtbl, 0x0c733a11_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IColumnsInfo { +impl core::ops::Deref for IColumnsInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1961,7 +1961,7 @@ pub struct IColumnsInfo_Vtbl { MapColumnIDs: usize, } windows_core::imp::define_interface!(IColumnsInfo2, IColumnsInfo2_Vtbl, 0x0c733ab8_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IColumnsInfo2 { +impl core::ops::Deref for IColumnsInfo2 { type Target = IColumnsInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1983,7 +1983,7 @@ pub struct IColumnsInfo2_Vtbl { GetRestrictedColumnInfo: usize, } windows_core::imp::define_interface!(IColumnsRowset, IColumnsRowset_Vtbl, 0x0c733a10_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IColumnsRowset { +impl core::ops::Deref for IColumnsRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2016,7 +2016,7 @@ pub struct IColumnsRowset_Vtbl { GetColumnsRowset: usize, } windows_core::imp::define_interface!(ICommand, ICommand_Vtbl, 0x0c733a63_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommand { +impl core::ops::Deref for ICommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2046,7 +2046,7 @@ pub struct ICommand_Vtbl { pub GetDBSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommandCost, ICommandCost_Vtbl, 0x0c733a4e_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandCost { +impl core::ops::Deref for ICommandCost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2102,7 +2102,7 @@ pub struct ICommandCost_Vtbl { pub SetCostLimits: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const DBCOST, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommandPersist, ICommandPersist_Vtbl, 0x0c733aa7_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandPersist { +impl core::ops::Deref for ICommandPersist { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2149,7 +2149,7 @@ pub struct ICommandPersist_Vtbl { SaveCommand: usize, } windows_core::imp::define_interface!(ICommandPrepare, ICommandPrepare_Vtbl, 0x0c733a26_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandPrepare { +impl core::ops::Deref for ICommandPrepare { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2171,7 +2171,7 @@ pub struct ICommandPrepare_Vtbl { pub Unprepare: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommandProperties, ICommandProperties_Vtbl, 0x0c733a79_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandProperties { +impl core::ops::Deref for ICommandProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2201,7 +2201,7 @@ pub struct ICommandProperties_Vtbl { SetProperties: usize, } windows_core::imp::define_interface!(ICommandStream, ICommandStream_Vtbl, 0x0c733abf_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandStream { +impl core::ops::Deref for ICommandStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2226,7 +2226,7 @@ pub struct ICommandStream_Vtbl { pub SetCommandStream: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommandText, ICommandText_Vtbl, 0x0c733a27_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandText { +impl core::ops::Deref for ICommandText { type Target = ICommand; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2251,7 +2251,7 @@ pub struct ICommandText_Vtbl { pub SetCommandText: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommandValidate, ICommandValidate_Vtbl, 0x0c733a18_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandValidate { +impl core::ops::Deref for ICommandValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2273,7 +2273,7 @@ pub struct ICommandValidate_Vtbl { pub ValidateSyntax: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommandWithParameters, ICommandWithParameters_Vtbl, 0x0c733a64_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICommandWithParameters { +impl core::ops::Deref for ICommandWithParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2305,7 +2305,7 @@ pub struct ICommandWithParameters_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICondition, ICondition_Vtbl, 0x0fc988d4_c935_4b97_a973_46282ea175c8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICondition { +impl core::ops::Deref for ICondition { type Target = super::Com::IPersistStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2324,7 +2324,7 @@ impl ICondition { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetSubConditions)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Search_Common")] @@ -2372,7 +2372,7 @@ pub struct ICondition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICondition2, ICondition2_Vtbl, 0x0db8851d_2e5b_47eb_9208_d28c325a01d7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICondition2 { +impl core::ops::Deref for ICondition2 { type Target = ICondition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2402,7 +2402,7 @@ pub struct ICondition2_Vtbl { GetLeafConditionInfo: usize, } windows_core::imp::define_interface!(IConditionFactory, IConditionFactory_Vtbl, 0xa5efe073_b16f_474f_9f3e_9f8b497a3e08); -impl std::ops::Deref for IConditionFactory { +impl core::ops::Deref for IConditionFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2471,7 +2471,7 @@ pub struct IConditionFactory_Vtbl { Resolve: usize, } windows_core::imp::define_interface!(IConditionFactory2, IConditionFactory2_Vtbl, 0x71d222e1_432f_429e_8c13_b6dafde5077a); -impl std::ops::Deref for IConditionFactory2 { +impl core::ops::Deref for IConditionFactory2 { type Target = IConditionFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2484,7 +2484,7 @@ impl IConditionFactory2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateTrueFalse)(windows_core::Interface::as_raw(self), fval.param().abi(), cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2493,7 +2493,7 @@ impl IConditionFactory2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateNegation)(windows_core::Interface::as_raw(self), pcsub.param().abi(), cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_Common"))] @@ -2502,7 +2502,7 @@ impl IConditionFactory2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCompoundFromObjectArray)(windows_core::Interface::as_raw(self), ct, poasubs.param().abi(), cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Search_Common"))] @@ -2510,7 +2510,7 @@ impl IConditionFactory2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCompoundFromArray)(windows_core::Interface::as_raw(self), ct, core::mem::transmute(ppcondsubs.as_ptr()), ppcondsubs.len().try_into().unwrap(), cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2520,7 +2520,7 @@ impl IConditionFactory2 { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateStringLeaf)(windows_core::Interface::as_raw(self), propkey, cop, pszvalue.param().abi(), pszlocalename.param().abi(), cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2528,7 +2528,7 @@ impl IConditionFactory2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateIntegerLeaf)(windows_core::Interface::as_raw(self), propkey, cop, lvalue, cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2537,7 +2537,7 @@ impl IConditionFactory2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateBooleanLeaf)(windows_core::Interface::as_raw(self), propkey, cop, fvalue.param().abi(), cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -2550,7 +2550,7 @@ impl IConditionFactory2 { P4: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateLeaf)(windows_core::Interface::as_raw(self), propkey, cop, core::mem::transmute(propvar), pszsemantictype.param().abi(), pszlocalename.param().abi(), ppropertynameterm.param().abi(), poperationterm.param().abi(), pvalueterm.param().abi(), cco, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2559,7 +2559,7 @@ impl IConditionFactory2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ResolveCondition)(windows_core::Interface::as_raw(self), pc.param().abi(), sqro, core::mem::transmute(pstreferencetime.unwrap_or(std::ptr::null())), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2601,7 +2601,7 @@ pub struct IConditionFactory2_Vtbl { ResolveCondition: usize, } windows_core::imp::define_interface!(IConditionGenerator, IConditionGenerator_Vtbl, 0x92d2cc58_4386_45a3_b98c_7e0ce64a4117); -impl std::ops::Deref for IConditionGenerator { +impl core::ops::Deref for IConditionGenerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2659,7 +2659,7 @@ pub struct IConditionGenerator_Vtbl { pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::mem::MaybeUninit, super::super::Foundation::BOOL, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConvertType, IConvertType_Vtbl, 0x0c733a88_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IConvertType { +impl core::ops::Deref for IConvertType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2677,7 +2677,7 @@ pub struct IConvertType_Vtbl { pub CanConvert: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreateRow, ICreateRow_Vtbl, 0x0c733ab2_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ICreateRow { +impl core::ops::Deref for ICreateRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2704,7 +2704,7 @@ pub struct ICreateRow_Vtbl { CreateRow: usize, } windows_core::imp::define_interface!(IDBAsynchNotify, IDBAsynchNotify_Vtbl, 0x0c733a96_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBAsynchNotify { +impl core::ops::Deref for IDBAsynchNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2736,7 +2736,7 @@ pub struct IDBAsynchNotify_Vtbl { pub OnStop: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, windows_core::HRESULT, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBAsynchStatus, IDBAsynchStatus_Vtbl, 0x0c733a95_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBAsynchStatus { +impl core::ops::Deref for IDBAsynchStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2758,7 +2758,7 @@ pub struct IDBAsynchStatus_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut usize, *mut usize, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBBinderProperties, IDBBinderProperties_Vtbl, 0x0c733ab3_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBBinderProperties { +impl core::ops::Deref for IDBBinderProperties { type Target = IDBProperties; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2776,7 +2776,7 @@ pub struct IDBBinderProperties_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBCreateCommand, IDBCreateCommand_Vtbl, 0x0c733a1d_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBCreateCommand { +impl core::ops::Deref for IDBCreateCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2798,7 +2798,7 @@ pub struct IDBCreateCommand_Vtbl { pub CreateCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBCreateSession, IDBCreateSession_Vtbl, 0x0c733a5d_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBCreateSession { +impl core::ops::Deref for IDBCreateSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2820,7 +2820,7 @@ pub struct IDBCreateSession_Vtbl { pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBDataSourceAdmin, IDBDataSourceAdmin_Vtbl, 0x0c733a7a_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBDataSourceAdmin { +impl core::ops::Deref for IDBDataSourceAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2865,7 +2865,7 @@ pub struct IDBDataSourceAdmin_Vtbl { ModifyDataSource: usize, } windows_core::imp::define_interface!(IDBInfo, IDBInfo_Vtbl, 0x0c733a89_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBInfo { +impl core::ops::Deref for IDBInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2888,7 +2888,7 @@ pub struct IDBInfo_Vtbl { pub GetLiteralInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32, *mut u32, *mut *mut DBLITERALINFO, *mut *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBInitialize, IDBInitialize_Vtbl, 0x0c733a8b_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBInitialize { +impl core::ops::Deref for IDBInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2910,7 +2910,7 @@ pub struct IDBInitialize_Vtbl { pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBPromptInitialize, IDBPromptInitialize_Vtbl, 0x2206ccb0_19c1_11d1_89e0_00c04fd7a829); -impl std::ops::Deref for IDBPromptInitialize { +impl core::ops::Deref for IDBPromptInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2943,7 +2943,7 @@ pub struct IDBPromptInitialize_Vtbl { pub PromptFileName: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBProperties, IDBProperties_Vtbl, 0x0c733a8a_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBProperties { +impl core::ops::Deref for IDBProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2981,7 +2981,7 @@ pub struct IDBProperties_Vtbl { SetProperties: usize, } windows_core::imp::define_interface!(IDBSchemaCommand, IDBSchemaCommand_Vtbl, 0x0c733a50_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBSchemaCommand { +impl core::ops::Deref for IDBSchemaCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3007,7 +3007,7 @@ pub struct IDBSchemaCommand_Vtbl { pub GetSchemas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDBSchemaRowset, IDBSchemaRowset_Vtbl, 0x0c733a7b_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDBSchemaRowset { +impl core::ops::Deref for IDBSchemaRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3036,7 +3036,7 @@ pub struct IDBSchemaRowset_Vtbl { pub GetSchemas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID, *mut *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDCInfo, IDCInfo_Vtbl, 0x0c733a9c_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDCInfo { +impl core::ops::Deref for IDCInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3058,7 +3058,7 @@ pub struct IDCInfo_Vtbl { pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const DCINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataConvert, IDataConvert_Vtbl, 0x0c733a8d_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IDataConvert { +impl core::ops::Deref for IDataConvert { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3084,7 +3084,7 @@ pub struct IDataConvert_Vtbl { pub GetConversionSize: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *const usize, *mut usize, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataInitialize, IDataInitialize_Vtbl, 0x2206ccb1_19c1_11d1_89e0_00c04fd7a829); -impl std::ops::Deref for IDataInitialize { +impl core::ops::Deref for IDataInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3153,7 +3153,7 @@ pub struct IDataInitialize_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDataSourceLocator, IDataSourceLocator_Vtbl, 0x2206ccb2_19c1_11d1_89e0_00c04fd7a829); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDataSourceLocator { +impl core::ops::Deref for IDataSourceLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3199,7 +3199,7 @@ pub struct IDataSourceLocator_Vtbl { PromptEdit: usize, } windows_core::imp::define_interface!(IEntity, IEntity_Vtbl, 0x24264891_e80b_4fd3_b7ce_4ff2fae8931f); -impl std::ops::Deref for IEntity { +impl core::ops::Deref for IEntity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3218,7 +3218,7 @@ impl IEntity { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Relationships)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetRelationship(&self, pszrelationname: P0) -> windows_core::Result @@ -3232,14 +3232,14 @@ impl IEntity { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).MetaData)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NamedEntities(&self) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).NamedEntities)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetNamedEntity(&self, pszvalue: P0) -> windows_core::Result @@ -3266,7 +3266,7 @@ pub struct IEntity_Vtbl { pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumItemProperties, IEnumItemProperties_Vtbl, 0xf72c8d96_6dbd_11d1_a1e8_00c04fc2fbe1); -impl std::ops::Deref for IEnumItemProperties { +impl core::ops::Deref for IEnumItemProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3302,7 +3302,7 @@ pub struct IEnumItemProperties_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSearchRoots, IEnumSearchRoots_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef52); -impl std::ops::Deref for IEnumSearchRoots { +impl core::ops::Deref for IEnumSearchRoots { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3333,7 +3333,7 @@ pub struct IEnumSearchRoots_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSearchScopeRules, IEnumSearchScopeRules_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef54); -impl std::ops::Deref for IEnumSearchScopeRules { +impl core::ops::Deref for IEnumSearchScopeRules { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3364,7 +3364,7 @@ pub struct IEnumSearchScopeRules_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSubscription, IEnumSubscription_Vtbl, 0xf72c8d97_6dbd_11d1_a1e8_00c04fc2fbe1); -impl std::ops::Deref for IEnumSubscription { +impl core::ops::Deref for IEnumSubscription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3400,7 +3400,7 @@ pub struct IEnumSubscription_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorLookup, IErrorLookup_Vtbl, 0x0c733a66_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IErrorLookup { +impl core::ops::Deref for IErrorLookup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3430,7 +3430,7 @@ pub struct IErrorLookup_Vtbl { pub ReleaseErrors: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IErrorRecords, IErrorRecords_Vtbl, 0x0c733a67_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IErrorRecords { +impl core::ops::Deref for IErrorRecords { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3487,7 +3487,7 @@ pub struct IErrorRecords_Vtbl { pub GetRecordCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetDataSource, IGetDataSource_Vtbl, 0x0c733a75_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IGetDataSource { +impl core::ops::Deref for IGetDataSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3506,7 +3506,7 @@ pub struct IGetDataSource_Vtbl { pub GetDataSource: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetRow, IGetRow_Vtbl, 0x0c733aaf_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IGetRow { +impl core::ops::Deref for IGetRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3533,7 +3533,7 @@ pub struct IGetRow_Vtbl { pub GetURLFromHROW: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetSession, IGetSession_Vtbl, 0x0c733aba_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IGetSession { +impl core::ops::Deref for IGetSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3552,7 +3552,7 @@ pub struct IGetSession_Vtbl { pub GetSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetSourceRow, IGetSourceRow_Vtbl, 0x0c733abb_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IGetSourceRow { +impl core::ops::Deref for IGetSourceRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3571,7 +3571,7 @@ pub struct IGetSourceRow_Vtbl { pub GetSourceRow: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIndexDefinition, IIndexDefinition_Vtbl, 0x0c733a68_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IIndexDefinition { +impl core::ops::Deref for IIndexDefinition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3601,7 +3601,7 @@ pub struct IIndexDefinition_Vtbl { DropIndex: usize, } windows_core::imp::define_interface!(IInterval, IInterval_Vtbl, 0x6bf0a714_3c18_430b_8b5d_83b1c234d3db); -impl std::ops::Deref for IInterval { +impl core::ops::Deref for IInterval { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3619,7 +3619,7 @@ pub struct IInterval_Vtbl { pub GetLimits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut INTERVAL_LIMIT_KIND, *mut core::mem::MaybeUninit, *mut INTERVAL_LIMIT_KIND, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoadFilter, ILoadFilter_Vtbl, 0xc7310722_ac80_11d1_8df3_00c04fb6ef4f); -impl std::ops::Deref for ILoadFilter { +impl core::ops::Deref for ILoadFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3673,7 +3673,7 @@ pub struct ILoadFilter_Vtbl { LoadIFilterFromStream: usize, } windows_core::imp::define_interface!(ILoadFilterWithPrivateComActivation, ILoadFilterWithPrivateComActivation_Vtbl, 0x40bdbd34_780b_48d3_9bb6_12ebd4ad2e75); -impl std::ops::Deref for ILoadFilterWithPrivateComActivation { +impl core::ops::Deref for ILoadFilterWithPrivateComActivation { type Target = ILoadFilter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3698,7 +3698,7 @@ pub struct ILoadFilterWithPrivateComActivation_Vtbl { LoadIFilterWithPrivateComActivation: usize, } windows_core::imp::define_interface!(IMDDataset, IMDDataset_Vtbl, 0xa07cccd1_8148_11d0_87bb_00c04fc33942); -impl std::ops::Deref for IMDDataset { +impl core::ops::Deref for IMDDataset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3743,7 +3743,7 @@ pub struct IMDDataset_Vtbl { pub GetSpecification: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDFind, IMDFind_Vtbl, 0xa07cccd2_8148_11d0_87bb_00c04fc33942); -impl std::ops::Deref for IMDFind { +impl core::ops::Deref for IMDFind { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3767,7 +3767,7 @@ pub struct IMDFind_Vtbl { pub FindTuple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, usize, *const windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMDRangeRowset, IMDRangeRowset_Vtbl, 0x0c733aa0_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IMDRangeRowset { +impl core::ops::Deref for IMDRangeRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3792,7 +3792,7 @@ pub struct IMDRangeRowset_Vtbl { GetRangeRowset: usize, } windows_core::imp::define_interface!(IMetaData, IMetaData_Vtbl, 0x780102b0_c43b_4876_bc7b_5e9ba5c88794); -impl std::ops::Deref for IMetaData { +impl core::ops::Deref for IMetaData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3810,7 +3810,7 @@ pub struct IMetaData_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultipleResults, IMultipleResults_Vtbl, 0x0c733a90_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IMultipleResults { +impl core::ops::Deref for IMultipleResults { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3831,7 +3831,7 @@ pub struct IMultipleResults_Vtbl { pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, isize, *const windows_core::GUID, *mut isize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INamedEntity, INamedEntity_Vtbl, 0xabdbd0b1_7d54_49fb_ab5c_bff4130004cd); -impl std::ops::Deref for INamedEntity { +impl core::ops::Deref for INamedEntity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3854,7 +3854,7 @@ pub struct INamedEntity_Vtbl { pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INamedEntityCollector, INamedEntityCollector_Vtbl, 0xaf2440f6_8afc_47d0_9a7f_396a0acfb43d); -impl std::ops::Deref for INamedEntityCollector { +impl core::ops::Deref for INamedEntityCollector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3876,7 +3876,7 @@ pub struct INamedEntityCollector_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32, *mut core::ffi::c_void, windows_core::PCWSTR, NAMED_ENTITY_CERTAINTY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectAccessControl, IObjectAccessControl_Vtbl, 0x0c733aa3_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IObjectAccessControl { +impl core::ops::Deref for IObjectAccessControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3932,7 +3932,7 @@ pub struct IObjectAccessControl_Vtbl { SetObjectOwner: usize, } windows_core::imp::define_interface!(IOpLockStatus, IOpLockStatus_Vtbl, 0xc731065d_ac80_11d1_8df3_00c04fb6ef4f); -impl std::ops::Deref for IOpLockStatus { +impl core::ops::Deref for IOpLockStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3961,7 +3961,7 @@ pub struct IOpLockStatus_Vtbl { pub GetOplockEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenRowset, IOpenRowset_Vtbl, 0x0c733a69_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IOpenRowset { +impl core::ops::Deref for IOpenRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3986,7 +3986,7 @@ pub struct IOpenRowset_Vtbl { OpenRowset: usize, } windows_core::imp::define_interface!(IParentRowset, IParentRowset_Vtbl, 0x0c733aaa_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IParentRowset { +impl core::ops::Deref for IParentRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4008,7 +4008,7 @@ pub struct IParentRowset_Vtbl { pub GetChildRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProtocolHandlerSite, IProtocolHandlerSite_Vtbl, 0x0b63e385_9ccc_11d0_bcdb_00805fccce04); -impl std::ops::Deref for IProtocolHandlerSite { +impl core::ops::Deref for IProtocolHandlerSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4035,7 +4035,7 @@ pub struct IProtocolHandlerSite_Vtbl { GetFilter: usize, } windows_core::imp::define_interface!(IProvideMoniker, IProvideMoniker_Vtbl, 0x0c733a4d_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IProvideMoniker { +impl core::ops::Deref for IProvideMoniker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4058,7 +4058,7 @@ pub struct IProvideMoniker_Vtbl { GetMoniker: usize, } windows_core::imp::define_interface!(IQueryParser, IQueryParser_Vtbl, 0x2ebdee67_3505_43f8_9946_ea44abc8e5b0); -impl std::ops::Deref for IQueryParser { +impl core::ops::Deref for IQueryParser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4140,7 +4140,7 @@ pub struct IQueryParser_Vtbl { RestatePropertyValueToString: usize, } windows_core::imp::define_interface!(IQueryParserManager, IQueryParserManager_Vtbl, 0xa879e3c4_af77_44fb_8f37_ebd1487cf920); -impl std::ops::Deref for IQueryParserManager { +impl core::ops::Deref for IQueryParserManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4153,7 +4153,7 @@ impl IQueryParserManager { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateLoadedParser)(windows_core::Interface::as_raw(self), pszcatalog.param().abi(), langidforkeywords, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InitializeOptions(&self, funderstandnqs: P0, fautowildcard: P1, pqueryparser: P2) -> windows_core::Result<()> @@ -4176,7 +4176,7 @@ pub struct IQueryParserManager_Vtbl { pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, QUERY_PARSER_MANAGER_OPTION, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQuerySolution, IQuerySolution_Vtbl, 0xd6ebc66b_8921_4193_afdd_a1789fb7ff57); -impl std::ops::Deref for IQuerySolution { +impl core::ops::Deref for IQuerySolution { type Target = IConditionFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4192,7 +4192,7 @@ impl IQuerySolution { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetErrors)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetLexicalData(&self, ppszinputstring: Option<*mut windows_core::PWSTR>, pptokens: Option<*mut Option>, plcid: Option<*mut u32>, ppwordbreaker: Option<*mut Option>) -> windows_core::Result<()> { @@ -4210,7 +4210,7 @@ pub struct IQuerySolution_Vtbl { pub GetLexicalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut *mut core::ffi::c_void, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReadData, IReadData_Vtbl, 0x0c733a6a_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IReadData { +impl core::ops::Deref for IReadData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4235,7 +4235,7 @@ pub struct IReadData_Vtbl { pub ReleaseChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRegisterProvider, IRegisterProvider_Vtbl, 0x0c733ab9_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRegisterProvider { +impl core::ops::Deref for IRegisterProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4271,7 +4271,7 @@ pub struct IRegisterProvider_Vtbl { pub UnregisterProvider: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, usize, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRelationship, IRelationship_Vtbl, 0x2769280b_5108_498c_9c7f_a51239b63147); -impl std::ops::Deref for IRelationship { +impl core::ops::Deref for IRelationship { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4294,7 +4294,7 @@ impl IRelationship { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).MetaData)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DefaultPhrase(&self, ppszphrase: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -4311,7 +4311,7 @@ pub struct IRelationship_Vtbl { pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRichChunk, IRichChunk_Vtbl, 0x4fdef69c_dbc9_454e_9910_b34f3c64b510); -impl std::ops::Deref for IRichChunk { +impl core::ops::Deref for IRichChunk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4329,7 +4329,7 @@ pub struct IRichChunk_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut windows_core::PWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRow, IRow_Vtbl, 0x0c733ab4_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRow { +impl core::ops::Deref for IRow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4366,7 +4366,7 @@ pub struct IRow_Vtbl { Open: usize, } windows_core::imp::define_interface!(IRowChange, IRowChange_Vtbl, 0x0c733ab5_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowChange { +impl core::ops::Deref for IRowChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4388,7 +4388,7 @@ pub struct IRowChange_Vtbl { SetColumns: usize, } windows_core::imp::define_interface!(IRowPosition, IRowPosition_Vtbl, 0x0c733a94_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowPosition { +impl core::ops::Deref for IRowPosition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4426,7 +4426,7 @@ pub struct IRowPosition_Vtbl { pub SetRowPosition: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowPositionChange, IRowPositionChange_Vtbl, 0x0997a571_126e_11d0_9f8a_00a0c9a0631e); -impl std::ops::Deref for IRowPositionChange { +impl core::ops::Deref for IRowPositionChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4447,7 +4447,7 @@ pub struct IRowPositionChange_Vtbl { pub OnRowPositionChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowSchemaChange, IRowSchemaChange_Vtbl, 0x0c733aae_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowSchemaChange { +impl core::ops::Deref for IRowSchemaChange { type Target = IRowChange; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4477,7 +4477,7 @@ pub struct IRowSchemaChange_Vtbl { AddColumns: usize, } windows_core::imp::define_interface!(IRowset, IRowset_Vtbl, 0x0c733a7c_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowset { +impl core::ops::Deref for IRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4514,7 +4514,7 @@ pub struct IRowset_Vtbl { pub RestartPosition: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetAsynch, IRowsetAsynch_Vtbl, 0x0c733a0f_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetAsynch { +impl core::ops::Deref for IRowsetAsynch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4536,7 +4536,7 @@ pub struct IRowsetAsynch_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetBookmark, IRowsetBookmark_Vtbl, 0x0c733ac2_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetBookmark { +impl core::ops::Deref for IRowsetBookmark { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4554,7 +4554,7 @@ pub struct IRowsetBookmark_Vtbl { pub PositionOnBookmark: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetChange, IRowsetChange_Vtbl, 0x0c733a05_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetChange { +impl core::ops::Deref for IRowsetChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4587,7 +4587,7 @@ pub struct IRowsetChange_Vtbl { pub InsertRow: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *const core::ffi::c_void, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetChangeExtInfo, IRowsetChangeExtInfo_Vtbl, 0x0c733a8f_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetChangeExtInfo { +impl core::ops::Deref for IRowsetChangeExtInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4609,7 +4609,7 @@ pub struct IRowsetChangeExtInfo_Vtbl { pub GetPendingColumns: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, u32, *const u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetChapterMember, IRowsetChapterMember_Vtbl, 0x0c733aa8_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetChapterMember { +impl core::ops::Deref for IRowsetChapterMember { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4627,7 +4627,7 @@ pub struct IRowsetChapterMember_Vtbl { pub IsRowInChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetCopyRows, IRowsetCopyRows_Vtbl, 0x0c733a6b_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetCopyRows { +impl core::ops::Deref for IRowsetCopyRows { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4662,7 +4662,7 @@ pub struct IRowsetCopyRows_Vtbl { pub DefineSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, *const isize, *const isize, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetCurrentIndex, IRowsetCurrentIndex_Vtbl, 0x0c733abd_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetCurrentIndex { +impl core::ops::Deref for IRowsetCurrentIndex { type Target = IRowsetIndex; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4693,7 +4693,7 @@ pub struct IRowsetCurrentIndex_Vtbl { SetIndex: usize, } windows_core::imp::define_interface!(IRowsetEvents, IRowsetEvents_Vtbl, 0x1551aea5_5d66_4b11_86f5_d5634cb211b9); -impl std::ops::Deref for IRowsetEvents { +impl core::ops::Deref for IRowsetEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4723,7 +4723,7 @@ pub struct IRowsetEvents_Vtbl { pub OnRowsetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, ROWSETEVENT_TYPE, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetExactScroll, IRowsetExactScroll_Vtbl, 0x0c733a7f_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetExactScroll { +impl core::ops::Deref for IRowsetExactScroll { type Target = IRowsetScroll; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4741,7 +4741,7 @@ pub struct IRowsetExactScroll_Vtbl { pub GetExactPosition: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const u8, *mut usize, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetFastLoad, IRowsetFastLoad_Vtbl, 0x5cf4ca13_ef21_11d0_97e7_00c04fc2ad98); -impl std::ops::Deref for IRowsetFastLoad { +impl core::ops::Deref for IRowsetFastLoad { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4769,7 +4769,7 @@ pub struct IRowsetFastLoad_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetFind, IRowsetFind_Vtbl, 0x0c733a9d_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetFind { +impl core::ops::Deref for IRowsetFind { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4790,7 +4790,7 @@ pub struct IRowsetFind_Vtbl { pub FindNextRow: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *const core::ffi::c_void, u32, usize, *const u8, isize, isize, *mut usize, *mut *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetIdentity, IRowsetIdentity_Vtbl, 0x0c733a09_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetIdentity { +impl core::ops::Deref for IRowsetIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4808,7 +4808,7 @@ pub struct IRowsetIdentity_Vtbl { pub IsSameRow: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetIndex, IRowsetIndex_Vtbl, 0x0c733a82_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetIndex { +impl core::ops::Deref for IRowsetIndex { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4844,7 +4844,7 @@ pub struct IRowsetIndex_Vtbl { pub SetRange: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, usize, *const core::ffi::c_void, usize, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetInfo, IRowsetInfo_Vtbl, 0x0c733a55_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetInfo { +impl core::ops::Deref for IRowsetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4876,7 +4876,7 @@ pub struct IRowsetInfo_Vtbl { pub GetSpecification: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetKeys, IRowsetKeys_Vtbl, 0x0c733a12_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetKeys { +impl core::ops::Deref for IRowsetKeys { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4894,7 +4894,7 @@ pub struct IRowsetKeys_Vtbl { pub ListKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetLocate, IRowsetLocate_Vtbl, 0x0c733a7d_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetLocate { +impl core::ops::Deref for IRowsetLocate { type Target = IRowset; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4925,7 +4925,7 @@ pub struct IRowsetLocate_Vtbl { pub Hash: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const usize, *const *const u8, *mut usize, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetNewRowAfter, IRowsetNewRowAfter_Vtbl, 0x0c733a71_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetNewRowAfter { +impl core::ops::Deref for IRowsetNewRowAfter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4947,7 +4947,7 @@ pub struct IRowsetNewRowAfter_Vtbl { pub SetNewDataAfter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const u8, HACCESSOR, *const u8, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetNextRowset, IRowsetNextRowset_Vtbl, 0x0c733a72_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetNextRowset { +impl core::ops::Deref for IRowsetNextRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4969,7 +4969,7 @@ pub struct IRowsetNextRowset_Vtbl { pub GetNextRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetNotify, IRowsetNotify_Vtbl, 0x0c733a83_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetNotify { +impl core::ops::Deref for IRowsetNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5007,7 +5007,7 @@ pub struct IRowsetNotify_Vtbl { pub OnRowsetChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetPrioritization, IRowsetPrioritization_Vtbl, 0x42811652_079d_481b_87a2_09a69ecc5f44); -impl std::ops::Deref for IRowsetPrioritization { +impl core::ops::Deref for IRowsetPrioritization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5033,7 +5033,7 @@ pub struct IRowsetPrioritization_Vtbl { pub GetScopeStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetQueryStatus, IRowsetQueryStatus_Vtbl, 0xa7ac77ed_f8d7_11ce_a798_0020f8008024); -impl std::ops::Deref for IRowsetQueryStatus { +impl core::ops::Deref for IRowsetQueryStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5055,7 +5055,7 @@ pub struct IRowsetQueryStatus_Vtbl { pub GetStatusEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32, *mut usize, *mut usize, usize, *const u8, *mut usize, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetRefresh, IRowsetRefresh_Vtbl, 0x0c733aa9_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetRefresh { +impl core::ops::Deref for IRowsetRefresh { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5083,7 +5083,7 @@ pub struct IRowsetRefresh_Vtbl { pub GetLastVisibleData: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetResynch, IRowsetResynch_Vtbl, 0x0c733a84_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetResynch { +impl core::ops::Deref for IRowsetResynch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5108,7 +5108,7 @@ pub struct IRowsetResynch_Vtbl { pub ResynchRows: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const usize, *mut usize, *mut *mut usize, *mut *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetScroll, IRowsetScroll_Vtbl, 0x0c733a7e_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetScroll { +impl core::ops::Deref for IRowsetScroll { type Target = IRowsetLocate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5130,7 +5130,7 @@ pub struct IRowsetScroll_Vtbl { pub GetRowsAtRatio: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize, usize, isize, *mut usize, *mut *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetUpdate, IRowsetUpdate_Vtbl, 0x0c733a6d_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetUpdate { +impl core::ops::Deref for IRowsetUpdate { type Target = IRowsetChange; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5167,7 +5167,7 @@ pub struct IRowsetUpdate_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const usize, *mut usize, *mut *mut usize, *mut *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetView, IRowsetView_Vtbl, 0x0c733a99_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetView { +impl core::ops::Deref for IRowsetView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5193,7 +5193,7 @@ pub struct IRowsetView_Vtbl { pub GetView: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const windows_core::GUID, *mut usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetWatchAll, IRowsetWatchAll_Vtbl, 0x0c733a73_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetWatchAll { +impl core::ops::Deref for IRowsetWatchAll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5219,7 +5219,7 @@ pub struct IRowsetWatchAll_Vtbl { pub StopWatching: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetWatchNotify, IRowsetWatchNotify_Vtbl, 0x0c733a44_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetWatchNotify { +impl core::ops::Deref for IRowsetWatchNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5240,7 +5240,7 @@ pub struct IRowsetWatchNotify_Vtbl { pub OnChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetWatchRegion, IRowsetWatchRegion_Vtbl, 0x0c733a45_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetWatchRegion { +impl core::ops::Deref for IRowsetWatchRegion { type Target = IRowsetWatchAll; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5279,7 +5279,7 @@ pub struct IRowsetWatchRegion_Vtbl { pub ShrinkWatchRegion: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize, *const u8, isize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRowsetWithParameters, IRowsetWithParameters_Vtbl, 0x0c733a6e_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IRowsetWithParameters { +impl core::ops::Deref for IRowsetWithParameters { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5305,7 +5305,7 @@ pub struct IRowsetWithParameters_Vtbl { pub Requery: unsafe extern "system" fn(*mut core::ffi::c_void, *const DBPARAMS, *mut u32, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISQLErrorInfo, ISQLErrorInfo_Vtbl, 0x0c733a74_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ISQLErrorInfo { +impl core::ops::Deref for ISQLErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5323,7 +5323,7 @@ pub struct ISQLErrorInfo_Vtbl { pub GetSQLInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISQLGetDiagField, ISQLGetDiagField_Vtbl, 0x228972f1_b5ff_11d0_8a80_00c04fd611cd); -impl std::ops::Deref for ISQLGetDiagField { +impl core::ops::Deref for ISQLGetDiagField { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5341,7 +5341,7 @@ pub struct ISQLGetDiagField_Vtbl { pub GetDiagField: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KAGGETDIAG) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISQLRequestDiagFields, ISQLRequestDiagFields_Vtbl, 0x228972f0_b5ff_11d0_8a80_00c04fd611cd); -impl std::ops::Deref for ISQLRequestDiagFields { +impl core::ops::Deref for ISQLRequestDiagFields { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5363,7 +5363,7 @@ pub struct ISQLRequestDiagFields_Vtbl { RequestDiagFields: usize, } windows_core::imp::define_interface!(ISQLServerErrorInfo, ISQLServerErrorInfo_Vtbl, 0x5cf4ca12_ef21_11d0_97e7_00c04fc2ad98); -impl std::ops::Deref for ISQLServerErrorInfo { +impl core::ops::Deref for ISQLServerErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5381,7 +5381,7 @@ pub struct ISQLServerErrorInfo_Vtbl { pub GetErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SSERRORINFO, *mut *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISchemaLocalizerSupport, ISchemaLocalizerSupport_Vtbl, 0xca3fdca2_bfbe_4eed_90d7_0caef0a1bda1); -impl std::ops::Deref for ISchemaLocalizerSupport { +impl core::ops::Deref for ISchemaLocalizerSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5403,7 +5403,7 @@ pub struct ISchemaLocalizerSupport_Vtbl { pub Localize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISchemaLock, ISchemaLock_Vtbl, 0x4c2389fb_2511_11d4_b258_00c04f7971ce); -impl std::ops::Deref for ISchemaLock { +impl core::ops::Deref for ISchemaLock { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5432,7 +5432,7 @@ pub struct ISchemaLock_Vtbl { pub ReleaseSchemaLock: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISchemaProvider, ISchemaProvider_Vtbl, 0x8cf89bcb_394c_49b2_ae28_a59dd4ed7f68); -impl std::ops::Deref for ISchemaProvider { +impl core::ops::Deref for ISchemaProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5444,7 +5444,7 @@ impl ISchemaProvider { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Entities)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RootEntity(&self) -> windows_core::Result { @@ -5462,7 +5462,7 @@ impl ISchemaProvider { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).MetaData)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Localize(&self, lcid: u32, pschemalocalizersupport: P0) -> windows_core::Result<()> @@ -5498,7 +5498,7 @@ pub struct ISchemaProvider_Vtbl { pub LookupAuthoredNamedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, u32, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScopedOperations, IScopedOperations_Vtbl, 0x0c733ab0_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IScopedOperations { +impl core::ops::Deref for IScopedOperations { type Target = IBindResource; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5549,7 +5549,7 @@ pub struct IScopedOperations_Vtbl { OpenRowset: usize, } windows_core::imp::define_interface!(ISearchCatalogManager, ISearchCatalogManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef50); -impl std::ops::Deref for ISearchCatalogManager { +impl core::ops::Deref for ISearchCatalogManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5644,7 +5644,7 @@ impl ISearchCatalogManager { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetItemsChangedSink)(windows_core::Interface::as_raw(self), pisearchnotifyinlinesite.param().abi(), &T::IID, &mut result__, pguidcatalogresetsignature, pguidcheckpointsignature, pdwlastcheckpointnumber).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn UnregisterViewForNotification(&self, dwcookie: u32) -> windows_core::Result<()> { @@ -5715,7 +5715,7 @@ pub struct ISearchCatalogManager_Vtbl { pub GetCrawlScopeManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchCatalogManager2, ISearchCatalogManager2_Vtbl, 0x7ac3286d_4d1d_4817_84fc_c1c85e3af0d9); -impl std::ops::Deref for ISearchCatalogManager2 { +impl core::ops::Deref for ISearchCatalogManager2 { type Target = ISearchCatalogManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5736,7 +5736,7 @@ pub struct ISearchCatalogManager2_Vtbl { pub PrioritizeMatchingURLs: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, PRIORITIZE_FLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchCrawlScopeManager, ISearchCrawlScopeManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef55); -impl std::ops::Deref for ISearchCrawlScopeManager { +impl core::ops::Deref for ISearchCrawlScopeManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5862,7 +5862,7 @@ pub struct ISearchCrawlScopeManager_Vtbl { pub RemoveDefaultScopeRule: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchCrawlScopeManager2, ISearchCrawlScopeManager2_Vtbl, 0x6292f7ad_4e19_4717_a534_8fc22bcd5ccd); -impl std::ops::Deref for ISearchCrawlScopeManager2 { +impl core::ops::Deref for ISearchCrawlScopeManager2 { type Target = ISearchCrawlScopeManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5880,7 +5880,7 @@ pub struct ISearchCrawlScopeManager2_Vtbl { pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut i32, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchItemsChangedSink, ISearchItemsChangedSink_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef58); -impl std::ops::Deref for ISearchItemsChangedSink { +impl core::ops::Deref for ISearchItemsChangedSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5916,7 +5916,7 @@ pub struct ISearchItemsChangedSink_Vtbl { OnItemsChanged: usize, } windows_core::imp::define_interface!(ISearchLanguageSupport, ISearchLanguageSupport_Vtbl, 0x24c3cbaa_ebc1_491a_9ef1_9f6d8deb1b8f); -impl std::ops::Deref for ISearchLanguageSupport { +impl core::ops::Deref for ISearchLanguageSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5938,14 +5938,14 @@ impl ISearchLanguageSupport { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).LoadWordBreaker)(windows_core::Interface::as_raw(self), lcid, &T::IID, &mut result__, plcidused).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn LoadStemmer(&self, lcid: u32, plcidused: *mut u32) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).LoadStemmer)(windows_core::Interface::as_raw(self), lcid, &T::IID, &mut result__, plcidused).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn IsPrefixNormalized(&self, pwcsquerytoken: &[u16], pwcsdocumenttoken: &[u16]) -> windows_core::Result { @@ -5963,7 +5963,7 @@ pub struct ISearchLanguageSupport_Vtbl { pub IsPrefixNormalized: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchManager, ISearchManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef69); -impl std::ops::Deref for ISearchManager { +impl core::ops::Deref for ISearchManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6055,7 +6055,7 @@ pub struct ISearchManager_Vtbl { pub PortNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchManager2, ISearchManager2_Vtbl, 0xdbab3f73_db19_4a79_bfc0_a61a93886ddf); -impl std::ops::Deref for ISearchManager2 { +impl core::ops::Deref for ISearchManager2 { type Target = ISearchManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6084,7 +6084,7 @@ pub struct ISearchManager2_Vtbl { pub DeleteCatalog: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchNotifyInlineSite, ISearchNotifyInlineSite_Vtbl, 0xb5702e61_e75c_4b64_82a1_6cb4f832fccf); -impl std::ops::Deref for ISearchNotifyInlineSite { +impl core::ops::Deref for ISearchNotifyInlineSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6106,7 +6106,7 @@ pub struct ISearchNotifyInlineSite_Vtbl { pub OnCatalogStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchPersistentItemsChangedSink, ISearchPersistentItemsChangedSink_Vtbl, 0xa2ffdf9b_4758_4f84_b729_df81a1a0612f); -impl std::ops::Deref for ISearchPersistentItemsChangedSink { +impl core::ops::Deref for ISearchPersistentItemsChangedSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6138,7 +6138,7 @@ pub struct ISearchPersistentItemsChangedSink_Vtbl { pub OnItemsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const SEARCH_ITEM_PERSISTENT_CHANGE, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchProtocol, ISearchProtocol_Vtbl, 0xc73106ba_ac80_11d1_8df3_00c04fb6ef4f); -impl std::ops::Deref for ISearchProtocol { +impl core::ops::Deref for ISearchProtocol { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6178,7 +6178,7 @@ pub struct ISearchProtocol_Vtbl { pub ShutDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchProtocol2, ISearchProtocol2_Vtbl, 0x7789f0b2_b5b2_4722_8b65_5dbd150697a9); -impl std::ops::Deref for ISearchProtocol2 { +impl core::ops::Deref for ISearchProtocol2 { type Target = ISearchProtocol; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6204,7 +6204,7 @@ pub struct ISearchProtocol2_Vtbl { CreateAccessorEx: usize, } windows_core::imp::define_interface!(ISearchProtocolThreadContext, ISearchProtocolThreadContext_Vtbl, 0xc73106e1_ac80_11d1_8df3_00c04fb6ef4f); -impl std::ops::Deref for ISearchProtocolThreadContext { +impl core::ops::Deref for ISearchProtocolThreadContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6230,7 +6230,7 @@ pub struct ISearchProtocolThreadContext_Vtbl { pub ThreadIdle: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchQueryHelper, ISearchQueryHelper_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef63); -impl std::ops::Deref for ISearchQueryHelper { +impl core::ops::Deref for ISearchQueryHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6358,7 +6358,7 @@ pub struct ISearchQueryHelper_Vtbl { pub QueryMaxResults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchQueryHits, ISearchQueryHits_Vtbl, 0xed8ce7e0_106c_11ce_84e2_00aa004b9986); -impl std::ops::Deref for ISearchQueryHits { +impl core::ops::Deref for ISearchQueryHits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6399,7 +6399,7 @@ pub struct ISearchQueryHits_Vtbl { NextHitOffset: usize, } windows_core::imp::define_interface!(ISearchRoot, ISearchRoot_Vtbl, 0x04c18ccf_1f57_4cbd_88cc_3900f5195ce3); -impl std::ops::Deref for ISearchRoot { +impl core::ops::Deref for ISearchRoot { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6536,7 +6536,7 @@ pub struct ISearchRoot_Vtbl { pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchScopeRule, ISearchScopeRule_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef53); -impl std::ops::Deref for ISearchScopeRule { +impl core::ops::Deref for ISearchScopeRule { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6570,7 +6570,7 @@ pub struct ISearchScopeRule_Vtbl { pub FollowFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchViewChangedSink, ISearchViewChangedSink_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef65); -impl std::ops::Deref for ISearchViewChangedSink { +impl core::ops::Deref for ISearchViewChangedSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6592,7 +6592,7 @@ pub struct ISearchViewChangedSink_Vtbl { OnChange: usize, } windows_core::imp::define_interface!(ISecurityInfo, ISecurityInfo_Vtbl, 0x0c733aa4_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ISecurityInfo { +impl core::ops::Deref for ISecurityInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6624,7 +6624,7 @@ pub struct ISecurityInfo_Vtbl { pub GetPermissions: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IService, IService_Vtbl, 0x06210e88_01f5_11d1_b512_0080c781c384); -impl std::ops::Deref for IService { +impl core::ops::Deref for IService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6645,7 +6645,7 @@ pub struct IService_Vtbl { pub InvokeService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISessionProperties, ISessionProperties_Vtbl, 0x0c733a85_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ISessionProperties { +impl core::ops::Deref for ISessionProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6675,7 +6675,7 @@ pub struct ISessionProperties_Vtbl { SetProperties: usize, } windows_core::imp::define_interface!(ISimpleCommandCreator, ISimpleCommandCreator_Vtbl, 0x5e341ab7_02d0_11d1_900c_00a0c9063796); -impl std::ops::Deref for ISimpleCommandCreator { +impl core::ops::Deref for ISimpleCommandCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6711,7 +6711,7 @@ pub struct ISimpleCommandCreator_Vtbl { pub GetDefaultCatalog: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISourcesRowset, ISourcesRowset_Vtbl, 0x0c733a1e_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ISourcesRowset { +impl core::ops::Deref for ISourcesRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6736,7 +6736,7 @@ pub struct ISourcesRowset_Vtbl { GetSourcesRowset: usize, } windows_core::imp::define_interface!(IStemmer, IStemmer_Vtbl, 0xefbaf140_7f42_11ce_be57_00aa0051fe20); -impl std::ops::Deref for IStemmer { +impl core::ops::Deref for IStemmer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6766,7 +6766,7 @@ pub struct IStemmer_Vtbl { pub GetLicenseToUse: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISubscriptionItem, ISubscriptionItem_Vtbl, 0xa97559f8_6c4a_11d1_a1e8_00c04fc2fbe1); -impl std::ops::Deref for ISubscriptionItem { +impl core::ops::Deref for ISubscriptionItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6810,7 +6810,7 @@ pub struct ISubscriptionItem_Vtbl { pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISubscriptionMgr, ISubscriptionMgr_Vtbl, 0x085fb2c0_0df8_11d1_8f4b_00a0c905413f); -impl std::ops::Deref for ISubscriptionMgr { +impl core::ops::Deref for ISubscriptionMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6879,7 +6879,7 @@ pub struct ISubscriptionMgr_Vtbl { pub CreateSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, u32, SUBSCRIPTIONTYPE, *mut SUBSCRIPTIONINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISubscriptionMgr2, ISubscriptionMgr2_Vtbl, 0x614bc270_aedf_11d1_a1f9_00c04fc2fbe1); -impl std::ops::Deref for ISubscriptionMgr2 { +impl core::ops::Deref for ISubscriptionMgr2 { type Target = ISubscriptionMgr; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6927,7 +6927,7 @@ pub struct ISubscriptionMgr2_Vtbl { pub AbortAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITableCreation, ITableCreation_Vtbl, 0x0c733abc_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITableCreation { +impl core::ops::Deref for ITableCreation { type Target = ITableDefinition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6960,7 +6960,7 @@ pub struct ITableCreation_Vtbl { GetTableDefinition: usize, } windows_core::imp::define_interface!(ITableDefinition, ITableDefinition_Vtbl, 0x0c733a86_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITableDefinition { +impl core::ops::Deref for ITableDefinition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7021,7 +7021,7 @@ pub struct ITableDefinition_Vtbl { DropColumn: usize, } windows_core::imp::define_interface!(ITableDefinitionWithConstraints, ITableDefinitionWithConstraints_Vtbl, 0x0c733aab_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITableDefinitionWithConstraints { +impl core::ops::Deref for ITableDefinitionWithConstraints { type Target = ITableCreation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7062,7 +7062,7 @@ pub struct ITableDefinitionWithConstraints_Vtbl { DropConstraint: usize, } windows_core::imp::define_interface!(ITableRename, ITableRename_Vtbl, 0x0c733a77_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITableRename { +impl core::ops::Deref for ITableRename { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7092,7 +7092,7 @@ pub struct ITableRename_Vtbl { RenameTable: usize, } windows_core::imp::define_interface!(ITokenCollection, ITokenCollection_Vtbl, 0x22d8b4f2_f577_4adb_a335_c2ae88416fab); -impl std::ops::Deref for ITokenCollection { +impl core::ops::Deref for ITokenCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7114,7 +7114,7 @@ pub struct ITokenCollection_Vtbl { pub GetToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransactionJoin, ITransactionJoin_Vtbl, 0x0c733a5e_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITransactionJoin { +impl core::ops::Deref for ITransactionJoin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7151,7 +7151,7 @@ pub struct ITransactionJoin_Vtbl { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] windows_core::imp::define_interface!(ITransactionLocal, ITransactionLocal_Vtbl, 0x0c733a5f_2a1c_11ce_ade5_00aa0044773d); #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -impl std::ops::Deref for ITransactionLocal { +impl core::ops::Deref for ITransactionLocal { type Target = super::DistributedTransactionCoordinator::ITransaction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7188,7 +7188,7 @@ pub struct ITransactionLocal_Vtbl { StartTransaction: usize, } windows_core::imp::define_interface!(ITransactionObject, ITransactionObject_Vtbl, 0x0c733a60_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITransactionObject { +impl core::ops::Deref for ITransactionObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7211,7 +7211,7 @@ pub struct ITransactionObject_Vtbl { GetTransactionObject: usize, } windows_core::imp::define_interface!(ITrusteeAdmin, ITrusteeAdmin_Vtbl, 0x0c733aa1_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITrusteeAdmin { +impl core::ops::Deref for ITrusteeAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7265,7 +7265,7 @@ pub struct ITrusteeAdmin_Vtbl { GetTrusteeProperties: usize, } windows_core::imp::define_interface!(ITrusteeGroupAdmin, ITrusteeGroupAdmin_Vtbl, 0x0c733aa2_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for ITrusteeGroupAdmin { +impl core::ops::Deref for ITrusteeGroupAdmin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7346,7 +7346,7 @@ pub struct IUMS_Vtbl { pub SqlUmsFIsPremptive: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IUMSInitialize, IUMSInitialize_Vtbl, 0x5cf4ca14_ef21_11d0_97e7_00c04fc2ad98); -impl std::ops::Deref for IUMSInitialize { +impl core::ops::Deref for IUMSInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7364,7 +7364,7 @@ pub struct IUMSInitialize_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUrlAccessor, IUrlAccessor_Vtbl, 0x0b63e318_9ccc_11d0_bcdb_00805fccce04); -impl std::ops::Deref for IUrlAccessor { +impl core::ops::Deref for IUrlAccessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7448,7 +7448,7 @@ pub struct IUrlAccessor_Vtbl { BindToFilter: usize, } windows_core::imp::define_interface!(IUrlAccessor2, IUrlAccessor2_Vtbl, 0xc7310734_ac80_11d1_8df3_00c04fb6ef4f); -impl std::ops::Deref for IUrlAccessor2 { +impl core::ops::Deref for IUrlAccessor2 { type Target = IUrlAccessor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7474,7 +7474,7 @@ pub struct IUrlAccessor2_Vtbl { pub GetCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUrlAccessor3, IUrlAccessor3_Vtbl, 0x6fbc7005_0455_4874_b8ff_7439450241a3); -impl std::ops::Deref for IUrlAccessor3 { +impl core::ops::Deref for IUrlAccessor3 { type Target = IUrlAccessor2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7499,7 +7499,7 @@ pub struct IUrlAccessor3_Vtbl { GetImpersonationSidBlobs: usize, } windows_core::imp::define_interface!(IUrlAccessor4, IUrlAccessor4_Vtbl, 0x5cc51041_c8d2_41d7_bca3_9e9e286297dc); -impl std::ops::Deref for IUrlAccessor4 { +impl core::ops::Deref for IUrlAccessor4 { type Target = IUrlAccessor3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7527,7 +7527,7 @@ pub struct IUrlAccessor4_Vtbl { ShouldIndexProperty: usize, } windows_core::imp::define_interface!(IViewChapter, IViewChapter_Vtbl, 0x0c733a98_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IViewChapter { +impl core::ops::Deref for IViewChapter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7550,7 +7550,7 @@ pub struct IViewChapter_Vtbl { pub OpenViewChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewFilter, IViewFilter_Vtbl, 0x0c733a9b_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IViewFilter { +impl core::ops::Deref for IViewFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7586,7 +7586,7 @@ pub struct IViewFilter_Vtbl { pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, usize, *const u32, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewRowset, IViewRowset_Vtbl, 0x0c733a97_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IViewRowset { +impl core::ops::Deref for IViewRowset { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7613,7 +7613,7 @@ pub struct IViewRowset_Vtbl { pub OpenViewRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewSort, IViewSort_Vtbl, 0x0c733a9a_2a1c_11ce_ade5_00aa0044773d); -impl std::ops::Deref for IViewSort { +impl core::ops::Deref for IViewSort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7635,7 +7635,7 @@ pub struct IViewSort_Vtbl { pub SetSortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const usize, *const u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWordBreaker, IWordBreaker_Vtbl, 0xd53552c8_77e3_101a_b552_08002b33b0e6); -impl std::ops::Deref for IWordBreaker { +impl core::ops::Deref for IWordBreaker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7681,7 +7681,7 @@ pub struct IWordBreaker_Vtbl { pub GetLicenseToUse: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWordFormSink, IWordFormSink_Vtbl, 0xfe77c330_7f42_11ce_be57_00aa0051fe20); -impl std::ops::Deref for IWordFormSink { +impl core::ops::Deref for IWordFormSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7709,7 +7709,7 @@ pub struct IWordFormSink_Vtbl { pub PutWord: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWordSink, IWordSink_Vtbl, 0xcc907054_c058_101a_b554_08002b33b0e6); -impl std::ops::Deref for IWordSink { +impl core::ops::Deref for IWordSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7753,7 +7753,7 @@ pub struct IWordSink_Vtbl { PutBreak: usize, } windows_core::imp::define_interface!(OLEDBSimpleProvider, OLEDBSimpleProvider_Vtbl, 0xe0e270c0_c0be_11d0_8fe4_00a0c90a6341); -impl std::ops::Deref for OLEDBSimpleProvider { +impl core::ops::Deref for OLEDBSimpleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7845,7 +7845,7 @@ pub struct OLEDBSimpleProvider_Vtbl { pub stopTransfer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(OLEDBSimpleProviderListener, OLEDBSimpleProviderListener_Vtbl, 0xe0e270c1_c0be_11d0_8fe4_00a0c90a6341); -impl std::ops::Deref for OLEDBSimpleProviderListener { +impl core::ops::Deref for OLEDBSimpleProviderListener { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs index c36ab8fd44..9c6d8adb66 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -36,7 +36,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSCDefaultProduct, IWSCDefaultProduct_Vtbl, 0x0476d69c_f21a_11e5_9ce9_5e5517507c66); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSCDefaultProduct { +impl core::ops::Deref for IWSCDefaultProduct { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -62,7 +62,7 @@ pub struct IWSCDefaultProduct_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWSCProductList, IWSCProductList_Vtbl, 0x722a338c_6e8e_4e72_ac27_1417fb0c81c2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWSCProductList { +impl core::ops::Deref for IWSCProductList { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -99,7 +99,7 @@ pub struct IWSCProductList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWscProduct, IWscProduct_Vtbl, 0x8c38232e_3a45_4a27_92b0_1a16a975f669); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWscProduct { +impl core::ops::Deref for IWscProduct { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -153,7 +153,7 @@ pub struct IWscProduct_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWscProduct2, IWscProduct2_Vtbl, 0xf896ca54_fe09_4403_86d4_23cb488d81d8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWscProduct2 { +impl core::ops::Deref for IWscProduct2 { type Target = IWscProduct; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -202,7 +202,7 @@ pub struct IWscProduct2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWscProduct3, IWscProduct3_Vtbl, 0x55536524_d1d1_4726_8c7c_04996a1904e7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWscProduct3 { +impl core::ops::Deref for IWscProduct3 { type Target = IWscProduct2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs index c7eeef5fb6..3d1b1708d5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IWsbApplicationAsync, IWsbApplicationAsync_Vtbl, 0x0843f6f7_895c_44a6_b0c2_05a5022aa3a1); -impl std::ops::Deref for IWsbApplicationAsync { +impl core::ops::Deref for IWsbApplicationAsync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22,7 +22,7 @@ pub struct IWsbApplicationAsync_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWsbApplicationBackupSupport, IWsbApplicationBackupSupport_Vtbl, 0x1eff3510_4a27_46ad_b9e0_08332f0f4f6d); -impl std::ops::Deref for IWsbApplicationBackupSupport { +impl core::ops::Deref for IWsbApplicationBackupSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -46,7 +46,7 @@ pub struct IWsbApplicationBackupSupport_Vtbl { pub CheckConsistency: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u32, *const windows_core::PCWSTR, *const windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWsbApplicationRestoreSupport, IWsbApplicationRestoreSupport_Vtbl, 0x8d3bdb38_4ee8_4718_85f9_c7dbc4ab77aa); -impl std::ops::Deref for IWsbApplicationRestoreSupport { +impl core::ops::Deref for IWsbApplicationRestoreSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs index 9e0789d6f4..95dc22e810 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IItemEnumerator, IItemEnumerator_Vtbl, 0x9f7d7bb7_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for IItemEnumerator { +impl core::ops::Deref for IItemEnumerator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -27,7 +27,7 @@ pub struct IItemEnumerator_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsContext, ISettingsContext_Vtbl, 0x9f7d7bbd_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for ISettingsContext { +impl core::ops::Deref for ISettingsContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -95,7 +95,7 @@ pub struct ISettingsContext_Vtbl { pub RevertSetting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsEngine, ISettingsEngine_Vtbl, 0x9f7d7bb9_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for ISettingsEngine { +impl core::ops::Deref for ISettingsEngine { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -209,7 +209,7 @@ pub struct ISettingsEngine_Vtbl { pub GetSettingsContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsIdentity, ISettingsIdentity_Vtbl, 0x9f7d7bb6_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for ISettingsIdentity { +impl core::ops::Deref for ISettingsIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -248,7 +248,7 @@ pub struct ISettingsIdentity_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsItem, ISettingsItem_Vtbl, 0x9f7d7bbb_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for ISettingsItem { +impl core::ops::Deref for ISettingsItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -386,7 +386,7 @@ pub struct ISettingsItem_Vtbl { pub GetKeyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsNamespace, ISettingsNamespace_Vtbl, 0x9f7d7bba_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for ISettingsNamespace { +impl core::ops::Deref for ISettingsNamespace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -449,7 +449,7 @@ pub struct ISettingsNamespace_Vtbl { pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISettingsResult, ISettingsResult_Vtbl, 0x9f7d7bbc_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for ISettingsResult { +impl core::ops::Deref for ISettingsResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -493,7 +493,7 @@ pub struct ISettingsResult_Vtbl { pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetInfo, ITargetInfo_Vtbl, 0x9f7d7bb8_20b3_11da_81a5_0030f1642e3c); -impl std::ops::Deref for ITargetInfo { +impl core::ops::Deref for ITargetInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs index e487e3d5ef..056fab6ff5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ISideShowBulkCapabilities, ISideShowBulkCapabilities_Vtbl, 0x3a2b7fbc_3ad5_48bd_bbf1_0e6cfbd10807); -impl std::ops::Deref for ISideShowBulkCapabilities { +impl core::ops::Deref for ISideShowBulkCapabilities { type Target = ISideShowCapabilities; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20,7 +20,7 @@ pub struct ISideShowBulkCapabilities_Vtbl { pub GetCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowCapabilities, ISideShowCapabilities_Vtbl, 0x535e1379_c09e_4a54_a511_597bab3a72b8); -impl std::ops::Deref for ISideShowCapabilities { +impl core::ops::Deref for ISideShowCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -42,7 +42,7 @@ pub struct ISideShowCapabilities_Vtbl { GetCapability: usize, } windows_core::imp::define_interface!(ISideShowCapabilitiesCollection, ISideShowCapabilitiesCollection_Vtbl, 0x50305597_5e0d_4ff7_b3af_33d0d9bd52dd); -impl std::ops::Deref for ISideShowCapabilitiesCollection { +impl core::ops::Deref for ISideShowCapabilitiesCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -66,7 +66,7 @@ pub struct ISideShowCapabilitiesCollection_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowContent, ISideShowContent_Vtbl, 0xc18552ed_74ff_4fec_be07_4cfed29d4887); -impl std::ops::Deref for ISideShowContent { +impl core::ops::Deref for ISideShowContent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -97,7 +97,7 @@ pub struct ISideShowContent_Vtbl { pub DifferentiateContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowContentManager, ISideShowContentManager_Vtbl, 0xa5d5b66b_eef9_41db_8d7e_e17c33ab10b0); -impl std::ops::Deref for ISideShowContentManager { +impl core::ops::Deref for ISideShowContentManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -138,7 +138,7 @@ pub struct ISideShowContentManager_Vtbl { pub GetDeviceCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowEvents, ISideShowEvents_Vtbl, 0x61feca4c_deb4_4a7e_8d75_51f1132d615b); -impl std::ops::Deref for ISideShowEvents { +impl core::ops::Deref for ISideShowEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -178,7 +178,7 @@ pub struct ISideShowEvents_Vtbl { pub DeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowKeyCollection, ISideShowKeyCollection_Vtbl, 0x045473bc_a37b_4957_b144_68105411ed8e); -impl std::ops::Deref for ISideShowKeyCollection { +impl core::ops::Deref for ISideShowKeyCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -220,7 +220,7 @@ pub struct ISideShowKeyCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowNotification, ISideShowNotification_Vtbl, 0x03c93300_8ab2_41c5_9b79_46127a30e148); -impl std::ops::Deref for ISideShowNotification { +impl core::ops::Deref for ISideShowNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -296,7 +296,7 @@ pub struct ISideShowNotification_Vtbl { pub SetExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowNotificationManager, ISideShowNotificationManager_Vtbl, 0x63cea909_f2b9_4302_b5e1_c68e6d9ab833); -impl std::ops::Deref for ISideShowNotificationManager { +impl core::ops::Deref for ISideShowNotificationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -325,7 +325,7 @@ pub struct ISideShowNotificationManager_Vtbl { pub RevokeAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowPropVariantCollection, ISideShowPropVariantCollection_Vtbl, 0x2ea7a549_7bff_4aae_bab0_22d43111de49); -impl std::ops::Deref for ISideShowPropVariantCollection { +impl core::ops::Deref for ISideShowPropVariantCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -359,7 +359,7 @@ pub struct ISideShowPropVariantCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISideShowSession, ISideShowSession_Vtbl, 0xe22331ee_9e7d_4922_9fc2_ab7aa41ce491); -impl std::ops::Deref for ISideShowSession { +impl core::ops::Deref for ISideShowSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs index 3cb1ac4c35..b50e7bdfd6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAction, IAction_Vtbl, 0xbae54997_48b1_4cbe_9965_d6be263ebea4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAction { +impl core::ops::Deref for IAction { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -35,7 +35,7 @@ pub struct IAction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IActionCollection, IActionCollection_Vtbl, 0x02820e19_7b98_4ed2_b2e8_fdccceff619b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IActionCollection { +impl core::ops::Deref for IActionCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -114,7 +114,7 @@ pub struct IActionCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IBootTrigger, IBootTrigger_Vtbl, 0x2a9c35da_d357_41f4_bbc1_207ac1b1f3cb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IBootTrigger { +impl core::ops::Deref for IBootTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -144,7 +144,7 @@ pub struct IBootTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComHandlerAction, IComHandlerAction_Vtbl, 0x6d2fd252_75c5_4f66_90ba_2a7d8cc3039f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IComHandlerAction { +impl core::ops::Deref for IComHandlerAction { type Target = IAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -185,7 +185,7 @@ pub struct IComHandlerAction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDailyTrigger, IDailyTrigger_Vtbl, 0x126c5cd8_b288_41d5_8dbf_e491446adc5c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDailyTrigger { +impl core::ops::Deref for IDailyTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -223,7 +223,7 @@ pub struct IDailyTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEmailAction, IEmailAction_Vtbl, 0x10f62c64_7e16_4314_a0c2_0c3683f99d40); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEmailAction { +impl core::ops::Deref for IEmailAction { type Target = IAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -364,7 +364,7 @@ pub struct IEmailAction_Vtbl { SetAttachments: usize, } windows_core::imp::define_interface!(IEnumWorkItems, IEnumWorkItems_Vtbl, 0x148bd528_a2ab_11ce_b11f_00aa00530503); -impl std::ops::Deref for IEnumWorkItems { +impl core::ops::Deref for IEnumWorkItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -397,7 +397,7 @@ pub struct IEnumWorkItems_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEventTrigger, IEventTrigger_Vtbl, 0xd45b0167_9653_4eef_b94f_0732ca7af251); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEventTrigger { +impl core::ops::Deref for IEventTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -458,7 +458,7 @@ pub struct IEventTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IExecAction, IExecAction_Vtbl, 0x4c3d624d_fd6b_49a3_b9b7_09cb3cd3f047); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IExecAction { +impl core::ops::Deref for IExecAction { type Target = IAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -510,7 +510,7 @@ pub struct IExecAction_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IExecAction2, IExecAction2_Vtbl, 0xf2a82542_bda5_4e6b_9143_e2bf4f8987b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IExecAction2 { +impl core::ops::Deref for IExecAction2 { type Target = IExecAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -540,7 +540,7 @@ pub struct IExecAction2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IIdleSettings, IIdleSettings_Vtbl, 0x84594461_0053_4342_a8fd_088fabf11f32); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IIdleSettings { +impl core::ops::Deref for IIdleSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -603,7 +603,7 @@ pub struct IIdleSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IIdleTrigger, IIdleTrigger_Vtbl, 0xd537d2b0_9fb3_4d34_9739_1ff5ce7b1ef3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IIdleTrigger { +impl core::ops::Deref for IIdleTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -621,7 +621,7 @@ pub struct IIdleTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILogonTrigger, ILogonTrigger_Vtbl, 0x72dade38_fae4_4b3e_baf4_5d009af02b1c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ILogonTrigger { +impl core::ops::Deref for ILogonTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -662,7 +662,7 @@ pub struct ILogonTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMaintenanceSettings, IMaintenanceSettings_Vtbl, 0xa6024fa8_9652_4adb_a6bf_5cfcd877a7ba); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMaintenanceSettings { +impl core::ops::Deref for IMaintenanceSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -714,7 +714,7 @@ pub struct IMaintenanceSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMonthlyDOWTrigger, IMonthlyDOWTrigger_Vtbl, 0x77d025a3_90fa_43aa_b52e_cda5499b946a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMonthlyDOWTrigger { +impl core::ops::Deref for IMonthlyDOWTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -779,7 +779,7 @@ pub struct IMonthlyDOWTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMonthlyTrigger, IMonthlyTrigger_Vtbl, 0x97c45ef1_6b02_4a1a_9c0e_1ebfba1500ac); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMonthlyTrigger { +impl core::ops::Deref for IMonthlyTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -836,7 +836,7 @@ pub struct IMonthlyTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INetworkSettings, INetworkSettings_Vtbl, 0x9f7dea84_c30b_4245_80b6_00e9f646f1b4); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INetworkSettings { +impl core::ops::Deref for INetworkSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -877,7 +877,7 @@ pub struct INetworkSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrincipal, IPrincipal_Vtbl, 0xd98d51e5_c9b4_496a_a9c1_18980261cf0f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrincipal { +impl core::ops::Deref for IPrincipal { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -956,7 +956,7 @@ pub struct IPrincipal_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPrincipal2, IPrincipal2_Vtbl, 0x248919ae_e345_4a6d_8aeb_e0d3165c904e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPrincipal2 { +impl core::ops::Deref for IPrincipal2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -996,7 +996,7 @@ pub struct IPrincipal2_Vtbl { pub AddRequiredPrivilege: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProvideTaskPage, IProvideTaskPage_Vtbl, 0x4086658a_cbbb_11cf_b604_00c04fd8d565); -impl std::ops::Deref for IProvideTaskPage { +impl core::ops::Deref for IProvideTaskPage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1024,7 +1024,7 @@ pub struct IProvideTaskPage_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRegisteredTask, IRegisteredTask_Vtbl, 0x9c86f320_dee3_4dd1_b972_a303f26b061e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRegisteredTask { +impl core::ops::Deref for IRegisteredTask { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1158,7 +1158,7 @@ pub struct IRegisteredTask_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRegisteredTaskCollection, IRegisteredTaskCollection_Vtbl, 0x86627eb4_42a7_41e4_a4d9_ac33a72f2d52); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRegisteredTaskCollection { +impl core::ops::Deref for IRegisteredTaskCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1199,7 +1199,7 @@ pub struct IRegisteredTaskCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRegistrationInfo, IRegistrationInfo_Vtbl, 0x416d8b73_cb41_4ea1_805c_9be9a5ac4a74); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRegistrationInfo { +impl core::ops::Deref for IRegistrationInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1317,7 +1317,7 @@ pub struct IRegistrationInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRegistrationTrigger, IRegistrationTrigger_Vtbl, 0x4c8fec3a_c218_4e0c_b23d_629024db91a2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRegistrationTrigger { +impl core::ops::Deref for IRegistrationTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1347,7 +1347,7 @@ pub struct IRegistrationTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRepetitionPattern, IRepetitionPattern_Vtbl, 0x7fb9acf1_26be_400e_85b5_294b9c75dfd6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRepetitionPattern { +impl core::ops::Deref for IRepetitionPattern { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1399,7 +1399,7 @@ pub struct IRepetitionPattern_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRunningTask, IRunningTask_Vtbl, 0x653758fb_7b9a_4f1e_a471_beeb8e9b834e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRunningTask { +impl core::ops::Deref for IRunningTask { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1456,7 +1456,7 @@ pub struct IRunningTask_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRunningTaskCollection, IRunningTaskCollection_Vtbl, 0x6a67614b_6828_4fec_aa54_6d52e8f1f2db); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRunningTaskCollection { +impl core::ops::Deref for IRunningTaskCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1495,7 +1495,7 @@ pub struct IRunningTaskCollection_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScheduledWorkItem, IScheduledWorkItem_Vtbl, 0xa6b952f0_a4b1_11d0_997d_00aa006887ec); -impl std::ops::Deref for IScheduledWorkItem { +impl core::ops::Deref for IScheduledWorkItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1652,7 +1652,7 @@ pub struct IScheduledWorkItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISessionStateChangeTrigger, ISessionStateChangeTrigger_Vtbl, 0x754da71b_4385_4475_9dd9_598294fa3641); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISessionStateChangeTrigger { +impl core::ops::Deref for ISessionStateChangeTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1701,7 +1701,7 @@ pub struct ISessionStateChangeTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShowMessageAction, IShowMessageAction_Vtbl, 0x505e9e68_af89_46b8_a30f_56162a83d537); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShowMessageAction { +impl core::ops::Deref for IShowMessageAction { type Target = IAction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1740,7 +1740,7 @@ pub struct IShowMessageAction_Vtbl { pub SetMessageBody: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITask, ITask_Vtbl, 0x148bd524_a2ab_11ce_b11f_00aa00530503); -impl std::ops::Deref for ITask { +impl core::ops::Deref for ITask { type Target = IScheduledWorkItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1819,7 +1819,7 @@ pub struct ITask_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskDefinition, ITaskDefinition_Vtbl, 0xf5bc8fc5_536d_4f77_b852_fbc1356fdeb6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskDefinition { +impl core::ops::Deref for ITaskDefinition { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1960,7 +1960,7 @@ pub struct ITaskDefinition_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskFolder, ITaskFolder_Vtbl, 0x8cfac062_a080_4c15_9a88_aa7c2af80dfc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskFolder { +impl core::ops::Deref for ITaskFolder { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2102,7 +2102,7 @@ pub struct ITaskFolder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskFolderCollection, ITaskFolderCollection_Vtbl, 0x79184a66_8664_423f_97f1_637356a5d812); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskFolderCollection { +impl core::ops::Deref for ITaskFolderCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2141,7 +2141,7 @@ pub struct ITaskFolderCollection_Vtbl { pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskHandler, ITaskHandler_Vtbl, 0x839d7762_5121_4009_9234_4f0d19394f04); -impl std::ops::Deref for ITaskHandler { +impl core::ops::Deref for ITaskHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2176,7 +2176,7 @@ pub struct ITaskHandler_Vtbl { pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskHandlerStatus, ITaskHandlerStatus_Vtbl, 0xeaec7a8f_27a0_4ddc_8675_14726a01a38a); -impl std::ops::Deref for ITaskHandlerStatus { +impl core::ops::Deref for ITaskHandlerStatus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2203,7 +2203,7 @@ pub struct ITaskHandlerStatus_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskNamedValueCollection, ITaskNamedValueCollection_Vtbl, 0xb4ef826b_63c3_46e4_a504_ef69e4f7ea4d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskNamedValueCollection { +impl core::ops::Deref for ITaskNamedValueCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2261,7 +2261,7 @@ pub struct ITaskNamedValueCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskNamedValuePair, ITaskNamedValuePair_Vtbl, 0x39038068_2b46_4afd_8662_7bb6f868d221); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskNamedValuePair { +impl core::ops::Deref for ITaskNamedValuePair { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2300,7 +2300,7 @@ pub struct ITaskNamedValuePair_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskScheduler, ITaskScheduler_Vtbl, 0x148bd527_a2ab_11ce_b11f_00aa00530503); -impl std::ops::Deref for ITaskScheduler { +impl core::ops::Deref for ITaskScheduler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2371,7 +2371,7 @@ pub struct ITaskScheduler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskService, ITaskService_Vtbl, 0x2faba4c7_4da9_4013_9697_20cc3fd40f85); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskService { +impl core::ops::Deref for ITaskService { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2455,7 +2455,7 @@ pub struct ITaskService_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskSettings, ITaskSettings_Vtbl, 0x8fd4711d_2d02_4c8c_87e3_eff699de127e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskSettings { +impl core::ops::Deref for ITaskSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2700,7 +2700,7 @@ pub struct ITaskSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskSettings2, ITaskSettings2_Vtbl, 0x2c05c3f0_6eed_4c05_a15f_ed7d7a98a369); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskSettings2 { +impl core::ops::Deref for ITaskSettings2 { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2741,7 +2741,7 @@ pub struct ITaskSettings2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITaskSettings3, ITaskSettings3_Vtbl, 0x0ad9d0d7_0c7f_4ebb_9a5f_d1c648dca528); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITaskSettings3 { +impl core::ops::Deref for ITaskSettings3 { type Target = ITaskSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2820,7 +2820,7 @@ pub struct ITaskSettings3_Vtbl { pub SetVolatile: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskTrigger, ITaskTrigger_Vtbl, 0x148bd52b_a2ab_11ce_b11f_00aa00530503); -impl std::ops::Deref for ITaskTrigger { +impl core::ops::Deref for ITaskTrigger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2847,7 +2847,7 @@ pub struct ITaskTrigger_Vtbl { pub GetTriggerString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskVariables, ITaskVariables_Vtbl, 0x3e4c9351_d966_4b8b_bb87_ceba68bb0107); -impl std::ops::Deref for ITaskVariables { +impl core::ops::Deref for ITaskVariables { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2880,7 +2880,7 @@ pub struct ITaskVariables_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITimeTrigger, ITimeTrigger_Vtbl, 0xb45747e0_eba7_4276_9f29_85c5bb300006); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITimeTrigger { +impl core::ops::Deref for ITimeTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2910,7 +2910,7 @@ pub struct ITimeTrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITrigger, ITrigger_Vtbl, 0x09941815_ea89_4b5b_89e0_2a773801fac3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITrigger { +impl core::ops::Deref for ITrigger { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3008,7 +3008,7 @@ pub struct ITrigger_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITriggerCollection, ITriggerCollection_Vtbl, 0x85df5081_1b24_4f32_878a_d9d14df4cb77); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITriggerCollection { +impl core::ops::Deref for ITriggerCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3065,7 +3065,7 @@ pub struct ITriggerCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWeeklyTrigger, IWeeklyTrigger_Vtbl, 0x5038fc98_82ff_436d_8728_a512a57c9dc1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWeeklyTrigger { +impl core::ops::Deref for IWeeklyTrigger { type Target = ITrigger; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs index 4b36f4e859..c784cef137 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -2440,7 +2440,7 @@ where Wow64SuspendThread(hthread.param().abi()) } windows_core::imp::define_interface!(IRtwqAsyncCallback, IRtwqAsyncCallback_Vtbl, 0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); -impl std::ops::Deref for IRtwqAsyncCallback { +impl core::ops::Deref for IRtwqAsyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2465,7 +2465,7 @@ pub struct IRtwqAsyncCallback_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRtwqAsyncResult, IRtwqAsyncResult_Vtbl, 0xac6b7889_0740_4d51_8619_905994a55cc6); -impl std::ops::Deref for IRtwqAsyncResult { +impl core::ops::Deref for IRtwqAsyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2501,7 +2501,7 @@ pub struct IRtwqAsyncResult_Vtbl { pub GetStateNoAddRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } windows_core::imp::define_interface!(IRtwqPlatformEvents, IRtwqPlatformEvents_Vtbl, 0x63d9255a_7ff1_4b61_8faf_ed6460dacf2b); -impl std::ops::Deref for IRtwqPlatformEvents { +impl core::ops::Deref for IRtwqPlatformEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2527,7 +2527,7 @@ pub struct IRtwqPlatformEvents_Vtbl { pub ShutdownComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(RTWQASYNCRESULT, RTWQASYNCRESULT_Vtbl, 0); -impl std::ops::Deref for RTWQASYNCRESULT { +impl core::ops::Deref for RTWQASYNCRESULT { type Target = IRtwqAsyncResult; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs index 2f6396c5a7..8d734b3474 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICatalog, ICatalog_Vtbl, 0x6eb22870_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICatalog { +impl core::ops::Deref for ICatalog { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -52,7 +52,7 @@ pub struct ICatalog_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IComponentUtil, IComponentUtil_Vtbl, 0x6eb22873_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IComponentUtil { +impl core::ops::Deref for IComponentUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -106,7 +106,7 @@ pub struct IComponentUtil_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPackageUtil, IPackageUtil_Vtbl, 0x6eb22874_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPackageUtil { +impl core::ops::Deref for IPackageUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -148,7 +148,7 @@ pub struct IPackageUtil_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRemoteComponentUtil, IRemoteComponentUtil_Vtbl, 0x6eb22875_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRemoteComponentUtil { +impl core::ops::Deref for IRemoteComponentUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -185,7 +185,7 @@ pub struct IRemoteComponentUtil_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IRoleAssociationUtil, IRoleAssociationUtil_Vtbl, 0x6eb22876_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IRoleAssociationUtil { +impl core::ops::Deref for IRoleAssociationUtil { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs index 8aedbec88a..22b98aca8b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAutomaticUpdates, IAutomaticUpdates_Vtbl, 0x673425bf_c082_4c7c_bdfd_569464b8e0ce); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAutomaticUpdates { +impl core::ops::Deref for IAutomaticUpdates { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -54,7 +54,7 @@ pub struct IAutomaticUpdates_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAutomaticUpdates2, IAutomaticUpdates2_Vtbl, 0x4a2f5c31_cfd9_410e_b7fb_29a653973a0f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAutomaticUpdates2 { +impl core::ops::Deref for IAutomaticUpdates2 { type Target = IAutomaticUpdates; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -82,7 +82,7 @@ pub struct IAutomaticUpdates2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAutomaticUpdatesResults, IAutomaticUpdatesResults_Vtbl, 0xe7a4d634_7942_4dd9_a111_82228ba33901); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAutomaticUpdatesResults { +impl core::ops::Deref for IAutomaticUpdatesResults { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -111,7 +111,7 @@ pub struct IAutomaticUpdatesResults_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAutomaticUpdatesSettings, IAutomaticUpdatesSettings_Vtbl, 0x2ee48f22_af3c_405f_8970_f71be12ee9a2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAutomaticUpdatesSettings { +impl core::ops::Deref for IAutomaticUpdatesSettings { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -175,7 +175,7 @@ pub struct IAutomaticUpdatesSettings_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAutomaticUpdatesSettings2, IAutomaticUpdatesSettings2_Vtbl, 0x6abc136a_c3ca_4384_8171_cb2b1e59b8dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAutomaticUpdatesSettings2 { +impl core::ops::Deref for IAutomaticUpdatesSettings2 { type Target = IAutomaticUpdatesSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -211,7 +211,7 @@ pub struct IAutomaticUpdatesSettings2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAutomaticUpdatesSettings3, IAutomaticUpdatesSettings3_Vtbl, 0xb587f5c3_f57e_485f_bbf5_0d181c5cd0dc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAutomaticUpdatesSettings3 { +impl core::ops::Deref for IAutomaticUpdatesSettings3 { type Target = IAutomaticUpdatesSettings2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -254,7 +254,7 @@ pub struct IAutomaticUpdatesSettings3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICategory, ICategory_Vtbl, 0x81ddc1b8_9d35_47a6_b471_5b80f519223b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICategory { +impl core::ops::Deref for ICategory { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -334,7 +334,7 @@ pub struct ICategory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ICategoryCollection, ICategoryCollection_Vtbl, 0x3a56bfb8_576c_43f7_9335_fe4838fd7e37); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ICategoryCollection { +impl core::ops::Deref for ICategoryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -370,7 +370,7 @@ pub struct ICategoryCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDownloadCompletedCallback, IDownloadCompletedCallback_Vtbl, 0x77254866_9f5b_4c8e_b9e2_c77a8530d64b); -impl std::ops::Deref for IDownloadCompletedCallback { +impl core::ops::Deref for IDownloadCompletedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -398,7 +398,7 @@ pub struct IDownloadCompletedCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDownloadCompletedCallbackArgs, IDownloadCompletedCallbackArgs_Vtbl, 0xfa565b23_498c_47a0_979d_e7d5b1813360); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDownloadCompletedCallbackArgs { +impl core::ops::Deref for IDownloadCompletedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -416,7 +416,7 @@ pub struct IDownloadCompletedCallbackArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDownloadJob, IDownloadJob_Vtbl, 0xc574de85_7358_43f6_aae8_8697e62d8ba7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDownloadJob { +impl core::ops::Deref for IDownloadJob { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -471,7 +471,7 @@ pub struct IDownloadJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDownloadProgress, IDownloadProgress_Vtbl, 0xd31a5bac_f719_4178_9dbb_5e2cb47fd18a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDownloadProgress { +impl core::ops::Deref for IDownloadProgress { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -537,7 +537,7 @@ pub struct IDownloadProgress_Vtbl { pub CurrentUpdatePercentComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDownloadProgressChangedCallback, IDownloadProgressChangedCallback_Vtbl, 0x8c3f1cdd_6173_4591_aebd_a56a53ca77c1); -impl std::ops::Deref for IDownloadProgressChangedCallback { +impl core::ops::Deref for IDownloadProgressChangedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -565,7 +565,7 @@ pub struct IDownloadProgressChangedCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDownloadProgressChangedCallbackArgs, IDownloadProgressChangedCallbackArgs_Vtbl, 0x324ff2c6_4981_4b04_9412_57481745ab24); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDownloadProgressChangedCallbackArgs { +impl core::ops::Deref for IDownloadProgressChangedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -593,7 +593,7 @@ pub struct IDownloadProgressChangedCallbackArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDownloadResult, IDownloadResult_Vtbl, 0xdaa4fdd0_4727_4dbe_a1e7_745dca317144); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDownloadResult { +impl core::ops::Deref for IDownloadResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -631,7 +631,7 @@ pub struct IDownloadResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IImageInformation, IImageInformation_Vtbl, 0x7c907864_346c_4aeb_8f3f_57da289f969f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IImageInformation { +impl core::ops::Deref for IImageInformation { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -670,7 +670,7 @@ pub struct IImageInformation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInstallationAgent, IInstallationAgent_Vtbl, 0x925cbc18_a2ea_4648_bf1c_ec8badcfe20a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInstallationAgent { +impl core::ops::Deref for IInstallationAgent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -701,7 +701,7 @@ pub struct IInstallationAgent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInstallationBehavior, IInstallationBehavior_Vtbl, 0xd9a59339_e245_4dbd_9686_4d5763e39624); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInstallationBehavior { +impl core::ops::Deref for IInstallationBehavior { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -738,7 +738,7 @@ pub struct IInstallationBehavior_Vtbl { pub RequiresNetworkConnectivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInstallationCompletedCallback, IInstallationCompletedCallback_Vtbl, 0x45f4f6f3_d602_4f98_9a8a_3efa152ad2d3); -impl std::ops::Deref for IInstallationCompletedCallback { +impl core::ops::Deref for IInstallationCompletedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -766,7 +766,7 @@ pub struct IInstallationCompletedCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInstallationCompletedCallbackArgs, IInstallationCompletedCallbackArgs_Vtbl, 0x250e2106_8efb_4705_9653_ef13c581b6a1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInstallationCompletedCallbackArgs { +impl core::ops::Deref for IInstallationCompletedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -784,7 +784,7 @@ pub struct IInstallationCompletedCallbackArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInstallationJob, IInstallationJob_Vtbl, 0x5c209f0b_bad5_432a_9556_4699bed2638a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInstallationJob { +impl core::ops::Deref for IInstallationJob { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -839,7 +839,7 @@ pub struct IInstallationJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInstallationProgress, IInstallationProgress_Vtbl, 0x345c8244_43a3_4e32_a368_65f073b76f36); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInstallationProgress { +impl core::ops::Deref for IInstallationProgress { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -880,7 +880,7 @@ pub struct IInstallationProgress_Vtbl { GetUpdateResult: usize, } windows_core::imp::define_interface!(IInstallationProgressChangedCallback, IInstallationProgressChangedCallback_Vtbl, 0xe01402d5_f8da_43ba_a012_38894bd048f1); -impl std::ops::Deref for IInstallationProgressChangedCallback { +impl core::ops::Deref for IInstallationProgressChangedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -908,7 +908,7 @@ pub struct IInstallationProgressChangedCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInstallationProgressChangedCallbackArgs, IInstallationProgressChangedCallbackArgs_Vtbl, 0xe4f14e1e_689d_4218_a0b9_bc189c484a01); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInstallationProgressChangedCallbackArgs { +impl core::ops::Deref for IInstallationProgressChangedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -936,7 +936,7 @@ pub struct IInstallationProgressChangedCallbackArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInstallationResult, IInstallationResult_Vtbl, 0xa43c56d6_7451_48d4_af96_b6cd2d0d9b7a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInstallationResult { +impl core::ops::Deref for IInstallationResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -979,7 +979,7 @@ pub struct IInstallationResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInvalidProductLicenseException, IInvalidProductLicenseException_Vtbl, 0xa37d00f5_7bb0_4953_b414_f9e98326f2e8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInvalidProductLicenseException { +impl core::ops::Deref for IInvalidProductLicenseException { type Target = IUpdateException; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1001,7 +1001,7 @@ pub struct IInvalidProductLicenseException_Vtbl { pub Product: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchCompletedCallback, ISearchCompletedCallback_Vtbl, 0x88aee058_d4b0_4725_a2f1_814a67ae964c); -impl std::ops::Deref for ISearchCompletedCallback { +impl core::ops::Deref for ISearchCompletedCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1029,7 +1029,7 @@ pub struct ISearchCompletedCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISearchCompletedCallbackArgs, ISearchCompletedCallbackArgs_Vtbl, 0xa700a634_2850_4c47_938a_9e4b6e5af9a6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISearchCompletedCallbackArgs { +impl core::ops::Deref for ISearchCompletedCallbackArgs { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1047,7 +1047,7 @@ pub struct ISearchCompletedCallbackArgs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISearchJob, ISearchJob_Vtbl, 0x7366ea16_7a1a_4ea2_b042_973d3e9cd99b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISearchJob { +impl core::ops::Deref for ISearchJob { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1084,7 +1084,7 @@ pub struct ISearchJob_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISearchResult, ISearchResult_Vtbl, 0xd40cff62_e08c_4498_941a_01e25f0fd33c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISearchResult { +impl core::ops::Deref for ISearchResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1135,7 +1135,7 @@ pub struct ISearchResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IStringCollection, IStringCollection_Vtbl, 0xeff90582_2ddc_480f_a06d_60f3fbc362c3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IStringCollection { +impl core::ops::Deref for IStringCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1213,7 +1213,7 @@ pub struct IStringCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISystemInformation, ISystemInformation_Vtbl, 0xade87bf7_7b56_4275_8fab_b9b0e591844b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISystemInformation { +impl core::ops::Deref for ISystemInformation { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1242,7 +1242,7 @@ pub struct ISystemInformation_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdate, IUpdate_Vtbl, 0x6a92b07a_d821_4682_b423_5c805022cc4d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdate { +impl core::ops::Deref for IUpdate { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1542,7 +1542,7 @@ pub struct IUpdate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdate2, IUpdate2_Vtbl, 0x144fe9b0_d23d_4a8b_8634_fb4457533b7a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdate2 { +impl core::ops::Deref for IUpdate2 { type Target = IUpdate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1591,7 +1591,7 @@ pub struct IUpdate2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdate3, IUpdate3_Vtbl, 0x112eda6b_95b3_476f_9d90_aee82c6b8181); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdate3 { +impl core::ops::Deref for IUpdate3 { type Target = IUpdate2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1615,7 +1615,7 @@ pub struct IUpdate3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdate4, IUpdate4_Vtbl, 0x27e94b0d_5139_49a2_9a61_93522dc54652); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdate4 { +impl core::ops::Deref for IUpdate4 { type Target = IUpdate3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1639,7 +1639,7 @@ pub struct IUpdate4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdate5, IUpdate5_Vtbl, 0xc1c2f21a_d2f4_4902_b5c6_8a081c19a890); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdate5 { +impl core::ops::Deref for IUpdate5 { type Target = IUpdate4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1668,7 +1668,7 @@ pub struct IUpdate5_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateCollection, IUpdateCollection_Vtbl, 0x07f7438c_7709_4ca5_b518_91279288134e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateCollection { +impl core::ops::Deref for IUpdateCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1762,7 +1762,7 @@ pub struct IUpdateCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateDownloadContent, IUpdateDownloadContent_Vtbl, 0x54a2cb2d_9a0c_48b6_8a50_9abb69ee2d02); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateDownloadContent { +impl core::ops::Deref for IUpdateDownloadContent { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1786,7 +1786,7 @@ pub struct IUpdateDownloadContent_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateDownloadContent2, IUpdateDownloadContent2_Vtbl, 0xc97ad11b_f257_420b_9d9f_377f733f6f68); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateDownloadContent2 { +impl core::ops::Deref for IUpdateDownloadContent2 { type Target = IUpdateDownloadContent; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1810,7 +1810,7 @@ pub struct IUpdateDownloadContent2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateDownloadContentCollection, IUpdateDownloadContentCollection_Vtbl, 0xbc5513c8_b3b8_4bf7_a4d4_361c0d8c88ba); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateDownloadContentCollection { +impl core::ops::Deref for IUpdateDownloadContentCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1848,7 +1848,7 @@ pub struct IUpdateDownloadContentCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateDownloadResult, IUpdateDownloadResult_Vtbl, 0xbf99af76_b575_42ad_8aa4_33cbb5477af1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateDownloadResult { +impl core::ops::Deref for IUpdateDownloadResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1877,7 +1877,7 @@ pub struct IUpdateDownloadResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateDownloader, IUpdateDownloader_Vtbl, 0x68f1c6f9_7ecc_4666_a464_247fe12496c3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateDownloader { +impl core::ops::Deref for IUpdateDownloader { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1984,7 +1984,7 @@ pub struct IUpdateDownloader_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateException, IUpdateException_Vtbl, 0xa376dd5e_09d4_427f_af7c_fed5b6e1c1d6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateException { +impl core::ops::Deref for IUpdateException { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2018,7 +2018,7 @@ pub struct IUpdateException_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateExceptionCollection, IUpdateExceptionCollection_Vtbl, 0x503626a3_8e14_4729_9355_0fe664bd2321); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateExceptionCollection { +impl core::ops::Deref for IUpdateExceptionCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2056,7 +2056,7 @@ pub struct IUpdateExceptionCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateHistoryEntry, IUpdateHistoryEntry_Vtbl, 0xbe56a644_af0e_4e0e_a311_c1d8e695cbff); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateHistoryEntry { +impl core::ops::Deref for IUpdateHistoryEntry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2153,7 +2153,7 @@ pub struct IUpdateHistoryEntry_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateHistoryEntry2, IUpdateHistoryEntry2_Vtbl, 0xc2bfb780_4539_4132_ab8c_0a8772013ab6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateHistoryEntry2 { +impl core::ops::Deref for IUpdateHistoryEntry2 { type Target = IUpdateHistoryEntry; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2181,7 +2181,7 @@ pub struct IUpdateHistoryEntry2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateHistoryEntryCollection, IUpdateHistoryEntryCollection_Vtbl, 0xa7f04f3c_a290_435b_aadf_a116c3357a5c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateHistoryEntryCollection { +impl core::ops::Deref for IUpdateHistoryEntryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2219,7 +2219,7 @@ pub struct IUpdateHistoryEntryCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateIdentity, IUpdateIdentity_Vtbl, 0x46297823_9940_4c09_aed9_cd3ea6d05968); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateIdentity { +impl core::ops::Deref for IUpdateIdentity { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2248,7 +2248,7 @@ pub struct IUpdateIdentity_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateInstallationResult, IUpdateInstallationResult_Vtbl, 0xd940f0f8_3cbb_4fd0_993f_471e7f2328ad); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateInstallationResult { +impl core::ops::Deref for IUpdateInstallationResult { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2282,7 +2282,7 @@ pub struct IUpdateInstallationResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateInstaller, IUpdateInstaller_Vtbl, 0x7b929c68_ccdc_4226_96b1_8724600b54c2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateInstaller { +impl core::ops::Deref for IUpdateInstaller { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2473,7 +2473,7 @@ pub struct IUpdateInstaller_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateInstaller2, IUpdateInstaller2_Vtbl, 0x3442d4fe_224d_4cee_98cf_30e0c4d229e6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateInstaller2 { +impl core::ops::Deref for IUpdateInstaller2 { type Target = IUpdateInstaller; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2504,7 +2504,7 @@ pub struct IUpdateInstaller2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateInstaller3, IUpdateInstaller3_Vtbl, 0x16d11c35_099a_48d0_8338_5fae64047f8e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateInstaller3 { +impl core::ops::Deref for IUpdateInstaller3 { type Target = IUpdateInstaller2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2535,7 +2535,7 @@ pub struct IUpdateInstaller3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateInstaller4, IUpdateInstaller4_Vtbl, 0xef8208ea_2304_492d_9109_23813b0958e1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateInstaller4 { +impl core::ops::Deref for IUpdateInstaller4 { type Target = IUpdateInstaller3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2556,7 +2556,7 @@ pub struct IUpdateInstaller4_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUpdateLockdown, IUpdateLockdown_Vtbl, 0xa976c28d_75a1_42aa_94ae_8af8b872089a); -impl std::ops::Deref for IUpdateLockdown { +impl core::ops::Deref for IUpdateLockdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2576,7 +2576,7 @@ pub struct IUpdateLockdown_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateSearcher, IUpdateSearcher_Vtbl, 0x8f45abf1_f9ae_4b95_a933_f0f66e5056ea); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateSearcher { +impl core::ops::Deref for IUpdateSearcher { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2724,7 +2724,7 @@ pub struct IUpdateSearcher_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateSearcher2, IUpdateSearcher2_Vtbl, 0x4cbdcb2d_1589_4beb_bd1c_3e582ff0add0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateSearcher2 { +impl core::ops::Deref for IUpdateSearcher2 { type Target = IUpdateSearcher; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2755,7 +2755,7 @@ pub struct IUpdateSearcher2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateSearcher3, IUpdateSearcher3_Vtbl, 0x04c6895d_eaf2_4034_97f3_311de9be413a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateSearcher3 { +impl core::ops::Deref for IUpdateSearcher3 { type Target = IUpdateSearcher2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2783,7 +2783,7 @@ pub struct IUpdateSearcher3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateService, IUpdateService_Vtbl, 0x76b3b17e_aed6_4da5_85f0_83587f81abe3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateService { +impl core::ops::Deref for IUpdateService { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2871,7 +2871,7 @@ pub struct IUpdateService_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateService2, IUpdateService2_Vtbl, 0x1518b460_6518_4172_940f_c75883b24ceb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateService2 { +impl core::ops::Deref for IUpdateService2 { type Target = IUpdateService; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2895,7 +2895,7 @@ pub struct IUpdateService2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateServiceCollection, IUpdateServiceCollection_Vtbl, 0x9b0353aa_0e52_44ff_b8b0_1f7fa0437f88); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateServiceCollection { +impl core::ops::Deref for IUpdateServiceCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2933,7 +2933,7 @@ pub struct IUpdateServiceCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateServiceManager, IUpdateServiceManager_Vtbl, 0x23857e3c_02ba_44a3_9423_b1c900805f37); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateServiceManager { +impl core::ops::Deref for IUpdateServiceManager { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3016,7 +3016,7 @@ pub struct IUpdateServiceManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateServiceManager2, IUpdateServiceManager2_Vtbl, 0x0bb8531d_7e8d_424f_986c_a0b8f60a3e7b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateServiceManager2 { +impl core::ops::Deref for IUpdateServiceManager2 { type Target = IUpdateServiceManager; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3072,7 +3072,7 @@ pub struct IUpdateServiceManager2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateServiceRegistration, IUpdateServiceRegistration_Vtbl, 0xdde02280_12b3_4e0b_937b_6747f6acb286); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateServiceRegistration { +impl core::ops::Deref for IUpdateServiceRegistration { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3115,7 +3115,7 @@ pub struct IUpdateServiceRegistration_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateSession, IUpdateSession_Vtbl, 0x816858a4_260d_4260_933a_2585f1abc76b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateSession { +impl core::ops::Deref for IUpdateSession { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3198,7 +3198,7 @@ pub struct IUpdateSession_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateSession2, IUpdateSession2_Vtbl, 0x91caf7b0_eb23_49ed_9937_c52d817f46f7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateSession2 { +impl core::ops::Deref for IUpdateSession2 { type Target = IUpdateSession; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3226,7 +3226,7 @@ pub struct IUpdateSession2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IUpdateSession3, IUpdateSession3_Vtbl, 0x918efd1e_b5d8_4c90_8540_aeb9bdc56f9d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IUpdateSession3 { +impl core::ops::Deref for IUpdateSession3 { type Target = IUpdateSession2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3266,7 +3266,7 @@ pub struct IUpdateSession3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWebProxy, IWebProxy_Vtbl, 0x174c81fe_aecd_4dae_b8a0_2c6318dd86a8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWebProxy { +impl core::ops::Deref for IWebProxy { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3381,7 +3381,7 @@ pub struct IWebProxy_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsDriverUpdate, IWindowsDriverUpdate_Vtbl, 0xb383cd1a_5ce9_4504_9f63_764b1236f191); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsDriverUpdate { +impl core::ops::Deref for IWindowsDriverUpdate { type Target = IUpdate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3440,7 +3440,7 @@ pub struct IWindowsDriverUpdate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsDriverUpdate2, IWindowsDriverUpdate2_Vtbl, 0x615c4269_7a48_43bd_96b7_bf6ca27d6c3e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsDriverUpdate2 { +impl core::ops::Deref for IWindowsDriverUpdate2 { type Target = IWindowsDriverUpdate; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3489,7 +3489,7 @@ pub struct IWindowsDriverUpdate2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsDriverUpdate3, IWindowsDriverUpdate3_Vtbl, 0x49ebd502_4a96_41bd_9e3e_4c5057f4250c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsDriverUpdate3 { +impl core::ops::Deref for IWindowsDriverUpdate3 { type Target = IWindowsDriverUpdate2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3513,7 +3513,7 @@ pub struct IWindowsDriverUpdate3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsDriverUpdate4, IWindowsDriverUpdate4_Vtbl, 0x004c6a2b_0c19_4c69_9f5c_a269b2560db9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsDriverUpdate4 { +impl core::ops::Deref for IWindowsDriverUpdate4 { type Target = IWindowsDriverUpdate3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3546,7 +3546,7 @@ pub struct IWindowsDriverUpdate4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsDriverUpdate5, IWindowsDriverUpdate5_Vtbl, 0x70cf5c82_8642_42bb_9dbc_0cfd263c6c4f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsDriverUpdate5 { +impl core::ops::Deref for IWindowsDriverUpdate5 { type Target = IWindowsDriverUpdate4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3575,7 +3575,7 @@ pub struct IWindowsDriverUpdate5_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsDriverUpdateEntry, IWindowsDriverUpdateEntry_Vtbl, 0xed8bfe40_a60b_42ea_9652_817dfcfa23ec); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsDriverUpdateEntry { +impl core::ops::Deref for IWindowsDriverUpdateEntry { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3634,7 +3634,7 @@ pub struct IWindowsDriverUpdateEntry_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsDriverUpdateEntryCollection, IWindowsDriverUpdateEntryCollection_Vtbl, 0x0d521700_a372_4bef_828b_3d00c10adebd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsDriverUpdateEntryCollection { +impl core::ops::Deref for IWindowsDriverUpdateEntryCollection { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3672,7 +3672,7 @@ pub struct IWindowsDriverUpdateEntryCollection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWindowsUpdateAgentInfo, IWindowsUpdateAgentInfo_Vtbl, 0x85713fa1_7796_4fa2_be3b_e2d6124dd373); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWindowsUpdateAgentInfo { +impl core::ops::Deref for IWindowsUpdateAgentInfo { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs index 86693b78ac..9c236e6f2f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IWaaSAssessor, IWaaSAssessor_Vtbl, 0x2347bbef_1a3b_45a4_902d_3e09c269b45e); -impl std::ops::Deref for IWaaSAssessor { +impl core::ops::Deref for IWaaSAssessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs index aa41d50d58..edce978231 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl, 0x4b8f7505_b239_4e7b_88af_f6682575d861); -impl std::ops::Deref for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { +impl core::ops::Deref for IWindowsDevicesAllJoynBusAttachmentFactoryInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11,7 +11,7 @@ impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFromWin32Handle)(windows_core::Interface::as_raw(self), win32handle, enableaboutdata, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21,7 +21,7 @@ pub struct IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl { pub CreateFromWin32Handle: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u8, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusAttachmentInterop, IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl, 0xfd89c65b_b50e_4a19_9d0c_b42b783281cd); -impl std::ops::Deref for IWindowsDevicesAllJoynBusAttachmentInterop { +impl core::ops::Deref for IWindowsDevicesAllJoynBusAttachmentInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -40,7 +40,7 @@ pub struct IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl { pub Win32Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusObjectFactoryInterop, IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl, 0x6174e506_8b95_4e36_95c0_b88fed34938c); -impl std::ops::Deref for IWindowsDevicesAllJoynBusObjectFactoryInterop { +impl core::ops::Deref for IWindowsDevicesAllJoynBusObjectFactoryInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -52,7 +52,7 @@ impl IWindowsDevicesAllJoynBusObjectFactoryInterop { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFromWin32Handle)(windows_core::Interface::as_raw(self), win32handle, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -62,7 +62,7 @@ pub struct IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl { pub CreateFromWin32Handle: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusObjectInterop, IWindowsDevicesAllJoynBusObjectInterop_Vtbl, 0xd78aa3d5_5054_428f_99f2_ec3a5de3c3bc); -impl std::ops::Deref for IWindowsDevicesAllJoynBusObjectInterop { +impl core::ops::Deref for IWindowsDevicesAllJoynBusObjectInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs index 3f8ddede0b..447eb2d07c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ICompositionCapabilitiesInteropFactory, ICompositionCapabilitiesInteropFactory_Vtbl, 0x2c9db356_e70d_4642_8298_bc4aa5b4865c); -impl std::ops::Deref for ICompositionCapabilitiesInteropFactory { +impl core::ops::Deref for ICompositionCapabilitiesInteropFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -25,7 +25,7 @@ pub struct ICompositionCapabilitiesInteropFactory_Vtbl { GetForWindow: usize, } windows_core::imp::define_interface!(ICompositionDrawingSurfaceInterop, ICompositionDrawingSurfaceInterop_Vtbl, 0xfd04e6e3_fe0c_4c3c_ab19_a07601a576ee); -impl std::ops::Deref for ICompositionDrawingSurfaceInterop { +impl core::ops::Deref for ICompositionDrawingSurfaceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -37,7 +37,7 @@ impl ICompositionDrawingSurfaceInterop { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BeginDraw)(windows_core::Interface::as_raw(self), core::mem::transmute(updaterect.unwrap_or(std::ptr::null())), &T::IID, &mut result__, updateoffset).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EndDraw(&self) -> windows_core::Result<()> { @@ -67,7 +67,7 @@ pub struct ICompositionDrawingSurfaceInterop_Vtbl { pub SuspendDraw: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionDrawingSurfaceInterop2, ICompositionDrawingSurfaceInterop2_Vtbl, 0x41e64aae_98c0_4239_8e95_a330dd6aa18b); -impl std::ops::Deref for ICompositionDrawingSurfaceInterop2 { +impl core::ops::Deref for ICompositionDrawingSurfaceInterop2 { type Target = ICompositionDrawingSurfaceInterop; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -88,7 +88,7 @@ pub struct ICompositionDrawingSurfaceInterop2_Vtbl { pub CopySurface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *const super::super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionGraphicsDeviceInterop, ICompositionGraphicsDeviceInterop_Vtbl, 0xa116ff71_f8bf_4c8a_9c98_70779a32a9c8); -impl std::ops::Deref for ICompositionGraphicsDeviceInterop { +impl core::ops::Deref for ICompositionGraphicsDeviceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -114,7 +114,7 @@ pub struct ICompositionGraphicsDeviceInterop_Vtbl { pub SetRenderingDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositionTextureInterop, ICompositionTextureInterop_Vtbl, 0xd528a265_f0a5_422f_a39d_ef62d7cd1cc4); -impl std::ops::Deref for ICompositionTextureInterop { +impl core::ops::Deref for ICompositionTextureInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -132,7 +132,7 @@ pub struct ICompositionTextureInterop_Vtbl { pub GetAvailableFence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositorDesktopInterop, ICompositorDesktopInterop_Vtbl, 0x29e691fa_4567_4dca_b319_d0f207eb6807); -impl std::ops::Deref for ICompositorDesktopInterop { +impl core::ops::Deref for ICompositorDesktopInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -163,7 +163,7 @@ pub struct ICompositorDesktopInterop_Vtbl { pub EnsureOnThread: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICompositorInterop, ICompositorInterop_Vtbl, 0x25297d5c_3ad4_4c9c_b5cf_e36a38512330); -impl std::ops::Deref for ICompositorInterop { +impl core::ops::Deref for ICompositorInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -213,7 +213,7 @@ pub struct ICompositorInterop_Vtbl { CreateGraphicsDevice: usize, } windows_core::imp::define_interface!(ICompositorInterop2, ICompositorInterop2_Vtbl, 0xd3eef34c_0667_4afc_8d13_867607b0fe91); -impl std::ops::Deref for ICompositorInterop2 { +impl core::ops::Deref for ICompositorInterop2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -247,7 +247,7 @@ pub struct ICompositorInterop2_Vtbl { CreateCompositionTexture: usize, } windows_core::imp::define_interface!(IDesktopWindowTargetInterop, IDesktopWindowTargetInterop_Vtbl, 0x35dbf59e_e3f9_45b0_81e7_fe75f4145dc9); -impl std::ops::Deref for IDesktopWindowTargetInterop { +impl core::ops::Deref for IDesktopWindowTargetInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -266,7 +266,7 @@ pub struct IDesktopWindowTargetInterop_Vtbl { pub Hwnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVisualInteractionSourceInterop, IVisualInteractionSourceInterop_Vtbl, 0x11f62cd1_2f9d_42d3_b05f_d6790d9e9f8e); -impl std::ops::Deref for IVisualInteractionSourceInterop { +impl core::ops::Deref for IVisualInteractionSourceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs index 60186f19ed..fd9fcfb9d4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ICoreFrameworkInputViewInterop, ICoreFrameworkInputViewInterop_Vtbl, 0x0e3da342_b11c_484b_9c1c_be0d61c2f6c5); -impl std::ops::Deref for ICoreFrameworkInputViewInterop { +impl core::ops::Deref for ICoreFrameworkInputViewInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12,7 +12,7 @@ impl ICoreFrameworkInputViewInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs index 89f25eb7cb..976c938cb5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs @@ -19,7 +19,7 @@ where CreateDirect3D11SurfaceFromDXGISurface(dgxisurface.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IDirect3DDxgiInterfaceAccess, IDirect3DDxgiInterfaceAccess_Vtbl, 0xa9b3d012_3df2_4ee3_b8d1_8695f457d3c1); -impl std::ops::Deref for IDirect3DDxgiInterfaceAccess { +impl core::ops::Deref for IDirect3DDxgiInterfaceAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -31,7 +31,7 @@ impl IDirect3DDxgiInterfaceAccess { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetInterface)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs index 3b1b61e6ce..4573d4a82b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDisplayDeviceInterop, IDisplayDeviceInterop_Vtbl, 0x64338358_366a_471b_bd56_dd8ef48e439b); -impl std::ops::Deref for IDisplayDeviceInterop { +impl core::ops::Deref for IDisplayDeviceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -33,7 +33,7 @@ pub struct IDisplayDeviceInterop_Vtbl { pub OpenSharedHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HANDLE, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDisplayPathInterop, IDisplayPathInterop_Vtbl, 0xa6ba4205_e59e_4e71_b25b_4e436d21ee3d); -impl std::ops::Deref for IDisplayPathInterop { +impl core::ops::Deref for IDisplayPathInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs index 45c2d39738..887b3b405b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IGraphicsCaptureItemInterop, IGraphicsCaptureItemInterop_Vtbl, 0x3628e81b_3cac_4c60_b7f4_23ce0e0c3356); -impl std::ops::Deref for IGraphicsCaptureItemInterop { +impl core::ops::Deref for IGraphicsCaptureItemInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12,7 +12,7 @@ impl IGraphicsCaptureItemInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateForWindow)(windows_core::Interface::as_raw(self), window.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -21,7 +21,7 @@ impl IGraphicsCaptureItemInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateForMonitor)(windows_core::Interface::as_raw(self), monitor.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs index f943df3854..feb7012603 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IGeometrySource2DInterop, IGeometrySource2DInterop_Vtbl, 0x0657af73_53fd_47cf_84ff_c8492d2a80a3); -impl std::ops::Deref for IGeometrySource2DInterop { +impl core::ops::Deref for IGeometrySource2DInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -34,7 +34,7 @@ pub struct IGeometrySource2DInterop_Vtbl { TryGetGeometryUsingFactory: usize, } windows_core::imp::define_interface!(IGraphicsEffectD2D1Interop, IGraphicsEffectD2D1Interop_Vtbl, 0x2fc57384_a068_44d7_a331_30982fcf7177); -impl std::ops::Deref for IGraphicsEffectD2D1Interop { +impl core::ops::Deref for IGraphicsEffectD2D1Interop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs index e85a230914..c4eda1e857 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ISoftwareBitmapNative, ISoftwareBitmapNative_Vtbl, 0x94bc8415_04ea_4b2e_af13_4de95aa898eb); -impl std::ops::Deref for ISoftwareBitmapNative { +impl core::ops::Deref for ISoftwareBitmapNative { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11,7 +11,7 @@ impl ISoftwareBitmapNative { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21,7 +21,7 @@ pub struct ISoftwareBitmapNative_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISoftwareBitmapNativeFactory, ISoftwareBitmapNativeFactory_Vtbl, 0xc3c181ec_2914_4791_af02_02d224a10b43); -impl std::ops::Deref for ISoftwareBitmapNativeFactory { +impl core::ops::Deref for ISoftwareBitmapNativeFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -36,7 +36,7 @@ impl ISoftwareBitmapNativeFactory { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFromWICBitmap)(windows_core::Interface::as_raw(self), data.param().abi(), forcereadonly.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -46,7 +46,7 @@ impl ISoftwareBitmapNativeFactory { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFromMF2DBuffer2)(windows_core::Interface::as_raw(self), data.param().abi(), subtype, width, height, forcereadonly.param().abi(), core::mem::transmute(mindisplayaperture.unwrap_or(std::ptr::null())), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs index 3261df5253..3faf6db843 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IHolographicCameraInterop, IHolographicCameraInterop_Vtbl, 0x7cc1f9c5_6d02_41fa_9500_e1809eb48eec); -impl std::ops::Deref for IHolographicCameraInterop { +impl core::ops::Deref for IHolographicCameraInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -73,7 +73,7 @@ pub struct IHolographicCameraInterop_Vtbl { UnacquireDirect3D12BufferResource: usize, } windows_core::imp::define_interface!(IHolographicCameraRenderingParametersInterop, IHolographicCameraRenderingParametersInterop_Vtbl, 0xf75b68d6_d1fd_4707_aafd_fa6f4c0e3bf4); -impl std::ops::Deref for IHolographicCameraRenderingParametersInterop { +impl core::ops::Deref for IHolographicCameraRenderingParametersInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -113,7 +113,7 @@ pub struct IHolographicCameraRenderingParametersInterop_Vtbl { CommitDirect3D12ResourceWithDepthData: usize, } windows_core::imp::define_interface!(IHolographicQuadLayerInterop, IHolographicQuadLayerInterop_Vtbl, 0xcfa688f0_639e_4a47_83d7_6b7f5ebf7fed); -impl std::ops::Deref for IHolographicQuadLayerInterop { +impl core::ops::Deref for IHolographicQuadLayerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -187,7 +187,7 @@ pub struct IHolographicQuadLayerInterop_Vtbl { UnacquireDirect3D12BufferResource: usize, } windows_core::imp::define_interface!(IHolographicQuadLayerUpdateParametersInterop, IHolographicQuadLayerUpdateParametersInterop_Vtbl, 0xe5f549cd_c909_444f_8809_7cc18a9c8920); -impl std::ops::Deref for IHolographicQuadLayerUpdateParametersInterop { +impl core::ops::Deref for IHolographicQuadLayerUpdateParametersInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs index 56c58bea25..871fea96cf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IIsolatedEnvironmentInterop, IIsolatedEnvironmentInterop_Vtbl, 0x85713c2e_8e62_46c5_8de2_c647e1d54636); -impl std::ops::Deref for IIsolatedEnvironmentInterop { +impl core::ops::Deref for IIsolatedEnvironmentInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs index d1ff9351f7..888c4975c9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(ILearningModelDeviceFactoryNative, ILearningModelDeviceFactoryNative_Vtbl, 0x1e9b31a1_662e_4ae0_af67_f63bb337e634); -impl std::ops::Deref for ILearningModelDeviceFactoryNative { +impl core::ops::Deref for ILearningModelDeviceFactoryNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -25,7 +25,7 @@ pub struct ILearningModelDeviceFactoryNative_Vtbl { CreateFromD3D12CommandQueue: usize, } windows_core::imp::define_interface!(ILearningModelOperatorProviderNative, ILearningModelOperatorProviderNative_Vtbl, 0x1adaa23a_eb67_41f3_aad8_5d984e9bacd4); -impl std::ops::Deref for ILearningModelOperatorProviderNative { +impl core::ops::Deref for ILearningModelOperatorProviderNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -48,7 +48,7 @@ pub struct ILearningModelOperatorProviderNative_Vtbl { GetRegistry: usize, } windows_core::imp::define_interface!(ILearningModelSessionOptionsNative, ILearningModelSessionOptionsNative_Vtbl, 0xc71e953f_37b4_4564_8658_d8396866db0d); -impl std::ops::Deref for ILearningModelSessionOptionsNative { +impl core::ops::Deref for ILearningModelSessionOptionsNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -66,7 +66,7 @@ pub struct ILearningModelSessionOptionsNative_Vtbl { pub SetIntraOpNumThreadsOverride: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILearningModelSessionOptionsNative1, ILearningModelSessionOptionsNative1_Vtbl, 0x5da37a26_0526_414b_91e4_2a0fa3ddba40); -impl std::ops::Deref for ILearningModelSessionOptionsNative1 { +impl core::ops::Deref for ILearningModelSessionOptionsNative1 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -84,7 +84,7 @@ pub struct ILearningModelSessionOptionsNative1_Vtbl { pub SetIntraOpThreadSpinning: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITensorNative, ITensorNative_Vtbl, 0x52f547ef_5b03_49b5_82d6_565f1ee0dd49); -impl std::ops::Deref for ITensorNative { +impl core::ops::Deref for ITensorNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -111,7 +111,7 @@ pub struct ITensorNative_Vtbl { GetD3D12Resource: usize, } windows_core::imp::define_interface!(ITensorStaticsNative, ITensorStaticsNative_Vtbl, 0x39d055a4_66f6_4ebc_95d9_7a29ebe7690a); -impl std::ops::Deref for ITensorStaticsNative { +impl core::ops::Deref for ITensorStaticsNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs index f2ca69e20f..929edf56db 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IAudioFrameNative, IAudioFrameNative_Vtbl, 0x20be1e2e_930f_4746_9335_3c332f255093); -impl std::ops::Deref for IAudioFrameNative { +impl core::ops::Deref for IAudioFrameNative { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11,7 +11,7 @@ impl IAudioFrameNative { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21,7 +21,7 @@ pub struct IAudioFrameNative_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioFrameNativeFactory, IAudioFrameNativeFactory_Vtbl, 0x7bd67cf8_bf7d_43e6_af8d_b170ee0c0110); -impl std::ops::Deref for IAudioFrameNativeFactory { +impl core::ops::Deref for IAudioFrameNativeFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -36,7 +36,7 @@ impl IAudioFrameNativeFactory { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFromMFSample)(windows_core::Interface::as_raw(self), data.param().abi(), forcereadonly.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -49,7 +49,7 @@ pub struct IAudioFrameNativeFactory_Vtbl { CreateFromMFSample: usize, } windows_core::imp::define_interface!(IVideoFrameNative, IVideoFrameNative_Vtbl, 0x26ba702b_314a_4620_aaf6_7a51aa58fa18); -impl std::ops::Deref for IVideoFrameNative { +impl core::ops::Deref for IVideoFrameNative { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -61,14 +61,14 @@ impl IVideoFrameNative { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetData)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDevice(&self) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetDevice)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -79,7 +79,7 @@ pub struct IVideoFrameNative_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVideoFrameNativeFactory, IVideoFrameNativeFactory_Vtbl, 0x69e3693e_8e1e_4e63_ac4c_7fdc21d9731d); -impl std::ops::Deref for IVideoFrameNativeFactory { +impl core::ops::Deref for IVideoFrameNativeFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -95,7 +95,7 @@ impl IVideoFrameNativeFactory { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateFromMFSample)(windows_core::Interface::as_raw(self), data.param().abi(), subtype, width, height, forcereadonly.param().abi(), core::mem::transmute(mindisplayaperture.unwrap_or(std::ptr::null())), device.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs index 37a43d9f59..ea2a787943 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/mod.rs @@ -88,7 +88,7 @@ pub unsafe fn RoResolveNamespace(name: &windows_core::HSTRING, windowsmetadatadi .ok() } windows_core::imp::define_interface!(ICeeGen, ICeeGen_Vtbl, 0x7ed1bdff_8e36_11d2_9c56_00a0c9b7cc45); -impl std::ops::Deref for ICeeGen { +impl core::ops::Deref for ICeeGen { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -169,7 +169,7 @@ pub struct ICeeGen_Vtbl { pub ComputePointer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHostFilter, IHostFilter_Vtbl, 0xd0e80dd3_12d4_11d3_b39d_00c04ff81795); -impl std::ops::Deref for IHostFilter { +impl core::ops::Deref for IHostFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -187,7 +187,7 @@ pub struct IHostFilter_Vtbl { pub MarkToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMapToken, IMapToken_Vtbl, 0x06a3ea8b_0225_11d1_bf72_00c04fc31e12); -impl std::ops::Deref for IMapToken { +impl core::ops::Deref for IMapToken { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -205,7 +205,7 @@ pub struct IMapToken_Vtbl { pub Map: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataAssemblyEmit, IMetaDataAssemblyEmit_Vtbl, 0x211ef15b_5317_4438_b196_dec87b887693); -impl std::ops::Deref for IMetaDataAssemblyEmit { +impl core::ops::Deref for IMetaDataAssemblyEmit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -280,7 +280,7 @@ pub struct IMetaDataAssemblyEmit_Vtbl { pub SetManifestResourceProps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataAssemblyImport, IMetaDataAssemblyImport_Vtbl, 0xee62470b_e94b_424e_9b7c_2f00c9249f93); -impl std::ops::Deref for IMetaDataAssemblyImport { +impl core::ops::Deref for IMetaDataAssemblyImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -361,7 +361,7 @@ pub struct IMetaDataAssemblyImport_Vtbl { pub FindAssembliesByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataDispenser, IMetaDataDispenser_Vtbl, 0x809c652e_7396_11d2_9771_00a0c9b4d50c); -impl std::ops::Deref for IMetaDataDispenser { +impl core::ops::Deref for IMetaDataDispenser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -393,7 +393,7 @@ pub struct IMetaDataDispenser_Vtbl { pub OpenScopeOnMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataDispenserEx, IMetaDataDispenserEx_Vtbl, 0x31bcfce2_dafb_11d2_9f81_00c04f79a0a3); -impl std::ops::Deref for IMetaDataDispenserEx { +impl core::ops::Deref for IMetaDataDispenserEx { type Target = IMetaDataDispenser; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -453,7 +453,7 @@ pub struct IMetaDataDispenserEx_Vtbl { pub FindAssemblyModule: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataEmit, IMetaDataEmit_Vtbl, 0xba3fee4c_ecb9_4e41_83b7_183fa41cd859); -impl std::ops::Deref for IMetaDataEmit { +impl core::ops::Deref for IMetaDataEmit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -745,7 +745,7 @@ pub struct IMetaDataEmit_Vtbl { pub MergeEnd: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataEmit2, IMetaDataEmit2_Vtbl, 0xf5dd9950_f693_42e6_830e_7b833e8146a9); -impl std::ops::Deref for IMetaDataEmit2 { +impl core::ops::Deref for IMetaDataEmit2 { type Target = IMetaDataEmit; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -807,7 +807,7 @@ pub struct IMetaDataEmit2_Vtbl { pub ResetENCLog: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataError, IMetaDataError_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b09c19); -impl std::ops::Deref for IMetaDataError { +impl core::ops::Deref for IMetaDataError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -825,7 +825,7 @@ pub struct IMetaDataError_Vtbl { pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataFilter, IMetaDataFilter_Vtbl, 0xd0e80dd1_12d4_11d3_b39d_00c04ff81795); -impl std::ops::Deref for IMetaDataFilter { +impl core::ops::Deref for IMetaDataFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -851,7 +851,7 @@ pub struct IMetaDataFilter_Vtbl { pub IsTokenMarked: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataImport, IMetaDataImport_Vtbl, 0x7dac8207_d3ae_4c75_9b67_92801a497d44); -impl std::ops::Deref for IMetaDataImport { +impl core::ops::Deref for IMetaDataImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1149,7 +1149,7 @@ pub struct IMetaDataImport_Vtbl { pub IsGlobal: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataImport2, IMetaDataImport2_Vtbl, 0xfce5efa0_8bba_4f8e_a036_8f2022b08466); -impl std::ops::Deref for IMetaDataImport2 { +impl core::ops::Deref for IMetaDataImport2 { type Target = IMetaDataImport; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1195,7 +1195,7 @@ pub struct IMetaDataImport2_Vtbl { pub EnumMethodSpecs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, *mut u32, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataInfo, IMetaDataInfo_Vtbl, 0x7998ea64_7f95_48b8_86fc_17caf48bf5cb); -impl std::ops::Deref for IMetaDataInfo { +impl core::ops::Deref for IMetaDataInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1213,7 +1213,7 @@ pub struct IMetaDataInfo_Vtbl { pub GetFileMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const core::ffi::c_void, *mut u64, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataTables, IMetaDataTables_Vtbl, 0xd8f579ab_402d_4b8e_82d9_5d63b1065c68); -impl std::ops::Deref for IMetaDataTables { +impl core::ops::Deref for IMetaDataTables { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1303,7 +1303,7 @@ pub struct IMetaDataTables_Vtbl { pub GetNextUserString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataTables2, IMetaDataTables2_Vtbl, 0xbadb5f70_58da_43a9_a1c6_d74819f19b15); -impl std::ops::Deref for IMetaDataTables2 { +impl core::ops::Deref for IMetaDataTables2 { type Target = IMetaDataTables; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1325,7 +1325,7 @@ pub struct IMetaDataTables2_Vtbl { pub GetMetaDataStreamInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *const i8, *const *const core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataValidate, IMetaDataValidate_Vtbl, 0x4709c9c6_81ff_11d3_9fc7_00c04f79a0a3); -impl std::ops::Deref for IMetaDataValidate { +impl core::ops::Deref for IMetaDataValidate { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1350,7 +1350,7 @@ pub struct IMetaDataValidate_Vtbl { pub ValidateMetaData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMetaDataWinMDImport, IMetaDataWinMDImport_Vtbl, 0x969ea0c5_964e_411b_a807_b0f3c2dfcbd4); -impl std::ops::Deref for IMetaDataWinMDImport { +impl core::ops::Deref for IMetaDataWinMDImport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs index 9826cca493..582eac26bc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/mod.rs @@ -9,7 +9,7 @@ where PdfCreateRenderer(pdevice.param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IPdfRendererNative, IPdfRendererNative_Vtbl, 0x7d9dcd91_d277_4947_8527_07a0daeda94a); -impl std::ops::Deref for IPdfRendererNative { +impl core::ops::Deref for IPdfRendererNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs index 577881efbc..b555e285c3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IPrintManagerInterop, IPrintManagerInterop_Vtbl, 0xc5435a42_8d43_4e7b_a68a_ef311e392087); -impl std::ops::Deref for IPrintManagerInterop { +impl core::ops::Deref for IPrintManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12,7 +12,7 @@ impl IPrintManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowPrintUIForWindowAsync(&self, appwindow: P0) -> windows_core::Result @@ -20,7 +20,7 @@ impl IPrintManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ShowPrintUIForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -31,7 +31,7 @@ pub struct IPrintManagerInterop_Vtbl { pub ShowPrintUIForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintWorkflowConfigurationNative, IPrintWorkflowConfigurationNative_Vtbl, 0xc056be0a_9ee2_450a_9823_964f0006f2bb); -impl std::ops::Deref for IPrintWorkflowConfigurationNative { +impl core::ops::Deref for IPrintWorkflowConfigurationNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -72,7 +72,7 @@ pub struct IPrintWorkflowConfigurationNative_Vtbl { UserProperties: usize, } windows_core::imp::define_interface!(IPrintWorkflowObjectModelSourceFileContentNative, IPrintWorkflowObjectModelSourceFileContentNative_Vtbl, 0x68c9e477_993e_4052_8ac6_454eff58db9d); -impl std::ops::Deref for IPrintWorkflowObjectModelSourceFileContentNative { +impl core::ops::Deref for IPrintWorkflowObjectModelSourceFileContentNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -102,7 +102,7 @@ pub struct IPrintWorkflowObjectModelSourceFileContentNative_Vtbl { ObjectFactory: usize, } windows_core::imp::define_interface!(IPrintWorkflowXpsObjectModelTargetPackageNative, IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl, 0x7d96bc74_9b54_4ca1_ad3a_979c3d44ddac); -impl std::ops::Deref for IPrintWorkflowXpsObjectModelTargetPackageNative { +impl core::ops::Deref for IPrintWorkflowXpsObjectModelTargetPackageNative { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -125,7 +125,7 @@ pub struct IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl { DocumentPackageTarget: usize, } windows_core::imp::define_interface!(IPrintWorkflowXpsReceiver, IPrintWorkflowXpsReceiver_Vtbl, 0x04097374_77b8_47f6_8167_aae29d4cf84b); -impl std::ops::Deref for IPrintWorkflowXpsReceiver { +impl core::ops::Deref for IPrintWorkflowXpsReceiver { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -185,7 +185,7 @@ pub struct IPrintWorkflowXpsReceiver_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintWorkflowXpsReceiver2, IPrintWorkflowXpsReceiver2_Vtbl, 0x023bcc0c_dfab_4a61_b074_490c6995580d); -impl std::ops::Deref for IPrintWorkflowXpsReceiver2 { +impl core::ops::Deref for IPrintWorkflowXpsReceiver2 { type Target = IPrintWorkflowXpsReceiver; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -203,7 +203,7 @@ pub struct IPrintWorkflowXpsReceiver2_Vtbl { pub Failed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrinting3DManagerInterop, IPrinting3DManagerInterop_Vtbl, 0x9ca31010_1484_4587_b26b_dddf9f9caecd); -impl std::ops::Deref for IPrinting3DManagerInterop { +impl core::ops::Deref for IPrinting3DManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -216,7 +216,7 @@ impl IPrinting3DManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowPrintUIForWindowAsync(&self, appwindow: P0) -> windows_core::Result @@ -224,7 +224,7 @@ impl IPrinting3DManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ShowPrintUIForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs index f694cecdcc..5630bbcef6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IDDEInitializer, IDDEInitializer_Vtbl, 0x30dc931f_33fc_4ffd_a168_942258cf3ca4); -impl std::ops::Deref for IDDEInitializer { +impl core::ops::Deref for IDDEInitializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs index f4b698c238..789afc2f60 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IOplockBreakingHandler, IOplockBreakingHandler_Vtbl, 0x826abe3d_3acd_47d3_84f2_88aaedcf6304); -impl std::ops::Deref for IOplockBreakingHandler { +impl core::ops::Deref for IOplockBreakingHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17,7 +17,7 @@ pub struct IOplockBreakingHandler_Vtbl { pub OplockBreaking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRandomAccessStreamFileAccessMode, IRandomAccessStreamFileAccessMode_Vtbl, 0x332e5848_2e15_458e_85c4_c911c0c3d6f4); -impl std::ops::Deref for IRandomAccessStreamFileAccessMode { +impl core::ops::Deref for IRandomAccessStreamFileAccessMode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -36,7 +36,7 @@ pub struct IRandomAccessStreamFileAccessMode_Vtbl { pub GetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageFolderHandleAccess, IStorageFolderHandleAccess_Vtbl, 0xdf19938f_5462_48a0_be65_d2a3271a08d6); -impl std::ops::Deref for IStorageFolderHandleAccess { +impl core::ops::Deref for IStorageFolderHandleAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -59,7 +59,7 @@ pub struct IStorageFolderHandleAccess_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, HANDLE_CREATION_OPTIONS, HANDLE_ACCESS_OPTIONS, HANDLE_SHARING_OPTIONS, HANDLE_OPTIONS, *mut core::ffi::c_void, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageItemHandleAccess, IStorageItemHandleAccess_Vtbl, 0x5ca296b2_2c25_4d22_b785_b885c8201e6a); -impl std::ops::Deref for IStorageItemHandleAccess { +impl core::ops::Deref for IStorageItemHandleAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -81,7 +81,7 @@ pub struct IStorageItemHandleAccess_Vtbl { pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, HANDLE_ACCESS_OPTIONS, HANDLE_SHARING_OPTIONS, HANDLE_OPTIONS, *mut core::ffi::c_void, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUnbufferedFileHandleOplockCallback, IUnbufferedFileHandleOplockCallback_Vtbl, 0xd1019a0e_6243_4329_8497_2e75894d7710); -impl std::ops::Deref for IUnbufferedFileHandleOplockCallback { +impl core::ops::Deref for IUnbufferedFileHandleOplockCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -99,7 +99,7 @@ pub struct IUnbufferedFileHandleOplockCallback_Vtbl { pub OnBrokenCallback: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUnbufferedFileHandleProvider, IUnbufferedFileHandleProvider_Vtbl, 0xa65c9109_42ab_4b94_a7b1_dd2e4e68515e); -impl std::ops::Deref for IUnbufferedFileHandleProvider { +impl core::ops::Deref for IUnbufferedFileHandleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs index 641b0b2a22..edcd1e1617 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -40,7 +40,7 @@ where T: windows_core::Interface, { windows_targets::link!("windows.ui.dll" "cdecl" fn CreateControlInput(riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateControlInput(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -50,7 +50,7 @@ where T: windows_core::Interface, { windows_targets::link!("windows.ui.dll" "cdecl" fn CreateControlInputEx(pcorewindow : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateControlInputEx(pcorewindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "System")] @@ -67,7 +67,7 @@ where T: windows_core::Interface, { windows_targets::link!("api-ms-win-shcore-stream-winrt-l1-1-0.dll" "system" fn CreateRandomAccessStreamOnFile(filepath : windows_core::PCWSTR, accessmode : u32, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateRandomAccessStreamOnFile(filepath.param().abi(), accessmode, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -78,7 +78,7 @@ where T: windows_core::Interface, { windows_targets::link!("api-ms-win-shcore-stream-winrt-l1-1-0.dll" "system" fn CreateRandomAccessStreamOverStream(stream : * mut core::ffi::c_void, options : BSOS_OPTIONS, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateRandomAccessStreamOverStream(stream.param().abi(), options, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -88,7 +88,7 @@ where T: windows_core::Interface, { windows_targets::link!("api-ms-win-shcore-stream-winrt-l1-1-0.dll" "system" fn CreateStreamOverRandomAccessStream(randomaccessstream : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); CreateStreamOverRandomAccessStream(randomaccessstream.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -169,7 +169,7 @@ where T: windows_core::Interface, { windows_targets::link!("api-ms-win-core-winrt-l1-1-0.dll" "system" fn RoGetActivationFactory(activatableclassid : core::mem::MaybeUninit < windows_core::HSTRING >, iid : *const windows_core::GUID, factory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); RoGetActivationFactory(core::mem::transmute_copy(activatableclassid), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -450,7 +450,7 @@ pub unsafe fn WindowsTrimStringStart(string: &windows_core::HSTRING, trimstring: WindowsTrimStringStart(core::mem::transmute_copy(string), core::mem::transmute_copy(trimstring), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } windows_core::imp::define_interface!(IAccountsSettingsPaneInterop, IAccountsSettingsPaneInterop_Vtbl, 0xd3ee12ad_3865_4362_9746_b75a682df0e6); -impl std::ops::Deref for IAccountsSettingsPaneInterop { +impl core::ops::Deref for IAccountsSettingsPaneInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -463,7 +463,7 @@ impl IAccountsSettingsPaneInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowManageAccountsForWindowAsync(&self, appwindow: P0) -> windows_core::Result @@ -471,7 +471,7 @@ impl IAccountsSettingsPaneInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ShowManageAccountsForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowAddAccountForWindowAsync(&self, appwindow: P0) -> windows_core::Result @@ -479,7 +479,7 @@ impl IAccountsSettingsPaneInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ShowAddAccountForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -491,7 +491,7 @@ pub struct IAccountsSettingsPaneInterop_Vtbl { pub ShowAddAccountForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActivationFactory, IActivationFactory_Vtbl, 0x00000035_0000_0000_c000_000000000046); -impl std::ops::Deref for IActivationFactory { +impl core::ops::Deref for IActivationFactory { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -510,7 +510,7 @@ pub struct IActivationFactory_Vtbl { pub ActivateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAgileReference, IAgileReference_Vtbl, 0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); -impl std::ops::Deref for IAgileReference { +impl core::ops::Deref for IAgileReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -522,7 +522,7 @@ impl IAgileReference { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Resolve)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -532,7 +532,7 @@ pub struct IAgileReference_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApartmentShutdown, IApartmentShutdown_Vtbl, 0xa2f05a09_27a2_42b5_bc0e_ac163ef49d9b); -impl std::ops::Deref for IApartmentShutdown { +impl core::ops::Deref for IApartmentShutdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -550,7 +550,7 @@ pub struct IApartmentShutdown_Vtbl { pub OnUninitialize: unsafe extern "system" fn(*mut core::ffi::c_void, u64), } windows_core::imp::define_interface!(IAppServiceConnectionExtendedExecution, IAppServiceConnectionExtendedExecution_Vtbl, 0x65219584_f9cb_4ae3_81f9_a28a6ca450d9); -impl std::ops::Deref for IAppServiceConnectionExtendedExecution { +impl core::ops::Deref for IAppServiceConnectionExtendedExecution { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -562,7 +562,7 @@ impl IAppServiceConnectionExtendedExecution { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenForExtendedExecutionAsync)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -572,7 +572,7 @@ pub struct IAppServiceConnectionExtendedExecution_Vtbl { pub OpenForExtendedExecutionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBufferByteAccess, IBufferByteAccess_Vtbl, 0x905a0fef_bc53_11df_8c49_001e4fc686da); -impl std::ops::Deref for IBufferByteAccess { +impl core::ops::Deref for IBufferByteAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -591,7 +591,7 @@ pub struct IBufferByteAccess_Vtbl { pub Buffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICastingController, ICastingController_Vtbl, 0xf0a56423_a664_4fbd_8b43_409a45e8d9a1); -impl std::ops::Deref for ICastingController { +impl core::ops::Deref for ICastingController { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -633,7 +633,7 @@ pub struct ICastingController_Vtbl { pub UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICastingEventHandler, ICastingEventHandler_Vtbl, 0xc79a6cb7_bebd_47a6_a2ad_4d45ad79c7bc); -impl std::ops::Deref for ICastingEventHandler { +impl core::ops::Deref for ICastingEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -658,7 +658,7 @@ pub struct ICastingEventHandler_Vtbl { pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, CASTING_CONNECTION_ERROR_STATUS, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICastingSourceInfo, ICastingSourceInfo_Vtbl, 0x45101ab7_7c3a_4bce_9500_12c09024b298); -impl std::ops::Deref for ICastingSourceInfo { +impl core::ops::Deref for ICastingSourceInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -686,7 +686,7 @@ pub struct ICastingSourceInfo_Vtbl { GetProperties: usize, } windows_core::imp::define_interface!(ICoreInputInterop, ICoreInputInterop_Vtbl, 0x40bfe3e3_b75a_4479_ac96_475365749bb8); -impl std::ops::Deref for ICoreInputInterop { +impl core::ops::Deref for ICoreInputInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -711,7 +711,7 @@ pub struct ICoreInputInterop_Vtbl { pub SetMessageHandled: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreInputInterop2, ICoreInputInterop2_Vtbl, 0xb8a2acd7_a0f0_40ee_8ee7_c82f59cc5cd4); -impl std::ops::Deref for ICoreInputInterop2 { +impl core::ops::Deref for ICoreInputInterop2 { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -737,7 +737,7 @@ pub struct ICoreInputInterop2_Vtbl { pub ChangeHostingContext: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindowAdapterInterop, ICoreWindowAdapterInterop_Vtbl, 0x7a5b6fd1_cd73_4b6c_9cf4_2e869eaf470a); -impl std::ops::Deref for ICoreWindowAdapterInterop { +impl core::ops::Deref for ICoreWindowAdapterInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -793,7 +793,7 @@ pub struct ICoreWindowAdapterInterop_Vtbl { pub SetWindowClientAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindowComponentInterop, ICoreWindowComponentInterop_Vtbl, 0x0576ab31_a310_4c40_ba31_fd37e0298dfa); -impl std::ops::Deref for ICoreWindowComponentInterop { +impl core::ops::Deref for ICoreWindowComponentInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -820,7 +820,7 @@ pub struct ICoreWindowComponentInterop_Vtbl { pub GetViewInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreWindowInterop, ICoreWindowInterop_Vtbl, 0x45d64a29_a63e_4cb6_b498_5781d298cb4f); -impl std::ops::Deref for ICoreWindowInterop { +impl core::ops::Deref for ICoreWindowInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -843,7 +843,7 @@ pub struct ICoreWindowInterop_Vtbl { pub SetMessageHandled: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorrelationVectorInformation, ICorrelationVectorInformation_Vtbl, 0x83c78b3c_d88b_4950_aa6e_22b8d22aabd3); -impl std::ops::Deref for ICorrelationVectorInformation { +impl core::ops::Deref for ICorrelationVectorInformation { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -871,7 +871,7 @@ pub struct ICorrelationVectorInformation_Vtbl { pub SetNextCorrelationVectorForThread: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICorrelationVectorSource, ICorrelationVectorSource_Vtbl, 0x152b8a3b_b9b9_4685_b56e_974847bc7545); -impl std::ops::Deref for ICorrelationVectorSource { +impl core::ops::Deref for ICorrelationVectorSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -890,7 +890,7 @@ pub struct ICorrelationVectorSource_Vtbl { pub CorrelationVector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDragDropManagerInterop, IDragDropManagerInterop_Vtbl, 0x5ad8cba7_4c01_4dac_9074_827894292d63); -impl std::ops::Deref for IDragDropManagerInterop { +impl core::ops::Deref for IDragDropManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -903,7 +903,7 @@ impl IDragDropManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -913,7 +913,7 @@ pub struct IDragDropManagerInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHolographicSpaceInterop, IHolographicSpaceInterop_Vtbl, 0x5c4ee536_6a98_4b86_a170_587013d6fd4b); -impl std::ops::Deref for IHolographicSpaceInterop { +impl core::ops::Deref for IHolographicSpaceInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -926,7 +926,7 @@ impl IHolographicSpaceInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateForWindow)(windows_core::Interface::as_raw(self), window.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -936,7 +936,7 @@ pub struct IHolographicSpaceInterop_Vtbl { pub CreateForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInputPaneInterop, IInputPaneInterop_Vtbl, 0x75cf2c57_9195_4931_8332_f0b409e916af); -impl std::ops::Deref for IInputPaneInterop { +impl core::ops::Deref for IInputPaneInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -949,7 +949,7 @@ impl IInputPaneInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -959,7 +959,7 @@ pub struct IInputPaneInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageExceptionErrorInfo, ILanguageExceptionErrorInfo_Vtbl, 0x04a2dbf3_df83_116c_0946_0812abf6e07d); -impl std::ops::Deref for ILanguageExceptionErrorInfo { +impl core::ops::Deref for ILanguageExceptionErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -978,7 +978,7 @@ pub struct ILanguageExceptionErrorInfo_Vtbl { pub GetLanguageException: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageExceptionErrorInfo2, ILanguageExceptionErrorInfo2_Vtbl, 0x5746e5c4_5b97_424c_b620_2822915734dd); -impl std::ops::Deref for ILanguageExceptionErrorInfo2 { +impl core::ops::Deref for ILanguageExceptionErrorInfo2 { type Target = ILanguageExceptionErrorInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1009,7 +1009,7 @@ pub struct ILanguageExceptionErrorInfo2_Vtbl { pub GetPropagationContextHead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageExceptionStackBackTrace, ILanguageExceptionStackBackTrace_Vtbl, 0xcbe53fb5_f967_4258_8d34_42f5e25833de); -impl std::ops::Deref for ILanguageExceptionStackBackTrace { +impl core::ops::Deref for ILanguageExceptionStackBackTrace { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1027,7 +1027,7 @@ pub struct ILanguageExceptionStackBackTrace_Vtbl { pub GetStackBackTrace: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILanguageExceptionTransform, ILanguageExceptionTransform_Vtbl, 0xfeb5a271_a6cd_45ce_880a_696706badc65); -impl std::ops::Deref for ILanguageExceptionTransform { +impl core::ops::Deref for ILanguageExceptionTransform { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1046,7 +1046,7 @@ pub struct ILanguageExceptionTransform_Vtbl { pub GetTransformedRestrictedErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMemoryBufferByteAccess, IMemoryBufferByteAccess_Vtbl, 0x5b0d3235_4dba_4d44_865e_8f1d0e4fd04d); -impl std::ops::Deref for IMemoryBufferByteAccess { +impl core::ops::Deref for IMemoryBufferByteAccess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1064,7 +1064,7 @@ pub struct IMemoryBufferByteAccess_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMessageDispatcher, IMessageDispatcher_Vtbl, 0xf5f84c8f_cfd0_4cd6_b66b_c5d26ff1689d); -impl std::ops::Deref for IMessageDispatcher { +impl core::ops::Deref for IMessageDispatcher { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1082,7 +1082,7 @@ pub struct IMessageDispatcher_Vtbl { pub PumpMessages: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPlayToManagerInterop, IPlayToManagerInterop_Vtbl, 0x24394699_1f2c_4eb3_8cd7_0ec1da42a540); -impl std::ops::Deref for IPlayToManagerInterop { +impl core::ops::Deref for IPlayToManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1095,7 +1095,7 @@ impl IPlayToManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowPlayToUIForWindow(&self, appwindow: P0) -> windows_core::Result<()> @@ -1112,7 +1112,7 @@ pub struct IPlayToManagerInterop_Vtbl { pub ShowPlayToUIForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRestrictedErrorInfo, IRestrictedErrorInfo_Vtbl, 0x82ba7092_4c88_427d_a7bc_16dd93feb67e); -impl std::ops::Deref for IRestrictedErrorInfo { +impl core::ops::Deref for IRestrictedErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1137,7 +1137,7 @@ pub struct IRestrictedErrorInfo_Vtbl { pub GetReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShareWindowCommandEventArgsInterop, IShareWindowCommandEventArgsInterop_Vtbl, 0x6571a721_643d_43d4_aca4_6b6f5f30f1ad); -impl std::ops::Deref for IShareWindowCommandEventArgsInterop { +impl core::ops::Deref for IShareWindowCommandEventArgsInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1156,7 +1156,7 @@ pub struct IShareWindowCommandEventArgsInterop_Vtbl { pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShareWindowCommandSourceInterop, IShareWindowCommandSourceInterop_Vtbl, 0x461a191f_8424_43a6_a0fa_3451a22f56ab); -impl std::ops::Deref for IShareWindowCommandSourceInterop { +impl core::ops::Deref for IShareWindowCommandSourceInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1169,7 +1169,7 @@ impl IShareWindowCommandSourceInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1179,7 +1179,7 @@ pub struct IShareWindowCommandSourceInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpatialInteractionManagerInterop, ISpatialInteractionManagerInterop_Vtbl, 0x5c4ee536_6a98_4b86_a170_587013d6fd4b); -impl std::ops::Deref for ISpatialInteractionManagerInterop { +impl core::ops::Deref for ISpatialInteractionManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1192,7 +1192,7 @@ impl ISpatialInteractionManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), window.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1202,7 +1202,7 @@ pub struct ISpatialInteractionManagerInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISystemMediaTransportControlsInterop, ISystemMediaTransportControlsInterop_Vtbl, 0xddb0472d_c911_4a1f_86d9_dc3d71a95f5a); -impl std::ops::Deref for ISystemMediaTransportControlsInterop { +impl core::ops::Deref for ISystemMediaTransportControlsInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1215,7 +1215,7 @@ impl ISystemMediaTransportControlsInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1225,7 +1225,7 @@ pub struct ISystemMediaTransportControlsInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIViewSettingsInterop, IUIViewSettingsInterop_Vtbl, 0x3694dbf9_8f68_44be_8ff5_195c98ede8a6); -impl std::ops::Deref for IUIViewSettingsInterop { +impl core::ops::Deref for IUIViewSettingsInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1238,7 +1238,7 @@ impl IUIViewSettingsInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1248,7 +1248,7 @@ pub struct IUIViewSettingsInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivityInterop, IUserActivityInterop_Vtbl, 0x1ade314d_0e0a_40d9_824c_9a088a50059f); -impl std::ops::Deref for IUserActivityInterop { +impl core::ops::Deref for IUserActivityInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1261,7 +1261,7 @@ impl IUserActivityInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateSessionForWindow)(windows_core::Interface::as_raw(self), window.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1271,7 +1271,7 @@ pub struct IUserActivityInterop_Vtbl { pub CreateSessionForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivityRequestManagerInterop, IUserActivityRequestManagerInterop_Vtbl, 0xdd69f876_9699_4715_9095_e37ea30dfa1b); -impl std::ops::Deref for IUserActivityRequestManagerInterop { +impl core::ops::Deref for IUserActivityRequestManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1284,7 +1284,7 @@ impl IUserActivityRequestManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), window.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1294,7 +1294,7 @@ pub struct IUserActivityRequestManagerInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserActivitySourceHostInterop, IUserActivitySourceHostInterop_Vtbl, 0xc15df8bc_8844_487a_b85b_7578e0f61419); -impl std::ops::Deref for IUserActivitySourceHostInterop { +impl core::ops::Deref for IUserActivitySourceHostInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1312,7 +1312,7 @@ pub struct IUserActivitySourceHostInterop_Vtbl { pub SetActivitySourceHost: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserConsentVerifierInterop, IUserConsentVerifierInterop_Vtbl, 0x39e050c3_4e74_441a_8dc0_b81104df949c); -impl std::ops::Deref for IUserConsentVerifierInterop { +impl core::ops::Deref for IUserConsentVerifierInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1325,7 +1325,7 @@ impl IUserConsentVerifierInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestVerificationForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), core::mem::transmute_copy(message), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1335,7 +1335,7 @@ pub struct IUserConsentVerifierInterop_Vtbl { pub RequestVerificationForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, core::mem::MaybeUninit, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWeakReference, IWeakReference_Vtbl, 0x00000037_0000_0000_c000_000000000046); -impl std::ops::Deref for IWeakReference { +impl core::ops::Deref for IWeakReference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1347,7 +1347,7 @@ impl IWeakReference { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Resolve)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1357,7 +1357,7 @@ pub struct IWeakReference_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWeakReferenceSource, IWeakReferenceSource_Vtbl, 0x00000038_0000_0000_c000_000000000046); -impl std::ops::Deref for IWeakReferenceSource { +impl core::ops::Deref for IWeakReferenceSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1376,7 +1376,7 @@ pub struct IWeakReferenceSource_Vtbl { pub GetWeakReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebAuthenticationCoreManagerInterop, IWebAuthenticationCoreManagerInterop_Vtbl, 0xf4b8e804_811e_4436_b69c_44cb67b72084); -impl std::ops::Deref for IWebAuthenticationCoreManagerInterop { +impl core::ops::Deref for IWebAuthenticationCoreManagerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1390,7 +1390,7 @@ impl IWebAuthenticationCoreManagerInterop { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestTokenForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), request.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn RequestTokenWithWebAccountForWindowAsync(&self, appwindow: P0, request: P1, webaccount: P2) -> windows_core::Result @@ -1400,7 +1400,7 @@ impl IWebAuthenticationCoreManagerInterop { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).RequestTokenWithWebAccountForWindowAsync)(windows_core::Interface::as_raw(self), appwindow.param().abi(), request.param().abi(), webaccount.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs index b9797d5a6d..5791f20885 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -1667,7 +1667,7 @@ pub unsafe fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16 { uaw_wcsrchr(string, character) } windows_core::imp::define_interface!(ICameraUIControl, ICameraUIControl_Vtbl, 0xb8733adf_3d68_4b8f_bb08_e28a0bed0376); -impl std::ops::Deref for ICameraUIControl { +impl core::ops::Deref for ICameraUIControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1728,7 +1728,7 @@ pub struct ICameraUIControl_Vtbl { pub RemoveCapturedItem: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICameraUIControlEventCallback, ICameraUIControlEventCallback_Vtbl, 0x1bfa0c2c_fbcd_4776_bda4_88bf974e74f4); -impl std::ops::Deref for ICameraUIControlEventCallback { +impl core::ops::Deref for ICameraUIControlEventCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1768,7 +1768,7 @@ pub struct ICameraUIControlEventCallback_Vtbl { pub OnClosed: unsafe extern "system" fn(*mut core::ffi::c_void), } windows_core::imp::define_interface!(IClipServiceNotificationHelper, IClipServiceNotificationHelper_Vtbl, 0xc39948f0_6142_44fd_98ca_e1681a8d68b5); -impl std::ops::Deref for IClipServiceNotificationHelper { +impl core::ops::Deref for IClipServiceNotificationHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1793,7 +1793,7 @@ pub struct IClipServiceNotificationHelper_Vtbl { pub ShowToast: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContainerActivationHelper, IContainerActivationHelper_Vtbl, 0xb524f93f_80d5_4ec7_ae9e_d66e93ade1fa); -impl std::ops::Deref for IContainerActivationHelper { +impl core::ops::Deref for IContainerActivationHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1812,7 +1812,7 @@ pub struct IContainerActivationHelper_Vtbl { pub CanActivateClientVM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDefaultBrowserSyncSettings, IDefaultBrowserSyncSettings_Vtbl, 0x7a27faad_5ae6_4255_9030_c530936292e3); -impl std::ops::Deref for IDefaultBrowserSyncSettings { +impl core::ops::Deref for IDefaultBrowserSyncSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1830,7 +1830,7 @@ pub struct IDefaultBrowserSyncSettings_Vtbl { pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IDeleteBrowsingHistory, IDeleteBrowsingHistory_Vtbl, 0xcf38ed4b_2be7_4461_8b5e_9a466dc82ae3); -impl std::ops::Deref for IDeleteBrowsingHistory { +impl core::ops::Deref for IDeleteBrowsingHistory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1848,7 +1848,7 @@ pub struct IDeleteBrowsingHistory_Vtbl { pub DeleteBrowsingHistory: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEditionUpgradeBroker, IEditionUpgradeBroker_Vtbl, 0xff19cbcf_9455_4937_b872_6b7929a460af); -impl std::ops::Deref for IEditionUpgradeBroker { +impl core::ops::Deref for IEditionUpgradeBroker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1888,7 +1888,7 @@ pub struct IEditionUpgradeBroker_Vtbl { pub CanUpgrade: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEditionUpgradeHelper, IEditionUpgradeHelper_Vtbl, 0xd3e9e342_5deb_43b6_849e_6913b85d503a); -impl std::ops::Deref for IEditionUpgradeHelper { +impl core::ops::Deref for IEditionUpgradeHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1928,7 +1928,7 @@ pub struct IEditionUpgradeHelper_Vtbl { pub GetGenuineLocalStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFClipNotificationHelper, IFClipNotificationHelper_Vtbl, 0x3d5e3d21_bd41_4c2a_a669_b17ce87fb50b); -impl std::ops::Deref for IFClipNotificationHelper { +impl core::ops::Deref for IFClipNotificationHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1950,7 +1950,7 @@ pub struct IFClipNotificationHelper_Vtbl { pub ShowSystemDialog: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowsLockModeHelper, IWindowsLockModeHelper_Vtbl, 0xf342d19e_cc22_4648_bb5d_03ccf75b47c5); -impl std::ops::Deref for IWindowsLockModeHelper { +impl core::ops::Deref for IWindowsLockModeHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs index 038122972f..122e343e45 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IAsynchronousDataRetriever, IAsynchronousDataRetriever_Vtbl, 0x9fc7e470_61ea_4a88_9be4_df56a27cfef2); -impl std::ops::Deref for IAsynchronousDataRetriever { +impl core::ops::Deref for IAsynchronousDataRetriever { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -38,7 +38,7 @@ pub struct IAsynchronousDataRetriever_Vtbl { pub LoadChangeData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChangeConflict, IChangeConflict_Vtbl, 0x014ebf97_9f20_4f7a_bdd4_25979c77c002); -impl std::ops::Deref for IChangeConflict { +impl core::ops::Deref for IChangeConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -94,7 +94,7 @@ pub struct IChangeConflict_Vtbl { pub SetResolveActionForChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SYNC_RESOLVE_ACTION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChangeUnitException, IChangeUnitException_Vtbl, 0x0cd7ee7c_fec0_4021_99ee_f0e5348f2a5f); -impl std::ops::Deref for IChangeUnitException { +impl core::ops::Deref for IChangeUnitException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -120,7 +120,7 @@ pub struct IChangeUnitException_Vtbl { pub GetClockVector: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IChangeUnitListFilterInfo, IChangeUnitListFilterInfo_Vtbl, 0xf2837671_0bdf_43fa_b502_232375fb50c2); -impl std::ops::Deref for IChangeUnitListFilterInfo { +impl core::ops::Deref for IChangeUnitListFilterInfo { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -146,7 +146,7 @@ pub struct IChangeUnitListFilterInfo_Vtbl { pub GetChangeUnitId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClockVector, IClockVector_Vtbl, 0x14b2274a_8698_4cc6_9333_f89bd1d47bc4); -impl std::ops::Deref for IClockVector { +impl core::ops::Deref for IClockVector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -168,7 +168,7 @@ pub struct IClockVector_Vtbl { pub GetClockVectorElementCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClockVectorElement, IClockVectorElement_Vtbl, 0xe71c4250_adf8_4a07_8fae_5669596909c1); -impl std::ops::Deref for IClockVectorElement { +impl core::ops::Deref for IClockVectorElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -190,7 +190,7 @@ pub struct IClockVectorElement_Vtbl { pub GetTickCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICombinedFilterInfo, ICombinedFilterInfo_Vtbl, 0x11f9de71_2818_4779_b2ac_42d450565f45); -impl std::ops::Deref for ICombinedFilterInfo { +impl core::ops::Deref for ICombinedFilterInfo { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -217,7 +217,7 @@ pub struct ICombinedFilterInfo_Vtbl { pub GetFilterCombinationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FILTER_COMBINATION_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConstraintConflict, IConstraintConflict_Vtbl, 0x00d2302e_1cf8_4835_b85f_b7ca4f799e0a); -impl std::ops::Deref for IConstraintConflict { +impl core::ops::Deref for IConstraintConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -291,7 +291,7 @@ pub struct IConstraintConflict_Vtbl { pub IsTemporary: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConstructReplicaKeyMap, IConstructReplicaKeyMap_Vtbl, 0xded10970_ec85_4115_b52c_4405845642a5); -impl std::ops::Deref for IConstructReplicaKeyMap { +impl core::ops::Deref for IConstructReplicaKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -309,7 +309,7 @@ pub struct IConstructReplicaKeyMap_Vtbl { pub FindOrAddReplica: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreFragment, ICoreFragment_Vtbl, 0x613b2ab5_b304_47d9_9c31_ce6c54401a15); -impl std::ops::Deref for ICoreFragment { +impl core::ops::Deref for ICoreFragment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -343,7 +343,7 @@ pub struct ICoreFragment_Vtbl { pub GetRangeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoreFragmentInspector, ICoreFragmentInspector_Vtbl, 0xf7fcc5fd_ae26_4679_ba16_96aac583c134); -impl std::ops::Deref for ICoreFragmentInspector { +impl core::ops::Deref for ICoreFragmentInspector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -365,7 +365,7 @@ pub struct ICoreFragmentInspector_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICustomFilterInfo, ICustomFilterInfo_Vtbl, 0x1d335dff_6f88_4e4d_91a8_a3f351cfd473); -impl std::ops::Deref for ICustomFilterInfo { +impl core::ops::Deref for ICustomFilterInfo { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -384,7 +384,7 @@ pub struct ICustomFilterInfo_Vtbl { pub GetSyncFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataRetrieverCallback, IDataRetrieverCallback_Vtbl, 0x71b4863b_f969_4676_bbc3_3d9fdc3fb2c7); -impl std::ops::Deref for IDataRetrieverCallback { +impl core::ops::Deref for IDataRetrieverCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -409,7 +409,7 @@ pub struct IDataRetrieverCallback_Vtbl { pub LoadChangeDataError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumChangeUnitExceptions, IEnumChangeUnitExceptions_Vtbl, 0x3074e802_9319_4420_be21_1022e2e21da8); -impl std::ops::Deref for IEnumChangeUnitExceptions { +impl core::ops::Deref for IEnumChangeUnitExceptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -440,7 +440,7 @@ pub struct IEnumChangeUnitExceptions_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumClockVector, IEnumClockVector_Vtbl, 0x525844db_2837_4799_9e80_81a66e02220c); -impl std::ops::Deref for IEnumClockVector { +impl core::ops::Deref for IEnumClockVector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -471,7 +471,7 @@ pub struct IEnumClockVector_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumFeedClockVector, IEnumFeedClockVector_Vtbl, 0x550f763d_146a_48f6_abeb_6c88c7f70514); -impl std::ops::Deref for IEnumFeedClockVector { +impl core::ops::Deref for IEnumFeedClockVector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -502,7 +502,7 @@ pub struct IEnumFeedClockVector_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumItemIds, IEnumItemIds_Vtbl, 0x43aa3f61_4b2e_4b60_83df_b110d3e148f1); -impl std::ops::Deref for IEnumItemIds { +impl core::ops::Deref for IEnumItemIds { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -520,7 +520,7 @@ pub struct IEnumItemIds_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumRangeExceptions, IEnumRangeExceptions_Vtbl, 0x0944439f_ddb1_4176_b703_046ff22a2386); -impl std::ops::Deref for IEnumRangeExceptions { +impl core::ops::Deref for IEnumRangeExceptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -551,7 +551,7 @@ pub struct IEnumRangeExceptions_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSingleItemExceptions, IEnumSingleItemExceptions_Vtbl, 0xe563381c_1b4d_4c66_9796_c86faccdcd40); -impl std::ops::Deref for IEnumSingleItemExceptions { +impl core::ops::Deref for IEnumSingleItemExceptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -582,7 +582,7 @@ pub struct IEnumSingleItemExceptions_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSyncChangeUnits, IEnumSyncChangeUnits_Vtbl, 0x346b35f1_8703_4c6d_ab1a_4dbca2cff97f); -impl std::ops::Deref for IEnumSyncChangeUnits { +impl core::ops::Deref for IEnumSyncChangeUnits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -613,7 +613,7 @@ pub struct IEnumSyncChangeUnits_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSyncChanges, IEnumSyncChanges_Vtbl, 0x5f86be4a_5e78_4e32_ac1c_c24fd223ef85); -impl std::ops::Deref for IEnumSyncChanges { +impl core::ops::Deref for IEnumSyncChanges { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -644,7 +644,7 @@ pub struct IEnumSyncChanges_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSyncProviderConfigUIInfos, IEnumSyncProviderConfigUIInfos_Vtbl, 0xf6be2602_17c6_4658_a2d7_68ed3330f641); -impl std::ops::Deref for IEnumSyncProviderConfigUIInfos { +impl core::ops::Deref for IEnumSyncProviderConfigUIInfos { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -679,7 +679,7 @@ pub struct IEnumSyncProviderConfigUIInfos_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSyncProviderInfos, IEnumSyncProviderInfos_Vtbl, 0xa04ba850_5eb1_460d_a973_393fcb608a11); -impl std::ops::Deref for IEnumSyncProviderInfos { +impl core::ops::Deref for IEnumSyncProviderInfos { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -714,7 +714,7 @@ pub struct IEnumSyncProviderInfos_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFeedClockVector, IFeedClockVector_Vtbl, 0x8d1d98d1_9fb8_4ec9_a553_54dd924e0f67); -impl std::ops::Deref for IFeedClockVector { +impl core::ops::Deref for IFeedClockVector { type Target = IClockVector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -736,7 +736,7 @@ pub struct IFeedClockVector_Vtbl { pub IsNoConflictsSpecified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFeedClockVectorElement, IFeedClockVectorElement_Vtbl, 0xa40b46d2_e97b_4156_b6da_991f501b0f05); -impl std::ops::Deref for IFeedClockVectorElement { +impl core::ops::Deref for IFeedClockVectorElement { type Target = IClockVectorElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -758,7 +758,7 @@ pub struct IFeedClockVectorElement_Vtbl { pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterKeyMap, IFilterKeyMap_Vtbl, 0xca169652_07c6_4708_a3da_6e4eba8d2297); -impl std::ops::Deref for IFilterKeyMap { +impl core::ops::Deref for IFilterKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -792,7 +792,7 @@ pub struct IFilterKeyMap_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterRequestCallback, IFilterRequestCallback_Vtbl, 0x82df8873_6360_463a_a8a1_ede5e1a1594d); -impl std::ops::Deref for IFilterRequestCallback { +impl core::ops::Deref for IFilterRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -813,7 +813,7 @@ pub struct IFilterRequestCallback_Vtbl { pub RequestFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, FILTERING_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterTrackingProvider, IFilterTrackingProvider_Vtbl, 0x743383c0_fc4e_45ba_ad81_d9d84c7a24f8); -impl std::ops::Deref for IFilterTrackingProvider { +impl core::ops::Deref for IFilterTrackingProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -841,7 +841,7 @@ pub struct IFilterTrackingProvider_Vtbl { pub AddTrackedFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterTrackingRequestCallback, IFilterTrackingRequestCallback_Vtbl, 0x713ca7bb_c858_4674_b4b6_1122436587a9); -impl std::ops::Deref for IFilterTrackingRequestCallback { +impl core::ops::Deref for IFilterTrackingRequestCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -862,7 +862,7 @@ pub struct IFilterTrackingRequestCallback_Vtbl { pub RequestTrackedFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFilterTrackingSyncChangeBuilder, IFilterTrackingSyncChangeBuilder_Vtbl, 0x295024a0_70da_4c58_883c_ce2afb308d0b); -impl std::ops::Deref for IFilterTrackingSyncChangeBuilder { +impl core::ops::Deref for IFilterTrackingSyncChangeBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -884,7 +884,7 @@ pub struct IFilterTrackingSyncChangeBuilder_Vtbl { pub SetAllChangeUnitsPresentFlag: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IForgottenKnowledge, IForgottenKnowledge_Vtbl, 0x456e0f96_6036_452b_9f9d_bcc4b4a85db2); -impl std::ops::Deref for IForgottenKnowledge { +impl core::ops::Deref for IForgottenKnowledge { type Target = ISyncKnowledge; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -905,7 +905,7 @@ pub struct IForgottenKnowledge_Vtbl { pub ForgetToVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const SYNC_VERSION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKnowledgeSyncProvider, IKnowledgeSyncProvider_Vtbl, 0x43434a49_8da4_47f2_8172_ad7b8b024978); -impl std::ops::Deref for IKnowledgeSyncProvider { +impl core::ops::Deref for IKnowledgeSyncProvider { type Target = ISyncProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -969,7 +969,7 @@ pub struct IKnowledgeSyncProvider_Vtbl { pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILoadChangeContext, ILoadChangeContext_Vtbl, 0x44a4aaca_ec39_46d5_b5c9_d633c0ee67e2); -impl std::ops::Deref for ILoadChangeContext { +impl core::ops::Deref for ILoadChangeContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1003,7 +1003,7 @@ pub struct ILoadChangeContext_Vtbl { pub SetRecoverableErrorOnChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProviderConverter, IProviderConverter_Vtbl, 0x809b7276_98cf_4957_93a5_0ebdd3dddffd); -impl std::ops::Deref for IProviderConverter { +impl core::ops::Deref for IProviderConverter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1024,7 +1024,7 @@ pub struct IProviderConverter_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRangeException, IRangeException_Vtbl, 0x75ae8777_6848_49f7_956c_a3a92f5096e8); -impl std::ops::Deref for IRangeException { +impl core::ops::Deref for IRangeException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1050,7 +1050,7 @@ pub struct IRangeException_Vtbl { pub GetClockVector: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRecoverableError, IRecoverableError_Vtbl, 0x0f5625e8_0a7b_45ee_9637_1ce13645909e); -impl std::ops::Deref for IRecoverableError { +impl core::ops::Deref for IRecoverableError { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1088,7 +1088,7 @@ pub struct IRecoverableError_Vtbl { pub GetRecoverableErrorDataForChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRecoverableErrorData, IRecoverableErrorData_Vtbl, 0xb37c4a0a_4b7d_4c2d_9711_3b00d119b1c8); -impl std::ops::Deref for IRecoverableErrorData { +impl core::ops::Deref for IRecoverableErrorData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1124,7 +1124,7 @@ pub struct IRecoverableErrorData_Vtbl { pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRegisteredSyncProvider, IRegisteredSyncProvider_Vtbl, 0x913bcf76_47c1_40b5_a896_5e8a9c414c14); -impl std::ops::Deref for IRegisteredSyncProvider { +impl core::ops::Deref for IRegisteredSyncProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1158,7 +1158,7 @@ pub struct IRegisteredSyncProvider_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReplicaKeyMap, IReplicaKeyMap_Vtbl, 0x2209f4fc_fd10_4ff0_84a8_f0a1982e440e); -impl std::ops::Deref for IReplicaKeyMap { +impl core::ops::Deref for IReplicaKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1184,7 +1184,7 @@ pub struct IReplicaKeyMap_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRequestFilteredSync, IRequestFilteredSync_Vtbl, 0x2e020184_6d18_46a7_a32a_da4aeb06696c); -impl std::ops::Deref for IRequestFilteredSync { +impl core::ops::Deref for IRequestFilteredSync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1205,7 +1205,7 @@ pub struct IRequestFilteredSync_Vtbl { pub SpecifyFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISingleItemException, ISingleItemException_Vtbl, 0x892fb9b0_7c55_4a18_9316_fdf449569b64); -impl std::ops::Deref for ISingleItemException { +impl core::ops::Deref for ISingleItemException { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1227,7 +1227,7 @@ pub struct ISingleItemException_Vtbl { pub GetClockVector: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISupportFilteredSync, ISupportFilteredSync_Vtbl, 0x3d128ded_d555_4e0d_bf4b_fb213a8a9302); -impl std::ops::Deref for ISupportFilteredSync { +impl core::ops::Deref for ISupportFilteredSync { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1248,7 +1248,7 @@ pub struct ISupportFilteredSync_Vtbl { pub AddFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, FILTERING_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISupportLastWriteTime, ISupportLastWriteTime_Vtbl, 0xeadf816f_d0bd_43ca_8f40_5acdc6c06f7a); -impl std::ops::Deref for ISupportLastWriteTime { +impl core::ops::Deref for ISupportLastWriteTime { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1270,7 +1270,7 @@ pub struct ISupportLastWriteTime_Vtbl { pub GetChangeUnitChangeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *mut u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncCallback, ISyncCallback_Vtbl, 0x0599797f_5ed9_485c_ae36_0c5d1bf2e7a5); -impl std::ops::Deref for ISyncCallback { +impl core::ops::Deref for ISyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1313,7 +1313,7 @@ pub struct ISyncCallback_Vtbl { pub OnRecoverableError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncCallback2, ISyncCallback2_Vtbl, 0x47ce84af_7442_4ead_8630_12015e030ad7); -impl std::ops::Deref for ISyncCallback2 { +impl core::ops::Deref for ISyncCallback2 { type Target = ISyncCallback; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1335,7 +1335,7 @@ pub struct ISyncCallback2_Vtbl { pub OnChangeFailed: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChange, ISyncChange_Vtbl, 0xa1952beb_0f6b_4711_b136_01da85b968a6); -impl std::ops::Deref for ISyncChange { +impl core::ops::Deref for ISyncChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1392,7 +1392,7 @@ pub struct ISyncChange_Vtbl { pub SetWorkEstimate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBatch, ISyncChangeBatch_Vtbl, 0x70c64dee_380f_4c2e_8f70_31c55bd5f9b3); -impl std::ops::Deref for ISyncChangeBatch { +impl core::ops::Deref for ISyncChangeBatch { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1426,7 +1426,7 @@ pub struct ISyncChangeBatch_Vtbl { pub AddLoggedConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const SYNC_VERSION, *const SYNC_VERSION, u32, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBatch2, ISyncChangeBatch2_Vtbl, 0x225f4a33_f5ee_4cc7_b039_67a262b4b2ac); -impl std::ops::Deref for ISyncChangeBatch2 { +impl core::ops::Deref for ISyncChangeBatch2 { type Target = ISyncChangeBatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1453,7 +1453,7 @@ pub struct ISyncChangeBatch2_Vtbl { pub AddMergeTombstoneLoggedConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const u8, *const SYNC_VERSION, *const SYNC_VERSION, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBatchAdvanced, ISyncChangeBatchAdvanced_Vtbl, 0x0f1a4995_cbc8_421d_b550_5d0bebf3e9a5); -impl std::ops::Deref for ISyncChangeBatchAdvanced { +impl core::ops::Deref for ISyncChangeBatchAdvanced { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1485,7 +1485,7 @@ pub struct ISyncChangeBatchAdvanced_Vtbl { pub GetBatchLevelKnowledgeShouldBeApplied: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBatchBase, ISyncChangeBatchBase_Vtbl, 0x52f6e694_6a71_4494_a184_a8311bf5d227); -impl std::ops::Deref for ISyncChangeBatchBase { +impl core::ops::Deref for ISyncChangeBatchBase { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1563,7 +1563,7 @@ pub struct ISyncChangeBatchBase_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBatchBase2, ISyncChangeBatchBase2_Vtbl, 0x6fdb596a_d755_4584_bd0c_c0c23a548fbf); -impl std::ops::Deref for ISyncChangeBatchBase2 { +impl core::ops::Deref for ISyncChangeBatchBase2 { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1581,7 +1581,7 @@ pub struct ISyncChangeBatchBase2_Vtbl { pub SerializeWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, SYNC_SERIALIZATION_VERSION, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBatchWithFilterKeyMap, ISyncChangeBatchWithFilterKeyMap_Vtbl, 0xde247002_566d_459a_a6ed_a5aab3459fb7); -impl std::ops::Deref for ISyncChangeBatchWithFilterKeyMap { +impl core::ops::Deref for ISyncChangeBatchWithFilterKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1659,7 +1659,7 @@ pub struct ISyncChangeBatchWithFilterKeyMap_Vtbl { pub GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBatchWithPrerequisite, ISyncChangeBatchWithPrerequisite_Vtbl, 0x097f13be_5b92_4048_b3f2_7b42a2515e07); -impl std::ops::Deref for ISyncChangeBatchWithPrerequisite { +impl core::ops::Deref for ISyncChangeBatchWithPrerequisite { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1693,7 +1693,7 @@ pub struct ISyncChangeBatchWithPrerequisite_Vtbl { pub GetLearnedForgottenKnowledge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeBuilder, ISyncChangeBuilder_Vtbl, 0x56f14771_8677_484f_a170_e386e418a676); -impl std::ops::Deref for ISyncChangeBuilder { +impl core::ops::Deref for ISyncChangeBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1711,7 +1711,7 @@ pub struct ISyncChangeBuilder_Vtbl { pub AddChangeUnitMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const SYNC_VERSION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeUnit, ISyncChangeUnit_Vtbl, 0x60edd8ca_7341_4bb7_95ce_fab6394b51cb); -impl std::ops::Deref for ISyncChangeUnit { +impl core::ops::Deref for ISyncChangeUnit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1738,7 +1738,7 @@ pub struct ISyncChangeUnit_Vtbl { pub GetChangeUnitVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut SYNC_VERSION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeWithFilterKeyMap, ISyncChangeWithFilterKeyMap_Vtbl, 0xbfe1ef00_e87d_42fd_a4e9_242d70414aef); -impl std::ops::Deref for ISyncChangeWithFilterKeyMap { +impl core::ops::Deref for ISyncChangeWithFilterKeyMap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1814,7 +1814,7 @@ pub struct ISyncChangeWithFilterKeyMap_Vtbl { pub GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncChangeWithPrerequisite, ISyncChangeWithPrerequisite_Vtbl, 0x9e38382f_1589_48c3_92e4_05ecdcb4f3f7); -impl std::ops::Deref for ISyncChangeWithPrerequisite { +impl core::ops::Deref for ISyncChangeWithPrerequisite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1841,7 +1841,7 @@ pub struct ISyncChangeWithPrerequisite_Vtbl { pub GetLearnedKnowledgeWithPrerequisite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncConstraintCallback, ISyncConstraintCallback_Vtbl, 0x8af3843e_75b3_438c_bb51_6f020d70d3cb); -impl std::ops::Deref for ISyncConstraintCallback { +impl core::ops::Deref for ISyncConstraintCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1862,7 +1862,7 @@ pub struct ISyncConstraintCallback_Vtbl { pub OnConstraintConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncDataConverter, ISyncDataConverter_Vtbl, 0x435d4861_68d5_44aa_a0f9_72a0b00ef9cf); -impl std::ops::Deref for ISyncDataConverter { +impl core::ops::Deref for ISyncDataConverter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1912,7 +1912,7 @@ pub struct ISyncDataConverter_Vtbl { pub ConvertDataToProviderFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncFilter, ISyncFilter_Vtbl, 0x087a3f15_0fcb_44c1_9639_53c14e2b5506); -impl std::ops::Deref for ISyncFilter { +impl core::ops::Deref for ISyncFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1937,7 +1937,7 @@ pub struct ISyncFilter_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncFilterDeserializer, ISyncFilterDeserializer_Vtbl, 0xb45b7a72_e5c7_46be_9c82_77b8b15dab8a); -impl std::ops::Deref for ISyncFilterDeserializer { +impl core::ops::Deref for ISyncFilterDeserializer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1956,7 +1956,7 @@ pub struct ISyncFilterDeserializer_Vtbl { pub DeserializeSyncFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncFilterInfo, ISyncFilterInfo_Vtbl, 0x794eaaf8_3f2e_47e6_9728_17e6fcf94cb7); -impl std::ops::Deref for ISyncFilterInfo { +impl core::ops::Deref for ISyncFilterInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1974,7 +1974,7 @@ pub struct ISyncFilterInfo_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncFilterInfo2, ISyncFilterInfo2_Vtbl, 0x19b394ba_e3d0_468c_934d_321968b2ab34); -impl std::ops::Deref for ISyncFilterInfo2 { +impl core::ops::Deref for ISyncFilterInfo2 { type Target = ISyncFilterInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1992,7 +1992,7 @@ pub struct ISyncFilterInfo2_Vtbl { pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncFullEnumerationChange, ISyncFullEnumerationChange_Vtbl, 0x9785e0bd_bdff_40c4_98c5_b34b2f1991b3); -impl std::ops::Deref for ISyncFullEnumerationChange { +impl core::ops::Deref for ISyncFullEnumerationChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2016,7 +2016,7 @@ pub struct ISyncFullEnumerationChange_Vtbl { pub GetLearnedForgottenKnowledge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncFullEnumerationChangeBatch, ISyncFullEnumerationChangeBatch_Vtbl, 0xef64197d_4f44_4ea2_b355_4524713e3bed); -impl std::ops::Deref for ISyncFullEnumerationChangeBatch { +impl core::ops::Deref for ISyncFullEnumerationChangeBatch { type Target = ISyncChangeBatchBase; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2043,7 +2043,7 @@ pub struct ISyncFullEnumerationChangeBatch_Vtbl { pub GetClosedUpperBoundItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncFullEnumerationChangeBatch2, ISyncFullEnumerationChangeBatch2_Vtbl, 0xe06449f4_a205_4b65_9724_01b22101eec1); -impl std::ops::Deref for ISyncFullEnumerationChangeBatch2 { +impl core::ops::Deref for ISyncFullEnumerationChangeBatch2 { type Target = ISyncFullEnumerationChangeBatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2062,7 +2062,7 @@ pub struct ISyncFullEnumerationChangeBatch2_Vtbl { pub AddMergeTombstoneMetadataToGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const u8, *const SYNC_VERSION, *const SYNC_VERSION, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncKnowledge, ISyncKnowledge_Vtbl, 0x615bbb53_c945_4203_bf4b_2cb65919a0aa); -impl std::ops::Deref for ISyncKnowledge { +impl core::ops::Deref for ISyncKnowledge { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2193,7 +2193,7 @@ pub struct ISyncKnowledge_Vtbl { pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncKnowledge2, ISyncKnowledge2_Vtbl, 0xed0addc0_3b4b_46a1_9a45_45661d2114c8); -impl std::ops::Deref for ISyncKnowledge2 { +impl core::ops::Deref for ISyncKnowledge2 { type Target = ISyncKnowledge; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2289,7 +2289,7 @@ pub struct ISyncKnowledge2_Vtbl { pub CompareToKnowledgeCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut KNOWLEDGE_COOKIE_COMPARISON_RESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMergeTombstoneChange, ISyncMergeTombstoneChange_Vtbl, 0x6ec62597_0903_484c_ad61_36d6e938f47b); -impl std::ops::Deref for ISyncMergeTombstoneChange { +impl core::ops::Deref for ISyncMergeTombstoneChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2307,7 +2307,7 @@ pub struct ISyncMergeTombstoneChange_Vtbl { pub GetWinnerItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncProvider, ISyncProvider_Vtbl, 0x8f657056_2bce_4a17_8c68_c7bb7898b56f); -impl std::ops::Deref for ISyncProvider { +impl core::ops::Deref for ISyncProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2325,7 +2325,7 @@ pub struct ISyncProvider_Vtbl { pub GetIdParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ID_PARAMETERS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncProviderConfigUI, ISyncProviderConfigUI_Vtbl, 0x7b0705f6_cbcd_4071_ab05_3bdc364d4a0c); -impl std::ops::Deref for ISyncProviderConfigUI { +impl core::ops::Deref for ISyncProviderConfigUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2387,7 +2387,7 @@ pub struct ISyncProviderConfigUI_Vtbl { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] windows_core::imp::define_interface!(ISyncProviderConfigUIInfo, ISyncProviderConfigUIInfo_Vtbl, 0x214141ae_33d7_4d8d_8e37_f227e880ce50); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl std::ops::Deref for ISyncProviderConfigUIInfo { +impl core::ops::Deref for ISyncProviderConfigUIInfo { type Target = super::super::UI::Shell::PropertiesSystem::IPropertyStore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2411,7 +2411,7 @@ pub struct ISyncProviderConfigUIInfo_Vtbl { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] windows_core::imp::define_interface!(ISyncProviderInfo, ISyncProviderInfo_Vtbl, 0x1ee135de_88a4_4504_b0d0_f7920d7e5ba6); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -impl std::ops::Deref for ISyncProviderInfo { +impl core::ops::Deref for ISyncProviderInfo { type Target = super::super::UI::Shell::PropertiesSystem::IPropertyStore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2433,7 +2433,7 @@ pub struct ISyncProviderInfo_Vtbl { pub GetSyncProvider: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncProviderRegistration, ISyncProviderRegistration_Vtbl, 0xcb45953b_7624_47bc_a472_eb8cac6b222e); -impl std::ops::Deref for ISyncProviderRegistration { +impl core::ops::Deref for ISyncProviderRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2548,7 +2548,7 @@ pub struct ISyncProviderRegistration_Vtbl { pub GetChange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncRegistrationChange, ISyncRegistrationChange_Vtbl, 0xeea0d9ae_6b29_43b4_9e70_e3ae33bb2c3b); -impl std::ops::Deref for ISyncRegistrationChange { +impl core::ops::Deref for ISyncRegistrationChange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2572,7 +2572,7 @@ pub struct ISyncRegistrationChange_Vtbl { pub GetInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncSessionExtendedErrorInfo, ISyncSessionExtendedErrorInfo_Vtbl, 0x326c6810_790a_409b_b741_6999388761eb); -impl std::ops::Deref for ISyncSessionExtendedErrorInfo { +impl core::ops::Deref for ISyncSessionExtendedErrorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2591,7 +2591,7 @@ pub struct ISyncSessionExtendedErrorInfo_Vtbl { pub GetSyncProviderWithError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncSessionState, ISyncSessionState_Vtbl, 0xb8a940fe_9f01_483b_9434_c37d361225d9); -impl std::ops::Deref for ISyncSessionState { +impl core::ops::Deref for ISyncSessionState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2633,7 +2633,7 @@ pub struct ISyncSessionState_Vtbl { pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, SYNC_PROVIDER_ROLE, SYNC_PROGRESS_STAGE, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncSessionState2, ISyncSessionState2_Vtbl, 0x9e37cfa3_9e38_4c61_9ca3_ffe810b45ca2); -impl std::ops::Deref for ISyncSessionState2 { +impl core::ops::Deref for ISyncSessionState2 { type Target = ISyncSessionState; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2658,7 +2658,7 @@ pub struct ISyncSessionState2_Vtbl { pub GetSessionErrorStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronousDataRetriever, ISynchronousDataRetriever_Vtbl, 0x9b22f2a9_a4cd_4648_9d8e_3a510d4da04b); -impl std::ops::Deref for ISynchronousDataRetriever { +impl core::ops::Deref for ISynchronousDataRetriever { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs index dc695b5a5b..b66ac1b649 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn MI_Application_InitializeV1(flags: u32, applicationid: Option<*con MI_Application_InitializeV1(flags, core::mem::transmute(applicationid.unwrap_or(std::ptr::null())), core::mem::transmute(extendederror.unwrap_or(std::ptr::null_mut())), application) } windows_core::imp::define_interface!(IEnumWbemClassObject, IEnumWbemClassObject_Vtbl, 0x027947e1_d731_11ce_a357_000000000001); -impl std::ops::Deref for IEnumWbemClassObject { +impl core::ops::Deref for IEnumWbemClassObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -42,7 +42,7 @@ pub struct IEnumWbemClassObject_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMofCompiler, IMofCompiler_Vtbl, 0x6daf974e_2e37_11d2_aec9_00c04fb68820); -impl std::ops::Deref for IMofCompiler { +impl core::ops::Deref for IMofCompiler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -88,7 +88,7 @@ pub struct IMofCompiler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemDateTime, ISWbemDateTime_Vtbl, 0x5e97458a_cf77_11d3_b38f_00105a1f473a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemDateTime { +impl core::ops::Deref for ISWbemDateTime { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -330,7 +330,7 @@ pub struct ISWbemDateTime_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemEventSource, ISWbemEventSource_Vtbl, 0x27d54d92_0ebe_11d2_8b22_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemEventSource { +impl core::ops::Deref for ISWbemEventSource { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -367,7 +367,7 @@ pub struct ISWbemEventSource_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemLastError, ISWbemLastError_Vtbl, 0xd962db84_d4bb_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemLastError { +impl core::ops::Deref for ISWbemLastError { type Target = ISWbemObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -385,7 +385,7 @@ pub struct ISWbemLastError_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemLocator, ISWbemLocator_Vtbl, 0x76a6415b_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemLocator { +impl core::ops::Deref for ISWbemLocator { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -431,7 +431,7 @@ pub struct ISWbemLocator_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemMethod, ISWbemMethod_Vtbl, 0x422e8e90_d955_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemMethod { +impl core::ops::Deref for ISWbemMethod { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -487,7 +487,7 @@ pub struct ISWbemMethod_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemMethodSet, ISWbemMethodSet_Vtbl, 0xc93ba292_d955_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemMethodSet { +impl core::ops::Deref for ISWbemMethodSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -528,7 +528,7 @@ pub struct ISWbemMethodSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemNamedValue, ISWbemNamedValue_Vtbl, 0x76a64164_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemNamedValue { +impl core::ops::Deref for ISWbemNamedValue { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -561,7 +561,7 @@ pub struct ISWbemNamedValue_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemNamedValueSet, ISWbemNamedValueSet_Vtbl, 0xcf2376ea_ce8c_11d1_8b05_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemNamedValueSet { +impl core::ops::Deref for ISWbemNamedValueSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -634,7 +634,7 @@ pub struct ISWbemNamedValueSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemObject, ISWbemObject_Vtbl, 0x76a6415a_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemObject { +impl core::ops::Deref for ISWbemObject { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -951,7 +951,7 @@ pub struct ISWbemObject_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemObjectEx, ISWbemObjectEx_Vtbl, 0x269ad56a_8a67_4129_bc8c_0506dcfe9880); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemObjectEx { +impl core::ops::Deref for ISWbemObjectEx { type Target = ISWbemObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1014,7 +1014,7 @@ pub struct ISWbemObjectEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemObjectPath, ISWbemObjectPath_Vtbl, 0x5791bc27_ce9c_11d1_97bf_0000f81e849c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemObjectPath { +impl core::ops::Deref for ISWbemObjectPath { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1170,7 +1170,7 @@ pub struct ISWbemObjectPath_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemObjectSet, ISWbemObjectSet_Vtbl, 0x76a6415f_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemObjectSet { +impl core::ops::Deref for ISWbemObjectSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1229,7 +1229,7 @@ pub struct ISWbemObjectSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemPrivilege, ISWbemPrivilege_Vtbl, 0x26ee67bd_5804_11d2_8b4a_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemPrivilege { +impl core::ops::Deref for ISWbemPrivilege { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1275,7 +1275,7 @@ pub struct ISWbemPrivilege_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemPrivilegeSet, ISWbemPrivilegeSet_Vtbl, 0x26ee67bf_5804_11d2_8b4a_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemPrivilegeSet { +impl core::ops::Deref for ISWbemPrivilegeSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1346,7 +1346,7 @@ pub struct ISWbemPrivilegeSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemProperty, ISWbemProperty_Vtbl, 0x1a388f98_d4ba_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemProperty { +impl core::ops::Deref for ISWbemProperty { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1408,7 +1408,7 @@ pub struct ISWbemProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemPropertySet, ISWbemPropertySet_Vtbl, 0xdea0a7b2_d4ba_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemPropertySet { +impl core::ops::Deref for ISWbemPropertySet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1469,7 +1469,7 @@ pub struct ISWbemPropertySet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemQualifier, ISWbemQualifier_Vtbl, 0x79b05932_d3b7_11d1_8b06_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemQualifier { +impl core::ops::Deref for ISWbemQualifier { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1548,7 +1548,7 @@ pub struct ISWbemQualifier_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemQualifierSet, ISWbemQualifierSet_Vtbl, 0x9b16ed16_d3df_11d1_8b08_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemQualifierSet { +impl core::ops::Deref for ISWbemQualifierSet { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1611,7 +1611,7 @@ pub struct ISWbemQualifierSet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemRefreshableItem, ISWbemRefreshableItem_Vtbl, 0x5ad4bf92_daab_11d3_b38f_00105a1f473a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemRefreshableItem { +impl core::ops::Deref for ISWbemRefreshableItem { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1671,7 +1671,7 @@ pub struct ISWbemRefreshableItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemRefresher, ISWbemRefresher_Vtbl, 0x14d8250e_d9c2_11d3_b38f_00105a1f473a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemRefresher { +impl core::ops::Deref for ISWbemRefresher { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1761,7 +1761,7 @@ pub struct ISWbemRefresher_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemSecurity, ISWbemSecurity_Vtbl, 0xb54d66e6_2287_11d2_8b33_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemSecurity { +impl core::ops::Deref for ISWbemSecurity { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1807,7 +1807,7 @@ pub struct ISWbemSecurity_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemServices, ISWbemServices_Vtbl, 0x76a6415c_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemServices { +impl core::ops::Deref for ISWbemServices { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2111,7 +2111,7 @@ pub struct ISWbemServices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemServicesEx, ISWbemServicesEx_Vtbl, 0xd2f68443_85dc_427e_91d8_366554cc754c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemServicesEx { +impl core::ops::Deref for ISWbemServicesEx { type Target = ISWbemServices; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2157,7 +2157,7 @@ pub struct ISWbemServicesEx_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemSink, ISWbemSink_Vtbl, 0x75718c9f_f029_11d1_a1ac_00c04fb6c223); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemSink { +impl core::ops::Deref for ISWbemSink { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2180,7 +2180,7 @@ pub struct ISWbemSink_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISWbemSinkEvents, ISWbemSinkEvents_Vtbl, 0x75718ca0_f029_11d1_a1ac_00c04fb6c223); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISWbemSinkEvents { +impl core::ops::Deref for ISWbemSinkEvents { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2196,7 +2196,7 @@ pub struct ISWbemSinkEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IUnsecuredApartment, IUnsecuredApartment_Vtbl, 0x1cfaba8c_1523_11d1_ad79_00c04fd8fdff); -impl std::ops::Deref for IUnsecuredApartment { +impl core::ops::Deref for IUnsecuredApartment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2220,7 +2220,7 @@ pub struct IUnsecuredApartment_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWMIExtension, IWMIExtension_Vtbl, 0xadc1f06e_5c7e_11d2_8b74_00104b2afb41); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWMIExtension { +impl core::ops::Deref for IWMIExtension { type Target = super::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2260,7 +2260,7 @@ pub struct IWMIExtension_Vtbl { GetWMIServices: usize, } windows_core::imp::define_interface!(IWbemAddressResolution, IWbemAddressResolution_Vtbl, 0xf7ce2e12_8c90_11d1_9e7b_00c04fc324a8); -impl std::ops::Deref for IWbemAddressResolution { +impl core::ops::Deref for IWbemAddressResolution { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2281,7 +2281,7 @@ pub struct IWbemAddressResolution_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PWSTR, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemBackupRestore, IWbemBackupRestore_Vtbl, 0xc49e32c7_bc8b_11d2_85d4_00105a1f8304); -impl std::ops::Deref for IWbemBackupRestore { +impl core::ops::Deref for IWbemBackupRestore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2309,7 +2309,7 @@ pub struct IWbemBackupRestore_Vtbl { pub Restore: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemBackupRestoreEx, IWbemBackupRestoreEx_Vtbl, 0xa359dec5_e813_4834_8a2a_ba7f1d777d76); -impl std::ops::Deref for IWbemBackupRestoreEx { +impl core::ops::Deref for IWbemBackupRestoreEx { type Target = IWbemBackupRestore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2331,7 +2331,7 @@ pub struct IWbemBackupRestoreEx_Vtbl { pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemCallResult, IWbemCallResult_Vtbl, 0x44aca675_e8fc_11d0_a07c_00c04fb68820); -impl std::ops::Deref for IWbemCallResult { +impl core::ops::Deref for IWbemCallResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2365,7 +2365,7 @@ pub struct IWbemCallResult_Vtbl { pub GetCallStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemClassObject, IWbemClassObject_Vtbl, 0xdc12a681_737f_11cf_884d_00aa004b2e24); -impl std::ops::Deref for IWbemClassObject { +impl core::ops::Deref for IWbemClassObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2530,7 +2530,7 @@ pub struct IWbemClassObject_Vtbl { pub GetMethodOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemClientConnectionTransport, IWbemClientConnectionTransport_Vtbl, 0xa889c72a_fcc1_4a9e_af61_ed071333fb5b); -impl std::ops::Deref for IWbemClientConnectionTransport { +impl core::ops::Deref for IWbemClientConnectionTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2548,7 +2548,7 @@ impl IWbemClientConnectionTransport { P5: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Open)(windows_core::Interface::as_raw(self), straddresstype.param().abi(), abbinaryaddress.len().try_into().unwrap(), core::mem::transmute(abbinaryaddress.as_ptr()), strobject.param().abi(), struser.param().abi(), strpassword.param().abi(), strlocale.param().abi(), lflags, pctx.param().abi(), &T::IID, &mut result__, core::mem::transmute(pcallres)).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn OpenAsync(&self, straddresstype: P0, abbinaryaddress: &[u8], strobject: P1, struser: P2, strpassword: P3, strlocale: P4, lflags: i32, pctx: P5, riid: *const windows_core::GUID, presponsehandler: P6) -> windows_core::Result<()> @@ -2578,7 +2578,7 @@ pub struct IWbemClientConnectionTransport_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemClientTransport, IWbemClientTransport_Vtbl, 0xf7ce2e11_8c90_11d1_9e7b_00c04fc324a8); -impl std::ops::Deref for IWbemClientTransport { +impl core::ops::Deref for IWbemClientTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2606,7 +2606,7 @@ pub struct IWbemClientTransport_Vtbl { pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, u32, *const u8, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemConfigureRefresher, IWbemConfigureRefresher_Vtbl, 0x49353c92_516b_11d1_aea6_00c04fb68820); -impl std::ops::Deref for IWbemConfigureRefresher { +impl core::ops::Deref for IWbemConfigureRefresher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2658,7 +2658,7 @@ pub struct IWbemConfigureRefresher_Vtbl { pub AddEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemConnectorLogin, IWbemConnectorLogin_Vtbl, 0xd8ec9cb1_b135_4f10_8b1b_c7188bb0d186); -impl std::ops::Deref for IWbemConnectorLogin { +impl core::ops::Deref for IWbemConnectorLogin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2673,7 +2673,7 @@ impl IWbemConnectorLogin { P2: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ConnectorLogin)(windows_core::Interface::as_raw(self), wsznetworkresource.param().abi(), wszpreferredlocale.param().abi(), lflags, pctx.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -2683,7 +2683,7 @@ pub struct IWbemConnectorLogin_Vtbl { pub ConnectorLogin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemConstructClassObject, IWbemConstructClassObject_Vtbl, 0x9ef76194_70d5_11d1_ad90_00c04fd8fdff); -impl std::ops::Deref for IWbemConstructClassObject { +impl core::ops::Deref for IWbemConstructClassObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2723,7 +2723,7 @@ pub struct IWbemConstructClassObject_Vtbl { pub SetServerNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemContext, IWbemContext_Vtbl, 0x44aca674_e8fc_11d0_a07c_00c04fb68820); -impl std::ops::Deref for IWbemContext { +impl core::ops::Deref for IWbemContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2789,7 +2789,7 @@ pub struct IWbemContext_Vtbl { pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemDecoupledBasicEventProvider, IWbemDecoupledBasicEventProvider_Vtbl, 0x86336d20_ca11_4786_9ef1_bc8a946b42fc); -impl std::ops::Deref for IWbemDecoupledBasicEventProvider { +impl core::ops::Deref for IWbemDecoupledBasicEventProvider { type Target = IWbemDecoupledRegistrar; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2819,7 +2819,7 @@ pub struct IWbemDecoupledBasicEventProvider_Vtbl { pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemDecoupledRegistrar, IWbemDecoupledRegistrar_Vtbl, 0x1005cbcf_e64f_4646_bcd3_3a089d8a84b4); -impl std::ops::Deref for IWbemDecoupledRegistrar { +impl core::ops::Deref for IWbemDecoupledRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2849,7 +2849,7 @@ pub struct IWbemDecoupledRegistrar_Vtbl { pub UnRegister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemEventConsumerProvider, IWbemEventConsumerProvider_Vtbl, 0xe246107a_b06e_11d0_ad61_00c04fd8fdff); -impl std::ops::Deref for IWbemEventConsumerProvider { +impl core::ops::Deref for IWbemEventConsumerProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2871,7 +2871,7 @@ pub struct IWbemEventConsumerProvider_Vtbl { pub FindConsumer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemEventProvider, IWbemEventProvider_Vtbl, 0xe245105b_b06e_11d0_ad61_00c04fd8fdff); -impl std::ops::Deref for IWbemEventProvider { +impl core::ops::Deref for IWbemEventProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2892,7 +2892,7 @@ pub struct IWbemEventProvider_Vtbl { pub ProvideEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemEventProviderQuerySink, IWbemEventProviderQuerySink_Vtbl, 0x580acaf8_fa1c_11d0_ad72_00c04fd8fdff); -impl std::ops::Deref for IWbemEventProviderQuerySink { +impl core::ops::Deref for IWbemEventProviderQuerySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2914,7 +2914,7 @@ pub struct IWbemEventProviderQuerySink_Vtbl { pub CancelQuery: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemEventProviderSecurity, IWbemEventProviderSecurity_Vtbl, 0x631f7d96_d993_11d2_b339_00105a1f4aaf); -impl std::ops::Deref for IWbemEventProviderSecurity { +impl core::ops::Deref for IWbemEventProviderSecurity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2932,7 +2932,7 @@ pub struct IWbemEventProviderSecurity_Vtbl { pub AccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *const u16, i32, *const u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemEventSink, IWbemEventSink_Vtbl, 0x3ae0080a_7e3a_4366_bf89_0feedc931659); -impl std::ops::Deref for IWbemEventSink { +impl core::ops::Deref for IWbemEventSink { type Target = IWbemObjectSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2966,7 +2966,7 @@ pub struct IWbemEventSink_Vtbl { pub SetBatchingParameters: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemHiPerfEnum, IWbemHiPerfEnum_Vtbl, 0x2705c288_79ae_11d2_b348_00105a1f8177); -impl std::ops::Deref for IWbemHiPerfEnum { +impl core::ops::Deref for IWbemHiPerfEnum { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2996,7 +2996,7 @@ pub struct IWbemHiPerfEnum_Vtbl { pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemHiPerfProvider, IWbemHiPerfProvider_Vtbl, 0x49353c93_516b_11d1_aea6_00c04fb68820); -impl std::ops::Deref for IWbemHiPerfProvider { +impl core::ops::Deref for IWbemHiPerfProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3065,7 +3065,7 @@ pub struct IWbemHiPerfProvider_Vtbl { pub GetObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemLevel1Login, IWbemLevel1Login_Vtbl, 0xf309ad18_d86a_11d0_a075_00c04fb68820); -impl std::ops::Deref for IWbemLevel1Login { +impl core::ops::Deref for IWbemLevel1Login { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3115,7 +3115,7 @@ pub struct IWbemLevel1Login_Vtbl { pub NTLMLogin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemLocator, IWbemLocator_Vtbl, 0xdc12a687_737f_11cf_884d_00aa004b2e24); -impl std::ops::Deref for IWbemLocator { +impl core::ops::Deref for IWbemLocator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3142,7 +3142,7 @@ pub struct IWbemLocator_Vtbl { pub ConnectServer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, i32, core::mem::MaybeUninit, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemObjectAccess, IWbemObjectAccess_Vtbl, 0x49353c9a_516b_11d1_aea6_00c04fb68820); -impl std::ops::Deref for IWbemObjectAccess { +impl core::ops::Deref for IWbemObjectAccess { type Target = IWbemClassObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3201,7 +3201,7 @@ pub struct IWbemObjectAccess_Vtbl { pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemObjectSink, IWbemObjectSink_Vtbl, 0x7c857801_7381_11cf_884d_00aa004b2e24); -impl std::ops::Deref for IWbemObjectSink { +impl core::ops::Deref for IWbemObjectSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3227,7 +3227,7 @@ pub struct IWbemObjectSink_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, windows_core::HRESULT, core::mem::MaybeUninit, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemObjectSinkEx, IWbemObjectSinkEx_Vtbl, 0xe7d35cfa_348b_485e_b524_252725d697ca); -impl std::ops::Deref for IWbemObjectSinkEx { +impl core::ops::Deref for IWbemObjectSinkEx { type Target = IWbemObjectSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3280,7 +3280,7 @@ pub struct IWbemObjectSinkEx_Vtbl { pub WriteStreamParameter: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *const core::mem::MaybeUninit, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemObjectTextSrc, IWbemObjectTextSrc_Vtbl, 0xbfbf883a_cad7_11d3_a11b_00105a1f515a); -impl std::ops::Deref for IWbemObjectTextSrc { +impl core::ops::Deref for IWbemObjectTextSrc { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3312,7 +3312,7 @@ pub struct IWbemObjectTextSrc_Vtbl { pub CreateFromText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemPath, IWbemPath_Vtbl, 0x3bc15af2_736c_477e_9e51_238af8667dcc); -impl std::ops::Deref for IWbemPath { +impl core::ops::Deref for IWbemPath { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3469,7 +3469,7 @@ pub struct IWbemPath_Vtbl { pub IsSameClassName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> super::super::Foundation::BOOL, } windows_core::imp::define_interface!(IWbemPathKeyList, IWbemPathKeyList_Vtbl, 0x9ae62877_7544_4bb0_aa26_a13824659ed6); -impl std::ops::Deref for IWbemPathKeyList { +impl core::ops::Deref for IWbemPathKeyList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3534,7 +3534,7 @@ pub struct IWbemPathKeyList_Vtbl { pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut u32, windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemPropertyProvider, IWbemPropertyProvider_Vtbl, 0xce61e841_65bc_11d0_b6bd_00aa003240c7); -impl std::ops::Deref for IWbemPropertyProvider { +impl core::ops::Deref for IWbemPropertyProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3569,7 +3569,7 @@ pub struct IWbemPropertyProvider_Vtbl { pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemProviderIdentity, IWbemProviderIdentity_Vtbl, 0x631f7d97_d993_11d2_b339_00105a1f4aaf); -impl std::ops::Deref for IWbemProviderIdentity { +impl core::ops::Deref for IWbemProviderIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3590,7 +3590,7 @@ pub struct IWbemProviderIdentity_Vtbl { pub SetRegistrationObject: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemProviderInit, IWbemProviderInit_Vtbl, 0x1be41572_91dd_11d1_aeb2_00c04fb68820); -impl std::ops::Deref for IWbemProviderInit { +impl core::ops::Deref for IWbemProviderInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3616,7 +3616,7 @@ pub struct IWbemProviderInit_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemProviderInitSink, IWbemProviderInitSink_Vtbl, 0x1be41571_91dd_11d1_aeb2_00c04fb68820); -impl std::ops::Deref for IWbemProviderInitSink { +impl core::ops::Deref for IWbemProviderInitSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3634,7 +3634,7 @@ pub struct IWbemProviderInitSink_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemQualifierSet, IWbemQualifierSet_Vtbl, 0xdc12a680_737f_11cf_884d_00aa004b2e24); -impl std::ops::Deref for IWbemQualifierSet { +impl core::ops::Deref for IWbemQualifierSet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3690,7 +3690,7 @@ pub struct IWbemQualifierSet_Vtbl { pub EndEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemQuery, IWbemQuery_Vtbl, 0x81166f58_dd98_11d3_a120_00105a1f515a); -impl std::ops::Deref for IWbemQuery { +impl core::ops::Deref for IWbemQuery { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3736,7 +3736,7 @@ pub struct IWbemQuery_Vtbl { pub GetQueryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemRefresher, IWbemRefresher_Vtbl, 0x49353c99_516b_11d1_aea6_00c04fb68820); -impl std::ops::Deref for IWbemRefresher { +impl core::ops::Deref for IWbemRefresher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3754,7 +3754,7 @@ pub struct IWbemRefresher_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemServices, IWbemServices_Vtbl, 0x9556dc99_828c_11cf_a37e_00aa003240c7); -impl std::ops::Deref for IWbemServices { +impl core::ops::Deref for IWbemServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3970,7 +3970,7 @@ pub struct IWbemServices_Vtbl { pub ExecMethodAsync: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, WBEM_GENERIC_FLAG_TYPE, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemShutdown, IWbemShutdown_Vtbl, 0xb7b31df9_d515_11d3_a11c_00105a1f515a); -impl std::ops::Deref for IWbemShutdown { +impl core::ops::Deref for IWbemShutdown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3991,7 +3991,7 @@ pub struct IWbemShutdown_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemStatusCodeText, IWbemStatusCodeText_Vtbl, 0xeb87e1bc_3233_11d2_aec9_00c04fb68820); -impl std::ops::Deref for IWbemStatusCodeText { +impl core::ops::Deref for IWbemStatusCodeText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4015,7 +4015,7 @@ pub struct IWbemStatusCodeText_Vtbl { pub GetFacilityCodeText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemTransport, IWbemTransport_Vtbl, 0x553fe584_2156_11d0_b6ae_00aa003240c7); -impl std::ops::Deref for IWbemTransport { +impl core::ops::Deref for IWbemTransport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4033,7 +4033,7 @@ pub struct IWbemTransport_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemUnboundObjectSink, IWbemUnboundObjectSink_Vtbl, 0xe246107b_b06e_11d0_ad61_00c04fd8fdff); -impl std::ops::Deref for IWbemUnboundObjectSink { +impl core::ops::Deref for IWbemUnboundObjectSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4054,7 +4054,7 @@ pub struct IWbemUnboundObjectSink_Vtbl { pub IndicateToConsumer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWbemUnsecuredApartment, IWbemUnsecuredApartment_Vtbl, 0x31739d04_3471_4cf4_9a7c_57a44ae71956); -impl std::ops::Deref for IWbemUnsecuredApartment { +impl core::ops::Deref for IWbemUnsecuredApartment { type Target = IUnsecuredApartment; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs index 6bb1f18ad4..8c7eb93cd2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -983,7 +983,7 @@ where WindowPattern_WaitForInputIdle(hobj.param().abi(), milliseconds, presult).ok() } windows_core::imp::define_interface!(IAccIdentity, IAccIdentity_Vtbl, 0x7852b78d_1cfd_41c1_a615_9c0c85960b5f); -impl std::ops::Deref for IAccIdentity { +impl core::ops::Deref for IAccIdentity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1001,7 +1001,7 @@ pub struct IAccIdentity_Vtbl { pub GetIdentityString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccPropServer, IAccPropServer_Vtbl, 0x76c0dbbb_15e0_4e7b_b61b_20eeea2001e0); -impl std::ops::Deref for IAccPropServer { +impl core::ops::Deref for IAccPropServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1019,7 +1019,7 @@ pub struct IAccPropServer_Vtbl { pub GetPropValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, windows_core::GUID, *mut core::mem::MaybeUninit, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccPropServices, IAccPropServices_Vtbl, 0x6e26e776_04f0_495d_80e4_3330352e3169); -impl std::ops::Deref for IAccPropServices { +impl core::ops::Deref for IAccPropServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1161,7 +1161,7 @@ pub struct IAccPropServices_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAccessible, IAccessible_Vtbl, 0x618736e0_3c3d_11cf_810c_00aa00389b71); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAccessible { +impl core::ops::Deref for IAccessible { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1336,7 +1336,7 @@ pub struct IAccessible_Vtbl { pub put_accValue: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessibleEx, IAccessibleEx_Vtbl, 0xf8b80ada_2c44_48d0_89be_5ff23c9cd875); -impl std::ops::Deref for IAccessibleEx { +impl core::ops::Deref for IAccessibleEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1380,7 +1380,7 @@ pub struct IAccessibleEx_Vtbl { pub ConvertReturnedElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessibleHandler, IAccessibleHandler_Vtbl, 0x03022430_abc4_11d0_bde2_00aa001a1953); -impl std::ops::Deref for IAccessibleHandler { +impl core::ops::Deref for IAccessibleHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1403,7 +1403,7 @@ pub struct IAccessibleHandler_Vtbl { AccessibleObjectFromID: usize, } windows_core::imp::define_interface!(IAccessibleHostingElementProviders, IAccessibleHostingElementProviders_Vtbl, 0x33ac331b_943e_4020_b295_db37784974a3); -impl std::ops::Deref for IAccessibleHostingElementProviders { +impl core::ops::Deref for IAccessibleHostingElementProviders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1434,7 +1434,7 @@ pub struct IAccessibleHostingElementProviders_Vtbl { pub GetObjectIdForProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessibleWindowlessSite, IAccessibleWindowlessSite_Vtbl, 0xbf3abd9c_76da_4389_9eb6_1427d25abab7); -impl std::ops::Deref for IAccessibleWindowlessSite { +impl core::ops::Deref for IAccessibleWindowlessSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1484,7 +1484,7 @@ pub struct IAccessibleWindowlessSite_Vtbl { GetParentAccessible: usize, } windows_core::imp::define_interface!(IAnnotationProvider, IAnnotationProvider_Vtbl, 0xf95c7e80_bd63_4601_9782_445ebff011fc); -impl std::ops::Deref for IAnnotationProvider { +impl core::ops::Deref for IAnnotationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1523,7 +1523,7 @@ pub struct IAnnotationProvider_Vtbl { pub Target: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICustomNavigationProvider, ICustomNavigationProvider_Vtbl, 0x2062a28a_8c07_4b94_8e12_7037c622aeb8); -impl std::ops::Deref for ICustomNavigationProvider { +impl core::ops::Deref for ICustomNavigationProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1542,7 +1542,7 @@ pub struct ICustomNavigationProvider_Vtbl { pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, NavigateDirection, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDockProvider, IDockProvider_Vtbl, 0x159bc72c_4ad3_485e_9637_d7052edf0146); -impl std::ops::Deref for IDockProvider { +impl core::ops::Deref for IDockProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1565,7 +1565,7 @@ pub struct IDockProvider_Vtbl { pub DockPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DockPosition) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDragProvider, IDragProvider_Vtbl, 0x6aa7bbbb_7ff9_497d_904f_d20b897929d8); -impl std::ops::Deref for IDragProvider { +impl core::ops::Deref for IDragProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1607,7 +1607,7 @@ pub struct IDragProvider_Vtbl { GetGrabbedItems: usize, } windows_core::imp::define_interface!(IDropTargetProvider, IDropTargetProvider_Vtbl, 0xbae82bfd_358a_481c_85a0_d8b4d90a5d61); -impl std::ops::Deref for IDropTargetProvider { +impl core::ops::Deref for IDropTargetProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1635,7 +1635,7 @@ pub struct IDropTargetProvider_Vtbl { DropTargetEffects: usize, } windows_core::imp::define_interface!(IExpandCollapseProvider, IExpandCollapseProvider_Vtbl, 0xd847d3a5_cab0_4a98_8c32_ecb45c59ad24); -impl std::ops::Deref for IExpandCollapseProvider { +impl core::ops::Deref for IExpandCollapseProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1662,7 +1662,7 @@ pub struct IExpandCollapseProvider_Vtbl { pub ExpandCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExpandCollapseState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGridItemProvider, IGridItemProvider_Vtbl, 0xd02541f1_fb81_4d64_ae32_f520f8a6dbd1); -impl std::ops::Deref for IGridItemProvider { +impl core::ops::Deref for IGridItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1701,7 +1701,7 @@ pub struct IGridItemProvider_Vtbl { pub ContainingGrid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGridProvider, IGridProvider_Vtbl, 0xb17d6187_0907_464b_a168_0ef17a1572b1); -impl std::ops::Deref for IGridProvider { +impl core::ops::Deref for IGridProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1730,7 +1730,7 @@ pub struct IGridProvider_Vtbl { pub ColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInvokeProvider, IInvokeProvider_Vtbl, 0x54fcb24b_e18e_47a2_b4d3_eccbe77599a2); -impl std::ops::Deref for IInvokeProvider { +impl core::ops::Deref for IInvokeProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1748,7 +1748,7 @@ pub struct IInvokeProvider_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IItemContainerProvider, IItemContainerProvider_Vtbl, 0xe747770b_39ce_4382_ab30_d8fb3f336f24); -impl std::ops::Deref for IItemContainerProvider { +impl core::ops::Deref for IItemContainerProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1771,7 +1771,7 @@ pub struct IItemContainerProvider_Vtbl { pub FindItemByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILegacyIAccessibleProvider, ILegacyIAccessibleProvider_Vtbl, 0xe44c3566_915d_4070_99c6_047bff5a08f5); -impl std::ops::Deref for ILegacyIAccessibleProvider { +impl core::ops::Deref for ILegacyIAccessibleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1863,7 +1863,7 @@ pub struct ILegacyIAccessibleProvider_Vtbl { pub DefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMultipleViewProvider, IMultipleViewProvider_Vtbl, 0x6278cab1_b556_4a1a_b4e0_418acc523201); -impl std::ops::Deref for IMultipleViewProvider { +impl core::ops::Deref for IMultipleViewProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1900,7 +1900,7 @@ pub struct IMultipleViewProvider_Vtbl { GetSupportedViews: usize, } windows_core::imp::define_interface!(IObjectModelProvider, IObjectModelProvider_Vtbl, 0x3ad86ebd_f5ef_483d_bb18_b1042a475d64); -impl std::ops::Deref for IObjectModelProvider { +impl core::ops::Deref for IObjectModelProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1919,7 +1919,7 @@ pub struct IObjectModelProvider_Vtbl { pub GetUnderlyingObjectModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProxyProviderWinEventHandler, IProxyProviderWinEventHandler_Vtbl, 0x89592ad4_f4e0_43d5_a3b6_bad7e111b435); -impl std::ops::Deref for IProxyProviderWinEventHandler { +impl core::ops::Deref for IProxyProviderWinEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1941,7 +1941,7 @@ pub struct IProxyProviderWinEventHandler_Vtbl { pub RespondToWinEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HWND, i32, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProxyProviderWinEventSink, IProxyProviderWinEventSink_Vtbl, 0x4fd82b78_a43e_46ac_9803_0a6969c7c183); -impl std::ops::Deref for IProxyProviderWinEventSink { +impl core::ops::Deref for IProxyProviderWinEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1981,7 +1981,7 @@ pub struct IProxyProviderWinEventSink_Vtbl { AddStructureChangedEvent: usize, } windows_core::imp::define_interface!(IRangeValueProvider, IRangeValueProvider_Vtbl, 0x36dc7aef_33e6_4691_afe1_2be7274b3d33); -impl std::ops::Deref for IRangeValueProvider { +impl core::ops::Deref for IRangeValueProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2029,7 +2029,7 @@ pub struct IRangeValueProvider_Vtbl { pub SmallChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderAdviseEvents, IRawElementProviderAdviseEvents_Vtbl, 0xa407b27b_0f6d_4427_9292_473c7bf93258); -impl std::ops::Deref for IRawElementProviderAdviseEvents { +impl core::ops::Deref for IRawElementProviderAdviseEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2059,7 +2059,7 @@ pub struct IRawElementProviderAdviseEvents_Vtbl { AdviseEventRemoved: usize, } windows_core::imp::define_interface!(IRawElementProviderFragment, IRawElementProviderFragment_Vtbl, 0xf7063da8_8359_439c_9297_bbc5299a7d87); -impl std::ops::Deref for IRawElementProviderFragment { +impl core::ops::Deref for IRawElementProviderFragment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2110,7 +2110,7 @@ pub struct IRawElementProviderFragment_Vtbl { pub FragmentRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderFragmentRoot, IRawElementProviderFragmentRoot_Vtbl, 0x620ce2a5_ab8f_40a9_86cb_de3c75599b58); -impl std::ops::Deref for IRawElementProviderFragmentRoot { +impl core::ops::Deref for IRawElementProviderFragmentRoot { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2134,7 +2134,7 @@ pub struct IRawElementProviderFragmentRoot_Vtbl { pub GetFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderHostingAccessibles, IRawElementProviderHostingAccessibles_Vtbl, 0x24be0b07_d37d_487a_98cf_a13ed465e9b3); -impl std::ops::Deref for IRawElementProviderHostingAccessibles { +impl core::ops::Deref for IRawElementProviderHostingAccessibles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2157,7 +2157,7 @@ pub struct IRawElementProviderHostingAccessibles_Vtbl { GetEmbeddedAccessibles: usize, } windows_core::imp::define_interface!(IRawElementProviderHwndOverride, IRawElementProviderHwndOverride_Vtbl, 0x1d5df27c_8947_4425_b8d9_79787bb460b8); -impl std::ops::Deref for IRawElementProviderHwndOverride { +impl core::ops::Deref for IRawElementProviderHwndOverride { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2179,7 +2179,7 @@ pub struct IRawElementProviderHwndOverride_Vtbl { pub GetOverrideProviderForHwnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderSimple, IRawElementProviderSimple_Vtbl, 0xd6dd68d1_86fd_4332_8666_9abedea2d24c); -impl std::ops::Deref for IRawElementProviderSimple { +impl core::ops::Deref for IRawElementProviderSimple { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2213,7 +2213,7 @@ pub struct IRawElementProviderSimple_Vtbl { pub HostRawElementProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderSimple2, IRawElementProviderSimple2_Vtbl, 0xa0a839a9_8da1_4a82_806a_8e0d44e79f56); -impl std::ops::Deref for IRawElementProviderSimple2 { +impl core::ops::Deref for IRawElementProviderSimple2 { type Target = IRawElementProviderSimple; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2231,7 +2231,7 @@ pub struct IRawElementProviderSimple2_Vtbl { pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderSimple3, IRawElementProviderSimple3_Vtbl, 0xfcf5d820_d7ec_4613_bdf6_42a84ce7daaf); -impl std::ops::Deref for IRawElementProviderSimple3 { +impl core::ops::Deref for IRawElementProviderSimple3 { type Target = IRawElementProviderSimple2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2250,7 +2250,7 @@ pub struct IRawElementProviderSimple3_Vtbl { pub GetMetadataValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, UIA_METADATA_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRawElementProviderWindowlessSite, IRawElementProviderWindowlessSite_Vtbl, 0x0a2a93cc_bfad_42ac_9b2e_0991fb0d3ea0); -impl std::ops::Deref for IRawElementProviderWindowlessSite { +impl core::ops::Deref for IRawElementProviderWindowlessSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2278,7 +2278,7 @@ pub struct IRawElementProviderWindowlessSite_Vtbl { GetRuntimeIdPrefix: usize, } windows_core::imp::define_interface!(IRichEditUiaInformation, IRichEditUiaInformation_Vtbl, 0); -impl std::ops::Deref for IRichEditUiaInformation { +impl core::ops::Deref for IRichEditUiaInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2300,7 +2300,7 @@ pub struct IRichEditUiaInformation_Vtbl { pub IsVisible: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRicheditWindowlessAccessibility, IRicheditWindowlessAccessibility_Vtbl, 0); -impl std::ops::Deref for IRicheditWindowlessAccessibility { +impl core::ops::Deref for IRicheditWindowlessAccessibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2322,7 +2322,7 @@ pub struct IRicheditWindowlessAccessibility_Vtbl { pub CreateProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScrollItemProvider, IScrollItemProvider_Vtbl, 0x2360c714_4bf1_4b26_ba65_9b21316127eb); -impl std::ops::Deref for IScrollItemProvider { +impl core::ops::Deref for IScrollItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2340,7 +2340,7 @@ pub struct IScrollItemProvider_Vtbl { pub ScrollIntoView: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScrollProvider, IScrollProvider_Vtbl, 0xb38b8077_1fc3_42a5_8cae_d40c2215055a); -impl std::ops::Deref for IScrollProvider { +impl core::ops::Deref for IScrollProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2392,7 +2392,7 @@ pub struct IScrollProvider_Vtbl { pub VerticallyScrollable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISelectionItemProvider, ISelectionItemProvider_Vtbl, 0x2acad808_b2d4_452d_a407_91ff1ad167b2); -impl std::ops::Deref for ISelectionItemProvider { +impl core::ops::Deref for ISelectionItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2428,7 +2428,7 @@ pub struct ISelectionItemProvider_Vtbl { pub SelectionContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISelectionProvider, ISelectionProvider_Vtbl, 0xfb8b03af_3bdf_48d4_bd36_1a65793be168); -impl std::ops::Deref for ISelectionProvider { +impl core::ops::Deref for ISelectionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2461,7 +2461,7 @@ pub struct ISelectionProvider_Vtbl { pub IsSelectionRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISelectionProvider2, ISelectionProvider2_Vtbl, 0x14f68475_ee1c_44f6_a869_d239381f0fe7); -impl std::ops::Deref for ISelectionProvider2 { +impl core::ops::Deref for ISelectionProvider2 { type Target = ISelectionProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2495,7 +2495,7 @@ pub struct ISelectionProvider2_Vtbl { pub ItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpreadsheetItemProvider, ISpreadsheetItemProvider_Vtbl, 0xeaed4660_7b3d_4879_a2e6_365ce603f3d0); -impl std::ops::Deref for ISpreadsheetItemProvider { +impl core::ops::Deref for ISpreadsheetItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2532,7 +2532,7 @@ pub struct ISpreadsheetItemProvider_Vtbl { GetAnnotationTypes: usize, } windows_core::imp::define_interface!(ISpreadsheetProvider, ISpreadsheetProvider_Vtbl, 0x6f6b5d35_5525_4f80_b758_85473832ffc7); -impl std::ops::Deref for ISpreadsheetProvider { +impl core::ops::Deref for ISpreadsheetProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2554,7 +2554,7 @@ pub struct ISpreadsheetProvider_Vtbl { pub GetItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStylesProvider, IStylesProvider_Vtbl, 0x19b6b649_f5d7_4a6d_bdcb_129252be588a); -impl std::ops::Deref for IStylesProvider { +impl core::ops::Deref for IStylesProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2603,7 +2603,7 @@ pub struct IStylesProvider_Vtbl { pub ExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISynchronizedInputProvider, ISynchronizedInputProvider_Vtbl, 0x29db1a06_02ce_4cf7_9b42_565d4fab20ee); -impl std::ops::Deref for ISynchronizedInputProvider { +impl core::ops::Deref for ISynchronizedInputProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2625,7 +2625,7 @@ pub struct ISynchronizedInputProvider_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITableItemProvider, ITableItemProvider_Vtbl, 0xb9734fa6_771f_4d78_9c90_2517999349cd); -impl std::ops::Deref for ITableItemProvider { +impl core::ops::Deref for ITableItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2657,7 +2657,7 @@ pub struct ITableItemProvider_Vtbl { GetColumnHeaderItems: usize, } windows_core::imp::define_interface!(ITableProvider, ITableProvider_Vtbl, 0x9c860395_97b3_490a_b52a_858cc22af166); -impl std::ops::Deref for ITableProvider { +impl core::ops::Deref for ITableProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2694,7 +2694,7 @@ pub struct ITableProvider_Vtbl { pub RowOrColumnMajor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RowOrColumnMajor) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextChildProvider, ITextChildProvider_Vtbl, 0x4c2de2b9_c88f_4f88_a111_f1d336b7d1a9); -impl std::ops::Deref for ITextChildProvider { +impl core::ops::Deref for ITextChildProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2718,7 +2718,7 @@ pub struct ITextChildProvider_Vtbl { pub TextRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextEditProvider, ITextEditProvider_Vtbl, 0xea3605b4_3a05_400e_b5f9_4e91b40f6176); -impl std::ops::Deref for ITextEditProvider { +impl core::ops::Deref for ITextEditProvider { type Target = ITextProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2742,7 +2742,7 @@ pub struct ITextEditProvider_Vtbl { pub GetConversionTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextProvider, ITextProvider_Vtbl, 0x3589c92c_63f3_4367_99bb_ada653b77cf2); -impl std::ops::Deref for ITextProvider { +impl core::ops::Deref for ITextProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2797,7 +2797,7 @@ pub struct ITextProvider_Vtbl { pub SupportedTextSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SupportedTextSelection) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextProvider2, ITextProvider2_Vtbl, 0x0dc5e6ed_3e16_4bf1_8f9a_a979878bc195); -impl std::ops::Deref for ITextProvider2 { +impl core::ops::Deref for ITextProvider2 { type Target = ITextProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2824,7 +2824,7 @@ pub struct ITextProvider2_Vtbl { pub GetCaretRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextRangeProvider, ITextRangeProvider_Vtbl, 0x5347ad7b_c355_46f8_aff5_909033582f63); -impl std::ops::Deref for ITextRangeProvider { +impl core::ops::Deref for ITextRangeProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2951,7 +2951,7 @@ pub struct ITextRangeProvider_Vtbl { GetChildren: usize, } windows_core::imp::define_interface!(ITextRangeProvider2, ITextRangeProvider2_Vtbl, 0x9bbce42c_1921_4f18_89ca_dba1910a0386); -impl std::ops::Deref for ITextRangeProvider2 { +impl core::ops::Deref for ITextRangeProvider2 { type Target = ITextRangeProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2969,7 +2969,7 @@ pub struct ITextRangeProvider2_Vtbl { pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IToggleProvider, IToggleProvider_Vtbl, 0x56d00bd0_c4f4_433c_a836_1a52a57e0892); -impl std::ops::Deref for IToggleProvider { +impl core::ops::Deref for IToggleProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2992,7 +2992,7 @@ pub struct IToggleProvider_Vtbl { pub ToggleState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToggleState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransformProvider, ITransformProvider_Vtbl, 0x6829ddc4_4f91_4ffa_b86f_bd3e2987cb4c); -impl std::ops::Deref for ITransformProvider { +impl core::ops::Deref for ITransformProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3033,7 +3033,7 @@ pub struct ITransformProvider_Vtbl { pub CanRotate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransformProvider2, ITransformProvider2_Vtbl, 0x4758742f_7ac2_460c_bc48_09fc09308a93); -impl std::ops::Deref for ITransformProvider2 { +impl core::ops::Deref for ITransformProvider2 { type Target = ITransformProvider; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3075,7 +3075,7 @@ pub struct ITransformProvider2_Vtbl { pub ZoomByUnit: unsafe extern "system" fn(*mut core::ffi::c_void, ZoomUnit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomation, IUIAutomation_Vtbl, 0x30cbe57d_d9d0_452a_ab13_7ac5ac4825ee); -impl std::ops::Deref for IUIAutomation { +impl core::ops::Deref for IUIAutomation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3497,7 +3497,7 @@ pub struct IUIAutomation_Vtbl { ElementFromIAccessibleBuildCache: usize, } windows_core::imp::define_interface!(IUIAutomation2, IUIAutomation2_Vtbl, 0x34723aff_0c9d_49d0_9896_7ab52df8cd8a); -impl std::ops::Deref for IUIAutomation2 { +impl core::ops::Deref for IUIAutomation2 { type Target = IUIAutomation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3541,7 +3541,7 @@ pub struct IUIAutomation2_Vtbl { pub SetTransactionTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomation3, IUIAutomation3_Vtbl, 0x73d768da_9b51_4b89_936e_c209290973e7); -impl std::ops::Deref for IUIAutomation3 { +impl core::ops::Deref for IUIAutomation3 { type Target = IUIAutomation2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3572,7 +3572,7 @@ pub struct IUIAutomation3_Vtbl { pub RemoveTextEditTextChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomation4, IUIAutomation4_Vtbl, 0x1189c02a_05f8_4319_8e21_e817e3db2860); -impl std::ops::Deref for IUIAutomation4 { +impl core::ops::Deref for IUIAutomation4 { type Target = IUIAutomation3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3603,7 +3603,7 @@ pub struct IUIAutomation4_Vtbl { pub RemoveChangesEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomation5, IUIAutomation5_Vtbl, 0x25f700c8_d816_4057_a9dc_3cbdee77e256); -impl std::ops::Deref for IUIAutomation5 { +impl core::ops::Deref for IUIAutomation5 { type Target = IUIAutomation4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3634,7 +3634,7 @@ pub struct IUIAutomation5_Vtbl { pub RemoveNotificationEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomation6, IUIAutomation6_Vtbl, 0xaae072da_29e3_413d_87a7_192dbf81ed10); -impl std::ops::Deref for IUIAutomation6 { +impl core::ops::Deref for IUIAutomation6 { type Target = IUIAutomation5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3704,7 +3704,7 @@ pub struct IUIAutomation6_Vtbl { pub RemoveActiveTextPositionChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationActiveTextPositionChangedEventHandler, IUIAutomationActiveTextPositionChangedEventHandler_Vtbl, 0xf97933b0_8dae_4496_8997_5ba015fe0d82); -impl std::ops::Deref for IUIAutomationActiveTextPositionChangedEventHandler { +impl core::ops::Deref for IUIAutomationActiveTextPositionChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3726,7 +3726,7 @@ pub struct IUIAutomationActiveTextPositionChangedEventHandler_Vtbl { pub HandleActiveTextPositionChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationAndCondition, IUIAutomationAndCondition_Vtbl, 0xa7d0af36_b912_45fe_9855_091ddc174aec); -impl std::ops::Deref for IUIAutomationAndCondition { +impl core::ops::Deref for IUIAutomationAndCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3758,7 +3758,7 @@ pub struct IUIAutomationAndCondition_Vtbl { GetChildren: usize, } windows_core::imp::define_interface!(IUIAutomationAnnotationPattern, IUIAutomationAnnotationPattern_Vtbl, 0x9a175b21_339e_41b1_8e8b_623f6b681098); -impl std::ops::Deref for IUIAutomationAnnotationPattern { +impl core::ops::Deref for IUIAutomationAnnotationPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3822,7 +3822,7 @@ pub struct IUIAutomationAnnotationPattern_Vtbl { pub CachedTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationBoolCondition, IUIAutomationBoolCondition_Vtbl, 0x1b4e1f2e_75eb_4d0b_8952_5a69988e2307); -impl std::ops::Deref for IUIAutomationBoolCondition { +impl core::ops::Deref for IUIAutomationBoolCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3841,7 +3841,7 @@ pub struct IUIAutomationBoolCondition_Vtbl { pub BooleanValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationCacheRequest, IUIAutomationCacheRequest_Vtbl, 0xb32a92b5_bc25_4078_9c08_d7ee95c48e03); -impl std::ops::Deref for IUIAutomationCacheRequest { +impl core::ops::Deref for IUIAutomationCacheRequest { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3898,7 +3898,7 @@ pub struct IUIAutomationCacheRequest_Vtbl { pub SetAutomationElementMode: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationElementMode) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationChangesEventHandler, IUIAutomationChangesEventHandler_Vtbl, 0x58edca55_2c3e_4980_b1b9_56c17f27a2a0); -impl std::ops::Deref for IUIAutomationChangesEventHandler { +impl core::ops::Deref for IUIAutomationChangesEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3919,7 +3919,7 @@ pub struct IUIAutomationChangesEventHandler_Vtbl { pub HandleChangesEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const UiaChangeInfo, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationCondition, IUIAutomationCondition_Vtbl, 0x352ffba8_0973_437c_a61f_f64cafd81df9); -impl std::ops::Deref for IUIAutomationCondition { +impl core::ops::Deref for IUIAutomationCondition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3932,7 +3932,7 @@ pub struct IUIAutomationCondition_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } windows_core::imp::define_interface!(IUIAutomationCustomNavigationPattern, IUIAutomationCustomNavigationPattern_Vtbl, 0x01ea217a_1766_47ed_a6cc_acf492854b1f); -impl std::ops::Deref for IUIAutomationCustomNavigationPattern { +impl core::ops::Deref for IUIAutomationCustomNavigationPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3951,7 +3951,7 @@ pub struct IUIAutomationCustomNavigationPattern_Vtbl { pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, NavigateDirection, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationDockPattern, IUIAutomationDockPattern_Vtbl, 0xfde5ef97_1464_48f6_90bf_43d0948e86ec); -impl std::ops::Deref for IUIAutomationDockPattern { +impl core::ops::Deref for IUIAutomationDockPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3979,7 +3979,7 @@ pub struct IUIAutomationDockPattern_Vtbl { pub CachedDockPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DockPosition) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationDragPattern, IUIAutomationDragPattern_Vtbl, 0x1dc7b570_1f54_4bad_bcda_d36a722fb7bd); -impl std::ops::Deref for IUIAutomationDragPattern { +impl core::ops::Deref for IUIAutomationDragPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4041,7 +4041,7 @@ pub struct IUIAutomationDragPattern_Vtbl { pub GetCachedGrabbedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationDropTargetPattern, IUIAutomationDropTargetPattern_Vtbl, 0x69a095f7_eee4_430e_a46b_fb73b1ae39a5); -impl std::ops::Deref for IUIAutomationDropTargetPattern { +impl core::ops::Deref for IUIAutomationDropTargetPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4083,7 +4083,7 @@ pub struct IUIAutomationDropTargetPattern_Vtbl { CachedDropTargetEffects: usize, } windows_core::imp::define_interface!(IUIAutomationElement, IUIAutomationElement_Vtbl, 0xd22108aa_8ac5_49a5_837b_37bbb3d7591e); -impl std::ops::Deref for IUIAutomationElement { +impl core::ops::Deref for IUIAutomationElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4162,14 +4162,14 @@ impl IUIAutomationElement { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCurrentPatternAs)(windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCachedPatternAs(&self, patternid: UIA_PATTERN_ID) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCachedPatternAs)(windows_core::Interface::as_raw(self), patternid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCurrentPattern(&self, patternid: UIA_PATTERN_ID) -> windows_core::Result { @@ -4539,7 +4539,7 @@ pub struct IUIAutomationElement_Vtbl { pub GetClickablePoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::POINT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement2, IUIAutomationElement2_Vtbl, 0x6749c683_f70d_4487_a698_5f79d55290d6); -impl std::ops::Deref for IUIAutomationElement2 { +impl core::ops::Deref for IUIAutomationElement2 { type Target = IUIAutomationElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4583,7 +4583,7 @@ pub struct IUIAutomationElement2_Vtbl { pub CachedFlowsFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement3, IUIAutomationElement3_Vtbl, 0x8471df34_aee0_4a01_a7de_7db9af12c296); -impl std::ops::Deref for IUIAutomationElement3 { +impl core::ops::Deref for IUIAutomationElement3 { type Target = IUIAutomationElement2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4611,7 +4611,7 @@ pub struct IUIAutomationElement3_Vtbl { pub CachedIsPeripheral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement4, IUIAutomationElement4_Vtbl, 0x3b6e233c_52fb_4063_a4c9_77c075c2a06b); -impl std::ops::Deref for IUIAutomationElement4 { +impl core::ops::Deref for IUIAutomationElement4 { type Target = IUIAutomationElement3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4683,7 +4683,7 @@ pub struct IUIAutomationElement4_Vtbl { pub CachedAnnotationObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement5, IUIAutomationElement5_Vtbl, 0x98141c1d_0d0e_4175_bbe2_6bff455842a7); -impl std::ops::Deref for IUIAutomationElement5 { +impl core::ops::Deref for IUIAutomationElement5 { type Target = IUIAutomationElement4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4717,7 +4717,7 @@ pub struct IUIAutomationElement5_Vtbl { pub CachedLocalizedLandmarkType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement6, IUIAutomationElement6_Vtbl, 0x4780d450_8bca_4977_afa5_a4a517f555e3); -impl std::ops::Deref for IUIAutomationElement6 { +impl core::ops::Deref for IUIAutomationElement6 { type Target = IUIAutomationElement5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4741,7 +4741,7 @@ pub struct IUIAutomationElement6_Vtbl { pub CachedFullDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement7, IUIAutomationElement7_Vtbl, 0x204e8572_cfc3_4c11_b0c8_7da7420750b7); -impl std::ops::Deref for IUIAutomationElement7 { +impl core::ops::Deref for IUIAutomationElement7 { type Target = IUIAutomationElement6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4798,7 +4798,7 @@ pub struct IUIAutomationElement7_Vtbl { pub GetCurrentMetadataValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, UIA_METADATA_ID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement8, IUIAutomationElement8_Vtbl, 0x8c60217d_5411_4cde_bcc0_1ceda223830c); -impl std::ops::Deref for IUIAutomationElement8 { +impl core::ops::Deref for IUIAutomationElement8 { type Target = IUIAutomationElement7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4822,7 +4822,7 @@ pub struct IUIAutomationElement8_Vtbl { pub CachedHeadingLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_HEADINGLEVEL_ID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElement9, IUIAutomationElement9_Vtbl, 0x39325fac_039d_440e_a3a3_5eb81a5cecc3); -impl std::ops::Deref for IUIAutomationElement9 { +impl core::ops::Deref for IUIAutomationElement9 { type Target = IUIAutomationElement8; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4846,7 +4846,7 @@ pub struct IUIAutomationElement9_Vtbl { pub CachedIsDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationElementArray, IUIAutomationElementArray_Vtbl, 0x14314595_b4bc_4055_95f2_58f2e42c9855); -impl std::ops::Deref for IUIAutomationElementArray { +impl core::ops::Deref for IUIAutomationElementArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4870,7 +4870,7 @@ pub struct IUIAutomationElementArray_Vtbl { pub GetElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationEventHandler, IUIAutomationEventHandler_Vtbl, 0x146c3c17_f12e_4e22_8c27_f894b9b79c69); -impl std::ops::Deref for IUIAutomationEventHandler { +impl core::ops::Deref for IUIAutomationEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4891,7 +4891,7 @@ pub struct IUIAutomationEventHandler_Vtbl { pub HandleAutomationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_EVENT_ID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationEventHandlerGroup, IUIAutomationEventHandlerGroup_Vtbl, 0xc9ee12f2_c13b_4408_997c_639914377f4e); -impl std::ops::Deref for IUIAutomationEventHandlerGroup { +impl core::ops::Deref for IUIAutomationEventHandlerGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4961,7 +4961,7 @@ pub struct IUIAutomationEventHandlerGroup_Vtbl { pub AddTextEditTextChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, TextEditChangeType, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationExpandCollapsePattern, IUIAutomationExpandCollapsePattern_Vtbl, 0x619be086_1f4e_4ee4_bafa_210128738730); -impl std::ops::Deref for IUIAutomationExpandCollapsePattern { +impl core::ops::Deref for IUIAutomationExpandCollapsePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4993,7 +4993,7 @@ pub struct IUIAutomationExpandCollapsePattern_Vtbl { pub CachedExpandCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExpandCollapseState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationFocusChangedEventHandler, IUIAutomationFocusChangedEventHandler_Vtbl, 0xc270f6b5_5c69_4290_9745_7a7f97169468); -impl std::ops::Deref for IUIAutomationFocusChangedEventHandler { +impl core::ops::Deref for IUIAutomationFocusChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5014,7 +5014,7 @@ pub struct IUIAutomationFocusChangedEventHandler_Vtbl { pub HandleFocusChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationGridItemPattern, IUIAutomationGridItemPattern_Vtbl, 0x78f8ef57_66c3_4e09_bd7c_e79b2004894d); -impl std::ops::Deref for IUIAutomationGridItemPattern { +impl core::ops::Deref for IUIAutomationGridItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5078,7 +5078,7 @@ pub struct IUIAutomationGridItemPattern_Vtbl { pub CachedColumnSpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationGridPattern, IUIAutomationGridPattern_Vtbl, 0x414c3cdc_856b_4f5b_8538_3131c6302550); -impl std::ops::Deref for IUIAutomationGridPattern { +impl core::ops::Deref for IUIAutomationGridPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5117,7 +5117,7 @@ pub struct IUIAutomationGridPattern_Vtbl { pub CachedColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationInvokePattern, IUIAutomationInvokePattern_Vtbl, 0xfb377fbe_8ea6_46d5_9c73_6499642d3059); -impl std::ops::Deref for IUIAutomationInvokePattern { +impl core::ops::Deref for IUIAutomationInvokePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5135,7 +5135,7 @@ pub struct IUIAutomationInvokePattern_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationItemContainerPattern, IUIAutomationItemContainerPattern_Vtbl, 0xc690fdb2_27a8_423c_812d_429773c9084e); -impl std::ops::Deref for IUIAutomationItemContainerPattern { +impl core::ops::Deref for IUIAutomationItemContainerPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5158,7 +5158,7 @@ pub struct IUIAutomationItemContainerPattern_Vtbl { pub FindItemByProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationLegacyIAccessiblePattern, IUIAutomationLegacyIAccessiblePattern_Vtbl, 0x828055ad_355b_4435_86d5_3b51c14a9b1b); -impl std::ops::Deref for IUIAutomationLegacyIAccessiblePattern { +impl core::ops::Deref for IUIAutomationLegacyIAccessiblePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5296,7 +5296,7 @@ pub struct IUIAutomationLegacyIAccessiblePattern_Vtbl { GetIAccessible: usize, } windows_core::imp::define_interface!(IUIAutomationMultipleViewPattern, IUIAutomationMultipleViewPattern_Vtbl, 0x8d253c91_1dc5_4bb5_b18f_ade16fa495e8); -impl std::ops::Deref for IUIAutomationMultipleViewPattern { +impl core::ops::Deref for IUIAutomationMultipleViewPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5347,7 +5347,7 @@ pub struct IUIAutomationMultipleViewPattern_Vtbl { GetCachedSupportedViews: usize, } windows_core::imp::define_interface!(IUIAutomationNotCondition, IUIAutomationNotCondition_Vtbl, 0xf528b657_847b_498c_8896_d52b565407a1); -impl std::ops::Deref for IUIAutomationNotCondition { +impl core::ops::Deref for IUIAutomationNotCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5366,7 +5366,7 @@ pub struct IUIAutomationNotCondition_Vtbl { pub GetChild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationNotificationEventHandler, IUIAutomationNotificationEventHandler_Vtbl, 0xc7cb2637_e6c2_4d0c_85de_4948c02175c7); -impl std::ops::Deref for IUIAutomationNotificationEventHandler { +impl core::ops::Deref for IUIAutomationNotificationEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5389,7 +5389,7 @@ pub struct IUIAutomationNotificationEventHandler_Vtbl { pub HandleNotificationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, NotificationKind, NotificationProcessing, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationObjectModelPattern, IUIAutomationObjectModelPattern_Vtbl, 0x71c284b3_c14d_4d14_981e_19751b0d756d); -impl std::ops::Deref for IUIAutomationObjectModelPattern { +impl core::ops::Deref for IUIAutomationObjectModelPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5408,7 +5408,7 @@ pub struct IUIAutomationObjectModelPattern_Vtbl { pub GetUnderlyingObjectModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationOrCondition, IUIAutomationOrCondition_Vtbl, 0x8753f032_3db1_47b5_a1fc_6e34a266c712); -impl std::ops::Deref for IUIAutomationOrCondition { +impl core::ops::Deref for IUIAutomationOrCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5440,7 +5440,7 @@ pub struct IUIAutomationOrCondition_Vtbl { GetChildren: usize, } windows_core::imp::define_interface!(IUIAutomationPatternHandler, IUIAutomationPatternHandler_Vtbl, 0xd97022f3_a947_465e_8b2a_ac4315fa54e8); -impl std::ops::Deref for IUIAutomationPatternHandler { +impl core::ops::Deref for IUIAutomationPatternHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5469,7 +5469,7 @@ pub struct IUIAutomationPatternHandler_Vtbl { pub Dispatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const UIAutomationParameter, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationPatternInstance, IUIAutomationPatternInstance_Vtbl, 0xc03a7fe4_9431_409f_bed8_ae7c2299bc8d); -impl std::ops::Deref for IUIAutomationPatternInstance { +impl core::ops::Deref for IUIAutomationPatternInstance { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5494,7 +5494,7 @@ pub struct IUIAutomationPatternInstance_Vtbl { pub CallMethod: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const UIAutomationParameter, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationPropertyChangedEventHandler, IUIAutomationPropertyChangedEventHandler_Vtbl, 0x40cd37d4_c756_4b0c_8c6f_bddfeeb13b50); -impl std::ops::Deref for IUIAutomationPropertyChangedEventHandler { +impl core::ops::Deref for IUIAutomationPropertyChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5516,7 +5516,7 @@ pub struct IUIAutomationPropertyChangedEventHandler_Vtbl { pub HandlePropertyChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_PROPERTY_ID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationPropertyCondition, IUIAutomationPropertyCondition_Vtbl, 0x99ebf2cb_5578_4267_9ad4_afd6ea77e94b); -impl std::ops::Deref for IUIAutomationPropertyCondition { +impl core::ops::Deref for IUIAutomationPropertyCondition { type Target = IUIAutomationCondition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5545,7 +5545,7 @@ pub struct IUIAutomationPropertyCondition_Vtbl { pub PropertyConditionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PropertyConditionFlags) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationProxyFactory, IUIAutomationProxyFactory_Vtbl, 0x85b94ecd_849d_42b6_b94d_d6db23fdf5a4); -impl std::ops::Deref for IUIAutomationProxyFactory { +impl core::ops::Deref for IUIAutomationProxyFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5572,7 +5572,7 @@ pub struct IUIAutomationProxyFactory_Vtbl { pub ProxyFactoryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationProxyFactoryEntry, IUIAutomationProxyFactoryEntry_Vtbl, 0xd50e472e_b64b_490c_bca1_d30696f9f289); -impl std::ops::Deref for IUIAutomationProxyFactoryEntry { +impl core::ops::Deref for IUIAutomationProxyFactoryEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5668,7 +5668,7 @@ pub struct IUIAutomationProxyFactoryEntry_Vtbl { GetWinEventsForAutomationEvent: usize, } windows_core::imp::define_interface!(IUIAutomationProxyFactoryMapping, IUIAutomationProxyFactoryMapping_Vtbl, 0x09e31e18_872d_4873_93d1_1e541ec133fd); -impl std::ops::Deref for IUIAutomationProxyFactoryMapping { +impl core::ops::Deref for IUIAutomationProxyFactoryMapping { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5736,7 +5736,7 @@ pub struct IUIAutomationProxyFactoryMapping_Vtbl { pub RestoreDefaultTable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationRangeValuePattern, IUIAutomationRangeValuePattern_Vtbl, 0x59213f4f_7346_49e5_b120_80555987a148); -impl std::ops::Deref for IUIAutomationRangeValuePattern { +impl core::ops::Deref for IUIAutomationRangeValuePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5814,7 +5814,7 @@ pub struct IUIAutomationRangeValuePattern_Vtbl { pub CachedSmallChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationRegistrar, IUIAutomationRegistrar_Vtbl, 0x8609c4ec_4a1a_4d88_a357_5a66e060e1cf); -impl std::ops::Deref for IUIAutomationRegistrar { +impl core::ops::Deref for IUIAutomationRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5842,7 +5842,7 @@ pub struct IUIAutomationRegistrar_Vtbl { pub RegisterPattern: unsafe extern "system" fn(*mut core::ffi::c_void, *const UIAutomationPatternInfo, *mut i32, *mut i32, u32, *mut i32, u32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationScrollItemPattern, IUIAutomationScrollItemPattern_Vtbl, 0xb488300f_d015_4f19_9c29_bb595e3645ef); -impl std::ops::Deref for IUIAutomationScrollItemPattern { +impl core::ops::Deref for IUIAutomationScrollItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5860,7 +5860,7 @@ pub struct IUIAutomationScrollItemPattern_Vtbl { pub ScrollIntoView: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationScrollPattern, IUIAutomationScrollPattern_Vtbl, 0x88f4d42a_e881_459d_a77c_73bbbb7e02dc); -impl std::ops::Deref for IUIAutomationScrollPattern { +impl core::ops::Deref for IUIAutomationScrollPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5942,7 +5942,7 @@ pub struct IUIAutomationScrollPattern_Vtbl { pub CachedVerticallyScrollable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationSelectionItemPattern, IUIAutomationSelectionItemPattern_Vtbl, 0xa8efa66a_0fda_421a_9194_38021f3578ea); -impl std::ops::Deref for IUIAutomationSelectionItemPattern { +impl core::ops::Deref for IUIAutomationSelectionItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5988,7 +5988,7 @@ pub struct IUIAutomationSelectionItemPattern_Vtbl { pub CachedSelectionContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationSelectionPattern, IUIAutomationSelectionPattern_Vtbl, 0x5ed5202e_b2ac_47a6_b638_4b0bf140d78e); -impl std::ops::Deref for IUIAutomationSelectionPattern { +impl core::ops::Deref for IUIAutomationSelectionPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6032,7 +6032,7 @@ pub struct IUIAutomationSelectionPattern_Vtbl { pub CachedIsSelectionRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationSelectionPattern2, IUIAutomationSelectionPattern2_Vtbl, 0x0532bfae_c011_4e32_a343_6d642d798555); -impl std::ops::Deref for IUIAutomationSelectionPattern2 { +impl core::ops::Deref for IUIAutomationSelectionPattern2 { type Target = IUIAutomationSelectionPattern; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6086,7 +6086,7 @@ pub struct IUIAutomationSelectionPattern2_Vtbl { pub CachedItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationSpreadsheetItemPattern, IUIAutomationSpreadsheetItemPattern_Vtbl, 0x7d4fb86c_8d34_40e1_8e83_62c15204e335); -impl std::ops::Deref for IUIAutomationSpreadsheetItemPattern { +impl core::ops::Deref for IUIAutomationSpreadsheetItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6138,7 +6138,7 @@ pub struct IUIAutomationSpreadsheetItemPattern_Vtbl { GetCachedAnnotationTypes: usize, } windows_core::imp::define_interface!(IUIAutomationSpreadsheetPattern, IUIAutomationSpreadsheetPattern_Vtbl, 0x7517a7c8_faae_4de9_9f08_29b91e8595c1); -impl std::ops::Deref for IUIAutomationSpreadsheetPattern { +impl core::ops::Deref for IUIAutomationSpreadsheetPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6160,7 +6160,7 @@ pub struct IUIAutomationSpreadsheetPattern_Vtbl { pub GetItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationStructureChangedEventHandler, IUIAutomationStructureChangedEventHandler_Vtbl, 0xe81d1b4e_11c5_42f8_9754_e7036c79f054); -impl std::ops::Deref for IUIAutomationStructureChangedEventHandler { +impl core::ops::Deref for IUIAutomationStructureChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6185,7 +6185,7 @@ pub struct IUIAutomationStructureChangedEventHandler_Vtbl { HandleStructureChangedEvent: usize, } windows_core::imp::define_interface!(IUIAutomationStylesPattern, IUIAutomationStylesPattern_Vtbl, 0x85b5f0a2_bd79_484a_ad2b_388c9838d5fb); -impl std::ops::Deref for IUIAutomationStylesPattern { +impl core::ops::Deref for IUIAutomationStylesPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6277,7 +6277,7 @@ pub struct IUIAutomationStylesPattern_Vtbl { pub GetCachedExtendedPropertiesAsArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut ExtendedProperty, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationSynchronizedInputPattern, IUIAutomationSynchronizedInputPattern_Vtbl, 0x2233be0b_afb7_448b_9fda_3b378aa5eae1); -impl std::ops::Deref for IUIAutomationSynchronizedInputPattern { +impl core::ops::Deref for IUIAutomationSynchronizedInputPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6299,7 +6299,7 @@ pub struct IUIAutomationSynchronizedInputPattern_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTableItemPattern, IUIAutomationTableItemPattern_Vtbl, 0x0b964eb3_ef2e_4464_9c79_61d61737a27e); -impl std::ops::Deref for IUIAutomationTableItemPattern { +impl core::ops::Deref for IUIAutomationTableItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6333,7 +6333,7 @@ pub struct IUIAutomationTableItemPattern_Vtbl { pub GetCachedColumnHeaderItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTablePattern, IUIAutomationTablePattern_Vtbl, 0x620e691c_ea96_4710_a850_754b24ce2417); -impl std::ops::Deref for IUIAutomationTablePattern { +impl core::ops::Deref for IUIAutomationTablePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6377,7 +6377,7 @@ pub struct IUIAutomationTablePattern_Vtbl { pub CachedRowOrColumnMajor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RowOrColumnMajor) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTextChildPattern, IUIAutomationTextChildPattern_Vtbl, 0x6552b038_ae05_40c8_abfd_aa08352aab86); -impl std::ops::Deref for IUIAutomationTextChildPattern { +impl core::ops::Deref for IUIAutomationTextChildPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6401,7 +6401,7 @@ pub struct IUIAutomationTextChildPattern_Vtbl { pub TextRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTextEditPattern, IUIAutomationTextEditPattern_Vtbl, 0x17e21576_996c_4870_99d9_bff323380c06); -impl std::ops::Deref for IUIAutomationTextEditPattern { +impl core::ops::Deref for IUIAutomationTextEditPattern { type Target = IUIAutomationTextPattern; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6425,7 +6425,7 @@ pub struct IUIAutomationTextEditPattern_Vtbl { pub GetConversionTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTextEditTextChangedEventHandler, IUIAutomationTextEditTextChangedEventHandler_Vtbl, 0x92faa680_e704_4156_931a_e32d5bb38f3f); -impl std::ops::Deref for IUIAutomationTextEditTextChangedEventHandler { +impl core::ops::Deref for IUIAutomationTextEditTextChangedEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6450,7 +6450,7 @@ pub struct IUIAutomationTextEditTextChangedEventHandler_Vtbl { HandleTextEditTextChangedEvent: usize, } windows_core::imp::define_interface!(IUIAutomationTextPattern, IUIAutomationTextPattern_Vtbl, 0x32eba289_3583_42c9_9c59_3b6d9a1e9b6a); -impl std::ops::Deref for IUIAutomationTextPattern { +impl core::ops::Deref for IUIAutomationTextPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6497,7 +6497,7 @@ pub struct IUIAutomationTextPattern_Vtbl { pub SupportedTextSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SupportedTextSelection) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTextPattern2, IUIAutomationTextPattern2_Vtbl, 0x506a921a_fcc9_409f_b23b_37eb74106872); -impl std::ops::Deref for IUIAutomationTextPattern2 { +impl core::ops::Deref for IUIAutomationTextPattern2 { type Target = IUIAutomationTextPattern; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6524,7 +6524,7 @@ pub struct IUIAutomationTextPattern2_Vtbl { pub GetCaretRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTextRange, IUIAutomationTextRange_Vtbl, 0xa543cc6a_f4ae_494b_8239_c814481187a8); -impl std::ops::Deref for IUIAutomationTextRange { +impl core::ops::Deref for IUIAutomationTextRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6647,7 +6647,7 @@ pub struct IUIAutomationTextRange_Vtbl { pub GetChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTextRange2, IUIAutomationTextRange2_Vtbl, 0xbb9b40e0_5e04_46bd_9be0_4b601b9afad4); -impl std::ops::Deref for IUIAutomationTextRange2 { +impl core::ops::Deref for IUIAutomationTextRange2 { type Target = IUIAutomationTextRange; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6665,7 +6665,7 @@ pub struct IUIAutomationTextRange2_Vtbl { pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTextRange3, IUIAutomationTextRange3_Vtbl, 0x6a315d69_5512_4c2e_85f0_53fce6dd4bc2); -impl std::ops::Deref for IUIAutomationTextRange3 { +impl core::ops::Deref for IUIAutomationTextRange3 { type Target = IUIAutomationTextRange2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6704,7 +6704,7 @@ pub struct IUIAutomationTextRange3_Vtbl { GetAttributeValues: usize, } windows_core::imp::define_interface!(IUIAutomationTextRangeArray, IUIAutomationTextRangeArray_Vtbl, 0xce4ae76a_e717_4c98_81ea_47371d028eb6); -impl std::ops::Deref for IUIAutomationTextRangeArray { +impl core::ops::Deref for IUIAutomationTextRangeArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6728,7 +6728,7 @@ pub struct IUIAutomationTextRangeArray_Vtbl { pub GetElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTogglePattern, IUIAutomationTogglePattern_Vtbl, 0x94cf8058_9b8d_4ab9_8bfd_4cd0a33c8c70); -impl std::ops::Deref for IUIAutomationTogglePattern { +impl core::ops::Deref for IUIAutomationTogglePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6756,7 +6756,7 @@ pub struct IUIAutomationTogglePattern_Vtbl { pub CachedToggleState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToggleState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTransformPattern, IUIAutomationTransformPattern_Vtbl, 0xa9b55844_a55d_4ef0_926d_569c16ff89bb); -impl std::ops::Deref for IUIAutomationTransformPattern { +impl core::ops::Deref for IUIAutomationTransformPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6812,7 +6812,7 @@ pub struct IUIAutomationTransformPattern_Vtbl { pub CachedCanRotate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTransformPattern2, IUIAutomationTransformPattern2_Vtbl, 0x6d74d017_6ecb_4381_b38b_3c17a48ff1c2); -impl std::ops::Deref for IUIAutomationTransformPattern2 { +impl core::ops::Deref for IUIAutomationTransformPattern2 { type Target = IUIAutomationTransformPattern; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6874,7 +6874,7 @@ pub struct IUIAutomationTransformPattern2_Vtbl { pub CachedZoomMaximum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationTreeWalker, IUIAutomationTreeWalker_Vtbl, 0x4042c624_389c_4afc_a630_9df854a541fc); -impl std::ops::Deref for IUIAutomationTreeWalker { +impl core::ops::Deref for IUIAutomationTreeWalker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6995,7 +6995,7 @@ pub struct IUIAutomationTreeWalker_Vtbl { pub Condition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationValuePattern, IUIAutomationValuePattern_Vtbl, 0xa94cd8b1_0844_4cd6_9d2d_640537ab39e9); -impl std::ops::Deref for IUIAutomationValuePattern { +impl core::ops::Deref for IUIAutomationValuePattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7036,7 +7036,7 @@ pub struct IUIAutomationValuePattern_Vtbl { pub CachedIsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationVirtualizedItemPattern, IUIAutomationVirtualizedItemPattern_Vtbl, 0x6ba3d7a6_04cf_4f11_8793_a8d1cde9969f); -impl std::ops::Deref for IUIAutomationVirtualizedItemPattern { +impl core::ops::Deref for IUIAutomationVirtualizedItemPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7054,7 +7054,7 @@ pub struct IUIAutomationVirtualizedItemPattern_Vtbl { pub Realize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAutomationWindowPattern, IUIAutomationWindowPattern_Vtbl, 0x0faef453_9208_43ef_bbb2_3b485177864f); -impl std::ops::Deref for IUIAutomationWindowPattern { +impl core::ops::Deref for IUIAutomationWindowPattern { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7141,7 +7141,7 @@ pub struct IUIAutomationWindowPattern_Vtbl { pub CachedWindowInteractionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WindowInteractionState) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IValueProvider, IValueProvider_Vtbl, 0xc7935180_6fb3_4201_b174_7df73adbf64a); -impl std::ops::Deref for IValueProvider { +impl core::ops::Deref for IValueProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7172,7 +7172,7 @@ pub struct IValueProvider_Vtbl { pub IsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVirtualizedItemProvider, IVirtualizedItemProvider_Vtbl, 0xcb98b665_2d35_4fac_ad35_f3c60d0c0b8b); -impl std::ops::Deref for IVirtualizedItemProvider { +impl core::ops::Deref for IVirtualizedItemProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7190,7 +7190,7 @@ pub struct IVirtualizedItemProvider_Vtbl { pub Realize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWindowProvider, IWindowProvider_Vtbl, 0x987df77b_db06_4d77_8f8a_86a9c3bb90b9); -impl std::ops::Deref for IWindowProvider { +impl core::ops::Deref for IWindowProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs index e6a996b10f..7a9c9b256c 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IUIAnimationInterpolator, IUIAnimationInterpolator_Vtbl, 0x7815cbba_ddf7_478c_a46c_7b6c738b7978); -impl std::ops::Deref for IUIAnimationInterpolator { +impl core::ops::Deref for IUIAnimationInterpolator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -45,7 +45,7 @@ pub struct IUIAnimationInterpolator_Vtbl { pub GetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationInterpolator2, IUIAnimationInterpolator2_Vtbl, 0xea76aff8_ea22_4a23_a0ef_a6a966703518); -impl std::ops::Deref for IUIAnimationInterpolator2 { +impl core::ops::Deref for IUIAnimationInterpolator2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -100,7 +100,7 @@ pub struct IUIAnimationInterpolator2_Vtbl { pub GetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationLoopIterationChangeHandler2, IUIAnimationLoopIterationChangeHandler2_Vtbl, 0x2d3b15a4_4762_47ab_a030_b23221df3ae0); -impl std::ops::Deref for IUIAnimationLoopIterationChangeHandler2 { +impl core::ops::Deref for IUIAnimationLoopIterationChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -121,7 +121,7 @@ pub struct IUIAnimationLoopIterationChangeHandler2_Vtbl { pub OnLoopIterationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationManager, IUIAnimationManager_Vtbl, 0x9169896c_ac8d_4e7d_94e5_67fa4dc2f2e8); -impl std::ops::Deref for IUIAnimationManager { +impl core::ops::Deref for IUIAnimationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -241,7 +241,7 @@ pub struct IUIAnimationManager_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationManager2, IUIAnimationManager2_Vtbl, 0xd8b6f7d4_4109_4d3f_acee_879926968cb1); -impl std::ops::Deref for IUIAnimationManager2 { +impl core::ops::Deref for IUIAnimationManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -372,7 +372,7 @@ pub struct IUIAnimationManager2_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationManagerEventHandler, IUIAnimationManagerEventHandler_Vtbl, 0x783321ed_78a3_4366_b574_6af607a64788); -impl std::ops::Deref for IUIAnimationManagerEventHandler { +impl core::ops::Deref for IUIAnimationManagerEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -390,7 +390,7 @@ pub struct IUIAnimationManagerEventHandler_Vtbl { pub OnManagerStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_ANIMATION_MANAGER_STATUS, UI_ANIMATION_MANAGER_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationManagerEventHandler2, IUIAnimationManagerEventHandler2_Vtbl, 0xf6e022ba_bff3_42ec_9033_e073f33e83c3); -impl std::ops::Deref for IUIAnimationManagerEventHandler2 { +impl core::ops::Deref for IUIAnimationManagerEventHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -408,7 +408,7 @@ pub struct IUIAnimationManagerEventHandler2_Vtbl { pub OnManagerStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_ANIMATION_MANAGER_STATUS, UI_ANIMATION_MANAGER_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationPrimitiveInterpolation, IUIAnimationPrimitiveInterpolation_Vtbl, 0xbab20d63_4361_45da_a24f_ab8508846b5b); -impl std::ops::Deref for IUIAnimationPrimitiveInterpolation { +impl core::ops::Deref for IUIAnimationPrimitiveInterpolation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -430,7 +430,7 @@ pub struct IUIAnimationPrimitiveInterpolation_Vtbl { pub AddSinusoidal: unsafe extern "system" fn(*mut core::ffi::c_void, u32, f64, f32, f32, f32, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationPriorityComparison, IUIAnimationPriorityComparison_Vtbl, 0x83fa9b74_5f86_4618_bc6a_a2fac19b3f44); -impl std::ops::Deref for IUIAnimationPriorityComparison { +impl core::ops::Deref for IUIAnimationPriorityComparison { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -452,7 +452,7 @@ pub struct IUIAnimationPriorityComparison_Vtbl { pub HasPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, UI_ANIMATION_PRIORITY_EFFECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationPriorityComparison2, IUIAnimationPriorityComparison2_Vtbl, 0x5b6d7a37_4621_467c_8b05_70131de62ddb); -impl std::ops::Deref for IUIAnimationPriorityComparison2 { +impl core::ops::Deref for IUIAnimationPriorityComparison2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -474,7 +474,7 @@ pub struct IUIAnimationPriorityComparison2_Vtbl { pub HasPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, UI_ANIMATION_PRIORITY_EFFECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationStoryboard, IUIAnimationStoryboard_Vtbl, 0xa8ff128f_9bf9_4af1_9e67_e5e410defb84); -impl std::ops::Deref for IUIAnimationStoryboard { +impl core::ops::Deref for IUIAnimationStoryboard { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -594,7 +594,7 @@ pub struct IUIAnimationStoryboard_Vtbl { pub SetStoryboardEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationStoryboard2, IUIAnimationStoryboard2_Vtbl, 0xae289cd2_12d4_4945_9419_9e41be034df2); -impl std::ops::Deref for IUIAnimationStoryboard2 { +impl core::ops::Deref for IUIAnimationStoryboard2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -722,7 +722,7 @@ pub struct IUIAnimationStoryboard2_Vtbl { pub SetStoryboardEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationStoryboardEventHandler, IUIAnimationStoryboardEventHandler_Vtbl, 0x3d5c9008_ec7c_4364_9f8a_9af3c58cbae6); -impl std::ops::Deref for IUIAnimationStoryboardEventHandler { +impl core::ops::Deref for IUIAnimationStoryboardEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -750,7 +750,7 @@ pub struct IUIAnimationStoryboardEventHandler_Vtbl { pub OnStoryboardUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationStoryboardEventHandler2, IUIAnimationStoryboardEventHandler2_Vtbl, 0xbac5f55a_ba7c_414c_b599_fbf850f553c6); -impl std::ops::Deref for IUIAnimationStoryboardEventHandler2 { +impl core::ops::Deref for IUIAnimationStoryboardEventHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -778,7 +778,7 @@ pub struct IUIAnimationStoryboardEventHandler2_Vtbl { pub OnStoryboardUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTimer, IUIAnimationTimer_Vtbl, 0x6b0efad1_a053_41d6_9085_33a689144665); -impl std::ops::Deref for IUIAnimationTimer { +impl core::ops::Deref for IUIAnimationTimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -827,7 +827,7 @@ pub struct IUIAnimationTimer_Vtbl { pub SetFrameRateThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTimerClientEventHandler, IUIAnimationTimerClientEventHandler_Vtbl, 0xbedb4db6_94fa_4bfb_a47f_ef2d9e408c25); -impl std::ops::Deref for IUIAnimationTimerClientEventHandler { +impl core::ops::Deref for IUIAnimationTimerClientEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -845,7 +845,7 @@ pub struct IUIAnimationTimerClientEventHandler_Vtbl { pub OnTimerClientStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_ANIMATION_TIMER_CLIENT_STATUS, UI_ANIMATION_TIMER_CLIENT_STATUS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTimerEventHandler, IUIAnimationTimerEventHandler_Vtbl, 0x274a7dea_d771_4095_abbd_8df7abd23ce3); -impl std::ops::Deref for IUIAnimationTimerEventHandler { +impl core::ops::Deref for IUIAnimationTimerEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -871,7 +871,7 @@ pub struct IUIAnimationTimerEventHandler_Vtbl { pub OnRenderingTooSlow: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTimerUpdateHandler, IUIAnimationTimerUpdateHandler_Vtbl, 0x195509b7_5d5e_4e3e_b278_ee3759b367ad); -impl std::ops::Deref for IUIAnimationTimerUpdateHandler { +impl core::ops::Deref for IUIAnimationTimerUpdateHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -901,7 +901,7 @@ pub struct IUIAnimationTimerUpdateHandler_Vtbl { pub ClearTimerClientEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTransition, IUIAnimationTransition_Vtbl, 0xdc6ce252_f731_41cf_b610_614b6ca049ad); -impl std::ops::Deref for IUIAnimationTransition { +impl core::ops::Deref for IUIAnimationTransition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -932,7 +932,7 @@ pub struct IUIAnimationTransition_Vtbl { pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTransition2, IUIAnimationTransition2_Vtbl, 0x62ff9123_a85a_4e9b_a218_435a93e268fd); -impl std::ops::Deref for IUIAnimationTransition2 { +impl core::ops::Deref for IUIAnimationTransition2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -976,7 +976,7 @@ pub struct IUIAnimationTransition2_Vtbl { pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTransitionFactory, IUIAnimationTransitionFactory_Vtbl, 0xfcd91e03_3e3b_45ad_bbb1_6dfc8153743d); -impl std::ops::Deref for IUIAnimationTransitionFactory { +impl core::ops::Deref for IUIAnimationTransitionFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -998,7 +998,7 @@ pub struct IUIAnimationTransitionFactory_Vtbl { pub CreateTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTransitionFactory2, IUIAnimationTransitionFactory2_Vtbl, 0x937d4916_c1a6_42d5_88d8_30344d6efe31); -impl std::ops::Deref for IUIAnimationTransitionFactory2 { +impl core::ops::Deref for IUIAnimationTransitionFactory2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1020,7 +1020,7 @@ pub struct IUIAnimationTransitionFactory2_Vtbl { pub CreateTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTransitionLibrary, IUIAnimationTransitionLibrary_Vtbl, 0xca5a14b1_d24f_48b8_8fe4_c78169ba954e); -impl std::ops::Deref for IUIAnimationTransitionLibrary { +impl core::ops::Deref for IUIAnimationTransitionLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1094,7 +1094,7 @@ pub struct IUIAnimationTransitionLibrary_Vtbl { pub CreateParabolicTransitionFromAcceleration: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationTransitionLibrary2, IUIAnimationTransitionLibrary2_Vtbl, 0x03cfae53_9580_4ee3_b363_2ece51b4af6a); -impl std::ops::Deref for IUIAnimationTransitionLibrary2 { +impl core::ops::Deref for IUIAnimationTransitionLibrary2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1203,7 +1203,7 @@ pub struct IUIAnimationTransitionLibrary2_Vtbl { pub CreateCubicBezierLinearVectorTransition: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *const f64, u32, f64, f64, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationVariable, IUIAnimationVariable_Vtbl, 0x8ceeb155_2849_4ce5_9448_91ff70e1e4d9); -impl std::ops::Deref for IUIAnimationVariable { +impl core::ops::Deref for IUIAnimationVariable { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1289,7 +1289,7 @@ pub struct IUIAnimationVariable_Vtbl { pub SetVariableIntegerChangeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationVariable2, IUIAnimationVariable2_Vtbl, 0x4914b304_96ab_44d9_9e77_d5109b7e7466); -impl std::ops::Deref for IUIAnimationVariable2 { +impl core::ops::Deref for IUIAnimationVariable2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1440,7 +1440,7 @@ pub struct IUIAnimationVariable2_Vtbl { pub SetVariableCurveChangeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationVariableChangeHandler, IUIAnimationVariableChangeHandler_Vtbl, 0x6358b7ba_87d2_42d5_bf71_82e919dd5862); -impl std::ops::Deref for IUIAnimationVariableChangeHandler { +impl core::ops::Deref for IUIAnimationVariableChangeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1462,7 +1462,7 @@ pub struct IUIAnimationVariableChangeHandler_Vtbl { pub OnValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationVariableChangeHandler2, IUIAnimationVariableChangeHandler2_Vtbl, 0x63acc8d2_6eae_4bb0_b879_586dd8cfbe42); -impl std::ops::Deref for IUIAnimationVariableChangeHandler2 { +impl core::ops::Deref for IUIAnimationVariableChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1484,7 +1484,7 @@ pub struct IUIAnimationVariableChangeHandler2_Vtbl { pub OnValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const f64, *const f64, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationVariableCurveChangeHandler2, IUIAnimationVariableCurveChangeHandler2_Vtbl, 0x72895e91_0145_4c21_9192_5aab40eddf80); -impl std::ops::Deref for IUIAnimationVariableCurveChangeHandler2 { +impl core::ops::Deref for IUIAnimationVariableCurveChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1505,7 +1505,7 @@ pub struct IUIAnimationVariableCurveChangeHandler2_Vtbl { pub OnCurveChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationVariableIntegerChangeHandler, IUIAnimationVariableIntegerChangeHandler_Vtbl, 0xbb3e1550_356e_44b0_99da_85ac6017865e); -impl std::ops::Deref for IUIAnimationVariableIntegerChangeHandler { +impl core::ops::Deref for IUIAnimationVariableIntegerChangeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1527,7 +1527,7 @@ pub struct IUIAnimationVariableIntegerChangeHandler_Vtbl { pub OnIntegerValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIAnimationVariableIntegerChangeHandler2, IUIAnimationVariableIntegerChangeHandler2_Vtbl, 0x829b6cf1_4f3a_4412_ae09_b243eb4c6b58); -impl std::ops::Deref for IUIAnimationVariableIntegerChangeHandler2 { +impl core::ops::Deref for IUIAnimationVariableIntegerChangeHandler2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs index b55eed9367..07db747a61 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -838,7 +838,7 @@ pub unsafe fn WcsTranslateColors(hcolortransform: isize, ncolors: u32, ninputcha WcsTranslateColors(hcolortransform, ncolors, ninputchannels, cdtinput, cbinput, pinputdata, noutputchannels, cdtoutput, cboutput, poutputdata) } windows_core::imp::define_interface!(IDeviceModelPlugIn, IDeviceModelPlugIn_Vtbl, 0x1cd63475_07c4_46fe_a903_d655316d11fd); -impl std::ops::Deref for IDeviceModelPlugIn { +impl core::ops::Deref for IDeviceModelPlugIn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -906,7 +906,7 @@ pub struct IDeviceModelPlugIn_Vtbl { pub GetNeutralAxis: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut XYZColorF) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGamutMapModelPlugIn, IGamutMapModelPlugIn_Vtbl, 0x2dd80115_ad1e_41f6_a219_a4f4b583d1f9); -impl std::ops::Deref for IGamutMapModelPlugIn { +impl core::ops::Deref for IGamutMapModelPlugIn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs index 917f4b2f9b..c754580437 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/mod.rs @@ -116,7 +116,7 @@ pub unsafe fn ReplaceTextW(param0: *mut FINDREPLACEW) -> super::super::super::Fo ReplaceTextW(param0) } windows_core::imp::define_interface!(IPrintDialogCallback, IPrintDialogCallback_Vtbl, 0x5852a2c3_6530_11d1_b6a3_0000f8757bf9); -impl std::ops::Deref for IPrintDialogCallback { +impl core::ops::Deref for IPrintDialogCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -147,7 +147,7 @@ pub struct IPrintDialogCallback_Vtbl { pub HandleMessage: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, u32, super::super::super::Foundation::WPARAM, super::super::super::Foundation::LPARAM, *mut super::super::super::Foundation::LRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintDialogServices, IPrintDialogServices_Vtbl, 0x509aaeda_5639_11d1_b6a1_0000f8757bf9); -impl std::ops::Deref for IPrintDialogServices { +impl core::ops::Deref for IPrintDialogServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs index 9d11561ab5..b82ddd84fb 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IRichEditOle, IRichEditOle_Vtbl, 0x00020d00_0000_0000_c000_000000000046); -impl std::ops::Deref for IRichEditOle { +impl core::ops::Deref for IRichEditOle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -122,7 +122,7 @@ pub struct IRichEditOle_Vtbl { ImportDataObject: usize, } windows_core::imp::define_interface!(IRichEditOleCallback, IRichEditOleCallback_Vtbl, 0x00020d03_0000_0000_c000_000000000046); -impl std::ops::Deref for IRichEditOleCallback { +impl core::ops::Deref for IRichEditOleCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -232,7 +232,7 @@ pub struct IRichEditOleCallback_Vtbl { GetContextMenu: usize, } windows_core::imp::define_interface!(IRicheditUiaOverrides, IRicheditUiaOverrides_Vtbl, 0); -impl std::ops::Deref for IRicheditUiaOverrides { +impl core::ops::Deref for IRicheditUiaOverrides { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -252,7 +252,7 @@ pub struct IRicheditUiaOverrides_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextDisplays, ITextDisplays_Vtbl, 0xc241f5f2_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextDisplays { +impl core::ops::Deref for ITextDisplays { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -270,7 +270,7 @@ pub struct ITextDisplays_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextDocument, ITextDocument_Vtbl, 0x8cc497c0_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextDocument { +impl core::ops::Deref for ITextDocument { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -393,7 +393,7 @@ pub struct ITextDocument_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextDocument2, ITextDocument2_Vtbl, 0xc241f5e0_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextDocument2 { +impl core::ops::Deref for ITextDocument2 { type Target = ITextDocument; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -667,7 +667,7 @@ pub struct ITextDocument2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextDocument2Old, ITextDocument2Old_Vtbl, 0x01c25500_4268_11d1_883a_3c8b00c10000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextDocument2Old { +impl core::ops::Deref for ITextDocument2Old { type Target = ITextDocument; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -813,7 +813,7 @@ pub struct ITextDocument2Old_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextFont, ITextFont_Vtbl, 0x8cc497c3_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextFont { +impl core::ops::Deref for ITextFont { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1101,7 +1101,7 @@ pub struct ITextFont_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextFont2, ITextFont2_Vtbl, 0xc241f5e3_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextFont2 { +impl core::ops::Deref for ITextFont2 { type Target = ITextFont; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1342,7 +1342,7 @@ pub struct ITextFont2_Vtbl { pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextHost, ITextHost_Vtbl, 0); -impl std::ops::Deref for ITextHost { +impl core::ops::Deref for ITextHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1594,7 +1594,7 @@ pub struct ITextHost_Vtbl { pub TxGetSelectionBarWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextHost2, ITextHost2_Vtbl, 0); -impl std::ops::Deref for ITextHost2 { +impl core::ops::Deref for ITextHost2 { type Target = ITextHost; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1678,7 +1678,7 @@ pub struct ITextHost2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextPara, ITextPara_Vtbl, 0x8cc497c4_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextPara { +impl core::ops::Deref for ITextPara { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1931,7 +1931,7 @@ pub struct ITextPara_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextPara2, ITextPara2_Vtbl, 0xc241f5e4_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextPara2 { +impl core::ops::Deref for ITextPara2 { type Target = ITextPara; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2040,7 +2040,7 @@ pub struct ITextPara2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextRange, ITextRange_Vtbl, 0x8cc497c2_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextRange { +impl core::ops::Deref for ITextRange { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2368,7 +2368,7 @@ pub struct ITextRange_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextRange2, ITextRange2_Vtbl, 0xc241f5e2_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextRange2 { +impl core::ops::Deref for ITextRange2 { type Target = ITextSelection; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2629,7 +2629,7 @@ pub struct ITextRange2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextRow, ITextRow_Vtbl, 0xc241f5ef_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextRow { +impl core::ops::Deref for ITextRow { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2860,7 +2860,7 @@ pub struct ITextRow_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextSelection, ITextSelection_Vtbl, 0x8cc497c1_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextSelection { +impl core::ops::Deref for ITextSelection { type Target = ITextRange; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2930,7 +2930,7 @@ pub struct ITextSelection_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextSelection2, ITextSelection2_Vtbl, 0xc241f5e1_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextSelection2 { +impl core::ops::Deref for ITextSelection2 { type Target = ITextRange2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2946,7 +2946,7 @@ pub struct ITextSelection2_Vtbl { pub base__: ITextRange2_Vtbl, } windows_core::imp::define_interface!(ITextServices, ITextServices_Vtbl, 0); -impl std::ops::Deref for ITextServices { +impl core::ops::Deref for ITextServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3076,7 +3076,7 @@ pub struct ITextServices_Vtbl { pub TxGetCachedSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextServices2, ITextServices2_Vtbl, 0); -impl std::ops::Deref for ITextServices2 { +impl core::ops::Deref for ITextServices2 { type Target = ITextServices; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3113,7 +3113,7 @@ pub struct ITextServices2_Vtbl { TxDrawD2D: usize, } windows_core::imp::define_interface!(ITextStory, ITextStory_Vtbl, 0xc241f5f3_7206_11d8_a2c7_00a0d1d6c6b3); -impl std::ops::Deref for ITextStory { +impl core::ops::Deref for ITextStory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3194,7 +3194,7 @@ pub struct ITextStory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextStoryRanges, ITextStoryRanges_Vtbl, 0x8cc497c5_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextStoryRanges { +impl core::ops::Deref for ITextStoryRanges { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3232,7 +3232,7 @@ pub struct ITextStoryRanges_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextStoryRanges2, ITextStoryRanges2_Vtbl, 0xc241f5e5_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextStoryRanges2 { +impl core::ops::Deref for ITextStoryRanges2 { type Target = ITextStoryRanges; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3260,7 +3260,7 @@ pub struct ITextStoryRanges2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ITextStrings, ITextStrings_Vtbl, 0xc241f5e7_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ITextStrings { +impl core::ops::Deref for ITextStrings { type Target = super::super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs index fc7049a5bc..d5ca6ae8cc 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -1208,7 +1208,7 @@ where T: windows_core::Interface, { windows_targets::link!("comctl32.dll" "system" fn ImageList_CoCreateInstance(rclsid : *const windows_core::GUID, punkouter : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); ImageList_CoCreateInstance(rclsid, punkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1792,7 +1792,7 @@ where UpdatePanningFeedback(hwnd.param().abi(), ltotaloverpanoffsetx, ltotaloverpanoffsety, fininertia.param().abi()) } windows_core::imp::define_interface!(IImageList, IImageList_Vtbl, 0x46eb5926_582e_4017_9fdf_e8998daa0950); -impl std::ops::Deref for IImageList { +impl core::ops::Deref for IImageList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1996,7 +1996,7 @@ pub struct IImageList_Vtbl { pub GetOverlayImage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageList2, IImageList2_Vtbl, 0x192b9d83_50fc_457b_90a0_2b82a8b5dae1); -impl std::ops::Deref for IImageList2 { +impl core::ops::Deref for IImageList2 { type Target = IImageList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs index c9988d730a..16ea1f55ae 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/mod.rs @@ -742,7 +742,7 @@ where ImmUnregisterWordW(param0.param().abi(), lpszreading.param().abi(), param2, lpszunregister.param().abi()) } windows_core::imp::define_interface!(IActiveIME, IActiveIME_Vtbl, 0x6fe20962_d077_11d0_8fe7_00aa006bcc59); -impl std::ops::Deref for IActiveIME { +impl core::ops::Deref for IActiveIME { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -906,7 +906,7 @@ pub struct IActiveIME_Vtbl { pub GetLangId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveIME2, IActiveIME2_Vtbl, 0xe1c4bf0e_2d53_11d2_93e1_0060b067b86e); -impl std::ops::Deref for IActiveIME2 { +impl core::ops::Deref for IActiveIME2 { type Target = IActiveIME; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -931,7 +931,7 @@ pub struct IActiveIME2_Vtbl { pub Unsleep: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveIMMApp, IActiveIMMApp_Vtbl, 0x08c0e040_62d1_11d1_9326_0060b067b86e); -impl std::ops::Deref for IActiveIMMApp { +impl core::ops::Deref for IActiveIMMApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1681,7 +1681,7 @@ pub struct IActiveIMMApp_Vtbl { pub EnumInputContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveIMMIME, IActiveIMMIME_Vtbl, 0x08c03411_f96b_11d0_a475_00aa006bcc59); -impl std::ops::Deref for IActiveIMMIME { +impl core::ops::Deref for IActiveIMMIME { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2635,7 +2635,7 @@ pub struct IActiveIMMIME_Vtbl { pub IsSleeping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveIMMMessagePumpOwner, IActiveIMMMessagePumpOwner_Vtbl, 0xb5cf2cfa_8aeb_11d1_9364_0060b067b86e); -impl std::ops::Deref for IActiveIMMMessagePumpOwner { +impl core::ops::Deref for IActiveIMMMessagePumpOwner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2674,7 +2674,7 @@ pub struct IActiveIMMMessagePumpOwner_Vtbl { pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveIMMRegistrar, IActiveIMMRegistrar_Vtbl, 0xb3458082_bd00_11d1_939b_0060b067b86e); -impl std::ops::Deref for IActiveIMMRegistrar { +impl core::ops::Deref for IActiveIMMRegistrar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2700,7 +2700,7 @@ pub struct IActiveIMMRegistrar_Vtbl { pub UnregisterIME: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumInputContext, IEnumInputContext_Vtbl, 0x09b5eab0_f997_11d1_93d4_0060b067b86e); -impl std::ops::Deref for IEnumInputContext { +impl core::ops::Deref for IEnumInputContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2735,7 +2735,7 @@ pub struct IEnumInputContext_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumRegisterWordA, IEnumRegisterWordA_Vtbl, 0x08c03412_f96b_11d0_a475_00aa006bcc59); -impl std::ops::Deref for IEnumRegisterWordA { +impl core::ops::Deref for IEnumRegisterWordA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2766,7 +2766,7 @@ pub struct IEnumRegisterWordA_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumRegisterWordW, IEnumRegisterWordW_Vtbl, 0x4955dd31_b159_11d0_8fcf_00aa006bcc59); -impl std::ops::Deref for IEnumRegisterWordW { +impl core::ops::Deref for IEnumRegisterWordW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2799,7 +2799,7 @@ pub struct IEnumRegisterWordW_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFEClassFactory, IFEClassFactory_Vtbl, 0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFEClassFactory { +impl core::ops::Deref for IFEClassFactory { type Target = super::super::super::System::Com::IClassFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2815,7 +2815,7 @@ pub struct IFEClassFactory_Vtbl { pub base__: super::super::super::System::Com::IClassFactory_Vtbl, } windows_core::imp::define_interface!(IFECommon, IFECommon_Vtbl, 0x019f7151_e6db_11d0_83c3_00c04fddb82e); -impl std::ops::Deref for IFECommon { +impl core::ops::Deref for IFECommon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2845,7 +2845,7 @@ pub struct IFECommon_Vtbl { pub InvokeDictToolDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMEDLG) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFEDictionary, IFEDictionary_Vtbl, 0x019f7153_e6db_11d0_83c3_00c04fddb82e); -impl std::ops::Deref for IFEDictionary { +impl core::ops::Deref for IFEDictionary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2947,7 +2947,7 @@ pub struct IFEDictionary_Vtbl { pub ConvertFromUserToSys: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFELanguage, IFELanguage_Vtbl, 0x019f7152_e6db_11d0_83c3_00c04fddb82e); -impl std::ops::Deref for IFELanguage { +impl core::ops::Deref for IFELanguage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2994,7 +2994,7 @@ pub struct IFELanguage_Vtbl { pub GetConversion: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, i32, i32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImePad, IImePad_Vtbl, 0x5d8e643a_c3a9_11d1_afef_00805f0c8b6d); -impl std::ops::Deref for IImePad { +impl core::ops::Deref for IImePad { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3017,7 +3017,7 @@ pub struct IImePad_Vtbl { pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::super::Foundation::WPARAM, super::super::super::Foundation::LPARAM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImePadApplet, IImePadApplet_Vtbl, 0x5d8e643b_c3a9_11d1_afef_00805f0c8b6d); -impl std::ops::Deref for IImePadApplet { +impl core::ops::Deref for IImePadApplet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3066,7 +3066,7 @@ pub struct IImePadApplet_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::super::Foundation::WPARAM, super::super::super::Foundation::LPARAM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImePlugInDictDictionaryList, IImePlugInDictDictionaryList_Vtbl, 0x98752974_b0a6_489b_8f6f_bff3769c8eeb); -impl std::ops::Deref for IImePlugInDictDictionaryList { +impl core::ops::Deref for IImePlugInDictDictionaryList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3095,7 +3095,7 @@ pub struct IImePlugInDictDictionaryList_Vtbl { pub DeleteDictionary: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImeSpecifyApplets, IImeSpecifyApplets_Vtbl, 0x5d8e643c_c3a9_11d1_afef_00805f0c8b6d); -impl std::ops::Deref for IImeSpecifyApplets { +impl core::ops::Deref for IImeSpecifyApplets { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs index dc531c3386..8b8b0b4f63 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IInkCommitRequestHandler, IInkCommitRequestHandler_Vtbl, 0xfabea3fc_b108_45b6_a9fc_8d08fa9f85cf); -impl std::ops::Deref for IInkCommitRequestHandler { +impl core::ops::Deref for IInkCommitRequestHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17,7 +17,7 @@ pub struct IInkCommitRequestHandler_Vtbl { pub OnCommitRequested: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkD2DRenderer, IInkD2DRenderer_Vtbl, 0x407fb1de_f85a_4150_97cf_b7fb274fb4f8); -impl std::ops::Deref for IInkD2DRenderer { +impl core::ops::Deref for IInkD2DRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -40,7 +40,7 @@ pub struct IInkD2DRenderer_Vtbl { pub Draw: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkD2DRenderer2, IInkD2DRenderer2_Vtbl, 0x0a95dcd9_4578_4b71_b20b_bf664d4bfeee); -impl std::ops::Deref for IInkD2DRenderer2 { +impl core::ops::Deref for IInkD2DRenderer2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -62,7 +62,7 @@ pub struct IInkD2DRenderer2_Vtbl { pub Draw: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, INK_HIGH_CONTRAST_ADJUSTMENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkDesktopHost, IInkDesktopHost_Vtbl, 0x4ce7d875_a981_4140_a1ff_ad93258e8d59); -impl std::ops::Deref for IInkDesktopHost { +impl core::ops::Deref for IInkDesktopHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -80,7 +80,7 @@ impl IInkDesktopHost { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateInkPresenter)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateAndInitializeInkPresenter(&self, rootvisual: P0, width: f32, height: f32) -> windows_core::Result @@ -88,7 +88,7 @@ impl IInkDesktopHost { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateAndInitializeInkPresenter)(windows_core::Interface::as_raw(self), rootvisual.param().abi(), width, height, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -100,7 +100,7 @@ pub struct IInkDesktopHost_Vtbl { pub CreateAndInitializeInkPresenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f32, f32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkHostWorkItem, IInkHostWorkItem_Vtbl, 0xccda0a9a_1b78_4632_bb96_97800662e26c); -impl std::ops::Deref for IInkHostWorkItem { +impl core::ops::Deref for IInkHostWorkItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -118,7 +118,7 @@ pub struct IInkHostWorkItem_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkPresenterDesktop, IInkPresenterDesktop_Vtbl, 0x73f3c0d9_2e8b_48f3_895e_20cbd27b723b); -impl std::ops::Deref for IInkPresenterDesktop { +impl core::ops::Deref for IInkPresenterDesktop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs index e8f24bccae..10c3e25d5c 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IRadialControllerConfigurationInterop, IRadialControllerConfigurationInterop_Vtbl, 0x787cdaac_3186_476d_87e4_b9374a7b9970); -impl std::ops::Deref for IRadialControllerConfigurationInterop { +impl core::ops::Deref for IRadialControllerConfigurationInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12,7 +12,7 @@ impl IRadialControllerConfigurationInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22,7 +22,7 @@ pub struct IRadialControllerConfigurationInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRadialControllerIndependentInputSourceInterop, IRadialControllerIndependentInputSourceInterop_Vtbl, 0x3d577eff_4cee_11e6_b535_001bdc06ab3b); -impl std::ops::Deref for IRadialControllerIndependentInputSourceInterop { +impl core::ops::Deref for IRadialControllerIndependentInputSourceInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -35,7 +35,7 @@ impl IRadialControllerIndependentInputSourceInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateForWindow)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -45,7 +45,7 @@ pub struct IRadialControllerIndependentInputSourceInterop_Vtbl { pub CreateForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRadialControllerInterop, IRadialControllerInterop_Vtbl, 0x1b0535c9_57ad_45c1_9d79_ad5c34360513); -impl std::ops::Deref for IRadialControllerInterop { +impl core::ops::Deref for IRadialControllerInterop { type Target = windows_core::IInspectable; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -58,7 +58,7 @@ impl IRadialControllerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateForWindow)(windows_core::Interface::as_raw(self), hwnd.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs index 51f593773f..ad079f9df4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs @@ -79,7 +79,7 @@ where UnregisterTouchWindow(hwnd.param().abi()).ok() } windows_core::imp::define_interface!(IInertiaProcessor, IInertiaProcessor_Vtbl, 0x18b00c6d_c5ee_41b1_90a9_9d4a929095ad); -impl std::ops::Deref for IInertiaProcessor { +impl core::ops::Deref for IInertiaProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -313,7 +313,7 @@ pub struct IInertiaProcessor_Vtbl { pub CompleteTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IManipulationProcessor, IManipulationProcessor_Vtbl, 0xa22ac519_8300_48a0_bef4_f1be8737dba4); -impl std::ops::Deref for IManipulationProcessor { +impl core::ops::Deref for IManipulationProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -420,7 +420,7 @@ pub struct IManipulationProcessor_Vtbl { pub SetMinimumScaleRotateRadius: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(_IManipulationEvents, _IManipulationEvents_Vtbl, 0x4f62c8da_9c53_4b22_93df_927a862bbb03); -impl std::ops::Deref for _IManipulationEvents { +impl core::ops::Deref for _IManipulationEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs index 5b84e81287..a30f0a4cb6 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IADesktopP2, IADesktopP2_Vtbl, 0xb22754e2_4574_11d1_9888_006097deacf9); -impl std::ops::Deref for IADesktopP2 { +impl core::ops::Deref for IADesktopP2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -36,7 +36,7 @@ pub struct IADesktopP2_Vtbl { MakeDynamicChanges: usize, } windows_core::imp::define_interface!(IActiveDesktopP, IActiveDesktopP_Vtbl, 0x52502ee0_ec80_11d0_89ab_00c04fc2972d); -impl std::ops::Deref for IActiveDesktopP { +impl core::ops::Deref for IActiveDesktopP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -69,7 +69,7 @@ pub struct IActiveDesktopP_Vtbl { pub GetScheme: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBriefcaseInitiator, IBriefcaseInitiator_Vtbl, 0x99180164_da16_101a_935c_444553540000); -impl std::ops::Deref for IBriefcaseInitiator { +impl core::ops::Deref for IBriefcaseInitiator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -94,7 +94,7 @@ pub struct IBriefcaseInitiator_Vtbl { IsMonikerInBriefcase: usize, } windows_core::imp::define_interface!(IEmptyVolumeCache, IEmptyVolumeCache_Vtbl, 0x8fce5227_04da_11d1_a004_00805f8abe06); -impl std::ops::Deref for IEmptyVolumeCache { +impl core::ops::Deref for IEmptyVolumeCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -146,7 +146,7 @@ pub struct IEmptyVolumeCache_Vtbl { pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EMPTY_VOLUME_CACHE_FLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEmptyVolumeCache2, IEmptyVolumeCache2_Vtbl, 0x02b7e3ba_4db3_11d2_b2d9_00c04f8eec8c); -impl std::ops::Deref for IEmptyVolumeCache2 { +impl core::ops::Deref for IEmptyVolumeCache2 { type Target = IEmptyVolumeCache; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -173,7 +173,7 @@ pub struct IEmptyVolumeCache2_Vtbl { InitializeEx: usize, } windows_core::imp::define_interface!(IEmptyVolumeCacheCallBack, IEmptyVolumeCacheCallBack_Vtbl, 0x6e793361_73c6_11d0_8469_00aa00442901); -impl std::ops::Deref for IEmptyVolumeCacheCallBack { +impl core::ops::Deref for IEmptyVolumeCacheCallBack { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -201,7 +201,7 @@ pub struct IEmptyVolumeCacheCallBack_Vtbl { pub PurgeProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReconcilableObject, IReconcilableObject_Vtbl, 0x99180162_da16_101a_935c_444553540000); -impl std::ops::Deref for IReconcilableObject { +impl core::ops::Deref for IReconcilableObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -234,7 +234,7 @@ pub struct IReconcilableObject_Vtbl { pub GetProgressFeedbackMaxEstimate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IReconcileInitiator, IReconcileInitiator_Vtbl, 0x99180161_da16_101a_935c_444553540000); -impl std::ops::Deref for IReconcileInitiator { +impl core::ops::Deref for IReconcileInitiator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs index ec50dca215..6f356b9bc2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(INotificationActivationCallback, INotificationActivationCallback_Vtbl, 0x53e31837_6600_4a81_9395_75cffe746f94); -impl std::ops::Deref for INotificationActivationCallback { +impl core::ops::Deref for INotificationActivationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs index 29d3b9e42f..527a6b86e0 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IUIApplication, IUIApplication_Vtbl, 0xd428903c_729a_491d_910d_682a08ff2522); -impl std::ops::Deref for IUIApplication { +impl core::ops::Deref for IUIApplication { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -32,7 +32,7 @@ pub struct IUIApplication_Vtbl { pub OnDestroyUICommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, UI_COMMANDTYPE, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUICollection, IUICollection_Vtbl, 0xdf4f45bf_6f9d_4dd7_9d68_d8f9cd18c4db); -impl std::ops::Deref for IUICollection { +impl core::ops::Deref for IUICollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -85,7 +85,7 @@ pub struct IUICollection_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUICollectionChangedEvent, IUICollectionChangedEvent_Vtbl, 0x6502ae91_a14d_44b5_bbd0_62aacc581d52); -impl std::ops::Deref for IUICollectionChangedEvent { +impl core::ops::Deref for IUICollectionChangedEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -107,7 +107,7 @@ pub struct IUICollectionChangedEvent_Vtbl { pub OnChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_COLLECTIONCHANGE, u32, *mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUICommandHandler, IUICommandHandler_Vtbl, 0x75ae0a2d_dc03_4c9f_8883_069660d0beb6); -impl std::ops::Deref for IUICommandHandler { +impl core::ops::Deref for IUICommandHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -141,7 +141,7 @@ pub struct IUICommandHandler_Vtbl { UpdateProperty: usize, } windows_core::imp::define_interface!(IUIContextualUI, IUIContextualUI_Vtbl, 0xeea11f37_7c46_437c_8e55_b52122b29293); -impl std::ops::Deref for IUIContextualUI { +impl core::ops::Deref for IUIContextualUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -159,7 +159,7 @@ pub struct IUIContextualUI_Vtbl { pub ShowAtLocation: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIEventLogger, IUIEventLogger_Vtbl, 0xec3e1034_dbf4_41a1_95d5_03e0f1026e05); -impl std::ops::Deref for IUIEventLogger { +impl core::ops::Deref for IUIEventLogger { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -177,7 +177,7 @@ pub struct IUIEventLogger_Vtbl { pub OnUIEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const UI_EVENTPARAMS), } windows_core::imp::define_interface!(IUIEventingManager, IUIEventingManager_Vtbl, 0x3be6ea7f_9a9b_4198_9368_9b0f923bd534); -impl std::ops::Deref for IUIEventingManager { +impl core::ops::Deref for IUIEventingManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -198,7 +198,7 @@ pub struct IUIEventingManager_Vtbl { pub SetEventLogger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIFramework, IUIFramework_Vtbl, 0xf4f0385d_6872_43a8_ad09_4c339cb3f5c5); -impl std::ops::Deref for IUIFramework { +impl core::ops::Deref for IUIFramework { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -269,7 +269,7 @@ pub struct IUIFramework_Vtbl { pub SetModes: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIImage, IUIImage_Vtbl, 0x23c8c838_4de6_436b_ab01_5554bb7c30dd); -impl std::ops::Deref for IUIImage { +impl core::ops::Deref for IUIImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -292,7 +292,7 @@ pub struct IUIImage_Vtbl { GetBitmap: usize, } windows_core::imp::define_interface!(IUIImageFromBitmap, IUIImageFromBitmap_Vtbl, 0x18aba7f3_4c1c_4ba2_bf6c_f5c3326fa816); -impl std::ops::Deref for IUIImageFromBitmap { +impl core::ops::Deref for IUIImageFromBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -318,7 +318,7 @@ pub struct IUIImageFromBitmap_Vtbl { CreateImage: usize, } windows_core::imp::define_interface!(IUIRibbon, IUIRibbon_Vtbl, 0x803982ab_370a_4f7e_a9e7_8784036a6e26); -impl std::ops::Deref for IUIRibbon { +impl core::ops::Deref for IUIRibbon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -359,7 +359,7 @@ pub struct IUIRibbon_Vtbl { SaveSettingsToStream: usize, } windows_core::imp::define_interface!(IUISimplePropertySet, IUISimplePropertySet_Vtbl, 0xc205bb48_5b1c_4219_a106_15bd0a5f24e2); -impl std::ops::Deref for IUISimplePropertySet { +impl core::ops::Deref for IUISimplePropertySet { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs index 242e0c5205..5f6c342847 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IObjectArray, IObjectArray_Vtbl, 0x92ca9dcd_5622_4bba_a805_5e9f541bd8c9); -impl std::ops::Deref for IObjectArray { +impl core::ops::Deref for IObjectArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15,7 +15,7 @@ impl IObjectArray { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), uiindex, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -26,7 +26,7 @@ pub struct IObjectArray_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectCollection, IObjectCollection_Vtbl, 0x5632b1a4_e38a_400a_928a_d4cd63230295); -impl std::ops::Deref for IObjectCollection { +impl core::ops::Deref for IObjectCollection { type Target = IObjectArray; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index 264152bba1..1074ea31a4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs @@ -627,7 +627,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHGetPropertyStoreForWindow(hwnd : super::super::super::Foundation:: HWND, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHGetPropertyStoreForWindow(hwnd.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -645,7 +645,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHGetPropertyStoreFromParsingName(pszpath : windows_core::PCWSTR, pbc : * mut core::ffi::c_void, flags : GETPROPERTYSTOREFLAGS, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHGetPropertyStoreFromParsingName(pszpath.param().abi(), pbc.param().abi(), flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -676,7 +676,7 @@ where SHPropStgWriteMultiple(pps.param().abi(), core::mem::transmute(pucodepage.unwrap_or(std::ptr::null_mut())), cpspec, rgpspec, core::mem::transmute(rgvar), propidnamefirst).ok() } windows_core::imp::define_interface!(ICreateObject, ICreateObject_Vtbl, 0x75121952_e0d0_43e5_9380_1d80483acf72); -impl std::ops::Deref for ICreateObject { +impl core::ops::Deref for ICreateObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -689,7 +689,7 @@ impl ICreateObject { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateObject)(windows_core::Interface::as_raw(self), clsid, punkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -699,7 +699,7 @@ pub struct ICreateObject_Vtbl { pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDelayedPropertyStoreFactory, IDelayedPropertyStoreFactory_Vtbl, 0x40d4577f_e237_4bdb_bd69_58f089431b6a); -impl std::ops::Deref for IDelayedPropertyStoreFactory { +impl core::ops::Deref for IDelayedPropertyStoreFactory { type Target = IPropertyStoreFactory; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -711,7 +711,7 @@ impl IDelayedPropertyStoreFactory { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetDelayedPropertyStore)(windows_core::Interface::as_raw(self), flags, dwstoreid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -721,7 +721,7 @@ pub struct IDelayedPropertyStoreFactory_Vtbl { pub GetDelayedPropertyStore: unsafe extern "system" fn(*mut core::ffi::c_void, GETPROPERTYSTOREFLAGS, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInitializeWithFile, IInitializeWithFile_Vtbl, 0xb7d14566_0509_4cce_a71f_0a554233bd9b); -impl std::ops::Deref for IInitializeWithFile { +impl core::ops::Deref for IInitializeWithFile { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -742,7 +742,7 @@ pub struct IInitializeWithFile_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInitializeWithStream, IInitializeWithStream_Vtbl, 0xb824b49d_22ac_4161_ac8a_9916e8fa3f7f); -impl std::ops::Deref for IInitializeWithStream { +impl core::ops::Deref for IInitializeWithStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -767,7 +767,7 @@ pub struct IInitializeWithStream_Vtbl { Initialize: usize, } windows_core::imp::define_interface!(INamedPropertyStore, INamedPropertyStore_Vtbl, 0x71604b0f_97b0_4764_8577_2f13e98a1422); -impl std::ops::Deref for INamedPropertyStore { +impl core::ops::Deref for INamedPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -806,7 +806,7 @@ pub struct INamedPropertyStore_Vtbl { pub GetNameAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithPropertyKey, IObjectWithPropertyKey_Vtbl, 0xfc0ca0a7_c316_4fd2_9031_3e628e6d4f23); -impl std::ops::Deref for IObjectWithPropertyKey { +impl core::ops::Deref for IObjectWithPropertyKey { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -828,7 +828,7 @@ pub struct IObjectWithPropertyKey_Vtbl { pub GetPropertyKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROPERTYKEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistSerializedPropStorage, IPersistSerializedPropStorage_Vtbl, 0xe318ad57_0aa0_450f_aca5_6fab7103d917); -impl std::ops::Deref for IPersistSerializedPropStorage { +impl core::ops::Deref for IPersistSerializedPropStorage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -857,7 +857,7 @@ pub struct IPersistSerializedPropStorage_Vtbl { pub GetPropertyStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SERIALIZEDPROPSTORAGE, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPersistSerializedPropStorage2, IPersistSerializedPropStorage2_Vtbl, 0x77effa68_4f98_4366_ba72_573b3d880571); -impl std::ops::Deref for IPersistSerializedPropStorage2 { +impl core::ops::Deref for IPersistSerializedPropStorage2 { type Target = IPersistSerializedPropStorage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -880,7 +880,7 @@ pub struct IPersistSerializedPropStorage2_Vtbl { pub GetPropertyStorageBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SERIALIZEDPROPSTORAGE, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyChange, IPropertyChange_Vtbl, 0xf917bc8a_1bba_4478_a245_1bde03eb9431); -impl std::ops::Deref for IPropertyChange { +impl core::ops::Deref for IPropertyChange { type Target = IObjectWithPropertyKey; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -899,7 +899,7 @@ pub struct IPropertyChange_Vtbl { pub ApplyToPropVariant: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyChangeArray, IPropertyChangeArray_Vtbl, 0x380f5cad_1b5e_42f2_805d_637fd392d31e); -impl std::ops::Deref for IPropertyChangeArray { +impl core::ops::Deref for IPropertyChangeArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -915,7 +915,7 @@ impl IPropertyChangeArray { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), iindex, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn InsertAt(&self, iindex: u32, ppropchange: P0) -> windows_core::Result<()> @@ -955,7 +955,7 @@ pub struct IPropertyChangeArray_Vtbl { pub IsKeyInArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescription, IPropertyDescription_Vtbl, 0x6f79d558_3e96_4549_a1d1_7d75d2288814); -impl std::ops::Deref for IPropertyDescription { +impl core::ops::Deref for IPropertyDescription { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1036,7 +1036,7 @@ impl IPropertyDescription { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetEnumTypeList)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CoerceToCanonicalValue(&self, ppropvar: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -1079,7 +1079,7 @@ pub struct IPropertyDescription_Vtbl { pub IsValueCanonical: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescription2, IPropertyDescription2_Vtbl, 0x57d2eded_5062_400e_b107_5dae79fe57a6); -impl std::ops::Deref for IPropertyDescription2 { +impl core::ops::Deref for IPropertyDescription2 { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1098,7 +1098,7 @@ pub struct IPropertyDescription2_Vtbl { pub GetImageReferenceForValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescriptionAliasInfo, IPropertyDescriptionAliasInfo_Vtbl, 0xf67104fc_2af9_46fd_b32d_243c1404f3d1); -impl std::ops::Deref for IPropertyDescriptionAliasInfo { +impl core::ops::Deref for IPropertyDescriptionAliasInfo { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1110,14 +1110,14 @@ impl IPropertyDescriptionAliasInfo { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetSortByAlias)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetAdditionalSortByAliases(&self) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAdditionalSortByAliases)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1128,7 +1128,7 @@ pub struct IPropertyDescriptionAliasInfo_Vtbl { pub GetAdditionalSortByAliases: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescriptionList, IPropertyDescriptionList_Vtbl, 0x1f9fc1d0_c39b_4b26_817f_011967d3440e); -impl std::ops::Deref for IPropertyDescriptionList { +impl core::ops::Deref for IPropertyDescriptionList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1144,7 +1144,7 @@ impl IPropertyDescriptionList { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), ielem, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1155,7 +1155,7 @@ pub struct IPropertyDescriptionList_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescriptionRelatedPropertyInfo, IPropertyDescriptionRelatedPropertyInfo_Vtbl, 0x507393f4_2a3d_4a60_b59e_d9c75716c2dd); -impl std::ops::Deref for IPropertyDescriptionRelatedPropertyInfo { +impl core::ops::Deref for IPropertyDescriptionRelatedPropertyInfo { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1168,7 +1168,7 @@ impl IPropertyDescriptionRelatedPropertyInfo { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetRelatedProperty)(windows_core::Interface::as_raw(self), pszrelationshipname.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1178,7 +1178,7 @@ pub struct IPropertyDescriptionRelatedPropertyInfo_Vtbl { pub GetRelatedProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyDescriptionSearchInfo, IPropertyDescriptionSearchInfo_Vtbl, 0x078f91bd_29a2_440f_924e_46a291524520); -impl std::ops::Deref for IPropertyDescriptionSearchInfo { +impl core::ops::Deref for IPropertyDescriptionSearchInfo { type Target = IPropertyDescription; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1212,7 +1212,7 @@ pub struct IPropertyDescriptionSearchInfo_Vtbl { pub GetMaxSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyEnumType, IPropertyEnumType_Vtbl, 0x11e1fbf9_2d56_4a6b_8db3_7cd193a471f2); -impl std::ops::Deref for IPropertyEnumType { +impl core::ops::Deref for IPropertyEnumType { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1251,7 +1251,7 @@ pub struct IPropertyEnumType_Vtbl { pub GetDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyEnumType2, IPropertyEnumType2_Vtbl, 0x9b6e051c_5ddd_4321_9070_fe2acb55e794); -impl std::ops::Deref for IPropertyEnumType2 { +impl core::ops::Deref for IPropertyEnumType2 { type Target = IPropertyEnumType; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1270,7 +1270,7 @@ pub struct IPropertyEnumType2_Vtbl { pub GetImageReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyEnumTypeList, IPropertyEnumTypeList_Vtbl, 0xa99400f4_3d84_4557_94ba_1242fb2cc9a6); -impl std::ops::Deref for IPropertyEnumTypeList { +impl core::ops::Deref for IPropertyEnumTypeList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1286,14 +1286,14 @@ impl IPropertyEnumTypeList { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetAt)(windows_core::Interface::as_raw(self), itype, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetConditionAt(&self, nindex: u32) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetConditionAt)(windows_core::Interface::as_raw(self), nindex, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FindMatchingIndex(&self, propvarcmp: *const windows_core::PROPVARIANT) -> windows_core::Result { @@ -1310,7 +1310,7 @@ pub struct IPropertyEnumTypeList_Vtbl { pub FindMatchingIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStore, IPropertyStore_Vtbl, 0x886d8eeb_8cf2_4446_8d02_cdba1dbdcf99); -impl std::ops::Deref for IPropertyStore { +impl core::ops::Deref for IPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1346,7 +1346,7 @@ pub struct IPropertyStore_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStoreCache, IPropertyStoreCache_Vtbl, 0x3017056d_9a91_4e90_937d_746c72abbf4f); -impl std::ops::Deref for IPropertyStoreCache { +impl core::ops::Deref for IPropertyStoreCache { type Target = IPropertyStore; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1377,7 +1377,7 @@ pub struct IPropertyStoreCache_Vtbl { pub SetValueAndState: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const core::mem::MaybeUninit, PSC_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStoreCapabilities, IPropertyStoreCapabilities_Vtbl, 0xc8e2d566_186e_4d49_bf41_6909ead56acc); -impl std::ops::Deref for IPropertyStoreCapabilities { +impl core::ops::Deref for IPropertyStoreCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1395,7 +1395,7 @@ pub struct IPropertyStoreCapabilities_Vtbl { pub IsPropertyWritable: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyStoreFactory, IPropertyStoreFactory_Vtbl, 0xbc110b6d_57e8_4148_a9c6_91015ab2f3a5); -impl std::ops::Deref for IPropertyStoreFactory { +impl core::ops::Deref for IPropertyStoreFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1408,14 +1408,14 @@ impl IPropertyStoreFactory { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyStore)(windows_core::Interface::as_raw(self), flags, punkfactory.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyStoreForKeys(&self, rgkeys: *const PROPERTYKEY, ckeys: u32, flags: GETPROPERTYSTOREFLAGS) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyStoreForKeys)(windows_core::Interface::as_raw(self), rgkeys, ckeys, flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1426,7 +1426,7 @@ pub struct IPropertyStoreFactory_Vtbl { pub GetPropertyStoreForKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, u32, GETPROPERTYSTOREFLAGS, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertySystem, IPropertySystem_Vtbl, 0xca724e8a_c3e6_442b_88a4_6fb0db8035a3); -impl std::ops::Deref for IPropertySystem { +impl core::ops::Deref for IPropertySystem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1438,7 +1438,7 @@ impl IPropertySystem { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyDescription)(windows_core::Interface::as_raw(self), propkey, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyDescriptionByName(&self, pszcanonicalname: P0) -> windows_core::Result @@ -1446,7 +1446,7 @@ impl IPropertySystem { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyDescriptionByName)(windows_core::Interface::as_raw(self), pszcanonicalname.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPropertyDescriptionListFromString(&self, pszproplist: P0) -> windows_core::Result @@ -1454,14 +1454,14 @@ impl IPropertySystem { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyDescriptionListFromString)(windows_core::Interface::as_raw(self), pszproplist.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumeratePropertyDescriptions(&self, filteron: PROPDESC_ENUMFILTER) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).EnumeratePropertyDescriptions)(windows_core::Interface::as_raw(self), filteron, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn FormatForDisplay(&self, key: *const PROPERTYKEY, propvar: *const windows_core::PROPVARIANT, pdff: PROPDESC_FORMAT_FLAGS, psztext: &mut [u16]) -> windows_core::Result<()> { @@ -1501,7 +1501,7 @@ pub struct IPropertySystem_Vtbl { pub RefreshPropertySchema: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertySystemChangeNotify, IPropertySystemChangeNotify_Vtbl, 0xfa955fd9_38be_4879_a6ce_824cf52d609f); -impl std::ops::Deref for IPropertySystemChangeNotify { +impl core::ops::Deref for IPropertySystemChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1519,7 +1519,7 @@ pub struct IPropertySystemChangeNotify_Vtbl { pub SchemaRefreshed: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyUI, IPropertyUI_Vtbl, 0x757a7d9f_919a_4118_99d7_dbb208c8cc66); -impl std::ops::Deref for IPropertyUI { +impl core::ops::Deref for IPropertyUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs index 4253b1b289..673124ca56 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -8,7 +8,7 @@ where T: windows_core::Interface, { windows_targets::link!("shlwapi.dll" "system" fn AssocCreate(clsid : windows_core::GUID, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); AssocCreate(core::mem::transmute(clsid), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Registry")] @@ -18,7 +18,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn AssocCreateForClasses(rgclasses : *const ASSOCIATIONELEMENT, cclasses : u32, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); AssocCreateForClasses(core::mem::transmute(rgclasses.as_ptr()), rgclasses.len().try_into().unwrap(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -621,7 +621,7 @@ where T: windows_core::Interface, { windows_targets::link!("hlink.dll" "system" fn HlinkClone(pihl : * mut core::ffi::c_void, riid : *const windows_core::GUID, pihlsiteforclone : * mut core::ffi::c_void, dwsitedata : u32, ppvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); HlinkClone(pihl.param().abi(), &T::IID, pihlsiteforclone.param().abi(), dwsitedata, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -631,7 +631,7 @@ where T: windows_core::Interface, { windows_targets::link!("hlink.dll" "system" fn HlinkCreateBrowseContext(piunkouter : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); HlinkCreateBrowseContext(piunkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -645,7 +645,7 @@ where T: windows_core::Interface, { windows_targets::link!("hlink.dll" "system" fn HlinkCreateExtensionServices(pwzadditionalheaders : windows_core::PCWSTR, phwnd : super::super::Foundation:: HWND, pszusername : windows_core::PCWSTR, pszpassword : windows_core::PCWSTR, piunkouter : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); HlinkCreateExtensionServices(pwzadditionalheaders.param().abi(), phwnd.param().abi(), pszusername.param().abi(), pszpassword.param().abi(), piunkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -658,7 +658,7 @@ where T: windows_core::Interface, { windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromData(pidataobj : * mut core::ffi::c_void, pihlsite : * mut core::ffi::c_void, dwsitedata : u32, piunkouter : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); HlinkCreateFromData(pidataobj.param().abi(), pihlsite.param().abi(), dwsitedata, piunkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -673,7 +673,7 @@ where T: windows_core::Interface, { windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromMoniker(pimktrgt : * mut core::ffi::c_void, pwzlocation : windows_core::PCWSTR, pwzfriendlyname : windows_core::PCWSTR, pihlsite : * mut core::ffi::c_void, dwsitedata : u32, piunkouter : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); HlinkCreateFromMoniker(pimktrgt.param().abi(), pwzlocation.param().abi(), pwzfriendlyname.param().abi(), pihlsite.param().abi(), dwsitedata, piunkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -687,7 +687,7 @@ where T: windows_core::Interface, { windows_targets::link!("hlink.dll" "system" fn HlinkCreateFromString(pwztarget : windows_core::PCWSTR, pwzlocation : windows_core::PCWSTR, pwzfriendlyname : windows_core::PCWSTR, pihlsite : * mut core::ffi::c_void, dwsitedata : u32, piunkouter : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); HlinkCreateFromString(pwztarget.param().abi(), pwzlocation.param().abi(), pwzfriendlyname.param().abi(), pihlsite.param().abi(), dwsitedata, piunkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1124,7 +1124,7 @@ where T: windows_core::Interface, { windows_targets::link!("shlwapi.dll" "system" fn IUnknown_GetSite(punk : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); IUnknown_GetSite(punk.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -1143,7 +1143,7 @@ where T: windows_core::Interface, { windows_targets::link!("shlwapi.dll" "system" fn IUnknown_QueryService(punk : * mut core::ffi::c_void, guidservice : *const windows_core::GUID, riid : *const windows_core::GUID, ppvout : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); IUnknown_QueryService(punk.param().abi(), guidservice, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2383,7 +2383,7 @@ where T: windows_core::Interface, { windows_targets::link!("shlwapi.dll" "system" fn QISearch(that : *mut core::ffi::c_void, pqit : *const QITAB, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); QISearch(that, pqit, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2520,7 +2520,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHAssocEnumHandlersForProtocolByApplication(protocol : windows_core::PCWSTR, riid : *const windows_core::GUID, enumhandlers : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHAssocEnumHandlersForProtocolByApplication(protocol.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2539,7 +2539,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHBindToFolderIDListParent(psfroot : * mut core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHBindToFolderIDListParent(psfroot.param().abi(), pidl, &T::IID, &mut result__, core::mem::transmute(ppidllast.unwrap_or(std::ptr::null_mut()))).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -2551,7 +2551,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHBindToFolderIDListParentEx(psfroot : * mut core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, ppbc : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHBindToFolderIDListParentEx(psfroot.param().abi(), pidl, ppbc.param().abi(), &T::IID, &mut result__, core::mem::transmute(ppidllast.unwrap_or(std::ptr::null_mut()))).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -2563,7 +2563,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHBindToObject(psf : * mut core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, pbc : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHBindToObject(psf.param().abi(), pidl, pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2573,7 +2573,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHBindToParent(pidl : *const Common:: ITEMIDLIST, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void, ppidllast : *mut *mut Common:: ITEMIDLIST) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHBindToParent(pidl, &T::IID, &mut result__, core::mem::transmute(ppidllast.unwrap_or(std::ptr::null_mut()))).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2656,7 +2656,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCoCreateInstance(pszclsid : windows_core::PCWSTR, pclsid : *const windows_core::GUID, punkouter : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCoCreateInstance(pszclsid.param().abi(), core::mem::transmute(pclsid.unwrap_or(std::ptr::null())), punkouter.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Registry")] @@ -2687,7 +2687,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateAssociationRegistration(riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateAssociationRegistration(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -2698,7 +2698,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateDataObject(pidlfolder : *const Common:: ITEMIDLIST, cidl : u32, apidl : *const *const Common:: ITEMIDLIST, pdtinner : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateDataObject(core::mem::transmute(pidlfolder.unwrap_or(std::ptr::null())), apidl.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(apidl.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pdtinner.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] @@ -2708,7 +2708,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultContextMenu(pdcm : *const DEFCONTEXTMENU, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateDefaultContextMenu(pdcm, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2717,7 +2717,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateDefaultExtractIcon(riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateDefaultExtractIcon(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2765,7 +2765,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateFileExtractIconW(pszfile : windows_core::PCWSTR, dwfileattributes : u32, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateFileExtractIconW(pszfile.param().abi(), dwfileattributes, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2775,7 +2775,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromIDList(pidl : *const Common:: ITEMIDLIST, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateItemFromIDList(pidl, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2787,7 +2787,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromParsingName(pszpath : windows_core::PCWSTR, pbc : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateItemFromParsingName(pszpath.param().abi(), pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2800,7 +2800,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateItemFromRelativeName(psiparent : * mut core::ffi::c_void, pszname : windows_core::PCWSTR, pbc : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateItemFromRelativeName(psiparent.param().abi(), pszname.param().abi(), pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -2810,7 +2810,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateItemInKnownFolder(kfid : *const windows_core::GUID, dwkfflags : u32, pszitem : windows_core::PCWSTR, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateItemInKnownFolder(kfid, dwkfflags.0 as _, pszitem.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2821,7 +2821,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateItemWithParent(pidlparent : *const Common:: ITEMIDLIST, psfparent : * mut core::ffi::c_void, pidl : *const Common:: ITEMIDLIST, riid : *const windows_core::GUID, ppvitem : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateItemWithParent(core::mem::transmute(pidlparent.unwrap_or(std::ptr::null())), psfparent.param().abi(), pidl, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -2895,7 +2895,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromDataObject(pdo : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateShellItemArrayFromDataObject(pdo.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -2912,7 +2912,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHCreateShellItemArrayFromShellItem(psi : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHCreateShellItemArrayFromShellItem(psi.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_Graphics_Gdi")] @@ -3378,7 +3378,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHGetImageList(iimagelist : i32, riid : *const windows_core::GUID, ppvobj : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHGetImageList(iimagelist, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -3400,7 +3400,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHGetItemFromDataObject(pdtobj : * mut core::ffi::c_void, dwflags : DATAOBJ_GET_ITEM_FLAGS, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHGetItemFromDataObject(pdtobj.param().abi(), dwflags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -3410,7 +3410,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHGetItemFromObject(punk : * mut core::ffi::c_void, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHGetItemFromObject(punk.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -3430,7 +3430,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn SHGetKnownFolderItem(rfid : *const windows_core::GUID, flags : KNOWN_FOLDER_FLAG, htoken : super::super::Foundation:: HANDLE, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHGetKnownFolderItem(rfid, flags, htoken.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -3621,7 +3621,7 @@ where T: windows_core::Interface, { windows_targets::link!("shlwapi.dll" "system" fn SHGetViewStatePropertyBag(pidl : *const Common:: ITEMIDLIST, pszbagname : windows_core::PCWSTR, dwflags : u32, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); SHGetViewStatePropertyBag(core::mem::transmute(pidl.unwrap_or(std::ptr::null())), pszbagname.param().abi(), dwflags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -4711,7 +4711,7 @@ where T: windows_core::Interface, { windows_targets::link!("shell32.dll" "system" fn StgMakeUniqueName(pstgparent : * mut core::ffi::c_void, pszfilespec : windows_core::PCWSTR, grfmode : u32, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); StgMakeUniqueName(pstgparent.param().abi(), pszfilespec.param().abi(), grfmode, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[inline] @@ -5636,7 +5636,7 @@ where #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(CIE4ConnectionPoint, CIE4ConnectionPoint_Vtbl, 0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for CIE4ConnectionPoint { +impl core::ops::Deref for CIE4ConnectionPoint { type Target = super::super::System::Com::IConnectionPoint; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5674,7 +5674,7 @@ pub struct CIE4ConnectionPoint_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DFConstraint, DFConstraint_Vtbl, 0x4a3df050_23bd_11d2_939f_00a0c91eedba); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DFConstraint { +impl core::ops::Deref for DFConstraint { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5703,7 +5703,7 @@ pub struct DFConstraint_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DShellFolderViewEvents, DShellFolderViewEvents_Vtbl, 0x62112aa2_ebe4_11cf_a5fb_0020afe7292d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DShellFolderViewEvents { +impl core::ops::Deref for DShellFolderViewEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5721,7 +5721,7 @@ pub struct DShellFolderViewEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DShellNameSpaceEvents, DShellNameSpaceEvents_Vtbl, 0x55136806_b2de_11d1_b9f2_00a0c98bc547); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DShellNameSpaceEvents { +impl core::ops::Deref for DShellNameSpaceEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5739,7 +5739,7 @@ pub struct DShellNameSpaceEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DShellWindowsEvents, DShellWindowsEvents_Vtbl, 0xfe4106e0_399a_11d0_a48c_00a0c90a8f39); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DShellWindowsEvents { +impl core::ops::Deref for DShellWindowsEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5757,7 +5757,7 @@ pub struct DShellWindowsEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DWebBrowserEvents, DWebBrowserEvents_Vtbl, 0xeab22ac2_30c1_11cf_a7eb_0000c05bae0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DWebBrowserEvents { +impl core::ops::Deref for DWebBrowserEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5775,7 +5775,7 @@ pub struct DWebBrowserEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(DWebBrowserEvents2, DWebBrowserEvents2_Vtbl, 0x34a715a0_6587_11d0_924a_0020afc7ac4d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for DWebBrowserEvents2 { +impl core::ops::Deref for DWebBrowserEvents2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5793,7 +5793,7 @@ pub struct DWebBrowserEvents2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Folder, Folder_Vtbl, 0xbbcbde60_c3ff_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Folder { +impl core::ops::Deref for Folder { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5897,7 +5897,7 @@ pub struct Folder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Folder2, Folder2_Vtbl, 0xf0d2d8ef_3890_11d2_bf8b_00c04fb93661); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Folder2 { +impl core::ops::Deref for Folder2 { type Target = Folder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5943,7 +5943,7 @@ pub struct Folder2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Folder3, Folder3_Vtbl, 0xa7ae5f64_c4d7_4d7f_9307_4d24ee54b841); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Folder3 { +impl core::ops::Deref for Folder3 { type Target = Folder2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5974,7 +5974,7 @@ pub struct Folder3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItem, FolderItem_Vtbl, 0xfac32c80_cbe4_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for FolderItem { +impl core::ops::Deref for FolderItem { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6101,7 +6101,7 @@ pub struct FolderItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItem2, FolderItem2_Vtbl, 0xedc817aa_92b8_11d1_b075_00c04fc33aa5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for FolderItem2 { +impl core::ops::Deref for FolderItem2 { type Target = FolderItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6136,7 +6136,7 @@ pub struct FolderItem2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItemVerb, FolderItemVerb_Vtbl, 0x08ec3e00_50b0_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for FolderItemVerb { +impl core::ops::Deref for FolderItemVerb { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6182,7 +6182,7 @@ pub struct FolderItemVerb_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItemVerbs, FolderItemVerbs_Vtbl, 0x1f8352c0_50b0_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for FolderItemVerbs { +impl core::ops::Deref for FolderItemVerbs { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6241,7 +6241,7 @@ pub struct FolderItemVerbs_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItems, FolderItems_Vtbl, 0x744129e0_cbe5_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for FolderItems { +impl core::ops::Deref for FolderItems { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6300,7 +6300,7 @@ pub struct FolderItems_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItems2, FolderItems2_Vtbl, 0xc94f0ad0_f363_11d2_a327_00c04f8eec7f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for FolderItems2 { +impl core::ops::Deref for FolderItems2 { type Target = FolderItems; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6327,7 +6327,7 @@ pub struct FolderItems2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(FolderItems3, FolderItems3_Vtbl, 0xeaa7c309_bbec_49d5_821d_64d966cb667f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for FolderItems3 { +impl core::ops::Deref for FolderItems3 { type Target = FolderItems2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6360,7 +6360,7 @@ pub struct FolderItems3_Vtbl { Verbs: usize, } windows_core::imp::define_interface!(IACList, IACList_Vtbl, 0x77a130b0_94fd_11d0_a544_00c04fd7d062); -impl std::ops::Deref for IACList { +impl core::ops::Deref for IACList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6381,7 +6381,7 @@ pub struct IACList_Vtbl { pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IACList2, IACList2_Vtbl, 0x470141a0_5186_11d2_bbb6_0060977b464c); -impl std::ops::Deref for IACList2 { +impl core::ops::Deref for IACList2 { type Target = IACList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6404,7 +6404,7 @@ pub struct IACList2_Vtbl { pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessibilityDockingService, IAccessibilityDockingService_Vtbl, 0x8849dc22_cedf_4c95_998d_051419dd3f76); -impl std::ops::Deref for IAccessibilityDockingService { +impl core::ops::Deref for IAccessibilityDockingService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6449,7 +6449,7 @@ pub struct IAccessibilityDockingService_Vtbl { pub UndockWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessibilityDockingServiceCallback, IAccessibilityDockingServiceCallback_Vtbl, 0x157733fd_a592_42e5_b594_248468c5a81b); -impl std::ops::Deref for IAccessibilityDockingServiceCallback { +impl core::ops::Deref for IAccessibilityDockingServiceCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6467,7 +6467,7 @@ pub struct IAccessibilityDockingServiceCallback_Vtbl { pub Undocked: unsafe extern "system" fn(*mut core::ffi::c_void, UNDOCK_REASON) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccessibleObject, IAccessibleObject_Vtbl, 0x95a391c5_9ed4_4c28_8401_ab9e06719e11); -impl std::ops::Deref for IAccessibleObject { +impl core::ops::Deref for IAccessibleObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6488,7 +6488,7 @@ pub struct IAccessibleObject_Vtbl { pub SetAccessibleName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActionProgress, IActionProgress_Vtbl, 0x49ff1173_eadc_446d_9285_156453a6431c); -impl std::ops::Deref for IActionProgress { +impl core::ops::Deref for IActionProgress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6531,7 +6531,7 @@ pub struct IActionProgress_Vtbl { pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActionProgressDialog, IActionProgressDialog_Vtbl, 0x49ff1172_eadc_446d_9285_156453a6431c); -impl std::ops::Deref for IActionProgressDialog { +impl core::ops::Deref for IActionProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6557,7 +6557,7 @@ pub struct IActionProgressDialog_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppActivationUIInfo, IAppActivationUIInfo_Vtbl, 0xabad189d_9fa3_4278_b3ca_8ca448a88dcb); -impl std::ops::Deref for IAppActivationUIInfo { +impl core::ops::Deref for IAppActivationUIInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6600,7 +6600,7 @@ pub struct IAppActivationUIInfo_Vtbl { pub GetKeyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppPublisher, IAppPublisher_Vtbl, 0x07250a10_9cf9_11d1_9076_006008059382); -impl std::ops::Deref for IAppPublisher { +impl core::ops::Deref for IAppPublisher { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6634,7 +6634,7 @@ pub struct IAppPublisher_Vtbl { pub EnumApps: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppVisibility, IAppVisibility_Vtbl, 0x2246ea2d_caea_4444_a3c4_6de827e44313); -impl std::ops::Deref for IAppVisibility { +impl core::ops::Deref for IAppVisibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6677,7 +6677,7 @@ pub struct IAppVisibility_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAppVisibilityEvents, IAppVisibilityEvents_Vtbl, 0x6584ce6b_7d82_49c2_89c9_c6bc02ba8c38); -impl std::ops::Deref for IAppVisibilityEvents { +impl core::ops::Deref for IAppVisibilityEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6709,7 +6709,7 @@ pub struct IAppVisibilityEvents_Vtbl { pub LauncherVisibilityChange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationActivationManager, IApplicationActivationManager_Vtbl, 0x2e941141_7f97_4756_ba1d_9decde894a3d); -impl std::ops::Deref for IApplicationActivationManager { +impl core::ops::Deref for IApplicationActivationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6751,7 +6751,7 @@ pub struct IApplicationActivationManager_Vtbl { pub ActivateForProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationAssociationRegistration, IApplicationAssociationRegistration_Vtbl, 0x4e530b0a_e611_4c77_a3ac_9031d022281b); -impl std::ops::Deref for IApplicationAssociationRegistration { +impl core::ops::Deref for IApplicationAssociationRegistration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6809,7 +6809,7 @@ pub struct IApplicationAssociationRegistration_Vtbl { pub ClearUserAssociations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationAssociationRegistrationUI, IApplicationAssociationRegistrationUI_Vtbl, 0x1f76a169_f994_40ac_8fc8_0959e8874710); -impl std::ops::Deref for IApplicationAssociationRegistrationUI { +impl core::ops::Deref for IApplicationAssociationRegistrationUI { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6830,7 +6830,7 @@ pub struct IApplicationAssociationRegistrationUI_Vtbl { pub LaunchAdvancedAssociationUI: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDesignModeSettings, IApplicationDesignModeSettings_Vtbl, 0x2a3dee9a_e31d_46d6_8508_bcc597db3557); -impl std::ops::Deref for IApplicationDesignModeSettings { +impl core::ops::Deref for IApplicationDesignModeSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6878,7 +6878,7 @@ pub struct IApplicationDesignModeSettings_Vtbl { pub TriggerEdgeGesture: unsafe extern "system" fn(*mut core::ffi::c_void, EDGE_GESTURE_KIND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDesignModeSettings2, IApplicationDesignModeSettings2_Vtbl, 0x490514e1_675a_4d6e_a58d_e54901b4ca2f); -impl std::ops::Deref for IApplicationDesignModeSettings2 { +impl core::ops::Deref for IApplicationDesignModeSettings2 { type Target = IApplicationDesignModeSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6924,7 +6924,7 @@ pub struct IApplicationDesignModeSettings2_Vtbl { pub GetApplicationViewOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::SIZE, *mut APPLICATION_VIEW_ORIENTATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDestinations, IApplicationDestinations_Vtbl, 0x12337d35_94c6_48a0_bce7_6a9c69d4d600); -impl std::ops::Deref for IApplicationDestinations { +impl core::ops::Deref for IApplicationDestinations { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6956,7 +6956,7 @@ pub struct IApplicationDestinations_Vtbl { pub RemoveAllDestinations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IApplicationDocumentLists, IApplicationDocumentLists_Vtbl, 0x3c594f9f_9f30_47a1_979a_c9e83d3d0a06); -impl std::ops::Deref for IApplicationDocumentLists { +impl core::ops::Deref for IApplicationDocumentLists { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6974,7 +6974,7 @@ impl IApplicationDocumentLists { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetList)(windows_core::Interface::as_raw(self), listtype, citemsdesired, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -6985,7 +6985,7 @@ pub struct IApplicationDocumentLists_Vtbl { pub GetList: unsafe extern "system" fn(*mut core::ffi::c_void, APPDOCLISTTYPE, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAssocHandler, IAssocHandler_Vtbl, 0xf04061ac_1659_4a3f_a954_775aa57fc083); -impl std::ops::Deref for IAssocHandler { +impl core::ops::Deref for IAssocHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7047,7 +7047,7 @@ pub struct IAssocHandler_Vtbl { CreateInvoker: usize, } windows_core::imp::define_interface!(IAssocHandlerInvoker, IAssocHandlerInvoker_Vtbl, 0x92218cab_ecaa_4335_8133_807fd234c2ee); -impl std::ops::Deref for IAssocHandlerInvoker { +impl core::ops::Deref for IAssocHandlerInvoker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7069,7 +7069,7 @@ pub struct IAssocHandlerInvoker_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAttachmentExecute, IAttachmentExecute_Vtbl, 0x73db1241_1e85_4581_8e4f_a81e1d0f8c57); -impl std::ops::Deref for IAttachmentExecute { +impl core::ops::Deref for IAttachmentExecute { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7157,7 +7157,7 @@ pub struct IAttachmentExecute_Vtbl { pub ClearClientState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAutoComplete, IAutoComplete_Vtbl, 0x00bb2762_6a77_11d0_a535_00c04fd7d062); -impl std::ops::Deref for IAutoComplete { +impl core::ops::Deref for IAutoComplete { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7188,7 +7188,7 @@ pub struct IAutoComplete_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAutoComplete2, IAutoComplete2_Vtbl, 0xeac04bc0_3791_11d2_bb95_0060977b464c); -impl std::ops::Deref for IAutoComplete2 { +impl core::ops::Deref for IAutoComplete2 { type Target = IAutoComplete; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7211,7 +7211,7 @@ pub struct IAutoComplete2_Vtbl { pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAutoCompleteDropDown, IAutoCompleteDropDown_Vtbl, 0x3cd141f4_3c6a_11d2_bcaa_00c04fd929db); -impl std::ops::Deref for IAutoCompleteDropDown { +impl core::ops::Deref for IAutoCompleteDropDown { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7233,7 +7233,7 @@ pub struct IAutoCompleteDropDown_Vtbl { pub ResetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBandHost, IBandHost_Vtbl, 0xb9075c7c_d48e_403f_ab99_d6c77a1084ac); -impl std::ops::Deref for IBandHost { +impl core::ops::Deref for IBandHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7247,7 +7247,7 @@ impl IBandHost { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateBand)(windows_core::Interface::as_raw(self), rclsidband, favailable.param().abi(), fvisible.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBandAvailability(&self, rclsidband: *const windows_core::GUID, favailable: P0) -> windows_core::Result<()> @@ -7268,7 +7268,7 @@ pub struct IBandHost_Vtbl { pub DestroyBand: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBandSite, IBandSite_Vtbl, 0x4cf504b0_de96_11d0_8b3f_00a0c911e8e5); -impl std::ops::Deref for IBandSite { +impl core::ops::Deref for IBandSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7300,7 +7300,7 @@ impl IBandSite { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetBandObject)(windows_core::Interface::as_raw(self), dwbandid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetBandSiteInfo(&self, pbsinfo: *const BANDSITEINFO) -> windows_core::Result<()> { @@ -7326,7 +7326,7 @@ pub struct IBandSite_Vtbl { pub GetBandSiteInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BANDSITEINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBannerNotificationHandler, IBannerNotificationHandler_Vtbl, 0x8d7b2ba7_db05_46a8_823c_d2b6de08ee91); -impl std::ops::Deref for IBannerNotificationHandler { +impl core::ops::Deref for IBannerNotificationHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7344,7 +7344,7 @@ pub struct IBannerNotificationHandler_Vtbl { pub OnBannerEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const BANNER_NOTIFICATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBanneredBar, IBanneredBar_Vtbl, 0x596a9a94_013e_11d1_8d34_00a0c90f2719); -impl std::ops::Deref for IBanneredBar { +impl core::ops::Deref for IBanneredBar { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7387,7 +7387,7 @@ pub struct IBanneredBar_Vtbl { GetBitmap: usize, } windows_core::imp::define_interface!(IBrowserFrameOptions, IBrowserFrameOptions_Vtbl, 0x10df43c8_1dbe_11d3_8b34_006097df5bd4); -impl std::ops::Deref for IBrowserFrameOptions { +impl core::ops::Deref for IBrowserFrameOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7406,7 +7406,7 @@ pub struct IBrowserFrameOptions_Vtbl { pub GetFrameOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBrowserService, IBrowserService_Vtbl, 0x02ba3b52_0547_11d1_b833_00c04fc9b31f); -impl std::ops::Deref for IBrowserService { +impl core::ops::Deref for IBrowserService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -7646,7 +7646,7 @@ pub struct IBrowserService_Vtbl { pub RegisterWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, ShellWindowTypeConstants) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IBrowserService2, IBrowserService2_Vtbl, 0x68bd21cc_438b_11d2_a560_00a0c92dbfe8); -impl std::ops::Deref for IBrowserService2 { +impl core::ops::Deref for IBrowserService2 { type Target = IBrowserService; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8063,7 +8063,7 @@ pub struct IBrowserService2_Vtbl { v_CheckZoneCrossing: usize, } windows_core::imp::define_interface!(IBrowserService3, IBrowserService3_Vtbl, 0x27d7ce21_762d_48f3_86f3_40e2fd3749c4); -impl std::ops::Deref for IBrowserService3 { +impl core::ops::Deref for IBrowserService3 { type Target = IBrowserService2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8096,7 +8096,7 @@ pub struct IBrowserService3_Vtbl { IEParseDisplayNameEx: usize, } windows_core::imp::define_interface!(IBrowserService4, IBrowserService4_Vtbl, 0x639f1bff_e135_4096_abd8_e0f504d649a4); -impl std::ops::Deref for IBrowserService4 { +impl core::ops::Deref for IBrowserService4 { type Target = IBrowserService3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8125,7 +8125,7 @@ pub struct IBrowserService4_Vtbl { pub _ResizeAllBorders: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICDBurn, ICDBurn_Vtbl, 0x3d73a659_e5d0_4d42_afc0_5121ba425c8d); -impl std::ops::Deref for ICDBurn { +impl core::ops::Deref for ICDBurn { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8155,7 +8155,7 @@ pub struct ICDBurn_Vtbl { pub HasRecordableDrive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICDBurnExt, ICDBurnExt_Vtbl, 0x2271dcca_74fc_4414_8fb7_c56b05ace2d7); -impl std::ops::Deref for ICDBurnExt { +impl core::ops::Deref for ICDBurnExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8174,7 +8174,7 @@ pub struct ICDBurnExt_Vtbl { pub GetSupportedActionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICategorizer, ICategorizer_Vtbl, 0xa3b14589_9174_49a8_89a3_06a1ae2b9ba7); -impl std::ops::Deref for ICategorizer { +impl core::ops::Deref for ICategorizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8208,7 +8208,7 @@ pub struct ICategorizer_Vtbl { pub CompareCategory: unsafe extern "system" fn(*mut core::ffi::c_void, CATSORT_FLAGS, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICategoryProvider, ICategoryProvider_Vtbl, 0x9af64809_5864_4c26_a720_c1f78c086ee3); -impl std::ops::Deref for ICategoryProvider { +impl core::ops::Deref for ICategoryProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8241,7 +8241,7 @@ impl ICategoryProvider { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateCategory)(windows_core::Interface::as_raw(self), pguid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -8268,7 +8268,7 @@ pub struct ICategoryProvider_Vtbl { pub CreateCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IColumnManager, IColumnManager_Vtbl, 0xd8ec27bb_3f3b_4042_b10a_4acfd924d453); -impl std::ops::Deref for IColumnManager { +impl core::ops::Deref for IColumnManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8319,7 +8319,7 @@ pub struct IColumnManager_Vtbl { SetColumns: usize, } windows_core::imp::define_interface!(IColumnProvider, IColumnProvider_Vtbl, 0xe8025004_1c42_11d2_be2c_00a0c9a83da1); -impl std::ops::Deref for IColumnProvider { +impl core::ops::Deref for IColumnProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8354,7 +8354,7 @@ pub struct IColumnProvider_Vtbl { GetItemData: usize, } windows_core::imp::define_interface!(ICommDlgBrowser, ICommDlgBrowser_Vtbl, 0x000214f1_0000_0000_c000_000000000046); -impl std::ops::Deref for ICommDlgBrowser { +impl core::ops::Deref for ICommDlgBrowser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8401,7 +8401,7 @@ pub struct ICommDlgBrowser_Vtbl { IncludeObject: usize, } windows_core::imp::define_interface!(ICommDlgBrowser2, ICommDlgBrowser2_Vtbl, 0x10339516_2894_11d2_9039_00c04f8eeb3e); -impl std::ops::Deref for ICommDlgBrowser2 { +impl core::ops::Deref for ICommDlgBrowser2 { type Target = ICommDlgBrowser; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8442,7 +8442,7 @@ pub struct ICommDlgBrowser2_Vtbl { pub GetViewFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICommDlgBrowser3, ICommDlgBrowser3_Vtbl, 0xc8ad25a1_3294_41ee_8165_71174bd01c57); -impl std::ops::Deref for ICommDlgBrowser3 { +impl core::ops::Deref for ICommDlgBrowser3 { type Target = ICommDlgBrowser2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8482,7 +8482,7 @@ pub struct ICommDlgBrowser3_Vtbl { OnPreViewCreated: usize, } windows_core::imp::define_interface!(IComputerInfoChangeNotify, IComputerInfoChangeNotify_Vtbl, 0x0df60d92_6818_46d6_b358_d66170dde466); -impl std::ops::Deref for IComputerInfoChangeNotify { +impl core::ops::Deref for IComputerInfoChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8500,7 +8500,7 @@ pub struct IComputerInfoChangeNotify_Vtbl { pub ComputerInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IConnectableCredentialProviderCredential, IConnectableCredentialProviderCredential_Vtbl, 0x9387928b_ac75_4bf9_8ab2_2b93c4a55290); -impl std::ops::Deref for IConnectableCredentialProviderCredential { +impl core::ops::Deref for IConnectableCredentialProviderCredential { type Target = ICredentialProviderCredential; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8525,7 +8525,7 @@ pub struct IConnectableCredentialProviderCredential_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContactManagerInterop, IContactManagerInterop_Vtbl, 0x99eacba7_e073_43b6_a896_55afe48a0833); -impl std::ops::Deref for IContactManagerInterop { +impl core::ops::Deref for IContactManagerInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8547,7 +8547,7 @@ pub struct IContactManagerInterop_Vtbl { pub ShowContactCardForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, *const super::super::Foundation::RECT, FLYOUT_PLACEMENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextMenu, IContextMenu_Vtbl, 0x000214e4_0000_0000_c000_000000000046); -impl std::ops::Deref for IContextMenu { +impl core::ops::Deref for IContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8580,7 +8580,7 @@ pub struct IContextMenu_Vtbl { pub GetCommandString: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const u32, windows_core::PSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextMenu2, IContextMenu2_Vtbl, 0x000214f4_0000_0000_c000_000000000046); -impl std::ops::Deref for IContextMenu2 { +impl core::ops::Deref for IContextMenu2 { type Target = IContextMenu; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8602,7 +8602,7 @@ pub struct IContextMenu2_Vtbl { pub HandleMenuMsg: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextMenu3, IContextMenu3_Vtbl, 0xbcfce0a0_ec17_11d0_8d10_00a0c90f2719); -impl std::ops::Deref for IContextMenu3 { +impl core::ops::Deref for IContextMenu3 { type Target = IContextMenu2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8624,7 +8624,7 @@ pub struct IContextMenu3_Vtbl { pub HandleMenuMsg2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IContextMenuCB, IContextMenuCB_Vtbl, 0x3409e930_5a39_11d1_83fa_00a0c90dc849); -impl std::ops::Deref for IContextMenuCB { +impl core::ops::Deref for IContextMenuCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8653,7 +8653,7 @@ pub struct IContextMenuCB_Vtbl { CallBack: usize, } windows_core::imp::define_interface!(IContextMenuSite, IContextMenuSite_Vtbl, 0x0811aebe_0b87_4c54_9e72_548cf649016b); -impl std::ops::Deref for IContextMenuSite { +impl core::ops::Deref for IContextMenuSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8674,7 +8674,7 @@ pub struct IContextMenuSite_Vtbl { pub DoContextMenuPopup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, super::super::Foundation::POINT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICopyHookA, ICopyHookA_Vtbl, 0x000214ef_0000_0000_c000_000000000046); -impl std::ops::Deref for ICopyHookA { +impl core::ops::Deref for ICopyHookA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8697,7 +8697,7 @@ pub struct ICopyHookA_Vtbl { pub CopyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::PCSTR, u32, windows_core::PCSTR, u32) -> u32, } windows_core::imp::define_interface!(ICopyHookW, ICopyHookW_Vtbl, 0x000214fc_0000_0000_c000_000000000046); -impl std::ops::Deref for ICopyHookW { +impl core::ops::Deref for ICopyHookW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8720,7 +8720,7 @@ pub struct ICopyHookW_Vtbl { pub CopyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32) -> u32, } windows_core::imp::define_interface!(ICreateProcessInputs, ICreateProcessInputs_Vtbl, 0xf6ef6140_e26f_4d82_bac4_e9ba5fd239a8); -impl std::ops::Deref for ICreateProcessInputs { +impl core::ops::Deref for ICreateProcessInputs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8770,7 +8770,7 @@ pub struct ICreateProcessInputs_Vtbl { pub SetEnvironmentVariable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICreatingProcess, ICreatingProcess_Vtbl, 0xc2b937a9_3110_4398_8a56_f34c6342d244); -impl std::ops::Deref for ICreatingProcess { +impl core::ops::Deref for ICreatingProcess { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8791,7 +8791,7 @@ pub struct ICreatingProcess_Vtbl { pub OnCreating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProvider, ICredentialProvider_Vtbl, 0xd27c3481_5a1c_45b2_8aaa_c20ebbe8229e); -impl std::ops::Deref for ICredentialProvider { +impl core::ops::Deref for ICredentialProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8843,7 +8843,7 @@ pub struct ICredentialProvider_Vtbl { pub GetCredentialAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderCredential, ICredentialProviderCredential_Vtbl, 0x63913a93_40c1_481a_818d_4072ff8c70cc); -impl std::ops::Deref for ICredentialProviderCredential { +impl core::ops::Deref for ICredentialProviderCredential { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8947,7 +8947,7 @@ pub struct ICredentialProviderCredential_Vtbl { pub ReportResult: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::NTSTATUS, super::super::Foundation::NTSTATUS, *mut windows_core::PWSTR, *mut CREDENTIAL_PROVIDER_STATUS_ICON) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderCredential2, ICredentialProviderCredential2_Vtbl, 0xfd672c54_40ea_4d6e_9b49_cfb1a7507bd7); -impl std::ops::Deref for ICredentialProviderCredential2 { +impl core::ops::Deref for ICredentialProviderCredential2 { type Target = ICredentialProviderCredential; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -8966,7 +8966,7 @@ pub struct ICredentialProviderCredential2_Vtbl { pub GetUserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderCredentialEvents, ICredentialProviderCredentialEvents_Vtbl, 0xfa6fa76b_66b7_4b11_95f1_86171118e816); -impl std::ops::Deref for ICredentialProviderCredentialEvents { +impl core::ops::Deref for ICredentialProviderCredentialEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9057,7 +9057,7 @@ pub struct ICredentialProviderCredentialEvents_Vtbl { pub OnCreatingWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderCredentialEvents2, ICredentialProviderCredentialEvents2_Vtbl, 0xb53c00b6_9922_4b78_b1f4_ddfe774dc39b); -impl std::ops::Deref for ICredentialProviderCredentialEvents2 { +impl core::ops::Deref for ICredentialProviderCredentialEvents2 { type Target = ICredentialProviderCredentialEvents; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9086,7 +9086,7 @@ pub struct ICredentialProviderCredentialEvents2_Vtbl { pub SetFieldOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderCredentialWithFieldOptions, ICredentialProviderCredentialWithFieldOptions_Vtbl, 0xdbc6fb30_c843_49e3_a645_573e6f39446a); -impl std::ops::Deref for ICredentialProviderCredentialWithFieldOptions { +impl core::ops::Deref for ICredentialProviderCredentialWithFieldOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9105,7 +9105,7 @@ pub struct ICredentialProviderCredentialWithFieldOptions_Vtbl { pub GetFieldOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderEvents, ICredentialProviderEvents_Vtbl, 0x34201e5a_a787_41a3_a5a4_bd6dcf2a854e); -impl std::ops::Deref for ICredentialProviderEvents { +impl core::ops::Deref for ICredentialProviderEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9123,7 +9123,7 @@ pub struct ICredentialProviderEvents_Vtbl { pub CredentialsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderFilter, ICredentialProviderFilter_Vtbl, 0xa5da53f9_d475_4080_a120_910c4a739880); -impl std::ops::Deref for ICredentialProviderFilter { +impl core::ops::Deref for ICredentialProviderFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9145,7 +9145,7 @@ pub struct ICredentialProviderFilter_Vtbl { pub UpdateRemoteCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *const CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION, *mut CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderSetUserArray, ICredentialProviderSetUserArray_Vtbl, 0x095c1484_1c0c_4388_9c6d_500e61bf84bd); -impl std::ops::Deref for ICredentialProviderSetUserArray { +impl core::ops::Deref for ICredentialProviderSetUserArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9166,7 +9166,7 @@ pub struct ICredentialProviderSetUserArray_Vtbl { pub SetUserArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICredentialProviderUser, ICredentialProviderUser_Vtbl, 0x13793285_3ea6_40fd_b420_15f47da41fbb); -impl std::ops::Deref for ICredentialProviderUser { +impl core::ops::Deref for ICredentialProviderUser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9208,7 +9208,7 @@ pub struct ICredentialProviderUser_Vtbl { GetValue: usize, } windows_core::imp::define_interface!(ICredentialProviderUserArray, ICredentialProviderUserArray_Vtbl, 0x90c119ae_0f18_4520_a1f1_114366a40fe8); -impl std::ops::Deref for ICredentialProviderUserArray { +impl core::ops::Deref for ICredentialProviderUserArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9241,7 +9241,7 @@ pub struct ICredentialProviderUserArray_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICurrentItem, ICurrentItem_Vtbl, 0x240a7174_d653_4a1d_a6d3_d4943cfbfe3d); -impl std::ops::Deref for ICurrentItem { +impl core::ops::Deref for ICurrentItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9254,7 +9254,7 @@ pub struct ICurrentItem_Vtbl { pub base__: IRelatedItem_Vtbl, } windows_core::imp::define_interface!(ICurrentWorkingDirectory, ICurrentWorkingDirectory_Vtbl, 0x91956d21_9276_11d1_921a_006097df5bd4); -impl std::ops::Deref for ICurrentWorkingDirectory { +impl core::ops::Deref for ICurrentWorkingDirectory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9279,7 +9279,7 @@ pub struct ICurrentWorkingDirectory_Vtbl { pub SetDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICustomDestinationList, ICustomDestinationList_Vtbl, 0x6332debf_87b5_4670_90c0_5e57b408a49e); -impl std::ops::Deref for ICustomDestinationList { +impl core::ops::Deref for ICustomDestinationList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9297,7 +9297,7 @@ impl ICustomDestinationList { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BeginList)(windows_core::Interface::as_raw(self), pcminslots, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -9325,7 +9325,7 @@ impl ICustomDestinationList { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetRemovedDestinations)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn DeleteList(&self, pszappid: P0) -> windows_core::Result<()> @@ -9358,7 +9358,7 @@ pub struct ICustomDestinationList_Vtbl { pub AbortList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDataObjectAsyncCapability, IDataObjectAsyncCapability_Vtbl, 0x3d8b0590_f691_11d2_8ea9_006097df5bd4); -impl std::ops::Deref for IDataObjectAsyncCapability { +impl core::ops::Deref for IDataObjectAsyncCapability { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9411,7 +9411,7 @@ pub struct IDataObjectAsyncCapability_Vtbl { EndOperation: usize, } windows_core::imp::define_interface!(IDataObjectProvider, IDataObjectProvider_Vtbl, 0x3d25f6d6_4b2a_433c_9184_7c33ad35d001); -impl std::ops::Deref for IDataObjectProvider { +impl core::ops::Deref for IDataObjectProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9445,7 +9445,7 @@ pub struct IDataObjectProvider_Vtbl { SetDataObject: usize, } windows_core::imp::define_interface!(IDataTransferManagerInterop, IDataTransferManagerInterop_Vtbl, 0x3a3dcd6c_3eab_43dc_bcde_45671ce800c8); -impl std::ops::Deref for IDataTransferManagerInterop { +impl core::ops::Deref for IDataTransferManagerInterop { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9458,7 +9458,7 @@ impl IDataTransferManagerInterop { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetForWindow)(windows_core::Interface::as_raw(self), appwindow.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowShareUIForWindow(&self, appwindow: P0) -> windows_core::Result<()> @@ -9475,7 +9475,7 @@ pub struct IDataTransferManagerInterop_Vtbl { pub ShowShareUIForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDefaultExtractIconInit, IDefaultExtractIconInit_Vtbl, 0x41ded17d_d6b3_4261_997d_88c60e4b1d58); -impl std::ops::Deref for IDefaultExtractIconInit { +impl core::ops::Deref for IDefaultExtractIconInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9532,7 +9532,7 @@ pub struct IDefaultExtractIconInit_Vtbl { pub SetDefaultIcon: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDefaultFolderMenuInitialize, IDefaultFolderMenuInitialize_Vtbl, 0x7690aa79_f8fc_4615_a327_36f7d18f5d91); -impl std::ops::Deref for IDefaultFolderMenuInitialize { +impl core::ops::Deref for IDefaultFolderMenuInitialize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9573,7 +9573,7 @@ pub struct IDefaultFolderMenuInitialize_Vtbl { pub SetHandlerClsid: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDelegateFolder, IDelegateFolder_Vtbl, 0xadd8ba80_002b_11d0_8f0f_00c04fd7d062); -impl std::ops::Deref for IDelegateFolder { +impl core::ops::Deref for IDelegateFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9598,7 +9598,7 @@ pub struct IDelegateFolder_Vtbl { SetItemAlloc: usize, } windows_core::imp::define_interface!(IDelegateItem, IDelegateItem_Vtbl, 0x3c5a1c94_c951_4cb7_bb6d_3b93f30cce93); -impl std::ops::Deref for IDelegateItem { +impl core::ops::Deref for IDelegateItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9613,7 +9613,7 @@ pub struct IDelegateItem_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDeskBand, IDeskBand_Vtbl, 0xeb0fe172_1a3a_11d0_89b3_00a0c90a90ac); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IDeskBand { +impl core::ops::Deref for IDeskBand { type Target = IDockingWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9636,7 +9636,7 @@ pub struct IDeskBand_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDeskBand2, IDeskBand2_Vtbl, 0x79d16de4_abee_4021_8d9d_9169b261d657); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IDeskBand2 { +impl core::ops::Deref for IDeskBand2 { type Target = IDeskBand; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9670,7 +9670,7 @@ pub struct IDeskBand2_Vtbl { pub GetCompositionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDeskBandInfo, IDeskBandInfo_Vtbl, 0x77e425fc_cbf9_4307_ba6a_bb5727745661); -impl std::ops::Deref for IDeskBandInfo { +impl core::ops::Deref for IDeskBandInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9691,7 +9691,7 @@ pub struct IDeskBandInfo_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDeskBar, IDeskBar_Vtbl, 0xeb0fe173_1a3a_11d0_89b3_00a0c90a90ac); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IDeskBar { +impl core::ops::Deref for IDeskBar { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9726,7 +9726,7 @@ pub struct IDeskBar_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDeskBarClient, IDeskBarClient_Vtbl, 0xeb0fe175_1a3a_11d0_89b3_00a0c90a90ac); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IDeskBarClient { +impl core::ops::Deref for IDeskBarClient { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9763,7 +9763,7 @@ pub struct IDeskBarClient_Vtbl { pub GetSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDesktopGadget, IDesktopGadget_Vtbl, 0xc1646bc4_f298_4f91_a204_eb2dd1709d1a); -impl std::ops::Deref for IDesktopGadget { +impl core::ops::Deref for IDesktopGadget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9784,7 +9784,7 @@ pub struct IDesktopGadget_Vtbl { pub RunGadget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDesktopWallpaper, IDesktopWallpaper_Vtbl, 0xb92b56a9_8b55_4e14_9a89_0199bbb6f93b); -impl std::ops::Deref for IDesktopWallpaper { +impl core::ops::Deref for IDesktopWallpaper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9892,7 +9892,7 @@ pub struct IDesktopWallpaper_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDestinationStreamFactory, IDestinationStreamFactory_Vtbl, 0x8a87781b_39a7_4a1f_aab3_a39b9c34a7d9); -impl std::ops::Deref for IDestinationStreamFactory { +impl core::ops::Deref for IDestinationStreamFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9915,7 +9915,7 @@ pub struct IDestinationStreamFactory_Vtbl { GetDestinationStream: usize, } windows_core::imp::define_interface!(IDisplayItem, IDisplayItem_Vtbl, 0xc6fd5997_9f6b_4888_8703_94e80e8cde3f); -impl std::ops::Deref for IDisplayItem { +impl core::ops::Deref for IDisplayItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9928,7 +9928,7 @@ pub struct IDisplayItem_Vtbl { pub base__: IRelatedItem_Vtbl, } windows_core::imp::define_interface!(IDocViewSite, IDocViewSite_Vtbl, 0x87d605e0_c511_11cf_89a9_00a0c9054129); -impl std::ops::Deref for IDocViewSite { +impl core::ops::Deref for IDocViewSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9948,7 +9948,7 @@ pub struct IDocViewSite_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDockingWindow, IDockingWindow_Vtbl, 0x012dd920_7b26_11d0_8ca9_00a0c92dbfe8); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IDockingWindow { +impl core::ops::Deref for IDockingWindow { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -9986,7 +9986,7 @@ pub struct IDockingWindow_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDockingWindowFrame, IDockingWindowFrame_Vtbl, 0x47d2657a_7b27_11d0_8ca9_00a0c92dbfe8); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IDockingWindowFrame { +impl core::ops::Deref for IDockingWindowFrame { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10027,7 +10027,7 @@ pub struct IDockingWindowFrame_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IDockingWindowSite, IDockingWindowSite_Vtbl, 0x2a342fc2_7b26_11d0_8ca9_00a0c92dbfe8); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IDockingWindowSite { +impl core::ops::Deref for IDockingWindowSite { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10066,7 +10066,7 @@ pub struct IDockingWindowSite_Vtbl { pub SetBorderSpaceDW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDragSourceHelper, IDragSourceHelper_Vtbl, 0xde5bf786_477a_11d2_839d_00c04fd918d0); -impl std::ops::Deref for IDragSourceHelper { +impl core::ops::Deref for IDragSourceHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10103,7 +10103,7 @@ pub struct IDragSourceHelper_Vtbl { InitializeFromWindow: usize, } windows_core::imp::define_interface!(IDragSourceHelper2, IDragSourceHelper2_Vtbl, 0x83e07d0d_0c5f_4163_bf1a_60b274051e40); -impl std::ops::Deref for IDragSourceHelper2 { +impl core::ops::Deref for IDragSourceHelper2 { type Target = IDragSourceHelper; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10121,7 +10121,7 @@ pub struct IDragSourceHelper2_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDropTargetHelper, IDropTargetHelper_Vtbl, 0x4657278b_411b_11d2_839a_00c04fd918d0); -impl std::ops::Deref for IDropTargetHelper { +impl core::ops::Deref for IDropTargetHelper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10177,7 +10177,7 @@ pub struct IDropTargetHelper_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDynamicHWHandler, IDynamicHWHandler_Vtbl, 0xdc2601d7_059e_42fc_a09d_2afd21b6d5f7); -impl std::ops::Deref for IDynamicHWHandler { +impl core::ops::Deref for IDynamicHWHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10201,7 +10201,7 @@ pub struct IDynamicHWHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IEnumACString, IEnumACString_Vtbl, 0x8e74c210_cf9d_4eaf_a403_7356428f0a5a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IEnumACString { +impl core::ops::Deref for IEnumACString { type Target = super::super::System::Com::IEnumString; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10231,7 +10231,7 @@ pub struct IEnumACString_Vtbl { pub GetEnumOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumAssocHandlers, IEnumAssocHandlers_Vtbl, 0x973810ae_9599_4b88_9e4d_6ee98c9552da); -impl std::ops::Deref for IEnumAssocHandlers { +impl core::ops::Deref for IEnumAssocHandlers { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10249,7 +10249,7 @@ pub struct IEnumAssocHandlers_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumExplorerCommand, IEnumExplorerCommand_Vtbl, 0xa88826f8_186f_4987_aade_ea0cef8fbfe8); -impl std::ops::Deref for IEnumExplorerCommand { +impl core::ops::Deref for IEnumExplorerCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10280,7 +10280,7 @@ pub struct IEnumExplorerCommand_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumExtraSearch, IEnumExtraSearch_Vtbl, 0x0e700be1_9db6_11d1_a1ce_00c04fd75d13); -impl std::ops::Deref for IEnumExtraSearch { +impl core::ops::Deref for IEnumExtraSearch { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10311,7 +10311,7 @@ pub struct IEnumExtraSearch_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumFullIDList, IEnumFullIDList_Vtbl, 0xd0191542_7954_4908_bc06_b2360bbe45ba); -impl std::ops::Deref for IEnumFullIDList { +impl core::ops::Deref for IEnumFullIDList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10346,7 +10346,7 @@ pub struct IEnumFullIDList_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumHLITEM, IEnumHLITEM_Vtbl, 0x79eac9c6_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IEnumHLITEM { +impl core::ops::Deref for IEnumHLITEM { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10377,7 +10377,7 @@ pub struct IEnumHLITEM_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumIDList, IEnumIDList_Vtbl, 0x000214f2_0000_0000_c000_000000000046); -impl std::ops::Deref for IEnumIDList { +impl core::ops::Deref for IEnumIDList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10411,7 +10411,7 @@ pub struct IEnumIDList_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumObjects, IEnumObjects_Vtbl, 0x2c1c7e2e_2d0e_4059_831e_1e6f82335c2e); -impl std::ops::Deref for IEnumObjects { +impl core::ops::Deref for IEnumObjects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10442,7 +10442,7 @@ pub struct IEnumObjects_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumPublishedApps, IEnumPublishedApps_Vtbl, 0x0b124f8c_91f0_11d1_b8b5_006008059382); -impl std::ops::Deref for IEnumPublishedApps { +impl core::ops::Deref for IEnumPublishedApps { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10465,7 +10465,7 @@ pub struct IEnumPublishedApps_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumReadyCallback, IEnumReadyCallback_Vtbl, 0x61e00d45_8fff_4e60_924e_6537b61612dd); -impl std::ops::Deref for IEnumReadyCallback { +impl core::ops::Deref for IEnumReadyCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10483,7 +10483,7 @@ pub struct IEnumReadyCallback_Vtbl { pub EnumReady: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumResources, IEnumResources_Vtbl, 0x2dd81fe3_a83c_4da9_a330_47249d345ba1); -impl std::ops::Deref for IEnumResources { +impl core::ops::Deref for IEnumResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10514,7 +10514,7 @@ pub struct IEnumResources_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumShellItems, IEnumShellItems_Vtbl, 0x70629033_e363_4a28_a567_0db78006e6d7); -impl std::ops::Deref for IEnumShellItems { +impl core::ops::Deref for IEnumShellItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10545,7 +10545,7 @@ pub struct IEnumShellItems_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSyncMgrConflict, IEnumSyncMgrConflict_Vtbl, 0x82705914_dda3_4893_ba99_49de6c8c8036); -impl std::ops::Deref for IEnumSyncMgrConflict { +impl core::ops::Deref for IEnumSyncMgrConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10576,7 +10576,7 @@ pub struct IEnumSyncMgrConflict_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSyncMgrEvents, IEnumSyncMgrEvents_Vtbl, 0xc81a1d4e_8cf7_4683_80e0_bcae88d677b6); -impl std::ops::Deref for IEnumSyncMgrEvents { +impl core::ops::Deref for IEnumSyncMgrEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10607,7 +10607,7 @@ pub struct IEnumSyncMgrEvents_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSyncMgrSyncItems, IEnumSyncMgrSyncItems_Vtbl, 0x54b3abf3_f085_4181_b546_e29c403c726b); -impl std::ops::Deref for IEnumSyncMgrSyncItems { +impl core::ops::Deref for IEnumSyncMgrSyncItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10638,7 +10638,7 @@ pub struct IEnumSyncMgrSyncItems_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTravelLogEntry, IEnumTravelLogEntry_Vtbl, 0x7ebfdd85_ad18_11d3_a4c5_00c04f72d6b8); -impl std::ops::Deref for IEnumTravelLogEntry { +impl core::ops::Deref for IEnumTravelLogEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10669,7 +10669,7 @@ pub struct IEnumTravelLogEntry_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumerableView, IEnumerableView_Vtbl, 0x8c8bf236_1aec_495f_9894_91d57c3c686f); -impl std::ops::Deref for IEnumerableView { +impl core::ops::Deref for IEnumerableView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10699,7 +10699,7 @@ pub struct IEnumerableView_Vtbl { CreateEnumIDListFromContents: usize, } windows_core::imp::define_interface!(IExecuteCommand, IExecuteCommand_Vtbl, 0x7f9185b0_cb92_43c5_80a9_92277a4f7b54); -impl std::ops::Deref for IExecuteCommand { +impl core::ops::Deref for IExecuteCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10750,7 +10750,7 @@ pub struct IExecuteCommand_Vtbl { pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExecuteCommandApplicationHostEnvironment, IExecuteCommandApplicationHostEnvironment_Vtbl, 0x18b21aa9_e184_4ff0_9f5e_f882d03771b3); -impl std::ops::Deref for IExecuteCommandApplicationHostEnvironment { +impl core::ops::Deref for IExecuteCommandApplicationHostEnvironment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10769,7 +10769,7 @@ pub struct IExecuteCommandApplicationHostEnvironment_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AHE_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExecuteCommandHost, IExecuteCommandHost_Vtbl, 0x4b6832a2_5f04_4c9d_b89d_727a15d103e7); -impl std::ops::Deref for IExecuteCommandHost { +impl core::ops::Deref for IExecuteCommandHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10788,7 +10788,7 @@ pub struct IExecuteCommandHost_Vtbl { pub GetUIMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EC_HOST_UI_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExpDispSupport, IExpDispSupport_Vtbl, 0x0d7d1d00_6fc0_11d0_a974_00c04fd705a2); -impl std::ops::Deref for IExpDispSupport { +impl core::ops::Deref for IExpDispSupport { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10827,7 +10827,7 @@ pub struct IExpDispSupport_Vtbl { OnInvoke: usize, } windows_core::imp::define_interface!(IExpDispSupportXP, IExpDispSupportXP_Vtbl, 0x2f0dd58c_f789_4f14_99fb_9293b3c9c212); -impl std::ops::Deref for IExpDispSupportXP { +impl core::ops::Deref for IExpDispSupportXP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10866,7 +10866,7 @@ pub struct IExpDispSupportXP_Vtbl { OnInvoke: usize, } windows_core::imp::define_interface!(IExplorerBrowser, IExplorerBrowser_Vtbl, 0xdfd3b6b5_c10c_4be9_85f6_a66969f402f6); -impl std::ops::Deref for IExplorerBrowser { +impl core::ops::Deref for IExplorerBrowser { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -10942,7 +10942,7 @@ impl IExplorerBrowser { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCurrentView)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -10972,7 +10972,7 @@ pub struct IExplorerBrowser_Vtbl { pub GetCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExplorerBrowserEvents, IExplorerBrowserEvents_Vtbl, 0x361bbdc7_e6ee_4e13_be58_58e2240c810f); -impl std::ops::Deref for IExplorerBrowserEvents { +impl core::ops::Deref for IExplorerBrowserEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11021,7 +11021,7 @@ pub struct IExplorerBrowserEvents_Vtbl { OnNavigationFailed: usize, } windows_core::imp::define_interface!(IExplorerCommand, IExplorerCommand_Vtbl, 0xa08ce4d0_fa25_44ab_b57c_c7b1c323e0b9); -impl std::ops::Deref for IExplorerCommand { +impl core::ops::Deref for IExplorerCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11095,7 +11095,7 @@ pub struct IExplorerCommand_Vtbl { pub EnumSubCommands: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExplorerCommandProvider, IExplorerCommandProvider_Vtbl, 0x64961751_0835_43c0_8ffe_d57686530e64); -impl std::ops::Deref for IExplorerCommandProvider { +impl core::ops::Deref for IExplorerCommandProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11108,14 +11108,14 @@ impl IExplorerCommandProvider { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCommands)(windows_core::Interface::as_raw(self), punksite.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCommand(&self, rguidcommandid: *const windows_core::GUID) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCommand)(windows_core::Interface::as_raw(self), rguidcommandid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -11126,7 +11126,7 @@ pub struct IExplorerCommandProvider_Vtbl { pub GetCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExplorerCommandState, IExplorerCommandState_Vtbl, 0xbddacb60_7657_47ae_8445_d23e1acf82ae); -impl std::ops::Deref for IExplorerCommandState { +impl core::ops::Deref for IExplorerCommandState { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11149,7 +11149,7 @@ pub struct IExplorerCommandState_Vtbl { pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExplorerPaneVisibility, IExplorerPaneVisibility_Vtbl, 0xe07010ec_bc17_44c0_97b0_46c7c95b9edc); -impl std::ops::Deref for IExplorerPaneVisibility { +impl core::ops::Deref for IExplorerPaneVisibility { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11168,7 +11168,7 @@ pub struct IExplorerPaneVisibility_Vtbl { pub GetPaneState: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExtensionServices, IExtensionServices_Vtbl, 0x79eac9cb_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IExtensionServices { +impl core::ops::Deref for IExtensionServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11198,7 +11198,7 @@ pub struct IExtensionServices_Vtbl { pub SetAuthenticateData: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExtractIconA, IExtractIconA_Vtbl, 0x000214eb_0000_0000_c000_000000000046); -impl std::ops::Deref for IExtractIconA { +impl core::ops::Deref for IExtractIconA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11227,7 +11227,7 @@ pub struct IExtractIconA_Vtbl { Extract: usize, } windows_core::imp::define_interface!(IExtractIconW, IExtractIconW_Vtbl, 0x000214fa_0000_0000_c000_000000000046); -impl std::ops::Deref for IExtractIconW { +impl core::ops::Deref for IExtractIconW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11256,7 +11256,7 @@ pub struct IExtractIconW_Vtbl { Extract: usize, } windows_core::imp::define_interface!(IExtractImage, IExtractImage_Vtbl, 0xbb2e617c_0920_11d1_9a0b_00c04fc2d6c1); -impl std::ops::Deref for IExtractImage { +impl core::ops::Deref for IExtractImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11283,7 +11283,7 @@ pub struct IExtractImage_Vtbl { Extract: usize, } windows_core::imp::define_interface!(IExtractImage2, IExtractImage2_Vtbl, 0x953bb1ee_93b4_11d1_98a3_00c04fb687da); -impl std::ops::Deref for IExtractImage2 { +impl core::ops::Deref for IExtractImage2 { type Target = IExtractImage; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11302,7 +11302,7 @@ pub struct IExtractImage2_Vtbl { pub GetDateStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileDialog, IFileDialog_Vtbl, 0x42f85136_db7e_439c_85f1_e4075d135fc8); -impl std::ops::Deref for IFileDialog { +impl core::ops::Deref for IFileDialog { type Target = IModalWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11449,7 +11449,7 @@ pub struct IFileDialog_Vtbl { pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileDialog2, IFileDialog2_Vtbl, 0x61744fc7_85b5_4791_a9b0_272276309b13); -impl std::ops::Deref for IFileDialog2 { +impl core::ops::Deref for IFileDialog2 { type Target = IFileDialog; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11477,7 +11477,7 @@ pub struct IFileDialog2_Vtbl { pub SetNavigationRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileDialogControlEvents, IFileDialogControlEvents_Vtbl, 0x36116642_d713_4b97_9b83_7484a9d00433); -impl std::ops::Deref for IFileDialogControlEvents { +impl core::ops::Deref for IFileDialogControlEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11520,7 +11520,7 @@ pub struct IFileDialogControlEvents_Vtbl { pub OnControlActivating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileDialogCustomize, IFileDialogCustomize_Vtbl, 0xe6fdd21a_163f_4975_9c8c_a69f1ba37034); -impl std::ops::Deref for IFileDialogCustomize { +impl core::ops::Deref for IFileDialogCustomize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11681,7 +11681,7 @@ pub struct IFileDialogCustomize_Vtbl { pub SetControlItemText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileDialogEvents, IFileDialogEvents_Vtbl, 0x973510db_7d7f_452b_8975_74a85828d354); -impl std::ops::Deref for IFileDialogEvents { +impl core::ops::Deref for IFileDialogEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11749,7 +11749,7 @@ pub struct IFileDialogEvents_Vtbl { pub OnOverwrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut FDE_OVERWRITE_RESPONSE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileIsInUse, IFileIsInUse_Vtbl, 0x64a1cbf0_3a1a_4461_9158_376969693950); -impl std::ops::Deref for IFileIsInUse { +impl core::ops::Deref for IFileIsInUse { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11787,7 +11787,7 @@ pub struct IFileIsInUse_Vtbl { pub CloseFile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileOpenDialog, IFileOpenDialog_Vtbl, 0xd57c7288_d4ad_4768_be02_9d969532d960); -impl std::ops::Deref for IFileOpenDialog { +impl core::ops::Deref for IFileOpenDialog { type Target = IFileDialog; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11811,7 +11811,7 @@ pub struct IFileOpenDialog_Vtbl { pub GetSelectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileOperation, IFileOperation_Vtbl, 0x947aab5f_0a5c_4c13_b4d6_4bf7836fc9f8); -impl std::ops::Deref for IFileOperation { +impl core::ops::Deref for IFileOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11974,7 +11974,7 @@ pub struct IFileOperation_Vtbl { pub GetAnyOperationsAborted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileOperation2, IFileOperation2_Vtbl, 0xcd8f23c1_8f61_4916_909d_55bdd0918753); -impl std::ops::Deref for IFileOperation2 { +impl core::ops::Deref for IFileOperation2 { type Target = IFileOperation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -11992,7 +11992,7 @@ pub struct IFileOperation2_Vtbl { pub SetOperationFlags2: unsafe extern "system" fn(*mut core::ffi::c_void, FILE_OPERATION_FLAGS2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileOperationProgressSink, IFileOperationProgressSink_Vtbl, 0x04b0f1a7_9490_44bc_96e1_4296a31252e2); -impl std::ops::Deref for IFileOperationProgressSink { +impl core::ops::Deref for IFileOperationProgressSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12118,7 +12118,7 @@ pub struct IFileOperationProgressSink_Vtbl { pub ResumeTimer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSaveDialog, IFileSaveDialog_Vtbl, 0x84bccd23_5fde_4cdb_aea4_af64b83d78ab); -impl std::ops::Deref for IFileSaveDialog { +impl core::ops::Deref for IFileSaveDialog { type Target = IFileDialog; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12187,7 +12187,7 @@ pub struct IFileSaveDialog_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFileSearchBand, IFileSearchBand_Vtbl, 0x2d91eea1_9932_11d2_be86_00a0c9a83da1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFileSearchBand { +impl core::ops::Deref for IFileSearchBand { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12230,7 +12230,7 @@ pub struct IFileSearchBand_Vtbl { pub QueryFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFileSyncMergeHandler, IFileSyncMergeHandler_Vtbl, 0xd97b5aac_c792_433c_975d_35c4eadc7a9d); -impl std::ops::Deref for IFileSyncMergeHandler { +impl core::ops::Deref for IFileSyncMergeHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12265,7 +12265,7 @@ pub struct IFileSyncMergeHandler_Vtbl { ShowResolveConflictUIAsync: usize, } windows_core::imp::define_interface!(IFileSystemBindData, IFileSystemBindData_Vtbl, 0x01e18d10_4d8b_11d2_855d_006008059367); -impl std::ops::Deref for IFileSystemBindData { +impl core::ops::Deref for IFileSystemBindData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12295,7 +12295,7 @@ pub struct IFileSystemBindData_Vtbl { GetFindData: usize, } windows_core::imp::define_interface!(IFileSystemBindData2, IFileSystemBindData2_Vtbl, 0x3acf075f_71db_4afa_81f0_3fc4fdf2a5b8); -impl std::ops::Deref for IFileSystemBindData2 { +impl core::ops::Deref for IFileSystemBindData2 { type Target = IFileSystemBindData; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12327,7 +12327,7 @@ pub struct IFileSystemBindData2_Vtbl { pub GetJunctionCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFolderBandPriv, IFolderBandPriv_Vtbl, 0x47c01f95_e185_412c_b5c5_4f27df965aea); -impl std::ops::Deref for IFolderBandPriv { +impl core::ops::Deref for IFolderBandPriv { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12369,7 +12369,7 @@ pub struct IFolderBandPriv_Vtbl { pub SetNoText: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFolderFilter, IFolderFilter_Vtbl, 0x9cc22886_dc8e_11d2_b1d0_00c04f8eeb3e); -impl std::ops::Deref for IFolderFilter { +impl core::ops::Deref for IFolderFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12405,7 +12405,7 @@ pub struct IFolderFilter_Vtbl { GetEnumFlags: usize, } windows_core::imp::define_interface!(IFolderFilterSite, IFolderFilterSite_Vtbl, 0xc0a651f5_b48b_11d2_b5ed_006097c686f6); -impl std::ops::Deref for IFolderFilterSite { +impl core::ops::Deref for IFolderFilterSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12426,7 +12426,7 @@ pub struct IFolderFilterSite_Vtbl { pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFolderView, IFolderView_Vtbl, 0xcde725b0_ccc9_4519_917e_325d72fab4ce); -impl std::ops::Deref for IFolderView { +impl core::ops::Deref for IFolderView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12445,7 +12445,7 @@ impl IFolderView { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFolder)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -12461,7 +12461,7 @@ impl IFolderView { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).Items)(windows_core::Interface::as_raw(self), uflags.0 as _, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetSelectionMarkedItem(&self) -> windows_core::Result { @@ -12523,7 +12523,7 @@ pub struct IFolderView_Vtbl { SelectAndPositionItems: usize, } windows_core::imp::define_interface!(IFolderView2, IFolderView2_Vtbl, 0x1af3a467_214f_4298_908e_06b03e0b39f9); -impl std::ops::Deref for IFolderView2 { +impl core::ops::Deref for IFolderView2 { type Target = IFolderView; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12594,7 +12594,7 @@ impl IFolderView2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), iitem, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetVisibleItem(&self, istart: i32, fprevious: P0) -> windows_core::Result @@ -12709,7 +12709,7 @@ pub struct IFolderView2_Vtbl { pub DoRename: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFolderViewHost, IFolderViewHost_Vtbl, 0x1ea58f02_d55a_411d_b09e_9e65ac21605b); -impl std::ops::Deref for IFolderViewHost { +impl core::ops::Deref for IFolderViewHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12737,7 +12737,7 @@ pub struct IFolderViewHost_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IFolderViewOC, IFolderViewOC_Vtbl, 0x9ba05970_f6a8_11cf_a442_00a0c90a8f39); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IFolderViewOC { +impl core::ops::Deref for IFolderViewOC { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12765,7 +12765,7 @@ pub struct IFolderViewOC_Vtbl { SetFolderView: usize, } windows_core::imp::define_interface!(IFolderViewOptions, IFolderViewOptions_Vtbl, 0x3cc974d2_b302_4d36_ad3e_06d93f695d3f); -impl std::ops::Deref for IFolderViewOptions { +impl core::ops::Deref for IFolderViewOptions { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12788,7 +12788,7 @@ pub struct IFolderViewOptions_Vtbl { pub GetFolderViewOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FOLDERVIEWOPTIONS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFolderViewSettings, IFolderViewSettings_Vtbl, 0xae8c987d_8797_4ed3_be72_2a47dd938db0); -impl std::ops::Deref for IFolderViewSettings { +impl core::ops::Deref for IFolderViewSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12800,7 +12800,7 @@ impl IFolderViewSettings { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetColumnPropertyList)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -12845,7 +12845,7 @@ pub struct IFolderViewSettings_Vtbl { pub GetGroupSubsetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFrameworkInputPane, IFrameworkInputPane_Vtbl, 0x5752238b_24f0_495a_82f1_2fd593056796); -impl std::ops::Deref for IFrameworkInputPane { +impl core::ops::Deref for IFrameworkInputPane { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12886,7 +12886,7 @@ pub struct IFrameworkInputPane_Vtbl { pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IFrameworkInputPaneHandler, IFrameworkInputPaneHandler_Vtbl, 0x226c537b_1e76_4d9e_a760_33db29922f18); -impl std::ops::Deref for IFrameworkInputPaneHandler { +impl core::ops::Deref for IFrameworkInputPaneHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12914,7 +12914,7 @@ pub struct IFrameworkInputPaneHandler_Vtbl { pub Hiding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGetServiceIds, IGetServiceIds_Vtbl, 0x4a073526_6103_4e21_b7bc_f519d1524e5d); -impl std::ops::Deref for IGetServiceIds { +impl core::ops::Deref for IGetServiceIds { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12932,7 +12932,7 @@ pub struct IGetServiceIds_Vtbl { pub GetServiceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHWEventHandler, IHWEventHandler_Vtbl, 0xc1fb73d0_ec3a_4ba2_b512_8cdb9187b6d1); -impl std::ops::Deref for IHWEventHandler { +impl core::ops::Deref for IHWEventHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -12977,7 +12977,7 @@ pub struct IHWEventHandler_Vtbl { HandleEventWithContent: usize, } windows_core::imp::define_interface!(IHWEventHandler2, IHWEventHandler2_Vtbl, 0xcfcc809f_295d_42e8_9ffc_424b33c487e6); -impl std::ops::Deref for IHWEventHandler2 { +impl core::ops::Deref for IHWEventHandler2 { type Target = IHWEventHandler; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13001,7 +13001,7 @@ pub struct IHWEventHandler2_Vtbl { pub HandleEventWithHWND: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHandlerActivationHost, IHandlerActivationHost_Vtbl, 0x35094a87_8bb1_4237_96c6_c417eebdb078); -impl std::ops::Deref for IHandlerActivationHost { +impl core::ops::Deref for IHandlerActivationHost { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13032,7 +13032,7 @@ pub struct IHandlerActivationHost_Vtbl { pub BeforeCreateProcess: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHandlerInfo, IHandlerInfo_Vtbl, 0x997706ef_f880_453b_8118_39e1a2d2655a); -impl std::ops::Deref for IHandlerInfo { +impl core::ops::Deref for IHandlerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13061,7 +13061,7 @@ pub struct IHandlerInfo_Vtbl { pub GetApplicationIconReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHandlerInfo2, IHandlerInfo2_Vtbl, 0x31cca04c_04d3_4ea9_90de_97b15e87a532); -impl std::ops::Deref for IHandlerInfo2 { +impl core::ops::Deref for IHandlerInfo2 { type Target = IHandlerInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13080,7 +13080,7 @@ pub struct IHandlerInfo2_Vtbl { pub GetApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHlink, IHlink_Vtbl, 0x79eac9c3_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IHlink { +impl core::ops::Deref for IHlink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13191,7 +13191,7 @@ pub struct IHlink_Vtbl { pub GetAdditionalParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHlinkBrowseContext, IHlinkBrowseContext_Vtbl, 0x79eac9c7_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IHlinkBrowseContext { +impl core::ops::Deref for IHlinkBrowseContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13313,7 +13313,7 @@ pub struct IHlinkBrowseContext_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHlinkFrame, IHlinkFrame_Vtbl, 0x79eac9c5_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IHlinkFrame { +impl core::ops::Deref for IHlinkFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13378,7 +13378,7 @@ pub struct IHlinkFrame_Vtbl { UpdateHlink: usize, } windows_core::imp::define_interface!(IHlinkSite, IHlinkSite_Vtbl, 0x79eac9c2_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IHlinkSite { +impl core::ops::Deref for IHlinkSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13417,7 +13417,7 @@ pub struct IHlinkSite_Vtbl { pub OnNavigationComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::HRESULT, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHlinkTarget, IHlinkTarget_Vtbl, 0x79eac9c4_baf9_11ce_8c82_00aa004ba90b); -impl std::ops::Deref for IHlinkTarget { +impl core::ops::Deref for IHlinkTarget { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13470,7 +13470,7 @@ pub struct IHlinkTarget_Vtbl { pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHomeGroup, IHomeGroup_Vtbl, 0x7a3bd1d9_35a9_4fb3_a467_f48cac35e2d0); -impl std::ops::Deref for IHomeGroup { +impl core::ops::Deref for IHomeGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13497,7 +13497,7 @@ pub struct IHomeGroup_Vtbl { pub ShowSharingWizard: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut HOMEGROUPSHARINGCHOICES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIOCancelInformation, IIOCancelInformation_Vtbl, 0xf5b0bf81_8cb5_4b1b_9449_1a159e0c733c); -impl std::ops::Deref for IIOCancelInformation { +impl core::ops::Deref for IIOCancelInformation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13519,7 +13519,7 @@ pub struct IIOCancelInformation_Vtbl { pub GetCancelInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IIdentityName, IIdentityName_Vtbl, 0x7d903fca_d6f9_4810_8332_946c0177e247); -impl std::ops::Deref for IIdentityName { +impl core::ops::Deref for IIdentityName { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13532,7 +13532,7 @@ pub struct IIdentityName_Vtbl { pub base__: IRelatedItem_Vtbl, } windows_core::imp::define_interface!(IImageRecompress, IImageRecompress_Vtbl, 0x505f1513_6b3e_4892_a272_59f8889a4d3e); -impl std::ops::Deref for IImageRecompress { +impl core::ops::Deref for IImageRecompress { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13559,7 +13559,7 @@ pub struct IImageRecompress_Vtbl { RecompressImage: usize, } windows_core::imp::define_interface!(IInitializeCommand, IInitializeCommand_Vtbl, 0x85075acf_231f_40ea_9610_d26b7b58f638); -impl std::ops::Deref for IInitializeCommand { +impl core::ops::Deref for IInitializeCommand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13585,7 +13585,7 @@ pub struct IInitializeCommand_Vtbl { Initialize: usize, } windows_core::imp::define_interface!(IInitializeNetworkFolder, IInitializeNetworkFolder_Vtbl, 0x6e0f9881_42a8_4f2a_97f8_8af4e026d92d); -impl std::ops::Deref for IInitializeNetworkFolder { +impl core::ops::Deref for IInitializeNetworkFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13611,7 +13611,7 @@ pub struct IInitializeNetworkFolder_Vtbl { Initialize: usize, } windows_core::imp::define_interface!(IInitializeObject, IInitializeObject_Vtbl, 0x4622ad16_ff23_11d0_8d34_00a0c90f2719); -impl std::ops::Deref for IInitializeObject { +impl core::ops::Deref for IInitializeObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13629,7 +13629,7 @@ pub struct IInitializeObject_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInitializeWithBindCtx, IInitializeWithBindCtx_Vtbl, 0x71c0d2bc_726d_45cc_a6c0_2e31c1db2159); -impl std::ops::Deref for IInitializeWithBindCtx { +impl core::ops::Deref for IInitializeWithBindCtx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13654,7 +13654,7 @@ pub struct IInitializeWithBindCtx_Vtbl { Initialize: usize, } windows_core::imp::define_interface!(IInitializeWithItem, IInitializeWithItem_Vtbl, 0x7f73be3f_fb79_493c_a6c7_7ee14e245841); -impl std::ops::Deref for IInitializeWithItem { +impl core::ops::Deref for IInitializeWithItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13675,7 +13675,7 @@ pub struct IInitializeWithItem_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInitializeWithPropertyStore, IInitializeWithPropertyStore_Vtbl, 0xc3e12eb5_7d8d_44f8_b6dd_0e77b34d6de4); -impl std::ops::Deref for IInitializeWithPropertyStore { +impl core::ops::Deref for IInitializeWithPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13700,7 +13700,7 @@ pub struct IInitializeWithPropertyStore_Vtbl { Initialize: usize, } windows_core::imp::define_interface!(IInitializeWithWindow, IInitializeWithWindow_Vtbl, 0x3e68d4bd_7135_4d10_8018_9fb6d9f33fa1); -impl std::ops::Deref for IInitializeWithWindow { +impl core::ops::Deref for IInitializeWithWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13721,7 +13721,7 @@ pub struct IInitializeWithWindow_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInputObject, IInputObject_Vtbl, 0x68284faa_6a48_11d0_8c78_00c04fd918b4); -impl std::ops::Deref for IInputObject { +impl core::ops::Deref for IInputObject { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13758,7 +13758,7 @@ pub struct IInputObject_Vtbl { TranslateAcceleratorIO: usize, } windows_core::imp::define_interface!(IInputObject2, IInputObject2_Vtbl, 0x6915c085_510b_44cd_94af_28dfa56cf92b); -impl std::ops::Deref for IInputObject2 { +impl core::ops::Deref for IInputObject2 { type Target = IInputObject; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13780,7 +13780,7 @@ pub struct IInputObject2_Vtbl { TranslateAcceleratorGlobal: usize, } windows_core::imp::define_interface!(IInputObjectSite, IInputObjectSite_Vtbl, 0xf1db8392_7331_11d0_8c99_00a0c92dbfe8); -impl std::ops::Deref for IInputObjectSite { +impl core::ops::Deref for IInputObjectSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13802,7 +13802,7 @@ pub struct IInputObjectSite_Vtbl { pub OnFocusChangeIS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInputPaneAnimationCoordinator, IInputPaneAnimationCoordinator_Vtbl, 0x2af16ba9_2de5_4b75_82d9_01372afbffb4); -impl std::ops::Deref for IInputPaneAnimationCoordinator { +impl core::ops::Deref for IInputPaneAnimationCoordinator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13828,7 +13828,7 @@ pub struct IInputPaneAnimationCoordinator_Vtbl { AddAnimation: usize, } windows_core::imp::define_interface!(IInputPanelConfiguration, IInputPanelConfiguration_Vtbl, 0x41c81592_514c_48bd_a22e_e6af638521a6); -impl std::ops::Deref for IInputPanelConfiguration { +impl core::ops::Deref for IInputPanelConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13846,7 +13846,7 @@ pub struct IInputPanelConfiguration_Vtbl { pub EnableFocusTracking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInputPanelInvocationConfiguration, IInputPanelInvocationConfiguration_Vtbl, 0xa213f136_3b45_4362_a332_efb6547cd432); -impl std::ops::Deref for IInputPanelInvocationConfiguration { +impl core::ops::Deref for IInputPanelInvocationConfiguration { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13864,7 +13864,7 @@ pub struct IInputPanelInvocationConfiguration_Vtbl { pub RequireTouchInEditControl: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInsertItem, IInsertItem_Vtbl, 0xd2b57227_3d23_4b95_93c0_492bd454c356); -impl std::ops::Deref for IInsertItem { +impl core::ops::Deref for IInsertItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13886,7 +13886,7 @@ pub struct IInsertItem_Vtbl { InsertItem: usize, } windows_core::imp::define_interface!(IItemNameLimits, IItemNameLimits_Vtbl, 0x1df0d7f1_b267_4d28_8b10_12e23202a5c4); -impl std::ops::Deref for IItemNameLimits { +impl core::ops::Deref for IItemNameLimits { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13912,7 +13912,7 @@ pub struct IItemNameLimits_Vtbl { pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKnownFolder, IKnownFolder_Vtbl, 0x3aa7af7e_9b36_420c_a8e3_f77d4674a488); -impl std::ops::Deref for IKnownFolder { +impl core::ops::Deref for IKnownFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -13932,7 +13932,7 @@ impl IKnownFolder { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetShellItem)(windows_core::Interface::as_raw(self), dwflags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetPath(&self, dwflags: u32) -> windows_core::Result { @@ -13979,7 +13979,7 @@ pub struct IKnownFolder_Vtbl { pub GetFolderDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KNOWNFOLDER_DEFINITION) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IKnownFolderManager, IKnownFolderManager_Vtbl, 0x8be2d872_86aa_4d47_b776_32cca40c7018); -impl std::ops::Deref for IKnownFolderManager { +impl core::ops::Deref for IKnownFolderManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14053,7 +14053,7 @@ pub struct IKnownFolderManager_Vtbl { pub Redirect: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::Foundation::HWND, u32, windows_core::PCWSTR, u32, *const windows_core::GUID, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchSourceAppUserModelId, ILaunchSourceAppUserModelId_Vtbl, 0x989191ac_28ff_4cf0_9584_e0d078bc2396); -impl std::ops::Deref for ILaunchSourceAppUserModelId { +impl core::ops::Deref for ILaunchSourceAppUserModelId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14072,7 +14072,7 @@ pub struct ILaunchSourceAppUserModelId_Vtbl { pub GetAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchSourceViewSizePreference, ILaunchSourceViewSizePreference_Vtbl, 0xe5aa01f7_1fb8_4830_8720_4e6734cbd5f3); -impl std::ops::Deref for ILaunchSourceViewSizePreference { +impl core::ops::Deref for ILaunchSourceViewSizePreference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14096,7 +14096,7 @@ pub struct ILaunchSourceViewSizePreference_Vtbl { pub GetSourceViewSizePreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut APPLICATION_VIEW_SIZE_PREFERENCE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchTargetMonitor, ILaunchTargetMonitor_Vtbl, 0x266fbc7e_490d_46ed_a96b_2274db252003); -impl std::ops::Deref for ILaunchTargetMonitor { +impl core::ops::Deref for ILaunchTargetMonitor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14119,7 +14119,7 @@ pub struct ILaunchTargetMonitor_Vtbl { GetMonitor: usize, } windows_core::imp::define_interface!(ILaunchTargetViewSizePreference, ILaunchTargetViewSizePreference_Vtbl, 0x2f0666c6_12f7_4360_b511_a394a0553725); -impl std::ops::Deref for ILaunchTargetViewSizePreference { +impl core::ops::Deref for ILaunchTargetViewSizePreference { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14138,7 +14138,7 @@ pub struct ILaunchTargetViewSizePreference_Vtbl { pub GetTargetViewSizePreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut APPLICATION_VIEW_SIZE_PREFERENCE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchUIContext, ILaunchUIContext_Vtbl, 0x1791e8f6_21c7_4340_882a_a6a93e3fd73b); -impl std::ops::Deref for ILaunchUIContext { +impl core::ops::Deref for ILaunchUIContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14163,7 +14163,7 @@ pub struct ILaunchUIContext_Vtbl { pub SetTabGroupingPreference: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ILaunchUIContextProvider, ILaunchUIContextProvider_Vtbl, 0x0d12c4c8_a3d9_4e24_94c1_0e20c5a956c4); -impl std::ops::Deref for ILaunchUIContextProvider { +impl core::ops::Deref for ILaunchUIContextProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14184,7 +14184,7 @@ pub struct ILaunchUIContextProvider_Vtbl { pub UpdateContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMenuBand, IMenuBand_Vtbl, 0x568804cd_cbd7_11d0_9816_00c04fd91972); -impl std::ops::Deref for IMenuBand { +impl core::ops::Deref for IMenuBand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14216,7 +14216,7 @@ pub struct IMenuBand_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IMenuPopup, IMenuPopup_Vtbl, 0xd1e7afeb_6a2e_11d0_8c78_00c04fd918b4); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IMenuPopup { +impl core::ops::Deref for IMenuPopup { type Target = IDeskBar; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14253,7 +14253,7 @@ pub struct IMenuPopup_Vtbl { SetSubMenu: usize, } windows_core::imp::define_interface!(IModalWindow, IModalWindow_Vtbl, 0xb4db1657_70d7_485e_8e3e_6fcb5a5c1802); -impl std::ops::Deref for IModalWindow { +impl core::ops::Deref for IModalWindow { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14274,7 +14274,7 @@ pub struct IModalWindow_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INameSpaceTreeAccessible, INameSpaceTreeAccessible_Vtbl, 0x71f312de_43ed_4190_8477_e9536b82350b); -impl std::ops::Deref for INameSpaceTreeAccessible { +impl core::ops::Deref for INameSpaceTreeAccessible { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14311,7 +14311,7 @@ pub struct INameSpaceTreeAccessible_Vtbl { pub OnGetAccessibilityRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INameSpaceTreeControl, INameSpaceTreeControl_Vtbl, 0x028212a3_b627_47e9_8856_c14265554e4f); -impl std::ops::Deref for INameSpaceTreeControl { +impl core::ops::Deref for INameSpaceTreeControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14450,7 +14450,7 @@ pub struct INameSpaceTreeControl_Vtbl { pub CollapseAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INameSpaceTreeControl2, INameSpaceTreeControl2_Vtbl, 0x7cc7aed8_290e_49bc_8945_c1401cc9306c); -impl std::ops::Deref for INameSpaceTreeControl2 { +impl core::ops::Deref for INameSpaceTreeControl2 { type Target = INameSpaceTreeControl; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14482,7 +14482,7 @@ pub struct INameSpaceTreeControl2_Vtbl { pub GetControlStyle2: unsafe extern "system" fn(*mut core::ffi::c_void, NSTCSTYLE2, *mut NSTCSTYLE2) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INameSpaceTreeControlCustomDraw, INameSpaceTreeControlCustomDraw_Vtbl, 0x2d3ba758_33ee_42d5_bb7b_5f3431d86c78); -impl std::ops::Deref for INameSpaceTreeControlCustomDraw { +impl core::ops::Deref for INameSpaceTreeControlCustomDraw { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14541,7 +14541,7 @@ pub struct INameSpaceTreeControlCustomDraw_Vtbl { ItemPostPaint: usize, } windows_core::imp::define_interface!(INameSpaceTreeControlDropHandler, INameSpaceTreeControlDropHandler_Vtbl, 0xf9c665d6_c2f2_4c19_bf33_8322d7352f51); -impl std::ops::Deref for INameSpaceTreeControlDropHandler { +impl core::ops::Deref for INameSpaceTreeControlDropHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14603,7 +14603,7 @@ pub struct INameSpaceTreeControlDropHandler_Vtbl { pub OnDragLeave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INameSpaceTreeControlEvents, INameSpaceTreeControlEvents_Vtbl, 0x93d77985_b3d8_4484_8318_672cdda002ce); -impl std::ops::Deref for INameSpaceTreeControlEvents { +impl core::ops::Deref for INameSpaceTreeControlEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14747,7 +14747,7 @@ pub struct INameSpaceTreeControlEvents_Vtbl { pub OnGetDefaultIconIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INameSpaceTreeControlFolderCapabilities, INameSpaceTreeControlFolderCapabilities_Vtbl, 0xe9701183_e6b3_4ff2_8568_813615fec7be); -impl std::ops::Deref for INameSpaceTreeControlFolderCapabilities { +impl core::ops::Deref for INameSpaceTreeControlFolderCapabilities { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14766,7 +14766,7 @@ pub struct INameSpaceTreeControlFolderCapabilities_Vtbl { pub GetFolderCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, NSTCFOLDERCAPABILITIES, *mut NSTCFOLDERCAPABILITIES) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INamedPropertyBag, INamedPropertyBag_Vtbl, 0xfb700430_952c_11d1_946f_000000000000); -impl std::ops::Deref for INamedPropertyBag { +impl core::ops::Deref for INamedPropertyBag { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14804,7 +14804,7 @@ pub struct INamedPropertyBag_Vtbl { pub RemovePropertyNPB: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INamespaceWalk, INamespaceWalk_Vtbl, 0x57ced8a7_3f4a_432c_9350_30f24483f74f); -impl std::ops::Deref for INamespaceWalk { +impl core::ops::Deref for INamespaceWalk { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14834,7 +14834,7 @@ pub struct INamespaceWalk_Vtbl { GetIDArrayResult: usize, } windows_core::imp::define_interface!(INamespaceWalkCB, INamespaceWalkCB_Vtbl, 0xd92995f8_cf5e_4a76_bf59_ead39ea2b97e); -impl std::ops::Deref for INamespaceWalkCB { +impl core::ops::Deref for INamespaceWalkCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14885,7 +14885,7 @@ pub struct INamespaceWalkCB_Vtbl { pub InitializeProgressDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INamespaceWalkCB2, INamespaceWalkCB2_Vtbl, 0x7ac7492b_c38e_438a_87db_68737844ff70); -impl std::ops::Deref for INamespaceWalkCB2 { +impl core::ops::Deref for INamespaceWalkCB2 { type Target = INamespaceWalkCB; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14903,7 +14903,7 @@ pub struct INamespaceWalkCB2_Vtbl { pub WalkComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INetworkFolderInternal, INetworkFolderInternal_Vtbl, 0xceb38218_c971_47bb_a703_f0bc99ccdb81); -impl std::ops::Deref for INetworkFolderInternal { +impl core::ops::Deref for INetworkFolderInternal { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14939,7 +14939,7 @@ pub struct INetworkFolderInternal_Vtbl { GetProvider: usize, } windows_core::imp::define_interface!(INewMenuClient, INewMenuClient_Vtbl, 0xdcb07fdc_3bb5_451c_90be_966644fed7b0); -impl std::ops::Deref for INewMenuClient { +impl core::ops::Deref for INewMenuClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -14966,7 +14966,7 @@ pub struct INewMenuClient_Vtbl { SelectAndEditItem: usize, } windows_core::imp::define_interface!(INewShortcutHookA, INewShortcutHookA_Vtbl, 0x000214e1_0000_0000_c000_000000000046); -impl std::ops::Deref for INewShortcutHookA { +impl core::ops::Deref for INewShortcutHookA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15011,7 +15011,7 @@ pub struct INewShortcutHookA_Vtbl { pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INewShortcutHookW, INewShortcutHookW_Vtbl, 0x000214f7_0000_0000_c000_000000000046); -impl std::ops::Deref for INewShortcutHookW { +impl core::ops::Deref for INewShortcutHookW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15058,7 +15058,7 @@ pub struct INewShortcutHookW_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(INewWDEvents, INewWDEvents_Vtbl, 0x0751c551_7568_41c9_8e5b_e22e38919236); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for INewWDEvents { +impl core::ops::Deref for INewWDEvents { type Target = IWebWizardHost; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15083,7 +15083,7 @@ pub struct INewWDEvents_Vtbl { pub PassportAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INewWindowManager, INewWindowManager_Vtbl, 0xd2bc4c84_3f72_4a52_a604_7bcbf3982cbb); -impl std::ops::Deref for INewWindowManager { +impl core::ops::Deref for INewWindowManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15108,7 +15108,7 @@ pub struct INewWindowManager_Vtbl { pub EvaluateNewWindow: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(INotifyReplica, INotifyReplica_Vtbl, 0x99180163_da16_101a_935c_444553540000); -impl std::ops::Deref for INotifyReplica { +impl core::ops::Deref for INotifyReplica { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15130,7 +15130,7 @@ pub struct INotifyReplica_Vtbl { YouAreAReplica: usize, } windows_core::imp::define_interface!(IObjMgr, IObjMgr_Vtbl, 0x00bb2761_6a77_11d0_a535_00c04fd7d062); -impl std::ops::Deref for IObjMgr { +impl core::ops::Deref for IObjMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15158,7 +15158,7 @@ pub struct IObjMgr_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectProvider, IObjectProvider_Vtbl, 0xa6087428_3be3_4d73_b308_7c04a540bf1a); -impl std::ops::Deref for IObjectProvider { +impl core::ops::Deref for IObjectProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15170,7 +15170,7 @@ impl IObjectProvider { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).QueryObject)(windows_core::Interface::as_raw(self), guidobject, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15180,7 +15180,7 @@ pub struct IObjectProvider_Vtbl { pub QueryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithAppUserModelID, IObjectWithAppUserModelID_Vtbl, 0x36db0196_9665_46d1_9ba7_d3709eecf9ed); -impl std::ops::Deref for IObjectWithAppUserModelID { +impl core::ops::Deref for IObjectWithAppUserModelID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15206,7 +15206,7 @@ pub struct IObjectWithAppUserModelID_Vtbl { pub GetAppID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithBackReferences, IObjectWithBackReferences_Vtbl, 0x321a6a6a_d61f_4bf3_97ae_14be2986bb36); -impl std::ops::Deref for IObjectWithBackReferences { +impl core::ops::Deref for IObjectWithBackReferences { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15224,7 +15224,7 @@ pub struct IObjectWithBackReferences_Vtbl { pub RemoveBackReferences: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithCancelEvent, IObjectWithCancelEvent_Vtbl, 0xf279b885_0ae9_4b85_ac06_ddecf9408941); -impl std::ops::Deref for IObjectWithCancelEvent { +impl core::ops::Deref for IObjectWithCancelEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15243,7 +15243,7 @@ pub struct IObjectWithCancelEvent_Vtbl { pub GetCancelEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithFolderEnumMode, IObjectWithFolderEnumMode_Vtbl, 0x6a9d9026_0e6e_464c_b000_42ecc07de673); -impl std::ops::Deref for IObjectWithFolderEnumMode { +impl core::ops::Deref for IObjectWithFolderEnumMode { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15266,7 +15266,7 @@ pub struct IObjectWithFolderEnumMode_Vtbl { pub GetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FOLDER_ENUM_MODE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithProgID, IObjectWithProgID_Vtbl, 0x71e806fb_8dee_46fc_bf8c_7748a8a1ae13); -impl std::ops::Deref for IObjectWithProgID { +impl core::ops::Deref for IObjectWithProgID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15292,7 +15292,7 @@ pub struct IObjectWithProgID_Vtbl { pub GetProgID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IObjectWithSelection, IObjectWithSelection_Vtbl, 0x1c9cd5bb_98e9_4491_a60f_31aacc72b83c); -impl std::ops::Deref for IObjectWithSelection { +impl core::ops::Deref for IObjectWithSelection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15310,7 +15310,7 @@ impl IObjectWithSelection { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetSelection)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15321,7 +15321,7 @@ pub struct IObjectWithSelection_Vtbl { pub GetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenControlPanel, IOpenControlPanel_Vtbl, 0xd11ad862_66de_4df4_bf6c_1f5621996af1); -impl std::ops::Deref for IOpenControlPanel { +impl core::ops::Deref for IOpenControlPanel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15356,7 +15356,7 @@ pub struct IOpenControlPanel_Vtbl { pub GetCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CPVIEW) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenSearchSource, IOpenSearchSource_Vtbl, 0xf0ee7333_e6fc_479b_9f25_a860c234a38e); -impl std::ops::Deref for IOpenSearchSource { +impl core::ops::Deref for IOpenSearchSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15370,7 +15370,7 @@ impl IOpenSearchSource { P1: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetResults)(windows_core::Interface::as_raw(self), hwnd.param().abi(), pszquery.param().abi(), dwstartindex, dwcount, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15380,7 +15380,7 @@ pub struct IOpenSearchSource_Vtbl { pub GetResults: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOperationsProgressDialog, IOperationsProgressDialog_Vtbl, 0x0c9fb851_e5c9_43eb_a370_f0677b13874c); -impl std::ops::Deref for IOperationsProgressDialog { +impl core::ops::Deref for IOperationsProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15451,7 +15451,7 @@ pub struct IOperationsProgressDialog_Vtbl { GetOperationStatus: usize, } windows_core::imp::define_interface!(IPackageDebugSettings, IPackageDebugSettings_Vtbl, 0xf27c3930_8029_4ad1_94e3_3dba417810c1); -impl std::ops::Deref for IPackageDebugSettings { +impl core::ops::Deref for IPackageDebugSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15566,7 +15566,7 @@ pub struct IPackageDebugSettings_Vtbl { pub UnregisterForPackageStateChanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageDebugSettings2, IPackageDebugSettings2_Vtbl, 0x6e3194bb_ab82_4d22_93f5_fabda40e7b16); -impl std::ops::Deref for IPackageDebugSettings2 { +impl core::ops::Deref for IPackageDebugSettings2 { type Target = IPackageDebugSettings; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15587,7 +15587,7 @@ pub struct IPackageDebugSettings2_Vtbl { pub EnumerateApps: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut *mut windows_core::PWSTR, *mut *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPackageExecutionStateChangeNotification, IPackageExecutionStateChangeNotification_Vtbl, 0x1bb12a62_2ad8_432b_8ccf_0c2c52afcd5b); -impl std::ops::Deref for IPackageExecutionStateChangeNotification { +impl core::ops::Deref for IPackageExecutionStateChangeNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15608,7 +15608,7 @@ pub struct IPackageExecutionStateChangeNotification_Vtbl { pub OnStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, PACKAGE_EXECUTION_STATE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IParentAndItem, IParentAndItem_Vtbl, 0xb3a4b685_b685_4805_99d9_5dead2873236); -impl std::ops::Deref for IParentAndItem { +impl core::ops::Deref for IParentAndItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15641,7 +15641,7 @@ pub struct IParentAndItem_Vtbl { GetParentAndItem: usize, } windows_core::imp::define_interface!(IParseAndCreateItem, IParseAndCreateItem_Vtbl, 0x67efed0e_e827_4408_b493_78f3982b685c); -impl std::ops::Deref for IParseAndCreateItem { +impl core::ops::Deref for IParseAndCreateItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15659,7 +15659,7 @@ impl IParseAndCreateItem { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetItem)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -15672,7 +15672,7 @@ pub struct IParseAndCreateItem_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistFolder, IPersistFolder_Vtbl, 0x000214ea_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistFolder { +impl core::ops::Deref for IPersistFolder { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15699,7 +15699,7 @@ pub struct IPersistFolder_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistFolder2, IPersistFolder2_Vtbl, 0x1ac3d9f0_175c_11d1_95be_00609797ea4f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistFolder2 { +impl core::ops::Deref for IPersistFolder2 { type Target = IPersistFolder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15727,7 +15727,7 @@ pub struct IPersistFolder2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistFolder3, IPersistFolder3_Vtbl, 0xcef04fdf_fe72_11d2_87a5_00c04f6837cf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistFolder3 { +impl core::ops::Deref for IPersistFolder3 { type Target = IPersistFolder2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15765,7 +15765,7 @@ pub struct IPersistFolder3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistIDList, IPersistIDList_Vtbl, 0x1079acfc_29bd_11d3_8e0d_00c04f6837d5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistIDList { +impl core::ops::Deref for IPersistIDList { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15799,7 +15799,7 @@ pub struct IPersistIDList_Vtbl { GetIDList: usize, } windows_core::imp::define_interface!(IPreviewHandler, IPreviewHandler_Vtbl, 0x8895b1c6_b41f_4c1c_a562_0d564250836f); -impl std::ops::Deref for IPreviewHandler { +impl core::ops::Deref for IPreviewHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15849,7 +15849,7 @@ pub struct IPreviewHandler_Vtbl { TranslateAccelerator: usize, } windows_core::imp::define_interface!(IPreviewHandlerFrame, IPreviewHandlerFrame_Vtbl, 0xfec87aaf_35f9_447a_adb7_20234491401a); -impl std::ops::Deref for IPreviewHandlerFrame { +impl core::ops::Deref for IPreviewHandlerFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15880,7 +15880,7 @@ pub struct IPreviewHandlerFrame_Vtbl { TranslateAccelerator: usize, } windows_core::imp::define_interface!(IPreviewHandlerVisuals, IPreviewHandlerVisuals_Vtbl, 0x196bf9a5_b346_4ef0_aa1e_5dcdb76768b1); -impl std::ops::Deref for IPreviewHandlerVisuals { +impl core::ops::Deref for IPreviewHandlerVisuals { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15916,7 +15916,7 @@ pub struct IPreviewHandlerVisuals_Vtbl { pub SetTextColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPreviewItem, IPreviewItem_Vtbl, 0x36149969_0a8f_49c8_8b00_4aecb20222fb); -impl std::ops::Deref for IPreviewItem { +impl core::ops::Deref for IPreviewItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15929,7 +15929,7 @@ pub struct IPreviewItem_Vtbl { pub base__: IRelatedItem_Vtbl, } windows_core::imp::define_interface!(IPreviousVersionsInfo, IPreviousVersionsInfo_Vtbl, 0x76e54780_ad74_48e3_a695_3ba9a0aff10d); -impl std::ops::Deref for IPreviousVersionsInfo { +impl core::ops::Deref for IPreviousVersionsInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15952,7 +15952,7 @@ pub struct IPreviousVersionsInfo_Vtbl { pub AreSnapshotsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProfferService, IProfferService_Vtbl, 0xcb728b20_f786_11ce_92ad_00aa00a74cd0); -impl std::ops::Deref for IProfferService { +impl core::ops::Deref for IProfferService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -15982,7 +15982,7 @@ pub struct IProfferService_Vtbl { pub RevokeService: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IProgressDialog, IProgressDialog_Vtbl, 0xebbc7c04_315e_11d2_b62f_006097df5bd4); -impl std::ops::Deref for IProgressDialog { +impl core::ops::Deref for IProgressDialog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16053,7 +16053,7 @@ pub struct IProgressDialog_Vtbl { pub Timer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPropertyKeyStore, IPropertyKeyStore_Vtbl, 0x75bd59aa_f23b_4963_aba4_0b355752a91b); -impl std::ops::Deref for IPropertyKeyStore { +impl core::ops::Deref for IPropertyKeyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16108,7 +16108,7 @@ pub struct IPropertyKeyStore_Vtbl { RemoveKey: usize, } windows_core::imp::define_interface!(IPublishedApp, IPublishedApp_Vtbl, 0x1bc752e0_9046_11d1_b8b3_006008059382); -impl std::ops::Deref for IPublishedApp { +impl core::ops::Deref for IPublishedApp { type Target = IShellApp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16134,7 +16134,7 @@ pub struct IPublishedApp_Vtbl { pub Unschedule: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPublishedApp2, IPublishedApp2_Vtbl, 0x12b81347_1b3a_4a04_aa61_3f768b67fd7e); -impl std::ops::Deref for IPublishedApp2 { +impl core::ops::Deref for IPublishedApp2 { type Target = IPublishedApp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16155,7 +16155,7 @@ pub struct IPublishedApp2_Vtbl { pub Install2: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SYSTEMTIME, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPublishingWizard, IPublishingWizard_Vtbl, 0xaa9198bb_ccec_472d_beed_19a4f6733f7a); -impl std::ops::Deref for IPublishingWizard { +impl core::ops::Deref for IPublishingWizard { type Target = IWizardExtension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16189,7 +16189,7 @@ pub struct IPublishingWizard_Vtbl { GetTransferManifest: usize, } windows_core::imp::define_interface!(IQueryAssociations, IQueryAssociations_Vtbl, 0xc46ca590_3c3f_11d2_bee6_0000f805ca57); -impl std::ops::Deref for IQueryAssociations { +impl core::ops::Deref for IQueryAssociations { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16249,7 +16249,7 @@ pub struct IQueryAssociations_Vtbl { pub GetEnum: unsafe extern "system" fn(*mut core::ffi::c_void, ASSOCF, ASSOCENUM, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryCancelAutoPlay, IQueryCancelAutoPlay_Vtbl, 0xddefe873_6997_4e68_be26_39b633adbe12); -impl std::ops::Deref for IQueryCancelAutoPlay { +impl core::ops::Deref for IQueryCancelAutoPlay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16271,7 +16271,7 @@ pub struct IQueryCancelAutoPlay_Vtbl { pub AllowAutoPlay: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryCodePage, IQueryCodePage_Vtbl, 0xc7b236ce_ee80_11d0_985f_006008059382); -impl std::ops::Deref for IQueryCodePage { +impl core::ops::Deref for IQueryCodePage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16294,7 +16294,7 @@ pub struct IQueryCodePage_Vtbl { pub SetCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryContinue, IQueryContinue_Vtbl, 0x7307055c_b24a_486b_9f25_163e597a28a9); -impl std::ops::Deref for IQueryContinue { +impl core::ops::Deref for IQueryContinue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16312,7 +16312,7 @@ pub struct IQueryContinue_Vtbl { pub QueryContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryContinueWithStatus, IQueryContinueWithStatus_Vtbl, 0x9090be5b_502b_41fb_bccc_0049a6c7254b); -impl std::ops::Deref for IQueryContinueWithStatus { +impl core::ops::Deref for IQueryContinueWithStatus { type Target = IQueryContinue; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16333,7 +16333,7 @@ pub struct IQueryContinueWithStatus_Vtbl { pub SetStatusMessage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IQueryInfo, IQueryInfo_Vtbl, 0x00021500_0000_0000_c000_000000000046); -impl std::ops::Deref for IQueryInfo { +impl core::ops::Deref for IQueryInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16357,7 +16357,7 @@ pub struct IQueryInfo_Vtbl { pub GetInfoFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRegTreeItem, IRegTreeItem_Vtbl, 0xa9521922_0812_4d44_9ec3_7fd38c726f3d); -impl std::ops::Deref for IRegTreeItem { +impl core::ops::Deref for IRegTreeItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16383,7 +16383,7 @@ pub struct IRegTreeItem_Vtbl { pub SetCheckState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRelatedItem, IRelatedItem_Vtbl, 0xa73ce67a_8ab1_44f1_8d43_d2fcbf6b1cd0); -impl std::ops::Deref for IRelatedItem { +impl core::ops::Deref for IRelatedItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16411,7 +16411,7 @@ pub struct IRelatedItem_Vtbl { pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRemoteComputer, IRemoteComputer_Vtbl, 0x000214fe_0000_0000_c000_000000000046); -impl std::ops::Deref for IRemoteComputer { +impl core::ops::Deref for IRemoteComputer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16433,7 +16433,7 @@ pub struct IRemoteComputer_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResolveShellLink, IResolveShellLink_Vtbl, 0x5cd52983_9449_11d2_963a_00c04f79adf0); -impl std::ops::Deref for IResolveShellLink { +impl core::ops::Deref for IResolveShellLink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16455,7 +16455,7 @@ pub struct IResolveShellLink_Vtbl { pub ResolveShellLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IResultsFolder, IResultsFolder_Vtbl, 0x96e5ae6d_6ae1_4b1c_900c_c6480eaa8828); -impl std::ops::Deref for IResultsFolder { +impl core::ops::Deref for IResultsFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16503,7 +16503,7 @@ pub struct IResultsFolder_Vtbl { pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRunnableTask, IRunnableTask_Vtbl, 0x85788d00_6807_11d0_b810_00c04fd706ec); -impl std::ops::Deref for IRunnableTask { +impl core::ops::Deref for IRunnableTask { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16542,7 +16542,7 @@ pub struct IRunnableTask_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IScriptErrorList, IScriptErrorList_Vtbl, 0xf3470f24_15fd_11d2_bb2e_00805ff7efca); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IScriptErrorList { +impl core::ops::Deref for IScriptErrorList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16631,7 +16631,7 @@ pub struct IScriptErrorList_Vtbl { pub setPerErrorDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchBoxInfo, ISearchBoxInfo_Vtbl, 0x6af6e03f_d664_4ef4_9626_f7e0ed36755e); -impl std::ops::Deref for ISearchBoxInfo { +impl core::ops::Deref for ISearchBoxInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16643,7 +16643,7 @@ impl ISearchBoxInfo { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetCondition)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetText(&self) -> windows_core::Result { @@ -16658,7 +16658,7 @@ pub struct ISearchBoxInfo_Vtbl { pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchContext, ISearchContext_Vtbl, 0x09f656a2_41af_480c_88f7_16cc0d164615); -impl std::ops::Deref for ISearchContext { +impl core::ops::Deref for ISearchContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16687,7 +16687,7 @@ pub struct ISearchContext_Vtbl { pub GetSearchStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISearchFolderItemFactory, ISearchFolderItemFactory_Vtbl, 0xa0ffbc28_5482_4366_be27_3e81e78e06c2); -impl std::ops::Deref for ISearchFolderItemFactory { +impl core::ops::Deref for ISearchFolderItemFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16743,7 +16743,7 @@ impl ISearchFolderItemFactory { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetShellItem)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -16787,7 +16787,7 @@ pub struct ISearchFolderItemFactory_Vtbl { GetIDList: usize, } windows_core::imp::define_interface!(ISharedBitmap, ISharedBitmap_Vtbl, 0x091162a4_bc96_411f_aae8_c5122cd03363); -impl std::ops::Deref for ISharedBitmap { +impl core::ops::Deref for ISharedBitmap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16840,7 +16840,7 @@ pub struct ISharedBitmap_Vtbl { Detach: usize, } windows_core::imp::define_interface!(ISharingConfigurationManager, ISharingConfigurationManager_Vtbl, 0xb4cd448a_9c86_4466_9201_2e62105b87ae); -impl std::ops::Deref for ISharingConfigurationManager { +impl core::ops::Deref for ISharingConfigurationManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16883,7 +16883,7 @@ pub struct ISharingConfigurationManager_Vtbl { pub ArePrintersShared: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellApp, IShellApp_Vtbl, 0xa3e14960_935f_11d1_b8b8_006008059382); -impl std::ops::Deref for IShellApp { +impl core::ops::Deref for IShellApp { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -16920,7 +16920,7 @@ pub struct IShellApp_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IShellBrowser, IShellBrowser_Vtbl, 0x000214e2_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IShellBrowser { +impl core::ops::Deref for IShellBrowser { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17051,7 +17051,7 @@ pub struct IShellBrowser_Vtbl { SetToolbarItems: usize, } windows_core::imp::define_interface!(IShellChangeNotify, IShellChangeNotify_Vtbl, 0xd82be2b1_5764_11d0_a96e_00c04fd705a2); -impl std::ops::Deref for IShellChangeNotify { +impl core::ops::Deref for IShellChangeNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17073,7 +17073,7 @@ pub struct IShellChangeNotify_Vtbl { OnChange: usize, } windows_core::imp::define_interface!(IShellDetails, IShellDetails_Vtbl, 0x000214ec_0000_0000_c000_000000000046); -impl std::ops::Deref for IShellDetails { +impl core::ops::Deref for IShellDetails { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17101,7 +17101,7 @@ pub struct IShellDetails_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch, IShellDispatch_Vtbl, 0xd8f015c0_c278_11ce_a49e_444553540000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellDispatch { +impl core::ops::Deref for IShellDispatch { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17253,7 +17253,7 @@ pub struct IShellDispatch_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch2, IShellDispatch2_Vtbl, 0xa4c6892c_3ba9_11d2_9dea_00c04fb16162); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellDispatch2 { +impl core::ops::Deref for IShellDispatch2 { type Target = IShellDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17352,7 +17352,7 @@ pub struct IShellDispatch2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch3, IShellDispatch3_Vtbl, 0x177160ca_bb5a_411c_841d_bd38facdeaa0); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellDispatch3 { +impl core::ops::Deref for IShellDispatch3 { type Target = IShellDispatch2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17379,7 +17379,7 @@ pub struct IShellDispatch3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch4, IShellDispatch4_Vtbl, 0xefd84b2d_4bcf_4298_be25_eb542a59fbda); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellDispatch4 { +impl core::ops::Deref for IShellDispatch4 { type Target = IShellDispatch3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17419,7 +17419,7 @@ pub struct IShellDispatch4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch5, IShellDispatch5_Vtbl, 0x866738b9_6cf2_4de8_8767_f794ebe74f4e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellDispatch5 { +impl core::ops::Deref for IShellDispatch5 { type Target = IShellDispatch4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17442,7 +17442,7 @@ pub struct IShellDispatch5_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellDispatch6, IShellDispatch6_Vtbl, 0x286e6f1b_7113_4355_9562_96b7e9d64c54); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellDispatch6 { +impl core::ops::Deref for IShellDispatch6 { type Target = IShellDispatch5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17463,7 +17463,7 @@ pub struct IShellDispatch6_Vtbl { pub SearchCommand: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellExtInit, IShellExtInit_Vtbl, 0x000214e8_0000_0000_c000_000000000046); -impl std::ops::Deref for IShellExtInit { +impl core::ops::Deref for IShellExtInit { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17491,7 +17491,7 @@ pub struct IShellExtInit_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellFavoritesNameSpace, IShellFavoritesNameSpace_Vtbl, 0x55136804_b2de_11d1_b9f2_00a0c98bc547); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellFavoritesNameSpace { +impl core::ops::Deref for IShellFavoritesNameSpace { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17569,7 +17569,7 @@ pub struct IShellFavoritesNameSpace_Vtbl { pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellFolder, IShellFolder_Vtbl, 0x000214e6_0000_0000_c000_000000000046); -impl std::ops::Deref for IShellFolder { +impl core::ops::Deref for IShellFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17598,7 +17598,7 @@ impl IShellFolder { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToObject)(windows_core::Interface::as_raw(self), pidl, pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -17607,7 +17607,7 @@ impl IShellFolder { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToStorage)(windows_core::Interface::as_raw(self), pidl, pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17622,7 +17622,7 @@ impl IShellFolder { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateViewObject)(windows_core::Interface::as_raw(self), hwndowner.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17635,7 +17635,7 @@ impl IShellFolder { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetUIObjectOf)(windows_core::Interface::as_raw(self), hwndowner.param().abi(), apidl.len().try_into().unwrap(), core::mem::transmute(apidl.as_ptr()), &T::IID, core::mem::transmute(rgfreserved.unwrap_or(std::ptr::null())), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17690,7 +17690,7 @@ pub struct IShellFolder_Vtbl { SetNameOf: usize, } windows_core::imp::define_interface!(IShellFolder2, IShellFolder2_Vtbl, 0x93f2f68c_1d1b_11d3_a30e_00c04f79abd1); -impl std::ops::Deref for IShellFolder2 { +impl core::ops::Deref for IShellFolder2 { type Target = IShellFolder; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17748,7 +17748,7 @@ pub struct IShellFolder2_Vtbl { MapColumnToSCID: usize, } windows_core::imp::define_interface!(IShellFolderBand, IShellFolderBand_Vtbl, 0x7fe80cc8_c247_11d0_b93a_00a0c90312e1); -impl std::ops::Deref for IShellFolderBand { +impl core::ops::Deref for IShellFolderBand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -17789,7 +17789,7 @@ pub struct IShellFolderBand_Vtbl { GetBandInfoSFB: usize, } windows_core::imp::define_interface!(IShellFolderView, IShellFolderView_Vtbl, 0x37a378c0_f82d_11ce_ae65_08002b2e1262); -impl std::ops::Deref for IShellFolderView { +impl core::ops::Deref for IShellFolderView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18001,7 +18001,7 @@ pub struct IShellFolderView_Vtbl { SetAutomationObject: usize, } windows_core::imp::define_interface!(IShellFolderViewCB, IShellFolderViewCB_Vtbl, 0x2047e320_f2a9_11ce_ae65_08002b2e1262); -impl std::ops::Deref for IShellFolderViewCB { +impl core::ops::Deref for IShellFolderViewCB { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18025,7 +18025,7 @@ pub struct IShellFolderViewCB_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellFolderViewDual, IShellFolderViewDual_Vtbl, 0xe7a1af80_4d96_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellFolderViewDual { +impl core::ops::Deref for IShellFolderViewDual { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18121,7 +18121,7 @@ pub struct IShellFolderViewDual_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellFolderViewDual2, IShellFolderViewDual2_Vtbl, 0x31c147b6_0ade_4a3c_b514_ddf932ef6d17); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellFolderViewDual2 { +impl core::ops::Deref for IShellFolderViewDual2 { type Target = IShellFolderViewDual; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18153,7 +18153,7 @@ pub struct IShellFolderViewDual2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellFolderViewDual3, IShellFolderViewDual3_Vtbl, 0x29ec8e6c_46d3_411f_baaa_611a6c9cac66); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellFolderViewDual3 { +impl core::ops::Deref for IShellFolderViewDual3 { type Target = IShellFolderViewDual2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18219,7 +18219,7 @@ pub struct IShellFolderViewDual3_Vtbl { pub FilterView: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellIcon, IShellIcon_Vtbl, 0x000214e5_0000_0000_c000_000000000046); -impl std::ops::Deref for IShellIcon { +impl core::ops::Deref for IShellIcon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18242,7 +18242,7 @@ pub struct IShellIcon_Vtbl { GetIconOf: usize, } windows_core::imp::define_interface!(IShellIconOverlay, IShellIconOverlay_Vtbl, 0x7d688a70_c613_11d0_999b_00c04fd655e1); -impl std::ops::Deref for IShellIconOverlay { +impl core::ops::Deref for IShellIconOverlay { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18272,7 +18272,7 @@ pub struct IShellIconOverlay_Vtbl { GetOverlayIconIndex: usize, } windows_core::imp::define_interface!(IShellIconOverlayIdentifier, IShellIconOverlayIdentifier_Vtbl, 0x0c6c4200_c589_11d0_999a_00c04fd655e1); -impl std::ops::Deref for IShellIconOverlayIdentifier { +impl core::ops::Deref for IShellIconOverlayIdentifier { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18302,7 +18302,7 @@ pub struct IShellIconOverlayIdentifier_Vtbl { pub GetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellIconOverlayManager, IShellIconOverlayManager_Vtbl, 0xf10b5e34_dd3b_42a7_aa7d_2f4ec54bb09b); -impl std::ops::Deref for IShellIconOverlayManager { +impl core::ops::Deref for IShellIconOverlayManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18345,7 +18345,7 @@ pub struct IShellIconOverlayManager_Vtbl { pub OverlayIndexFromImageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellImageData, IShellImageData_Vtbl, 0xbfdeec12_8040_4403_a5ea_9e07dafcf530); -impl std::ops::Deref for IShellImageData { +impl core::ops::Deref for IShellImageData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18509,7 +18509,7 @@ pub struct IShellImageData_Vtbl { pub ReplaceFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellImageDataAbort, IShellImageDataAbort_Vtbl, 0x53fb8e58_50c0_4003_b4aa_0c8df28e7f3a); -impl std::ops::Deref for IShellImageDataAbort { +impl core::ops::Deref for IShellImageDataAbort { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18527,7 +18527,7 @@ pub struct IShellImageDataAbort_Vtbl { pub QueryAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellImageDataFactory, IShellImageDataFactory_Vtbl, 0x9be8ed5c_edab_4d75_90f3_bd5bdbb21c82); -impl std::ops::Deref for IShellImageDataFactory { +impl core::ops::Deref for IShellImageDataFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18574,7 +18574,7 @@ pub struct IShellImageDataFactory_Vtbl { pub GetDataFormatFromPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellItem, IShellItem_Vtbl, 0x43826d1e_e718_42ee_bc55_a1e261c37bfe); -impl std::ops::Deref for IShellItem { +impl core::ops::Deref for IShellItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18588,7 +18588,7 @@ impl IShellItem { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToHandler)(windows_core::Interface::as_raw(self), pbc.param().abi(), bhid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetParent(&self) -> windows_core::Result { @@ -18628,7 +18628,7 @@ pub struct IShellItem_Vtbl { pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellItem2, IShellItem2_Vtbl, 0x7e9fb0d3_919f_4307_ab2e_9b1860310c93); -impl std::ops::Deref for IShellItem2 { +impl core::ops::Deref for IShellItem2 { type Target = IShellItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18641,7 +18641,7 @@ impl IShellItem2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyStore)(windows_core::Interface::as_raw(self), flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -18650,7 +18650,7 @@ impl IShellItem2 { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyStoreWithCreateObject)(windows_core::Interface::as_raw(self), flags, punkcreateobject.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -18658,7 +18658,7 @@ impl IShellItem2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyStoreForKeys)(windows_core::Interface::as_raw(self), core::mem::transmute(rgkeys.as_ptr()), rgkeys.len().try_into().unwrap(), flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -18666,7 +18666,7 @@ impl IShellItem2 { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyDescriptionList)(windows_core::Interface::as_raw(self), keytype, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -18774,7 +18774,7 @@ pub struct IShellItem2_Vtbl { GetBool: usize, } windows_core::imp::define_interface!(IShellItemArray, IShellItemArray_Vtbl, 0xb63ea76d_1f85_456f_a19c_48159efa858b); -impl std::ops::Deref for IShellItemArray { +impl core::ops::Deref for IShellItemArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18788,7 +18788,7 @@ impl IShellItemArray { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToHandler)(windows_core::Interface::as_raw(self), pbc.param().abi(), bhid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -18796,7 +18796,7 @@ impl IShellItemArray { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyStore)(windows_core::Interface::as_raw(self), flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -18804,7 +18804,7 @@ impl IShellItemArray { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetPropertyDescriptionList)(windows_core::Interface::as_raw(self), keytype, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_SystemServices")] @@ -18849,7 +18849,7 @@ pub struct IShellItemArray_Vtbl { pub EnumItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellItemFilter, IShellItemFilter_Vtbl, 0x2659b475_eeb8_48b7_8f07_b378810f48cf); -impl std::ops::Deref for IShellItemFilter { +impl core::ops::Deref for IShellItemFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18878,7 +18878,7 @@ pub struct IShellItemFilter_Vtbl { pub GetEnumFlagsForItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellItemImageFactory, IShellItemImageFactory_Vtbl, 0xbcc18b79_ba16_442f_80c4_8a59c30c463b); -impl std::ops::Deref for IShellItemImageFactory { +impl core::ops::Deref for IShellItemImageFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18901,7 +18901,7 @@ pub struct IShellItemImageFactory_Vtbl { GetImage: usize, } windows_core::imp::define_interface!(IShellItemResources, IShellItemResources_Vtbl, 0xff5693be_2ce0_4d48_b5c5_40817d1acdb9); -impl std::ops::Deref for IShellItemResources { +impl core::ops::Deref for IShellItemResources { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -18938,14 +18938,14 @@ impl IShellItemResources { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).OpenResource)(windows_core::Interface::as_raw(self), pcsir, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn CreateResource(&self, pcsir: *const SHELL_ITEM_RESOURCE) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateResource)(windows_core::Interface::as_raw(self), pcsir, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn MarkForDelete(&self) -> windows_core::Result<()> { @@ -18967,7 +18967,7 @@ pub struct IShellItemResources_Vtbl { pub MarkForDelete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellLibrary, IShellLibrary_Vtbl, 0x11a66efa_382e_451a_9234_1e0e12ef3085); -impl std::ops::Deref for IShellLibrary { +impl core::ops::Deref for IShellLibrary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19000,7 +19000,7 @@ impl IShellLibrary { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetFolders)(windows_core::Interface::as_raw(self), lff, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ResolveFolder(&self, psifoldertoresolve: P0, dwtimeout: u32) -> windows_core::Result @@ -19008,14 +19008,14 @@ impl IShellLibrary { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).ResolveFolder)(windows_core::Interface::as_raw(self), psifoldertoresolve.param().abi(), dwtimeout, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetDefaultSaveFolder(&self, dsft: DEFAULTSAVEFOLDERTYPE) -> windows_core::Result where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetDefaultSaveFolder)(windows_core::Interface::as_raw(self), dsft, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn SetDefaultSaveFolder(&self, dsft: DEFAULTSAVEFOLDERTYPE, psi: P0) -> windows_core::Result<()> @@ -19089,7 +19089,7 @@ pub struct IShellLibrary_Vtbl { pub SaveInKnownFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, LIBRARYSAVEFLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellLinkA, IShellLinkA_Vtbl, 0x000214ee_0000_0000_c000_000000000046); -impl std::ops::Deref for IShellLinkA { +impl core::ops::Deref for IShellLinkA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19219,7 +19219,7 @@ pub struct IShellLinkA_Vtbl { pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellLinkDataList, IShellLinkDataList_Vtbl, 0x45e2b4ae_b1c3_11d0_b92f_00a0c90312e1); -impl std::ops::Deref for IShellLinkDataList { +impl core::ops::Deref for IShellLinkDataList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19256,7 +19256,7 @@ pub struct IShellLinkDataList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellLinkDual, IShellLinkDual_Vtbl, 0x88a05c00_f000_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellLinkDual { +impl core::ops::Deref for IShellLinkDual { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19364,7 +19364,7 @@ pub struct IShellLinkDual_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellLinkDual2, IShellLinkDual2_Vtbl, 0x317ee249_f12e_11d2_b1e4_00c04f8eeb3e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellLinkDual2 { +impl core::ops::Deref for IShellLinkDual2 { type Target = IShellLinkDual; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19390,7 +19390,7 @@ pub struct IShellLinkDual2_Vtbl { Target: usize, } windows_core::imp::define_interface!(IShellLinkW, IShellLinkW_Vtbl, 0x000214f9_0000_0000_c000_000000000046); -impl std::ops::Deref for IShellLinkW { +impl core::ops::Deref for IShellLinkW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19520,7 +19520,7 @@ pub struct IShellLinkW_Vtbl { pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellMenu, IShellMenu_Vtbl, 0xee1f7637_e138_11d1_8379_00c04fd918d0); -impl std::ops::Deref for IShellMenu { +impl core::ops::Deref for IShellMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19608,7 +19608,7 @@ pub struct IShellMenu_Vtbl { pub SetMenuToolbar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellMenuCallback, IShellMenuCallback_Vtbl, 0x4ca300a1_9b8d_11d1_8b22_00c04fd918d0); -impl std::ops::Deref for IShellMenuCallback { +impl core::ops::Deref for IShellMenuCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19636,7 +19636,7 @@ pub struct IShellMenuCallback_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellNameSpace, IShellNameSpace_Vtbl, 0xe572d3c9_37be_4ae2_825d_d521763e3108); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellNameSpace { +impl core::ops::Deref for IShellNameSpace { type Target = IShellFavoritesNameSpace; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19771,7 +19771,7 @@ pub struct IShellNameSpace_Vtbl { pub UnselectAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellPropSheetExt, IShellPropSheetExt_Vtbl, 0x000214e9_0000_0000_c000_000000000046); -impl std::ops::Deref for IShellPropSheetExt { +impl core::ops::Deref for IShellPropSheetExt { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19807,7 +19807,7 @@ pub struct IShellPropSheetExt_Vtbl { ReplacePage: usize, } windows_core::imp::define_interface!(IShellRunDll, IShellRunDll_Vtbl, 0xfce4bde0_4b68_4b80_8e9c_7426315a7388); -impl std::ops::Deref for IShellRunDll { +impl core::ops::Deref for IShellRunDll { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19828,7 +19828,7 @@ pub struct IShellRunDll_Vtbl { pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellService, IShellService_Vtbl, 0x5836fb00_8187_11cf_a12b_00aa004ae837); -impl std::ops::Deref for IShellService { +impl core::ops::Deref for IShellService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19849,7 +19849,7 @@ pub struct IShellService_Vtbl { pub SetOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IShellTaskScheduler, IShellTaskScheduler_Vtbl, 0x6ccb7be0_6807_11d0_b810_00c04fd706ec); -impl std::ops::Deref for IShellTaskScheduler { +impl core::ops::Deref for IShellTaskScheduler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19887,7 +19887,7 @@ pub struct IShellTaskScheduler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper, IShellUIHelper_Vtbl, 0x729fe2f8_1ea8_11d1_8f85_00c04fc2fbe1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper { +impl core::ops::Deref for IShellUIHelper { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -19988,7 +19988,7 @@ pub struct IShellUIHelper_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper2, IShellUIHelper2_Vtbl, 0xa7fe6eda_1932_4281_b881_87b31b8bc52c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper2 { +impl core::ops::Deref for IShellUIHelper2 { type Target = IShellUIHelper; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20096,7 +20096,7 @@ pub struct IShellUIHelper2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper3, IShellUIHelper3_Vtbl, 0x528df2ec_d419_40bc_9b6d_dcdbf9c1b25d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper3 { +impl core::ops::Deref for IShellUIHelper3 { type Target = IShellUIHelper2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20193,7 +20193,7 @@ pub struct IShellUIHelper3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper4, IShellUIHelper4_Vtbl, 0xb36e6a53_8073_499e_824c_d776330a333e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper4 { +impl core::ops::Deref for IShellUIHelper4 { type Target = IShellUIHelper3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20326,7 +20326,7 @@ pub struct IShellUIHelper4_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper5, IShellUIHelper5_Vtbl, 0xa2a08b09_103d_4d3f_b91c_ea455ca82efa); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper5 { +impl core::ops::Deref for IShellUIHelper5 { type Target = IShellUIHelper4; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20380,7 +20380,7 @@ pub struct IShellUIHelper5_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper6, IShellUIHelper6_Vtbl, 0x987a573e_46ee_4e89_96ab_ddf7f8fdc98c); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper6 { +impl core::ops::Deref for IShellUIHelper6 { type Target = IShellUIHelper5; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20493,7 +20493,7 @@ pub struct IShellUIHelper6_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper7, IShellUIHelper7_Vtbl, 0x60e567c8_9573_4ab2_a264_637c6c161cb1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper7 { +impl core::ops::Deref for IShellUIHelper7 { type Target = IShellUIHelper6; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20579,7 +20579,7 @@ pub struct IShellUIHelper7_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper8, IShellUIHelper8_Vtbl, 0x66debcf2_05b0_4f07_b49b_b96241a65db2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper8 { +impl core::ops::Deref for IShellUIHelper8 { type Target = IShellUIHelper7; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20633,7 +20633,7 @@ pub struct IShellUIHelper8_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellUIHelper9, IShellUIHelper9_Vtbl, 0x6cdf73b0_7f2f_451f_bc0f_63e0f3284e54); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellUIHelper9 { +impl core::ops::Deref for IShellUIHelper9 { type Target = IShellUIHelper8; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20657,7 +20657,7 @@ pub struct IShellUIHelper9_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IShellView, IShellView_Vtbl, 0x000214e3_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IShellView { +impl core::ops::Deref for IShellView { type Target = super::super::System::Ole::IOleWindow; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20717,7 +20717,7 @@ impl IShellView { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetItemObject)(windows_core::Interface::as_raw(self), uitem.0 as _, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -20752,7 +20752,7 @@ pub struct IShellView_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IShellView2, IShellView2_Vtbl, 0x88e39e80_3578_11cf_ae69_08002b2e1262); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IShellView2 { +impl core::ops::Deref for IShellView2 { type Target = IShellView; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20799,7 +20799,7 @@ pub struct IShellView2_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IShellView3, IShellView3_Vtbl, 0xec39fa88_f8af_41c5_8421_38bed28f4673); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IShellView3 { +impl core::ops::Deref for IShellView3 { type Target = IShellView2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20831,7 +20831,7 @@ pub struct IShellView3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IShellWindows, IShellWindows_Vtbl, 0x85cb6900_4d95_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IShellWindows { +impl core::ops::Deref for IShellWindows { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20925,7 +20925,7 @@ pub struct IShellWindows_Vtbl { pub ProcessAttachDetach: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISortColumnArray, ISortColumnArray_Vtbl, 0x6dfc60fb_f2e9_459b_beb5_288f1a7c7d54); -impl std::ops::Deref for ISortColumnArray { +impl core::ops::Deref for ISortColumnArray { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20957,7 +20957,7 @@ pub struct ISortColumnArray_Vtbl { pub GetSortType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SORT_ORDER_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStartMenuPinnedList, IStartMenuPinnedList_Vtbl, 0x4cd19ada_25a5_4a32_b3b7_347bee5be36b); -impl std::ops::Deref for IStartMenuPinnedList { +impl core::ops::Deref for IStartMenuPinnedList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -20978,7 +20978,7 @@ pub struct IStartMenuPinnedList_Vtbl { pub RemoveFromList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderBanners, IStorageProviderBanners_Vtbl, 0x5efb46d7_47c0_4b68_acda_ded47c90ec91); -impl std::ops::Deref for IStorageProviderBanners { +impl core::ops::Deref for IStorageProviderBanners { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21025,7 +21025,7 @@ pub struct IStorageProviderBanners_Vtbl { pub GetBanner: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderCopyHook, IStorageProviderCopyHook_Vtbl, 0x7bf992a9_af7a_4dba_b2e5_4d080b1ecbc6); -impl std::ops::Deref for IStorageProviderCopyHook { +impl core::ops::Deref for IStorageProviderCopyHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21049,7 +21049,7 @@ pub struct IStorageProviderCopyHook_Vtbl { pub CopyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderHandler, IStorageProviderHandler_Vtbl, 0x162c6fb5_44d3_435b_903d_e613fa093fb5); -impl std::ops::Deref for IStorageProviderHandler { +impl core::ops::Deref for IStorageProviderHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21087,7 +21087,7 @@ pub struct IStorageProviderHandler_Vtbl { pub GetPropertyHandlerFromFileId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStorageProviderPropertyHandler, IStorageProviderPropertyHandler_Vtbl, 0x301dfbe5_524c_4b0f_8b2d_21c40b3a2988); -impl std::ops::Deref for IStorageProviderPropertyHandler { +impl core::ops::Deref for IStorageProviderPropertyHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21123,7 +21123,7 @@ pub struct IStorageProviderPropertyHandler_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IStreamAsync, IStreamAsync_Vtbl, 0xfe0b6665_e0ca_49b9_a178_2b5cb48d92a5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IStreamAsync { +impl core::ops::Deref for IStreamAsync { type Target = super::super::System::Com::IStream; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21171,7 +21171,7 @@ pub struct IStreamAsync_Vtbl { pub CancelIo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStreamUnbufferedInfo, IStreamUnbufferedInfo_Vtbl, 0x8a68fdda_1fdc_4c20_8ceb_416643b5a625); -impl std::ops::Deref for IStreamUnbufferedInfo { +impl core::ops::Deref for IStreamUnbufferedInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21190,7 +21190,7 @@ pub struct IStreamUnbufferedInfo_Vtbl { pub GetSectorSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISuspensionDependencyManager, ISuspensionDependencyManager_Vtbl, 0x52b83a42_2543_416a_81d9_c0de7969c8b3); -impl std::ops::Deref for ISuspensionDependencyManager { +impl core::ops::Deref for ISuspensionDependencyManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21225,7 +21225,7 @@ pub struct ISuspensionDependencyManager_Vtbl { pub UngroupChildFromParent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrConflict, ISyncMgrConflict_Vtbl, 0x9c204249_c443_4ba4_85ed_c972681db137); -impl std::ops::Deref for ISyncMgrConflict { +impl core::ops::Deref for ISyncMgrConflict { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21257,7 +21257,7 @@ impl ISyncMgrConflict { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetResolutionHandler)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21277,7 +21277,7 @@ pub struct ISyncMgrConflict_Vtbl { pub GetResolutionHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrConflictFolder, ISyncMgrConflictFolder_Vtbl, 0x59287f5e_bc81_4fca_a7f1_e5a8ecdb1d69); -impl std::ops::Deref for ISyncMgrConflictFolder { +impl core::ops::Deref for ISyncMgrConflictFolder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21303,7 +21303,7 @@ pub struct ISyncMgrConflictFolder_Vtbl { GetConflictIDList: usize, } windows_core::imp::define_interface!(ISyncMgrConflictItems, ISyncMgrConflictItems_Vtbl, 0x9c7ead52_8023_4936_a4db_d2a9a99e436a); -impl std::ops::Deref for ISyncMgrConflictItems { +impl core::ops::Deref for ISyncMgrConflictItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21326,7 +21326,7 @@ pub struct ISyncMgrConflictItems_Vtbl { pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CONFIRM_CONFLICT_ITEM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrConflictPresenter, ISyncMgrConflictPresenter_Vtbl, 0x0b4f5353_fd2b_42cd_8763_4779f2d508a3); -impl std::ops::Deref for ISyncMgrConflictPresenter { +impl core::ops::Deref for ISyncMgrConflictPresenter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21348,7 +21348,7 @@ pub struct ISyncMgrConflictPresenter_Vtbl { pub PresentConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrConflictResolutionItems, ISyncMgrConflictResolutionItems_Vtbl, 0x458725b9_129d_4135_a998_9ceafec27007); -impl std::ops::Deref for ISyncMgrConflictResolutionItems { +impl core::ops::Deref for ISyncMgrConflictResolutionItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21372,7 +21372,7 @@ pub struct ISyncMgrConflictResolutionItems_Vtbl { pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CONFIRM_CONFLICT_RESULT_INFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrConflictResolveInfo, ISyncMgrConflictResolveInfo_Vtbl, 0xc405a219_25a2_442e_8743_b845a2cee93f); -impl std::ops::Deref for ISyncMgrConflictResolveInfo { +impl core::ops::Deref for ISyncMgrConflictResolveInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21424,7 +21424,7 @@ pub struct ISyncMgrConflictResolveInfo_Vtbl { pub SetItemChoices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrConflictStore, ISyncMgrConflictStore_Vtbl, 0xcf8fc579_c396_4774_85f1_d908a831156e); -impl std::ops::Deref for ISyncMgrConflictStore { +impl core::ops::Deref for ISyncMgrConflictStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21445,7 +21445,7 @@ impl ISyncMgrConflictStore { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToConflict)(windows_core::Interface::as_raw(self), pconflictidinfo, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } #[cfg(feature = "Win32_System_Com")] @@ -21476,7 +21476,7 @@ pub struct ISyncMgrConflictStore_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrControl, ISyncMgrControl_Vtbl, 0x9b63616c_36b2_46bc_959f_c1593952d19b); -impl std::ops::Deref for ISyncMgrControl { +impl core::ops::Deref for ISyncMgrControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21607,7 +21607,7 @@ pub struct ISyncMgrControl_Vtbl { pub EnableItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::HWND, SYNCMGR_CONTROL_FLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrEnumItems, ISyncMgrEnumItems_Vtbl, 0x6295df2a_35ee_11d1_8707_00c04fd93327); -impl std::ops::Deref for ISyncMgrEnumItems { +impl core::ops::Deref for ISyncMgrEnumItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21642,7 +21642,7 @@ pub struct ISyncMgrEnumItems_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrEvent, ISyncMgrEvent_Vtbl, 0xfee0ef8b_46bd_4db4_b7e6_ff2c687313bc); -impl std::ops::Deref for ISyncMgrEvent { +impl core::ops::Deref for ISyncMgrEvent { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21711,7 +21711,7 @@ pub struct ISyncMgrEvent_Vtbl { pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrEventLinkUIOperation, ISyncMgrEventLinkUIOperation_Vtbl, 0x64522e52_848b_4015_89ce_5a36f00b94ff); -impl std::ops::Deref for ISyncMgrEventLinkUIOperation { +impl core::ops::Deref for ISyncMgrEventLinkUIOperation { type Target = ISyncMgrUIOperation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21732,7 +21732,7 @@ pub struct ISyncMgrEventLinkUIOperation_Vtbl { pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrEventStore, ISyncMgrEventStore_Vtbl, 0x37e412f9_016e_44c2_81ff_db3add774266); -impl std::ops::Deref for ISyncMgrEventStore { +impl core::ops::Deref for ISyncMgrEventStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21765,7 +21765,7 @@ pub struct ISyncMgrEventStore_Vtbl { pub RemoveEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrHandler, ISyncMgrHandler_Vtbl, 0x04ec2e43_ac77_49f9_9b98_0307ef7a72a2); -impl std::ops::Deref for ISyncMgrHandler { +impl core::ops::Deref for ISyncMgrHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21785,7 +21785,7 @@ impl ISyncMgrHandler { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), rguidobjectid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -21830,7 +21830,7 @@ pub struct ISyncMgrHandler_Vtbl { pub Synchronize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::PCWSTR, u32, super::super::Foundation::HWND, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrHandlerCollection, ISyncMgrHandlerCollection_Vtbl, 0xa7f337a3_d20b_45cb_9ed7_87d094ca5045); -impl std::ops::Deref for ISyncMgrHandlerCollection { +impl core::ops::Deref for ISyncMgrHandlerCollection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21848,7 +21848,7 @@ impl ISyncMgrHandlerCollection { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToHandler)(windows_core::Interface::as_raw(self), pszhandlerid.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -21862,7 +21862,7 @@ pub struct ISyncMgrHandlerCollection_Vtbl { pub BindToHandler: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrHandlerInfo, ISyncMgrHandlerInfo_Vtbl, 0x4ff1d798_ecf7_4524_aa81_1e362a0aef3a); -impl std::ops::Deref for ISyncMgrHandlerInfo { +impl core::ops::Deref for ISyncMgrHandlerInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21908,7 +21908,7 @@ pub struct ISyncMgrHandlerInfo_Vtbl { pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrRegister, ISyncMgrRegister_Vtbl, 0x6295df42_35ee_11d1_8707_00c04fd93327); -impl std::ops::Deref for ISyncMgrRegister { +impl core::ops::Deref for ISyncMgrRegister { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21937,7 +21937,7 @@ pub struct ISyncMgrRegister_Vtbl { pub GetHandlerRegistrationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrResolutionHandler, ISyncMgrResolutionHandler_Vtbl, 0x40a3d052_8bff_4c4b_a338_d4a395700de9); -impl std::ops::Deref for ISyncMgrResolutionHandler { +impl core::ops::Deref for ISyncMgrResolutionHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -21982,7 +21982,7 @@ pub struct ISyncMgrResolutionHandler_Vtbl { pub KeepItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut SYNCMGR_RESOLUTION_FEEDBACK) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrScheduleWizardUIOperation, ISyncMgrScheduleWizardUIOperation_Vtbl, 0x459a6c84_21d2_4ddc_8a53_f023a46066f2); -impl std::ops::Deref for ISyncMgrScheduleWizardUIOperation { +impl core::ops::Deref for ISyncMgrScheduleWizardUIOperation { type Target = ISyncMgrUIOperation; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22003,7 +22003,7 @@ pub struct ISyncMgrScheduleWizardUIOperation_Vtbl { pub InitWizard: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSessionCreator, ISyncMgrSessionCreator_Vtbl, 0x17f48517_f305_4321_a08d_b25a834918fd); -impl std::ops::Deref for ISyncMgrSessionCreator { +impl core::ops::Deref for ISyncMgrSessionCreator { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22025,7 +22025,7 @@ pub struct ISyncMgrSessionCreator_Vtbl { pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSyncCallback, ISyncMgrSyncCallback_Vtbl, 0x884ccd87_b139_4937_a4ba_4f8e19513fbe); -impl std::ops::Deref for ISyncMgrSyncCallback { +impl core::ops::Deref for ISyncMgrSyncCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22114,7 +22114,7 @@ pub struct ISyncMgrSyncCallback_Vtbl { pub ReportManualSync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSyncItem, ISyncMgrSyncItem_Vtbl, 0xb20b24ce_2593_4f04_bd8b_7ad6c45051cd); -impl std::ops::Deref for ISyncMgrSyncItem { +impl core::ops::Deref for ISyncMgrSyncItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22138,7 +22138,7 @@ impl ISyncMgrSyncItem { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetObject)(windows_core::Interface::as_raw(self), rguidobjectid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -22172,7 +22172,7 @@ pub struct ISyncMgrSyncItem_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSyncItemContainer, ISyncMgrSyncItemContainer_Vtbl, 0x90701133_be32_4129_a65c_99e616cafff4); -impl std::ops::Deref for ISyncMgrSyncItemContainer { +impl core::ops::Deref for ISyncMgrSyncItemContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22204,7 +22204,7 @@ pub struct ISyncMgrSyncItemContainer_Vtbl { pub GetSyncItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSyncItemInfo, ISyncMgrSyncItemInfo_Vtbl, 0xe7fd9502_be0c_4464_90a1_2b5277031232); -impl std::ops::Deref for ISyncMgrSyncItemInfo { +impl core::ops::Deref for ISyncMgrSyncItemInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22241,7 +22241,7 @@ pub struct ISyncMgrSyncItemInfo_Vtbl { pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSyncResult, ISyncMgrSyncResult_Vtbl, 0x2b90f17e_5a3e_4b33_bb7f_1bc48056b94d); -impl std::ops::Deref for ISyncMgrSyncResult { +impl core::ops::Deref for ISyncMgrSyncResult { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22259,7 +22259,7 @@ pub struct ISyncMgrSyncResult_Vtbl { pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, SYNCMGR_PROGRESS_STATUS, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSynchronize, ISyncMgrSynchronize_Vtbl, 0x6295df40_35ee_11d1_8707_00c04fd93327); -impl std::ops::Deref for ISyncMgrSynchronize { +impl core::ops::Deref for ISyncMgrSynchronize { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22283,7 +22283,7 @@ impl ISyncMgrSynchronize { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetItemObject)(windows_core::Interface::as_raw(self), itemid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn ShowProperties(&self, hwndparent: P0, itemid: *const windows_core::GUID) -> windows_core::Result<()> @@ -22338,7 +22338,7 @@ pub struct ISyncMgrSynchronize_Vtbl { pub ShowError: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSynchronizeCallback, ISyncMgrSynchronizeCallback_Vtbl, 0x6295df41_35ee_11d1_8707_00c04fd93327); -impl std::ops::Deref for ISyncMgrSynchronizeCallback { +impl core::ops::Deref for ISyncMgrSynchronizeCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22397,7 +22397,7 @@ pub struct ISyncMgrSynchronizeCallback_Vtbl { pub EstablishConnection: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrSynchronizeInvoke, ISyncMgrSynchronizeInvoke_Vtbl, 0x6295df2c_35ee_11d1_8707_00c04fd93327); -impl std::ops::Deref for ISyncMgrSynchronizeInvoke { +impl core::ops::Deref for ISyncMgrSynchronizeInvoke { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22419,7 +22419,7 @@ pub struct ISyncMgrSynchronizeInvoke_Vtbl { pub UpdateAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISyncMgrUIOperation, ISyncMgrUIOperation_Vtbl, 0xfc7cfa47_dfe1_45b5_a049_8cfd82bec271); -impl std::ops::Deref for ISyncMgrUIOperation { +impl core::ops::Deref for ISyncMgrUIOperation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22440,7 +22440,7 @@ pub struct ISyncMgrUIOperation_Vtbl { pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskbarList, ITaskbarList_Vtbl, 0x56fdf342_fd6d_11d0_958a_006097c9a090); -impl std::ops::Deref for ITaskbarList { +impl core::ops::Deref for ITaskbarList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22486,7 +22486,7 @@ pub struct ITaskbarList_Vtbl { pub SetActiveAlt: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskbarList2, ITaskbarList2_Vtbl, 0x602d4995_b13a_429b_a66e_1935e44f4317); -impl std::ops::Deref for ITaskbarList2 { +impl core::ops::Deref for ITaskbarList2 { type Target = ITaskbarList; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22508,7 +22508,7 @@ pub struct ITaskbarList2_Vtbl { pub MarkFullscreenWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskbarList3, ITaskbarList3_Vtbl, 0xea1afb91_9e28_4b86_90e9_9e9f8a5eefaf); -impl std::ops::Deref for ITaskbarList3 { +impl core::ops::Deref for ITaskbarList3 { type Target = ITaskbarList2; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22629,7 +22629,7 @@ pub struct ITaskbarList3_Vtbl { pub SetThumbnailClip: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITaskbarList4, ITaskbarList4_Vtbl, 0xc43dc798_95d1_4bea_9030_bb99e2983a1a); -impl std::ops::Deref for ITaskbarList4 { +impl core::ops::Deref for ITaskbarList4 { type Target = ITaskbarList3; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22650,7 +22650,7 @@ pub struct ITaskbarList4_Vtbl { pub SetTabProperties: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, STPFLAG) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IThumbnailCache, IThumbnailCache_Vtbl, 0xf676c15d_596a_4ce2_8234_33996f445db1); -impl std::ops::Deref for IThumbnailCache { +impl core::ops::Deref for IThumbnailCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22675,7 +22675,7 @@ pub struct IThumbnailCache_Vtbl { pub GetThumbnailByID: unsafe extern "system" fn(*mut core::ffi::c_void, WTS_THUMBNAILID, u32, *mut *mut core::ffi::c_void, *mut WTS_CACHEFLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IThumbnailCachePrimer, IThumbnailCachePrimer_Vtbl, 0x0f03f8fe_2b26_46f0_965a_212aa8d66b76); -impl std::ops::Deref for IThumbnailCachePrimer { +impl core::ops::Deref for IThumbnailCachePrimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22696,7 +22696,7 @@ pub struct IThumbnailCachePrimer_Vtbl { pub PageInThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WTS_FLAGS, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IThumbnailCapture, IThumbnailCapture_Vtbl, 0x4ea39266_7211_409f_b622_f63dbd16c533); -impl std::ops::Deref for IThumbnailCapture { +impl core::ops::Deref for IThumbnailCapture { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22722,7 +22722,7 @@ pub struct IThumbnailCapture_Vtbl { CaptureThumbnail: usize, } windows_core::imp::define_interface!(IThumbnailHandlerFactory, IThumbnailHandlerFactory_Vtbl, 0xe35b4b2e_00da_4bc1_9f13_38bc11f5d417); -impl std::ops::Deref for IThumbnailHandlerFactory { +impl core::ops::Deref for IThumbnailHandlerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22736,7 +22736,7 @@ impl IThumbnailHandlerFactory { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).GetThumbnailHandler)(windows_core::Interface::as_raw(self), pidlchild, pbc.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -22749,7 +22749,7 @@ pub struct IThumbnailHandlerFactory_Vtbl { GetThumbnailHandler: usize, } windows_core::imp::define_interface!(IThumbnailProvider, IThumbnailProvider_Vtbl, 0xe357fccd_a995_4576_b01f_234630154e96); -impl std::ops::Deref for IThumbnailProvider { +impl core::ops::Deref for IThumbnailProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22771,7 +22771,7 @@ pub struct IThumbnailProvider_Vtbl { GetThumbnail: usize, } windows_core::imp::define_interface!(IThumbnailSettings, IThumbnailSettings_Vtbl, 0xf4376f00_bef5_4d45_80f3_1e023bbf1209); -impl std::ops::Deref for IThumbnailSettings { +impl core::ops::Deref for IThumbnailSettings { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22789,7 +22789,7 @@ pub struct IThumbnailSettings_Vtbl { pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, WTS_CONTEXTFLAGS) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IThumbnailStreamCache, IThumbnailStreamCache_Vtbl, 0x90e11430_9569_41d8_ae75_6d4d2ae7cca0); -impl std::ops::Deref for IThumbnailStreamCache { +impl core::ops::Deref for IThumbnailStreamCache { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22826,7 +22826,7 @@ pub struct IThumbnailStreamCache_Vtbl { SetThumbnailStream: usize, } windows_core::imp::define_interface!(ITrackShellMenu, ITrackShellMenu_Vtbl, 0x8278f932_2a3e_11d2_838f_00c04fd918d0); -impl std::ops::Deref for ITrackShellMenu { +impl core::ops::Deref for ITrackShellMenu { type Target = IShellMenu; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22855,7 +22855,7 @@ pub struct ITrackShellMenu_Vtbl { pub Popup: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut super::super::Foundation::POINTL, *mut super::super::Foundation::RECTL, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITranscodeImage, ITranscodeImage_Vtbl, 0xbae86ddd_dc11_421c_b7ab_cc55d1d65c44); -impl std::ops::Deref for ITranscodeImage { +impl core::ops::Deref for ITranscodeImage { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22881,7 +22881,7 @@ pub struct ITranscodeImage_Vtbl { TranscodeImage: usize, } windows_core::imp::define_interface!(ITransferAdviseSink, ITransferAdviseSink_Vtbl, 0xd594d0d8_8da7_457b_b3b4_ce5dbaac0b88); -impl std::ops::Deref for ITransferAdviseSink { +impl core::ops::Deref for ITransferAdviseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22946,7 +22946,7 @@ pub struct ITransferAdviseSink_Vtbl { PropertyFailure: usize, } windows_core::imp::define_interface!(ITransferDestination, ITransferDestination_Vtbl, 0x48addd32_3ca5_4124_abe3_b5a72531b207); -impl std::ops::Deref for ITransferDestination { +impl core::ops::Deref for ITransferDestination { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22979,7 +22979,7 @@ pub struct ITransferDestination_Vtbl { pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u64, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITransferMediumItem, ITransferMediumItem_Vtbl, 0x77f295d5_2d6f_4e19_b8ae_322f3e721ab5); -impl std::ops::Deref for ITransferMediumItem { +impl core::ops::Deref for ITransferMediumItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -22992,7 +22992,7 @@ pub struct ITransferMediumItem_Vtbl { pub base__: IRelatedItem_Vtbl, } windows_core::imp::define_interface!(ITransferSource, ITransferSource_Vtbl, 0x00adb003_bde9_45c6_8e29_d09f9353e108); -impl std::ops::Deref for ITransferSource { +impl core::ops::Deref for ITransferSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23112,7 +23112,7 @@ pub struct ITransferSource_Vtbl { pub LeaveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITravelEntry, ITravelEntry_Vtbl, 0xf46edb3b_bc2f_11d0_9412_00aa00a3ebd3); -impl std::ops::Deref for ITravelEntry { +impl core::ops::Deref for ITravelEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23150,7 +23150,7 @@ pub struct ITravelEntry_Vtbl { GetPidl: usize, } windows_core::imp::define_interface!(ITravelLog, ITravelLog_Vtbl, 0x66a9cb08_4802_11d2_a561_00a0c92dbfe8); -impl std::ops::Deref for ITravelLog { +impl core::ops::Deref for ITravelLog { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23249,7 +23249,7 @@ pub struct ITravelLog_Vtbl { pub Revert: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITravelLogClient, ITravelLogClient_Vtbl, 0x241c033e_e659_43da_aa4d_4086dbc4758d); -impl std::ops::Deref for ITravelLogClient { +impl core::ops::Deref for ITravelLogClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23286,7 +23286,7 @@ pub struct ITravelLogClient_Vtbl { pub LoadHistoryPosition: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITravelLogEntry, ITravelLogEntry_Vtbl, 0x7ebfdd87_ad18_11d3_a4c5_00c04f72d6b8); -impl std::ops::Deref for ITravelLogEntry { +impl core::ops::Deref for ITravelLogEntry { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23310,7 +23310,7 @@ pub struct ITravelLogEntry_Vtbl { pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITravelLogStg, ITravelLogStg_Vtbl, 0x7ebfdd80_ad18_11d3_a4c5_00c04f72d6b8); -impl std::ops::Deref for ITravelLogStg { +impl core::ops::Deref for ITravelLogStg { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23372,7 +23372,7 @@ pub struct ITravelLogStg_Vtbl { pub GetRelativeEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITrayDeskBand, ITrayDeskBand_Vtbl, 0x6d67e846_5b9c_4db8_9cbc_dde12f4254f1); -impl std::ops::Deref for ITrayDeskBand { +impl core::ops::Deref for ITrayDeskBand { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23402,7 +23402,7 @@ pub struct ITrayDeskBand_Vtbl { pub DeskBandRegistrationChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IURLSearchHook, IURLSearchHook_Vtbl, 0xac60f6a0_0fd9_11d0_99cb_00c04fd64497); -impl std::ops::Deref for IURLSearchHook { +impl core::ops::Deref for IURLSearchHook { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23420,7 +23420,7 @@ pub struct IURLSearchHook_Vtbl { pub Translate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IURLSearchHook2, IURLSearchHook2_Vtbl, 0x5ee44da4_6d32_46e3_86bc_07540dedd0e0); -impl std::ops::Deref for IURLSearchHook2 { +impl core::ops::Deref for IURLSearchHook2 { type Target = IURLSearchHook; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23441,7 +23441,7 @@ pub struct IURLSearchHook2_Vtbl { pub TranslateWithSearchContext: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUniformResourceLocatorA, IUniformResourceLocatorA_Vtbl, 0xfbf23b80_e3f0_101b_8488_00aa003e56f8); -impl std::ops::Deref for IUniformResourceLocatorA { +impl core::ops::Deref for IUniformResourceLocatorA { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23471,7 +23471,7 @@ pub struct IUniformResourceLocatorA_Vtbl { pub InvokeCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut URLINVOKECOMMANDINFOA) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUniformResourceLocatorW, IUniformResourceLocatorW_Vtbl, 0xcabb0da0_da57_11cf_9974_0020afd79762); -impl std::ops::Deref for IUniformResourceLocatorW { +impl core::ops::Deref for IUniformResourceLocatorW { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23501,7 +23501,7 @@ pub struct IUniformResourceLocatorW_Vtbl { pub InvokeCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut URLINVOKECOMMANDINFOW) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUpdateIDList, IUpdateIDList_Vtbl, 0x6589b6d2_5f8d_4b9e_b7e0_23cdd9717d8c); -impl std::ops::Deref for IUpdateIDList { +impl core::ops::Deref for IUpdateIDList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23527,7 +23527,7 @@ pub struct IUpdateIDList_Vtbl { Update: usize, } windows_core::imp::define_interface!(IUseToBrowseItem, IUseToBrowseItem_Vtbl, 0x05edda5c_98a3_4717_8adb_c5e7da991eb1); -impl std::ops::Deref for IUseToBrowseItem { +impl core::ops::Deref for IUseToBrowseItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23540,7 +23540,7 @@ pub struct IUseToBrowseItem_Vtbl { pub base__: IRelatedItem_Vtbl, } windows_core::imp::define_interface!(IUserAccountChangeCallback, IUserAccountChangeCallback_Vtbl, 0xa561e69a_b4b8_4113_91a5_64c6bcca3430); -impl std::ops::Deref for IUserAccountChangeCallback { +impl core::ops::Deref for IUserAccountChangeCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23561,7 +23561,7 @@ pub struct IUserAccountChangeCallback_Vtbl { pub OnPictureChange: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserNotification, IUserNotification_Vtbl, 0xba9711ba_5893_4787_a7e1_41277151550b); -impl std::ops::Deref for IUserNotification { +impl core::ops::Deref for IUserNotification { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23613,7 +23613,7 @@ pub struct IUserNotification_Vtbl { pub PlaySound: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserNotification2, IUserNotification2_Vtbl, 0x215913cc_57eb_4fab_ab5a_e5fa7bea2a6c); -impl std::ops::Deref for IUserNotification2 { +impl core::ops::Deref for IUserNotification2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23666,7 +23666,7 @@ pub struct IUserNotification2_Vtbl { pub PlaySound: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUserNotificationCallback, IUserNotificationCallback_Vtbl, 0x19108294_0441_4aff_8013_fa0a730b0bea); -impl std::ops::Deref for IUserNotificationCallback { +impl core::ops::Deref for IUserNotificationCallback { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23692,7 +23692,7 @@ pub struct IUserNotificationCallback_Vtbl { pub OnContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::POINT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewStateIdentityItem, IViewStateIdentityItem_Vtbl, 0x9d264146_a94f_4195_9f9f_3bb12ce0c955); -impl std::ops::Deref for IViewStateIdentityItem { +impl core::ops::Deref for IViewStateIdentityItem { type Target = IRelatedItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23705,7 +23705,7 @@ pub struct IViewStateIdentityItem_Vtbl { pub base__: IRelatedItem_Vtbl, } windows_core::imp::define_interface!(IVirtualDesktopManager, IVirtualDesktopManager_Vtbl, 0xa5cd92ff_29be_454c_8d04_d82879fb3f1b); -impl std::ops::Deref for IVirtualDesktopManager { +impl core::ops::Deref for IVirtualDesktopManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23742,7 +23742,7 @@ pub struct IVirtualDesktopManager_Vtbl { pub MoveWindowToDesktop: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVisualProperties, IVisualProperties_Vtbl, 0xe693cf68_d967_4112_8763_99172aee5e5a); -impl std::ops::Deref for IVisualProperties { +impl core::ops::Deref for IVisualProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23817,7 +23817,7 @@ pub struct IVisualProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWebBrowser, IWebBrowser_Vtbl, 0xeab22ac1_30c1_11cf_a7eb_0000c05bae0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWebBrowser { +impl core::ops::Deref for IWebBrowser { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -23968,7 +23968,7 @@ pub struct IWebBrowser_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWebBrowser2, IWebBrowser2_Vtbl, 0xd30c1661_cdaf_11d0_8a3e_00c04fc9e26e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWebBrowser2 { +impl core::ops::Deref for IWebBrowser2 { type Target = IWebBrowserApp; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -24105,7 +24105,7 @@ pub struct IWebBrowser2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWebBrowserApp, IWebBrowserApp_Vtbl, 0x0002df05_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWebBrowserApp { +impl core::ops::Deref for IWebBrowserApp { type Target = IWebBrowser; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -24235,7 +24235,7 @@ pub struct IWebBrowserApp_Vtbl { pub SetFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebWizardExtension, IWebWizardExtension_Vtbl, 0x0e6b3f66_98d1_48c0_a222_fbde74e2fbc5); -impl std::ops::Deref for IWebWizardExtension { +impl core::ops::Deref for IWebWizardExtension { type Target = IWizardExtension; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -24265,7 +24265,7 @@ pub struct IWebWizardExtension_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWebWizardHost, IWebWizardHost_Vtbl, 0x18bcc359_4990_4bfb_b951_3c83702be5f9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWebWizardHost { +impl core::ops::Deref for IWebWizardHost { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -24340,7 +24340,7 @@ pub struct IWebWizardHost_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IWebWizardHost2, IWebWizardHost2_Vtbl, 0xf9c013dc_3c23_4041_8e39_cfb402f7ea59); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IWebWizardHost2 { +impl core::ops::Deref for IWebWizardHost2 { type Target = IWebWizardHost; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -24365,7 +24365,7 @@ pub struct IWebWizardHost2_Vtbl { pub SignString: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWizardExtension, IWizardExtension_Vtbl, 0xc02ea696_86cc_491e_9b23_74394a0444a8); -impl std::ops::Deref for IWizardExtension { +impl core::ops::Deref for IWizardExtension { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -24405,7 +24405,7 @@ pub struct IWizardExtension_Vtbl { GetLastPage: usize, } windows_core::imp::define_interface!(IWizardSite, IWizardSite_Vtbl, 0x88960f5b_422f_4e7b_8013_73415381c3c3); -impl std::ops::Deref for IWizardSite { +impl core::ops::Deref for IWizardSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs index 1059c06cf3..c7fc979b32 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs @@ -213,7 +213,7 @@ where SetWordList(hrc.param().abi(), hwl.param().abi()).ok() } windows_core::imp::define_interface!(IDynamicRenderer, IDynamicRenderer_Vtbl, 0xa079468e_7165_46f9_b7af_98ad01a93009); -impl std::ops::Deref for IDynamicRenderer { +impl core::ops::Deref for IDynamicRenderer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -319,7 +319,7 @@ pub struct IDynamicRenderer_Vtbl { pub Draw: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IGestureRecognizer, IGestureRecognizer_Vtbl, 0xae9ef86b_7054_45e3_ae22_3174dc8811b7); -impl std::ops::Deref for IGestureRecognizer { +impl core::ops::Deref for IGestureRecognizer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -362,7 +362,7 @@ pub struct IGestureRecognizer_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHandwrittenTextInsertion, IHandwrittenTextInsertion_Vtbl, 0x56fdea97_ecd6_43e7_aa3a_816be7785860); -impl std::ops::Deref for IHandwrittenTextInsertion { +impl core::ops::Deref for IHandwrittenTextInsertion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -401,7 +401,7 @@ pub struct IHandwrittenTextInsertion_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInk, IInk_Vtbl, 0x03f8e511_43a1_11d3_8bb6_0080c7d6bad5); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInk { +impl core::ops::Deref for IInk { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -419,7 +419,7 @@ pub struct IInk_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkCollector, IInkCollector_Vtbl, 0xf0f060b5_8b1f_4a7c_89ec_880692588a4f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkCollector { +impl core::ops::Deref for IInkCollector { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -718,7 +718,7 @@ pub struct IInkCollector_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkCursor, IInkCursor_Vtbl, 0xad30c630_40c5_4350_8405_9c71012fc558); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkCursor { +impl core::ops::Deref for IInkCursor { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -790,7 +790,7 @@ pub struct IInkCursor_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkCursorButton, IInkCursorButton_Vtbl, 0x85ef9417_1d59_49b2_a13c_702c85430894); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkCursorButton { +impl core::ops::Deref for IInkCursorButton { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -824,7 +824,7 @@ pub struct IInkCursorButton_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkCursorButtons, IInkCursorButtons_Vtbl, 0x3671cc40_b624_4671_9fa0_db119d952d54); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkCursorButtons { +impl core::ops::Deref for IInkCursorButtons { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -865,7 +865,7 @@ pub struct IInkCursorButtons_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkCursors, IInkCursors_Vtbl, 0xa248c1ac_c698_4e06_9e5c_d57f77c7e647); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkCursors { +impl core::ops::Deref for IInkCursors { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -903,7 +903,7 @@ pub struct IInkCursors_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkCustomStrokes, IInkCustomStrokes_Vtbl, 0x7e23a88f_c30e_420f_9bdb_28902543f0c1); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkCustomStrokes { +impl core::ops::Deref for IInkCustomStrokes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -967,7 +967,7 @@ pub struct IInkCustomStrokes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkDisp, IInkDisp_Vtbl, 0x9d398fa0_c4e2_4fcd_9973_975caaf47ea6); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkDisp { +impl core::ops::Deref for IInkDisp { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1237,7 +1237,7 @@ pub struct IInkDisp_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkDivider, IInkDivider_Vtbl, 0x5de00405_f9a4_4651_b0c5_c317defd58b9); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkDivider { +impl core::ops::Deref for IInkDivider { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1314,7 +1314,7 @@ pub struct IInkDivider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkDivisionResult, IInkDivisionResult_Vtbl, 0x2dbec0a7_74c7_4b38_81eb_aa8ef0c24900); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkDivisionResult { +impl core::ops::Deref for IInkDivisionResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1351,7 +1351,7 @@ pub struct IInkDivisionResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkDivisionUnit, IInkDivisionUnit_Vtbl, 0x85aee342_48b0_4244_9dd5_1ed435410fab); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkDivisionUnit { +impl core::ops::Deref for IInkDivisionUnit { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1398,7 +1398,7 @@ pub struct IInkDivisionUnit_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkDivisionUnits, IInkDivisionUnits_Vtbl, 0x1bb5ddc2_31cc_4135_ab82_2c66c9f00c41); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkDivisionUnits { +impl core::ops::Deref for IInkDivisionUnits { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1436,7 +1436,7 @@ pub struct IInkDivisionUnits_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkDrawingAttributes, IInkDrawingAttributes_Vtbl, 0xbf519b75_0a15_4623_adc9_c00d436a8092); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkDrawingAttributes { +impl core::ops::Deref for IInkDrawingAttributes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1563,7 +1563,7 @@ pub struct IInkDrawingAttributes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkEdit, IInkEdit_Vtbl, 0xf2127a19_fbfb_4aed_8464_3f36d78cfefb); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkEdit { +impl core::ops::Deref for IInkEdit { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2043,7 +2043,7 @@ pub struct IInkEdit_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkExtendedProperties, IInkExtendedProperties_Vtbl, 0x89f2a8be_95a9_4530_8b8f_88e971e3e25f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkExtendedProperties { +impl core::ops::Deref for IInkExtendedProperties { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2116,7 +2116,7 @@ pub struct IInkExtendedProperties_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkExtendedProperty, IInkExtendedProperty_Vtbl, 0xdb489209_b7c3_411d_90f6_1548cfff271e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkExtendedProperty { +impl core::ops::Deref for IInkExtendedProperty { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2152,7 +2152,7 @@ pub struct IInkExtendedProperty_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkGesture, IInkGesture_Vtbl, 0x3bdc0a97_04e5_4e26_b813_18f052d41def); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkGesture { +impl core::ops::Deref for IInkGesture { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2183,7 +2183,7 @@ pub struct IInkGesture_Vtbl { pub GetHotPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInkLineInfo, IInkLineInfo_Vtbl, 0x9c1c5ad6_f22f_4de4_b453_a2cc482e7c33); -impl std::ops::Deref for IInkLineInfo { +impl core::ops::Deref for IInkLineInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2229,7 +2229,7 @@ pub struct IInkLineInfo_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkOverlay, IInkOverlay_Vtbl, 0xb82a463b_c1c5_45a3_997c_deab5651b67a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkOverlay { +impl core::ops::Deref for IInkOverlay { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2612,7 +2612,7 @@ pub struct IInkOverlay_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkPicture, IInkPicture_Vtbl, 0xe85662e0_379a_40d7_9b5c_757d233f9923); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkPicture { +impl core::ops::Deref for IInkPicture { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3032,7 +3032,7 @@ pub struct IInkPicture_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognitionAlternate, IInkRecognitionAlternate_Vtbl, 0xb7e660ad_77e4_429b_adda_873780d1fc4a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognitionAlternate { +impl core::ops::Deref for IInkRecognitionAlternate { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3164,7 +3164,7 @@ pub struct IInkRecognitionAlternate_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognitionAlternates, IInkRecognitionAlternates_Vtbl, 0x286a167f_9f19_4c61_9d53_4f07be622b84); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognitionAlternates { +impl core::ops::Deref for IInkRecognitionAlternates { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3211,7 +3211,7 @@ pub struct IInkRecognitionAlternates_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognitionResult, IInkRecognitionResult_Vtbl, 0x3bc129a8_86cd_45ad_bde8_e0d32d61c16d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognitionResult { +impl core::ops::Deref for IInkRecognitionResult { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3282,7 +3282,7 @@ pub struct IInkRecognitionResult_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizer, IInkRecognizer_Vtbl, 0x782bf7cf_034b_4396_8a32_3a1833cf6b56); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognizer { +impl core::ops::Deref for IInkRecognizer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3340,7 +3340,7 @@ pub struct IInkRecognizer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizer2, IInkRecognizer2_Vtbl, 0x6110118a_3a75_4ad6_b2aa_04b2b72bbe65); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognizer2 { +impl core::ops::Deref for IInkRecognizer2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3369,7 +3369,7 @@ pub struct IInkRecognizer2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizerContext, IInkRecognizerContext_Vtbl, 0xc68f52f9_32a3_4625_906c_44fc23b40958); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognizerContext { +impl core::ops::Deref for IInkRecognizerContext { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3558,7 +3558,7 @@ pub struct IInkRecognizerContext_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizerContext2, IInkRecognizerContext2_Vtbl, 0xd6f0e32f_73d8_408e_8e9f_5fea592c363f); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognizerContext2 { +impl core::ops::Deref for IInkRecognizerContext2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3589,7 +3589,7 @@ pub struct IInkRecognizerContext2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizerGuide, IInkRecognizerGuide_Vtbl, 0xd934be07_7b84_4208_9136_83c20994e905); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognizerGuide { +impl core::ops::Deref for IInkRecognizerGuide { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3683,7 +3683,7 @@ pub struct IInkRecognizerGuide_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRecognizers, IInkRecognizers_Vtbl, 0x9ccc4f12_b0b7_4a8b_bf58_4aeca4e8cefd); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRecognizers { +impl core::ops::Deref for IInkRecognizers { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3730,7 +3730,7 @@ pub struct IInkRecognizers_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRectangle, IInkRectangle_Vtbl, 0x9794ff82_6071_4717_8a8b_6ac7c64a686e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRectangle { +impl core::ops::Deref for IInkRectangle { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3802,7 +3802,7 @@ pub struct IInkRectangle_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkRenderer, IInkRenderer_Vtbl, 0xe6257a9c_b511_4f4c_a8b0_a7dbc9506b83); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkRenderer { +impl core::ops::Deref for IInkRenderer { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3944,7 +3944,7 @@ pub struct IInkRenderer_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkStrokeDisp, IInkStrokeDisp_Vtbl, 0x43242fea_91d1_4a72_963e_fbb91829cfa2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkStrokeDisp { +impl core::ops::Deref for IInkStrokeDisp { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4194,7 +4194,7 @@ pub struct IInkStrokeDisp_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkStrokes, IInkStrokes_Vtbl, 0xf1f4c9d8_590a_4963_b3ae_1935671bb6f3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkStrokes { +impl core::ops::Deref for IInkStrokes { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4373,7 +4373,7 @@ pub struct IInkStrokes_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkTablet, IInkTablet_Vtbl, 0x2de25eaa_6ef8_42d5_aee9_185bc81b912d); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkTablet { +impl core::ops::Deref for IInkTablet { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4431,7 +4431,7 @@ pub struct IInkTablet_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkTablet2, IInkTablet2_Vtbl, 0x90c91ad2_fa36_49d6_9516_ce8d570f6f85); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkTablet2 { +impl core::ops::Deref for IInkTablet2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4455,7 +4455,7 @@ pub struct IInkTablet2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkTablet3, IInkTablet3_Vtbl, 0x7e313997_1327_41dd_8ca9_79f24be17250); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkTablet3 { +impl core::ops::Deref for IInkTablet3 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4484,7 +4484,7 @@ pub struct IInkTablet3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkTablets, IInkTablets_Vtbl, 0x112086d9_7779_4535_a699_862b43ac1863); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkTablets { +impl core::ops::Deref for IInkTablets { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4539,7 +4539,7 @@ pub struct IInkTablets_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkTransform, IInkTransform_Vtbl, 0x615f1d43_8703_4565_88e2_8201d2ecd7b7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkTransform { +impl core::ops::Deref for IInkTransform { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4664,7 +4664,7 @@ pub struct IInkTransform_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkWordList, IInkWordList_Vtbl, 0x76ba3491_cb2f_406b_9961_0e0c4cdaaef2); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkWordList { +impl core::ops::Deref for IInkWordList { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4708,7 +4708,7 @@ pub struct IInkWordList_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IInkWordList2, IInkWordList2_Vtbl, 0x14542586_11bf_4f5f_b6e7_49d0744aab6e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IInkWordList2 { +impl core::ops::Deref for IInkWordList2 { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4732,7 +4732,7 @@ pub struct IInkWordList2_Vtbl { pub AddWords: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInputPanelWindowHandle, IInputPanelWindowHandle_Vtbl, 0x4af81847_fdc4_4fc3_ad0b_422479c1b935); -impl std::ops::Deref for IInputPanelWindowHandle { +impl core::ops::Deref for IInputPanelWindowHandle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4766,7 +4766,7 @@ pub struct IInputPanelWindowHandle_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IMathInputControl, IMathInputControl_Vtbl, 0xeba615aa_fac6_4738_ba5f_ff09e9fe473e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IMathInputControl { +impl core::ops::Deref for IMathInputControl { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4885,7 +4885,7 @@ pub struct IMathInputControl_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPenInputPanel, IPenInputPanel_Vtbl, 0xfa7a4083_5747_4040_a182_0b0e9fd4fac7); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPenInputPanel { +impl core::ops::Deref for IPenInputPanel { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5027,7 +5027,7 @@ pub struct IPenInputPanel_Vtbl { pub EnableTsf: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRealTimeStylus, IRealTimeStylus_Vtbl, 0xa8bb5d22_3144_4a7b_93cd_f34a16be513a); -impl std::ops::Deref for IRealTimeStylus { +impl core::ops::Deref for IRealTimeStylus { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5226,7 +5226,7 @@ pub struct IRealTimeStylus_Vtbl { pub GetPacketDescriptionData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32, *mut f32, *mut u32, *mut *mut PACKET_PROPERTY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRealTimeStylus2, IRealTimeStylus2_Vtbl, 0xb5f2a6cd_3179_4a3e_b9c4_bb5865962be2); -impl std::ops::Deref for IRealTimeStylus2 { +impl core::ops::Deref for IRealTimeStylus2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5252,7 +5252,7 @@ pub struct IRealTimeStylus2_Vtbl { pub SetFlicksEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRealTimeStylus3, IRealTimeStylus3_Vtbl, 0xd70230a3_6986_4051_b57a_1cf69f4d9db5); -impl std::ops::Deref for IRealTimeStylus3 { +impl core::ops::Deref for IRealTimeStylus3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5278,7 +5278,7 @@ pub struct IRealTimeStylus3_Vtbl { pub SetMultiTouchEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IRealTimeStylusSynchronization, IRealTimeStylusSynchronization_Vtbl, 0xaa87eab8_ab4a_4cea_b5cb_46d84c6a2509); -impl std::ops::Deref for IRealTimeStylusSynchronization { +impl core::ops::Deref for IRealTimeStylusSynchronization { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5302,7 +5302,7 @@ pub struct IRealTimeStylusSynchronization_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ISketchInk, ISketchInk_Vtbl, 0xb4563688_98eb_4646_b279_44da14d45748); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ISketchInk { +impl core::ops::Deref for ISketchInk { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5318,7 +5318,7 @@ pub struct ISketchInk_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IStrokeBuilder, IStrokeBuilder_Vtbl, 0xa5fd4e2d_c44b_4092_9177_260905eb672b); -impl std::ops::Deref for IStrokeBuilder { +impl core::ops::Deref for IStrokeBuilder { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5380,7 +5380,7 @@ pub struct IStrokeBuilder_Vtbl { putref_Ink: usize, } windows_core::imp::define_interface!(IStylusAsyncPlugin, IStylusAsyncPlugin_Vtbl, 0xa7cca85a_31bc_4cd2_aadc_3289a3af11c8); -impl std::ops::Deref for IStylusAsyncPlugin { +impl core::ops::Deref for IStylusAsyncPlugin { type Target = IStylusPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5393,7 +5393,7 @@ pub struct IStylusAsyncPlugin_Vtbl { pub base__: IStylusPlugin_Vtbl, } windows_core::imp::define_interface!(IStylusPlugin, IStylusPlugin_Vtbl, 0xa81436d8_4757_4fd1_a185_133f97c6c545); -impl std::ops::Deref for IStylusPlugin { +impl core::ops::Deref for IStylusPlugin { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5530,7 +5530,7 @@ pub struct IStylusPlugin_Vtbl { pub DataInterest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RealTimeStylusDataInterest) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IStylusSyncPlugin, IStylusSyncPlugin_Vtbl, 0xa157b174_482f_4d71_a3f6_3a41ddd11be9); -impl std::ops::Deref for IStylusSyncPlugin { +impl core::ops::Deref for IStylusSyncPlugin { type Target = IStylusPlugin; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5543,7 +5543,7 @@ pub struct IStylusSyncPlugin_Vtbl { pub base__: IStylusPlugin_Vtbl, } windows_core::imp::define_interface!(ITextInputPanel, ITextInputPanel_Vtbl, 0x6b6a65a5_6af3_46c2_b6ea_56cd1f80df71); -impl std::ops::Deref for ITextInputPanel { +impl core::ops::Deref for ITextInputPanel { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5688,7 +5688,7 @@ pub struct ITextInputPanel_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextInputPanelEventSink, ITextInputPanelEventSink_Vtbl, 0x27560408_8e64_4fe1_804e_421201584b31); -impl std::ops::Deref for ITextInputPanelEventSink { +impl core::ops::Deref for ITextInputPanelEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5766,7 +5766,7 @@ pub struct ITextInputPanelEventSink_Vtbl { TextInserted: usize, } windows_core::imp::define_interface!(ITextInputPanelRunInfo, ITextInputPanelRunInfo_Vtbl, 0x9f424568_1920_48cc_9811_a993cbf5adba); -impl std::ops::Deref for ITextInputPanelRunInfo { +impl core::ops::Deref for ITextInputPanelRunInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5785,7 +5785,7 @@ pub struct ITextInputPanelRunInfo_Vtbl { pub IsTipRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITipAutoCompleteClient, ITipAutoCompleteClient_Vtbl, 0x5e078e03_8265_4bbe_9487_d242edbef910); -impl std::ops::Deref for ITipAutoCompleteClient { +impl core::ops::Deref for ITipAutoCompleteClient { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5831,7 +5831,7 @@ pub struct ITipAutoCompleteClient_Vtbl { pub RequestShowUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITipAutoCompleteProvider, ITipAutoCompleteProvider_Vtbl, 0x7c6cf46d_8404_46b9_ad33_f5b6036d4007); -impl std::ops::Deref for ITipAutoCompleteProvider { +impl core::ops::Deref for ITipAutoCompleteProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5861,7 +5861,7 @@ pub struct ITipAutoCompleteProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IInkCollectorEvents, _IInkCollectorEvents_Vtbl, 0x11a583f2_712d_4fea_abcf_ab4af38ea06b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IInkCollectorEvents { +impl core::ops::Deref for _IInkCollectorEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5879,7 +5879,7 @@ pub struct _IInkCollectorEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IInkEditEvents, _IInkEditEvents_Vtbl, 0xe3b0b797_a72e_46db_a0d7_6c9eba8e9bbc); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IInkEditEvents { +impl core::ops::Deref for _IInkEditEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5897,7 +5897,7 @@ pub struct _IInkEditEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IInkEvents, _IInkEvents_Vtbl, 0x427b1865_ca3f_479a_83a9_0f420f2a0073); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IInkEvents { +impl core::ops::Deref for _IInkEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5915,7 +5915,7 @@ pub struct _IInkEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IInkOverlayEvents, _IInkOverlayEvents_Vtbl, 0x31179b69_e563_489e_b16f_712f1e8a0651); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IInkOverlayEvents { +impl core::ops::Deref for _IInkOverlayEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5933,7 +5933,7 @@ pub struct _IInkOverlayEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IInkPictureEvents, _IInkPictureEvents_Vtbl, 0x60ff4fee_22ff_4484_acc1_d308d9cd7ea3); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IInkPictureEvents { +impl core::ops::Deref for _IInkPictureEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5951,7 +5951,7 @@ pub struct _IInkPictureEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IInkRecognitionEvents, _IInkRecognitionEvents_Vtbl, 0x17bce92f_2e21_47fd_9d33_3c6afbfd8c59); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IInkRecognitionEvents { +impl core::ops::Deref for _IInkRecognitionEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5969,7 +5969,7 @@ pub struct _IInkRecognitionEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IInkStrokesEvents, _IInkStrokesEvents_Vtbl, 0xf33053ec_5d25_430a_928f_76a6491dde15); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IInkStrokesEvents { +impl core::ops::Deref for _IInkStrokesEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5987,7 +5987,7 @@ pub struct _IInkStrokesEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IMathInputControlEvents, _IMathInputControlEvents_Vtbl, 0x683336b5_a47d_4358_96f9_875a472ae70a); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IMathInputControlEvents { +impl core::ops::Deref for _IMathInputControlEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -6005,7 +6005,7 @@ pub struct _IMathInputControlEvents_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(_IPenInputPanelEvents, _IPenInputPanelEvents_Vtbl, 0xb7e489da_3719_439f_848f_e7acbd820f17); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for _IPenInputPanelEvents { +impl core::ops::Deref for _IPenInputPanelEvents { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs index 28e979b21d..ac0ebb6943 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs @@ -17,7 +17,7 @@ pub unsafe fn UninitLocalMsCtfMonitor() -> windows_core::Result<()> { UninitLocalMsCtfMonitor().ok() } windows_core::imp::define_interface!(IAccClientDocMgr, IAccClientDocMgr_Vtbl, 0x4c896039_7b6d_49e6_a8c1_45116a98292b); -impl std::ops::Deref for IAccClientDocMgr { +impl core::ops::Deref for IAccClientDocMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -58,7 +58,7 @@ pub struct IAccClientDocMgr_Vtbl { pub GetFocused: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccDictionary, IAccDictionary_Vtbl, 0x1dc4cb5f_d737_474d_ade9_5ccfc9bc1cc9); -impl std::ops::Deref for IAccDictionary { +impl core::ops::Deref for IAccDictionary { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -101,7 +101,7 @@ pub struct IAccDictionary_Vtbl { pub ConvertValueToString: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, core::mem::MaybeUninit, *mut core::mem::MaybeUninit, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccServerDocMgr, IAccServerDocMgr_Vtbl, 0xad7c73cf_6dd5_4855_abc2_b04bad5b9153); -impl std::ops::Deref for IAccServerDocMgr { +impl core::ops::Deref for IAccServerDocMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -136,7 +136,7 @@ pub struct IAccServerDocMgr_Vtbl { pub OnDocumentFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAccStore, IAccStore_Vtbl, 0xe2cd4a63_2b72_4d48_b739_95e4765195ba); -impl std::ops::Deref for IAccStore { +impl core::ops::Deref for IAccStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -198,7 +198,7 @@ pub struct IAccStore_Vtbl { pub GetFocused: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAnchor, IAnchor_Vtbl, 0x0feb7e34_5a60_4356_8ef7_abdec2ff7cf8); -impl std::ops::Deref for IAnchor { +impl core::ops::Deref for IAnchor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -274,7 +274,7 @@ pub struct IAnchor_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IClonableWrapper, IClonableWrapper_Vtbl, 0xb33e75ff_e84c_4dca_a25c_33b8dc003374); -impl std::ops::Deref for IClonableWrapper { +impl core::ops::Deref for IClonableWrapper { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -286,7 +286,7 @@ impl IClonableWrapper { where T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CloneNewWrapper)(windows_core::Interface::as_raw(self), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -296,7 +296,7 @@ pub struct IClonableWrapper_Vtbl { pub CloneNewWrapper: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoCreateLocally, ICoCreateLocally_Vtbl, 0x03de00aa_f272_41e3_99cb_03c5e8114ea0); -impl std::ops::Deref for ICoCreateLocally { +impl core::ops::Deref for ICoCreateLocally { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -318,7 +318,7 @@ pub struct ICoCreateLocally_Vtbl { pub CoCreateLocally: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICoCreatedLocally, ICoCreatedLocally_Vtbl, 0x0a53eb6c_1908_4742_8cff_2cee2e93f94c); -impl std::ops::Deref for ICoCreatedLocally { +impl core::ops::Deref for ICoCreatedLocally { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -341,7 +341,7 @@ pub struct ICoCreatedLocally_Vtbl { pub LocalInit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDocWrap, IDocWrap_Vtbl, 0xdcd285fe_0be0_43bd_99c9_aaaec513c555); -impl std::ops::Deref for IDocWrap { +impl core::ops::Deref for IDocWrap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -367,7 +367,7 @@ pub struct IDocWrap_Vtbl { pub GetWrappedDoc: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumITfCompositionView, IEnumITfCompositionView_Vtbl, 0x5efd22ba_7838_46cb_88e2_cadb14124f8f); -impl std::ops::Deref for IEnumITfCompositionView { +impl core::ops::Deref for IEnumITfCompositionView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -398,7 +398,7 @@ pub struct IEnumITfCompositionView_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSpeechCommands, IEnumSpeechCommands_Vtbl, 0x8c5dac4f_083c_4b85_a4c9_71746048adca); -impl std::ops::Deref for IEnumSpeechCommands { +impl core::ops::Deref for IEnumSpeechCommands { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -429,7 +429,7 @@ pub struct IEnumSpeechCommands_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfCandidates, IEnumTfCandidates_Vtbl, 0xdefb1926_6c80_4ce8_87d4_d6b72b812bde); -impl std::ops::Deref for IEnumTfCandidates { +impl core::ops::Deref for IEnumTfCandidates { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -460,7 +460,7 @@ pub struct IEnumTfCandidates_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfContextViews, IEnumTfContextViews_Vtbl, 0xf0c0f8dd_cf38_44e1_bb0f_68cf0d551c78); -impl std::ops::Deref for IEnumTfContextViews { +impl core::ops::Deref for IEnumTfContextViews { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -491,7 +491,7 @@ pub struct IEnumTfContextViews_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfContexts, IEnumTfContexts_Vtbl, 0x8f1a7ea6_1654_4502_a86e_b2902344d507); -impl std::ops::Deref for IEnumTfContexts { +impl core::ops::Deref for IEnumTfContexts { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -522,7 +522,7 @@ pub struct IEnumTfContexts_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfDisplayAttributeInfo, IEnumTfDisplayAttributeInfo_Vtbl, 0x7cef04d7_cb75_4e80_a7ab_5f5bc7d332de); -impl std::ops::Deref for IEnumTfDisplayAttributeInfo { +impl core::ops::Deref for IEnumTfDisplayAttributeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -553,7 +553,7 @@ pub struct IEnumTfDisplayAttributeInfo_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfDocumentMgrs, IEnumTfDocumentMgrs_Vtbl, 0xaa80e808_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for IEnumTfDocumentMgrs { +impl core::ops::Deref for IEnumTfDocumentMgrs { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -584,7 +584,7 @@ pub struct IEnumTfDocumentMgrs_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfFunctionProviders, IEnumTfFunctionProviders_Vtbl, 0xe4b24db0_0990_11d3_8df0_00105a2799b5); -impl std::ops::Deref for IEnumTfFunctionProviders { +impl core::ops::Deref for IEnumTfFunctionProviders { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -615,7 +615,7 @@ pub struct IEnumTfFunctionProviders_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfInputProcessorProfiles, IEnumTfInputProcessorProfiles_Vtbl, 0x71c6e74d_0f28_11d8_a82a_00065b84435c); -impl std::ops::Deref for IEnumTfInputProcessorProfiles { +impl core::ops::Deref for IEnumTfInputProcessorProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -646,7 +646,7 @@ pub struct IEnumTfInputProcessorProfiles_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfLangBarItems, IEnumTfLangBarItems_Vtbl, 0x583f34d0_de25_11d2_afdd_00105a2799b5); -impl std::ops::Deref for IEnumTfLangBarItems { +impl core::ops::Deref for IEnumTfLangBarItems { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -677,7 +677,7 @@ pub struct IEnumTfLangBarItems_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfLanguageProfiles, IEnumTfLanguageProfiles_Vtbl, 0x3d61bf11_ac5f_42c8_a4cb_931bcc28c744); -impl std::ops::Deref for IEnumTfLanguageProfiles { +impl core::ops::Deref for IEnumTfLanguageProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -708,7 +708,7 @@ pub struct IEnumTfLanguageProfiles_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfLatticeElements, IEnumTfLatticeElements_Vtbl, 0x56988052_47da_4a05_911a_e3d941f17145); -impl std::ops::Deref for IEnumTfLatticeElements { +impl core::ops::Deref for IEnumTfLatticeElements { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -739,7 +739,7 @@ pub struct IEnumTfLatticeElements_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfProperties, IEnumTfProperties_Vtbl, 0x19188cb0_aca9_11d2_afc5_00105a2799b5); -impl std::ops::Deref for IEnumTfProperties { +impl core::ops::Deref for IEnumTfProperties { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -770,7 +770,7 @@ pub struct IEnumTfProperties_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfPropertyValue, IEnumTfPropertyValue_Vtbl, 0x8ed8981b_7c10_4d7d_9fb3_ab72e9c75f72); -impl std::ops::Deref for IEnumTfPropertyValue { +impl core::ops::Deref for IEnumTfPropertyValue { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -801,7 +801,7 @@ pub struct IEnumTfPropertyValue_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfRanges, IEnumTfRanges_Vtbl, 0xf99d3f40_8e32_11d2_bf46_00105a2799b5); -impl std::ops::Deref for IEnumTfRanges { +impl core::ops::Deref for IEnumTfRanges { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -832,7 +832,7 @@ pub struct IEnumTfRanges_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumTfUIElements, IEnumTfUIElements_Vtbl, 0x887aa91e_acba_4931_84da_3c5208cf543f); -impl std::ops::Deref for IEnumTfUIElements { +impl core::ops::Deref for IEnumTfUIElements { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -863,7 +863,7 @@ pub struct IEnumTfUIElements_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternalDocWrap, IInternalDocWrap_Vtbl, 0xe1aa6466_9db4_40ba_be03_77c38e8e60b2); -impl std::ops::Deref for IInternalDocWrap { +impl core::ops::Deref for IInternalDocWrap { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -881,7 +881,7 @@ pub struct IInternalDocWrap_Vtbl { pub NotifyRevoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISpeechCommandProvider, ISpeechCommandProvider_Vtbl, 0x38e09d4c_586d_435a_b592_c8a86691dec6); -impl std::ops::Deref for ISpeechCommandProvider { +impl core::ops::Deref for ISpeechCommandProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -904,7 +904,7 @@ pub struct ISpeechCommandProvider_Vtbl { pub ProcessCommand: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreACP, ITextStoreACP_Vtbl, 0x28888fe3_c2a0_483a_a3ea_8cb1ce51ff3d); -impl std::ops::Deref for ITextStoreACP { +impl core::ops::Deref for ITextStoreACP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1062,7 +1062,7 @@ pub struct ITextStoreACP_Vtbl { pub GetWnd: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreACP2, ITextStoreACP2_Vtbl, 0xf86ad89f_5fe4_4b8d_bb9f_ef3797a84f1f); -impl std::ops::Deref for ITextStoreACP2 { +impl core::ops::Deref for ITextStoreACP2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1215,7 +1215,7 @@ pub struct ITextStoreACP2_Vtbl { pub GetScreenExt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreACPEx, ITextStoreACPEx_Vtbl, 0xa2de3bc2_3d8e_11d3_81a9_f753fbe61a00); -impl std::ops::Deref for ITextStoreACPEx { +impl core::ops::Deref for ITextStoreACPEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1233,7 +1233,7 @@ pub struct ITextStoreACPEx_Vtbl { pub ScrollToRect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::RECT, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreACPServices, ITextStoreACPServices_Vtbl, 0xaa80e901_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITextStoreACPServices { +impl core::ops::Deref for ITextStoreACPServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1285,7 +1285,7 @@ pub struct ITextStoreACPServices_Vtbl { pub CreateRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreACPSink, ITextStoreACPSink_Vtbl, 0x22d44c94_a419_4542_a272_ae26093ececf); -impl std::ops::Deref for ITextStoreACPSink { +impl core::ops::Deref for ITextStoreACPSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1331,7 +1331,7 @@ pub struct ITextStoreACPSink_Vtbl { pub OnEndEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreACPSinkEx, ITextStoreACPSinkEx_Vtbl, 0x2bdf9464_41e2_43e3_950c_a6865ba25cd4); -impl std::ops::Deref for ITextStoreACPSinkEx { +impl core::ops::Deref for ITextStoreACPSinkEx { type Target = ITextStoreACPSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1349,7 +1349,7 @@ pub struct ITextStoreACPSinkEx_Vtbl { pub OnDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreAnchor, ITextStoreAnchor_Vtbl, 0x9b2077b0_5f18_4dec_bee9_3cc722f5dfe0); -impl std::ops::Deref for ITextStoreAnchor { +impl core::ops::Deref for ITextStoreAnchor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1546,7 +1546,7 @@ pub struct ITextStoreAnchor_Vtbl { InsertEmbeddedAtSelection: usize, } windows_core::imp::define_interface!(ITextStoreAnchorEx, ITextStoreAnchorEx_Vtbl, 0xa2de3bc1_3d8e_11d3_81a9_f753fbe61a00); -impl std::ops::Deref for ITextStoreAnchorEx { +impl core::ops::Deref for ITextStoreAnchorEx { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1568,7 +1568,7 @@ pub struct ITextStoreAnchorEx_Vtbl { pub ScrollToRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::RECT, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreAnchorSink, ITextStoreAnchorSink_Vtbl, 0xaa80e905_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITextStoreAnchorSink { +impl core::ops::Deref for ITextStoreAnchorSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1622,7 +1622,7 @@ pub struct ITextStoreAnchorSink_Vtbl { pub OnEndEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITextStoreSinkAnchorEx, ITextStoreSinkAnchorEx_Vtbl, 0x25642426_028d_4474_977b_111bb114fe3e); -impl std::ops::Deref for ITextStoreSinkAnchorEx { +impl core::ops::Deref for ITextStoreSinkAnchorEx { type Target = ITextStoreAnchorSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1640,7 +1640,7 @@ pub struct ITextStoreSinkAnchorEx_Vtbl { pub OnDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfActiveLanguageProfileNotifySink, ITfActiveLanguageProfileNotifySink_Vtbl, 0xb246cb75_a93e_4652_bf8c_b3fe0cfd7e57); -impl std::ops::Deref for ITfActiveLanguageProfileNotifySink { +impl core::ops::Deref for ITfActiveLanguageProfileNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1661,7 +1661,7 @@ pub struct ITfActiveLanguageProfileNotifySink_Vtbl { pub OnActivated: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCandidateList, ITfCandidateList_Vtbl, 0xa3ad50fb_9bdb_49e3_a843_6c76520fbf5d); -impl std::ops::Deref for ITfCandidateList { +impl core::ops::Deref for ITfCandidateList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1694,7 +1694,7 @@ pub struct ITfCandidateList_Vtbl { pub SetResult: unsafe extern "system" fn(*mut core::ffi::c_void, u32, TfCandidateResult) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCandidateListUIElement, ITfCandidateListUIElement_Vtbl, 0xea1ea138_19df_11d7_a6d2_00065b84435c); -impl std::ops::Deref for ITfCandidateListUIElement { +impl core::ops::Deref for ITfCandidateListUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1746,7 +1746,7 @@ pub struct ITfCandidateListUIElement_Vtbl { pub GetCurrentPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCandidateListUIElementBehavior, ITfCandidateListUIElementBehavior_Vtbl, 0x85fad185_58ce_497a_9460_355366b64b9a); -impl std::ops::Deref for ITfCandidateListUIElementBehavior { +impl core::ops::Deref for ITfCandidateListUIElementBehavior { type Target = ITfCandidateListUIElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1772,7 +1772,7 @@ pub struct ITfCandidateListUIElementBehavior_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCandidateString, ITfCandidateString_Vtbl, 0x581f317e_fd9d_443f_b972_ed00467c5d40); -impl std::ops::Deref for ITfCandidateString { +impl core::ops::Deref for ITfCandidateString { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1796,7 +1796,7 @@ pub struct ITfCandidateString_Vtbl { pub GetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCategoryMgr, ITfCategoryMgr_Vtbl, 0xc3acefb5_f69d_4905_938f_fcadcf4be830); -impl std::ops::Deref for ITfCategoryMgr { +impl core::ops::Deref for ITfCategoryMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1881,7 +1881,7 @@ pub struct ITfCategoryMgr_Vtbl { pub IsEqualTfGuidAtom: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCleanupContextDurationSink, ITfCleanupContextDurationSink_Vtbl, 0x45c35144_154e_4797_bed8_d33ae7bf8794); -impl std::ops::Deref for ITfCleanupContextDurationSink { +impl core::ops::Deref for ITfCleanupContextDurationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1903,7 +1903,7 @@ pub struct ITfCleanupContextDurationSink_Vtbl { pub OnEndCleanupContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCleanupContextSink, ITfCleanupContextSink_Vtbl, 0x01689689_7acb_4e9b_ab7c_7ea46b12b522); -impl std::ops::Deref for ITfCleanupContextSink { +impl core::ops::Deref for ITfCleanupContextSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1924,7 +1924,7 @@ pub struct ITfCleanupContextSink_Vtbl { pub OnCleanupContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfClientId, ITfClientId_Vtbl, 0xd60a7b49_1b9f_4be2_b702_47e9dc05dec3); -impl std::ops::Deref for ITfClientId { +impl core::ops::Deref for ITfClientId { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1943,7 +1943,7 @@ pub struct ITfClientId_Vtbl { pub GetClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCompartment, ITfCompartment_Vtbl, 0xbb08f7a9_607a_4384_8623_056892b64371); -impl std::ops::Deref for ITfCompartment { +impl core::ops::Deref for ITfCompartment { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1966,7 +1966,7 @@ pub struct ITfCompartment_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCompartmentEventSink, ITfCompartmentEventSink_Vtbl, 0x743abd5f_f26d_48df_8cc5_238492419b64); -impl std::ops::Deref for ITfCompartmentEventSink { +impl core::ops::Deref for ITfCompartmentEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1984,7 +1984,7 @@ pub struct ITfCompartmentEventSink_Vtbl { pub OnChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCompartmentMgr, ITfCompartmentMgr_Vtbl, 0x7dcf57ac_18ad_438b_824d_979bffb74b7c); -impl std::ops::Deref for ITfCompartmentMgr { +impl core::ops::Deref for ITfCompartmentMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2016,7 +2016,7 @@ pub struct ITfCompartmentMgr_Vtbl { EnumCompartments: usize, } windows_core::imp::define_interface!(ITfComposition, ITfComposition_Vtbl, 0x20168d64_5a8f_4a5a_b7bd_cfa29f4d0fd9); -impl std::ops::Deref for ITfComposition { +impl core::ops::Deref for ITfComposition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2053,7 +2053,7 @@ pub struct ITfComposition_Vtbl { pub EndComposition: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCompositionSink, ITfCompositionSink_Vtbl, 0xa781718c_579a_4b15_a280_32b8577acc5e); -impl std::ops::Deref for ITfCompositionSink { +impl core::ops::Deref for ITfCompositionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2074,7 +2074,7 @@ pub struct ITfCompositionSink_Vtbl { pub OnCompositionTerminated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCompositionView, ITfCompositionView_Vtbl, 0xd7540241_f9a1_4364_befc_dbcd2c4395b7); -impl std::ops::Deref for ITfCompositionView { +impl core::ops::Deref for ITfCompositionView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2098,7 +2098,7 @@ pub struct ITfCompositionView_Vtbl { pub GetRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfConfigureSystemKeystrokeFeed, ITfConfigureSystemKeystrokeFeed_Vtbl, 0x0d2c969a_bc9c_437c_84ee_951c49b1a764); -impl std::ops::Deref for ITfConfigureSystemKeystrokeFeed { +impl core::ops::Deref for ITfConfigureSystemKeystrokeFeed { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2120,7 +2120,7 @@ pub struct ITfConfigureSystemKeystrokeFeed_Vtbl { pub EnableSystemKeystrokeFeed: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContext, ITfContext_Vtbl, 0xaa80e7fd_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfContext { +impl core::ops::Deref for ITfContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2213,7 +2213,7 @@ pub struct ITfContext_Vtbl { pub CreateRangeBackup: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextComposition, ITfContextComposition_Vtbl, 0xd40c8aae_ac92_4fc7_9a11_0ee0e23aa39b); -impl std::ops::Deref for ITfContextComposition { +impl core::ops::Deref for ITfContextComposition { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2258,7 +2258,7 @@ pub struct ITfContextComposition_Vtbl { pub TakeOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextKeyEventSink, ITfContextKeyEventSink_Vtbl, 0x0552ba5d_c835_4934_bf50_846aaa67432f); -impl std::ops::Deref for ITfContextKeyEventSink { +impl core::ops::Deref for ITfContextKeyEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2308,7 +2308,7 @@ pub struct ITfContextKeyEventSink_Vtbl { pub OnTestKeyUp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextOwner, ITfContextOwner_Vtbl, 0xaa80e80c_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfContextOwner { +impl core::ops::Deref for ITfContextOwner { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2351,7 +2351,7 @@ pub struct ITfContextOwner_Vtbl { pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextOwnerCompositionServices, ITfContextOwnerCompositionServices_Vtbl, 0x86462810_593b_4916_9764_19c08e9ce110); -impl std::ops::Deref for ITfContextOwnerCompositionServices { +impl core::ops::Deref for ITfContextOwnerCompositionServices { type Target = ITfContextComposition; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2372,7 +2372,7 @@ pub struct ITfContextOwnerCompositionServices_Vtbl { pub TerminateComposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextOwnerCompositionSink, ITfContextOwnerCompositionSink_Vtbl, 0x5f20aa40_b57a_4f34_96ab_3576f377cc79); -impl std::ops::Deref for ITfContextOwnerCompositionSink { +impl core::ops::Deref for ITfContextOwnerCompositionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2409,7 +2409,7 @@ pub struct ITfContextOwnerCompositionSink_Vtbl { pub OnEndComposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextOwnerServices, ITfContextOwnerServices_Vtbl, 0xb23eb630_3e1c_11d3_a745_0050040ab407); -impl std::ops::Deref for ITfContextOwnerServices { +impl core::ops::Deref for ITfContextOwnerServices { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2473,7 +2473,7 @@ pub struct ITfContextOwnerServices_Vtbl { pub CreateRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfContextView, ITfContextView_Vtbl, 0x2433bf8e_0f9b_435c_ba2c_180611978c30); -impl std::ops::Deref for ITfContextView { +impl core::ops::Deref for ITfContextView { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2509,7 +2509,7 @@ pub struct ITfContextView_Vtbl { pub GetWnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfCreatePropertyStore, ITfCreatePropertyStore_Vtbl, 0x2463fbf0_b0af_11d2_afc5_00105a2799b5); -impl std::ops::Deref for ITfCreatePropertyStore { +impl core::ops::Deref for ITfCreatePropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2545,7 +2545,7 @@ pub struct ITfCreatePropertyStore_Vtbl { CreatePropertyStore: usize, } windows_core::imp::define_interface!(ITfDisplayAttributeInfo, ITfDisplayAttributeInfo_Vtbl, 0x70528852_2f26_4aea_8c96_215150578932); -impl std::ops::Deref for ITfDisplayAttributeInfo { +impl core::ops::Deref for ITfDisplayAttributeInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2581,7 +2581,7 @@ pub struct ITfDisplayAttributeInfo_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfDisplayAttributeMgr, ITfDisplayAttributeMgr_Vtbl, 0x8ded7393_5db1_475c_9e71_a39111b0ff67); -impl std::ops::Deref for ITfDisplayAttributeMgr { +impl core::ops::Deref for ITfDisplayAttributeMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2608,7 +2608,7 @@ pub struct ITfDisplayAttributeMgr_Vtbl { pub GetDisplayAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfDisplayAttributeNotifySink, ITfDisplayAttributeNotifySink_Vtbl, 0xad56f402_e162_4f25_908f_7d577cf9bda9); -impl std::ops::Deref for ITfDisplayAttributeNotifySink { +impl core::ops::Deref for ITfDisplayAttributeNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2626,7 +2626,7 @@ pub struct ITfDisplayAttributeNotifySink_Vtbl { pub OnUpdateInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfDisplayAttributeProvider, ITfDisplayAttributeProvider_Vtbl, 0xfee47777_163c_4769_996a_6e9c50ad8f54); -impl std::ops::Deref for ITfDisplayAttributeProvider { +impl core::ops::Deref for ITfDisplayAttributeProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2650,7 +2650,7 @@ pub struct ITfDisplayAttributeProvider_Vtbl { pub GetDisplayAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfDocumentMgr, ITfDocumentMgr_Vtbl, 0xaa80e7f4_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfDocumentMgr { +impl core::ops::Deref for ITfDocumentMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2697,7 +2697,7 @@ pub struct ITfDocumentMgr_Vtbl { pub EnumContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfEditRecord, ITfEditRecord_Vtbl, 0x42d4d099_7c1a_4a89_b836_6c6f22160df0); -impl std::ops::Deref for ITfEditRecord { +impl core::ops::Deref for ITfEditRecord { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2721,7 +2721,7 @@ pub struct ITfEditRecord_Vtbl { pub GetTextAndPropertyUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, GET_TEXT_AND_PROPERTY_UPDATES_FLAGS, *const *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfEditSession, ITfEditSession_Vtbl, 0xaa80e803_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfEditSession { +impl core::ops::Deref for ITfEditSession { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2739,7 +2739,7 @@ pub struct ITfEditSession_Vtbl { pub DoEditSession: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfEditTransactionSink, ITfEditTransactionSink_Vtbl, 0x708fbf70_b520_416b_b06c_2c41ab44f8ba); -impl std::ops::Deref for ITfEditTransactionSink { +impl core::ops::Deref for ITfEditTransactionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2767,7 +2767,7 @@ pub struct ITfEditTransactionSink_Vtbl { pub OnEndEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnAdviseText, ITfFnAdviseText_Vtbl, 0x3527268b_7d53_4dd9_92b7_7296ae461249); -impl std::ops::Deref for ITfFnAdviseText { +impl core::ops::Deref for ITfFnAdviseText { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2796,7 +2796,7 @@ pub struct ITfFnAdviseText_Vtbl { pub OnLatticeUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnBalloon, ITfFnBalloon_Vtbl, 0x3bab89e4_5fbe_45f4_a5bc_dca36ad225a8); -impl std::ops::Deref for ITfFnBalloon { +impl core::ops::Deref for ITfFnBalloon { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2814,7 +2814,7 @@ pub struct ITfFnBalloon_Vtbl { pub UpdateBalloon: unsafe extern "system" fn(*mut core::ffi::c_void, TfLBBalloonStyle, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnConfigure, ITfFnConfigure_Vtbl, 0x88f567c6_1757_49f8_a1b2_89234c1eeff9); -impl std::ops::Deref for ITfFnConfigure { +impl core::ops::Deref for ITfFnConfigure { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2835,7 +2835,7 @@ pub struct ITfFnConfigure_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u16, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnConfigureRegisterEudc, ITfFnConfigureRegisterEudc_Vtbl, 0xb5e26ff5_d7ad_4304_913f_21a2ed95a1b0); -impl std::ops::Deref for ITfFnConfigureRegisterEudc { +impl core::ops::Deref for ITfFnConfigureRegisterEudc { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2857,7 +2857,7 @@ pub struct ITfFnConfigureRegisterEudc_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u16, *const windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnConfigureRegisterWord, ITfFnConfigureRegisterWord_Vtbl, 0xbb95808a_6d8f_4bca_8400_5390b586aedf); -impl std::ops::Deref for ITfFnConfigureRegisterWord { +impl core::ops::Deref for ITfFnConfigureRegisterWord { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2879,7 +2879,7 @@ pub struct ITfFnConfigureRegisterWord_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u16, *const windows_core::GUID, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnCustomSpeechCommand, ITfFnCustomSpeechCommand_Vtbl, 0xfca6c349_a12f_43a3_8dd6_5a5a4282577b); -impl std::ops::Deref for ITfFnCustomSpeechCommand { +impl core::ops::Deref for ITfFnCustomSpeechCommand { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2900,7 +2900,7 @@ pub struct ITfFnCustomSpeechCommand_Vtbl { pub SetSpeechCommandProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnGetLinguisticAlternates, ITfFnGetLinguisticAlternates_Vtbl, 0xea163ce2_7a65_4506_82a3_c528215da64e); -impl std::ops::Deref for ITfFnGetLinguisticAlternates { +impl core::ops::Deref for ITfFnGetLinguisticAlternates { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2922,7 +2922,7 @@ pub struct ITfFnGetLinguisticAlternates_Vtbl { pub GetAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnGetPreferredTouchKeyboardLayout, ITfFnGetPreferredTouchKeyboardLayout_Vtbl, 0x5f309a41_590a_4acc_a97f_d8efff13fdfc); -impl std::ops::Deref for ITfFnGetPreferredTouchKeyboardLayout { +impl core::ops::Deref for ITfFnGetPreferredTouchKeyboardLayout { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2940,7 +2940,7 @@ pub struct ITfFnGetPreferredTouchKeyboardLayout_Vtbl { pub GetLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TKBLayoutType, *const u16) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnGetSAPIObject, ITfFnGetSAPIObject_Vtbl, 0x5c0ab7ea_167d_4f59_bfb5_4693755e90ca); -impl std::ops::Deref for ITfFnGetSAPIObject { +impl core::ops::Deref for ITfFnGetSAPIObject { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2959,7 +2959,7 @@ pub struct ITfFnGetSAPIObject_Vtbl { pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, TfSapiObject, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnLMInternal, ITfFnLMInternal_Vtbl, 0x04b825b1_ac9a_4f7b_b5ad_c7168f1ee445); -impl std::ops::Deref for ITfFnLMInternal { +impl core::ops::Deref for ITfFnLMInternal { type Target = ITfFnLMProcessor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2980,7 +2980,7 @@ pub struct ITfFnLMInternal_Vtbl { pub ProcessLattice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnLMProcessor, ITfFnLMProcessor_Vtbl, 0x7afbf8e7_ac4b_4082_b058_890899d3a010); -impl std::ops::Deref for ITfFnLMProcessor { +impl core::ops::Deref for ITfFnLMProcessor { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3047,7 +3047,7 @@ pub struct ITfFnLMProcessor_Vtbl { pub InvokeFunc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnLangProfileUtil, ITfFnLangProfileUtil_Vtbl, 0xa87a8574_a6c1_4e15_99f0_3d3965f548eb); -impl std::ops::Deref for ITfFnLangProfileUtil { +impl core::ops::Deref for ITfFnLangProfileUtil { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3070,7 +3070,7 @@ pub struct ITfFnLangProfileUtil_Vtbl { pub IsProfileAvailableForLang: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnPlayBack, ITfFnPlayBack_Vtbl, 0xa3a416a4_0f64_11d3_b5b7_00c04fc324a1); -impl std::ops::Deref for ITfFnPlayBack { +impl core::ops::Deref for ITfFnPlayBack { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3098,7 +3098,7 @@ pub struct ITfFnPlayBack_Vtbl { pub Play: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnPropertyUIStatus, ITfFnPropertyUIStatus_Vtbl, 0x2338ac6e_2b9d_44c0_a75e_ee64f256b3bd); -impl std::ops::Deref for ITfFnPropertyUIStatus { +impl core::ops::Deref for ITfFnPropertyUIStatus { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3121,7 +3121,7 @@ pub struct ITfFnPropertyUIStatus_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnReconversion, ITfFnReconversion_Vtbl, 0x4cea93c0_0a58_11d3_8df0_00105a2799b5); -impl std::ops::Deref for ITfFnReconversion { +impl core::ops::Deref for ITfFnReconversion { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3157,7 +3157,7 @@ pub struct ITfFnReconversion_Vtbl { pub Reconvert: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnSearchCandidateProvider, ITfFnSearchCandidateProvider_Vtbl, 0x87a2ad8f_f27b_4920_8501_67602280175d); -impl std::ops::Deref for ITfFnSearchCandidateProvider { +impl core::ops::Deref for ITfFnSearchCandidateProvider { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3189,7 +3189,7 @@ pub struct ITfFnSearchCandidateProvider_Vtbl { pub SetResult: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, core::mem::MaybeUninit, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFnShowHelp, ITfFnShowHelp_Vtbl, 0x5ab1d30c_094d_4c29_8ea5_0bf59be87bf3); -impl std::ops::Deref for ITfFnShowHelp { +impl core::ops::Deref for ITfFnShowHelp { type Target = ITfFunction; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3210,7 +3210,7 @@ pub struct ITfFnShowHelp_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFunction, ITfFunction_Vtbl, 0xdb593490_098f_11d3_8df0_00105a2799b5); -impl std::ops::Deref for ITfFunction { +impl core::ops::Deref for ITfFunction { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3229,7 +3229,7 @@ pub struct ITfFunction_Vtbl { pub GetDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfFunctionProvider, ITfFunctionProvider_Vtbl, 0x101d6610_0990_11d3_8df0_00105a2799b5); -impl std::ops::Deref for ITfFunctionProvider { +impl core::ops::Deref for ITfFunctionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3258,7 +3258,7 @@ pub struct ITfFunctionProvider_Vtbl { pub GetFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputProcessorProfileActivationSink, ITfInputProcessorProfileActivationSink_Vtbl, 0x71c6e74e_0f28_11d8_a82a_00065b84435c); -impl std::ops::Deref for ITfInputProcessorProfileActivationSink { +impl core::ops::Deref for ITfInputProcessorProfileActivationSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3279,7 +3279,7 @@ pub struct ITfInputProcessorProfileActivationSink_Vtbl { pub OnActivated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u16, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, HKL, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputProcessorProfileMgr, ITfInputProcessorProfileMgr_Vtbl, 0x71c6e74c_0f28_11d8_a82a_00065b84435c); -impl std::ops::Deref for ITfInputProcessorProfileMgr { +impl core::ops::Deref for ITfInputProcessorProfileMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3339,7 +3339,7 @@ pub struct ITfInputProcessorProfileMgr_Vtbl { pub GetActiveProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut TF_INPUTPROCESSORPROFILE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputProcessorProfileSubstituteLayout, ITfInputProcessorProfileSubstituteLayout_Vtbl, 0x4fd67194_1002_4513_bff2_c0ddf6258552); -impl std::ops::Deref for ITfInputProcessorProfileSubstituteLayout { +impl core::ops::Deref for ITfInputProcessorProfileSubstituteLayout { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3358,7 +3358,7 @@ pub struct ITfInputProcessorProfileSubstituteLayout_Vtbl { pub GetSubstituteKeyboardLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, *mut HKL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputProcessorProfiles, ITfInputProcessorProfiles_Vtbl, 0x1f02b6c5_7842_4ee6_8a0b_9a24183a95ca); -impl std::ops::Deref for ITfInputProcessorProfiles { +impl core::ops::Deref for ITfInputProcessorProfiles { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3462,7 +3462,7 @@ pub struct ITfInputProcessorProfiles_Vtbl { pub SubstituteKeyboardLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, HKL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputProcessorProfilesEx, ITfInputProcessorProfilesEx_Vtbl, 0x892f230f_fe00_4a41_a98e_fcd6de0d35ef); -impl std::ops::Deref for ITfInputProcessorProfilesEx { +impl core::ops::Deref for ITfInputProcessorProfilesEx { type Target = ITfInputProcessorProfiles; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3480,7 +3480,7 @@ pub struct ITfInputProcessorProfilesEx_Vtbl { pub SetLanguageProfileDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, windows_core::PCWSTR, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputScope, ITfInputScope_Vtbl, 0xfde1eaee_6924_4cdf_91e7_da38cff5559d); -impl std::ops::Deref for ITfInputScope { +impl core::ops::Deref for ITfInputScope { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3517,7 +3517,7 @@ pub struct ITfInputScope_Vtbl { pub GetXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfInputScope2, ITfInputScope2_Vtbl, 0x5731eaa0_6bc2_4681_a532_92fbb74d7c41); -impl std::ops::Deref for ITfInputScope2 { +impl core::ops::Deref for ITfInputScope2 { type Target = ITfInputScope; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3540,7 +3540,7 @@ pub struct ITfInputScope2_Vtbl { EnumWordList: usize, } windows_core::imp::define_interface!(ITfInsertAtSelection, ITfInsertAtSelection_Vtbl, 0x55ce16ba_3014_41c1_9ceb_fade1446ac6c); -impl std::ops::Deref for ITfInsertAtSelection { +impl core::ops::Deref for ITfInsertAtSelection { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3571,7 +3571,7 @@ pub struct ITfInsertAtSelection_Vtbl { InsertEmbeddedAtSelection: usize, } windows_core::imp::define_interface!(ITfIntegratableCandidateListUIElement, ITfIntegratableCandidateListUIElement_Vtbl, 0xc7a6f54f_b180_416f_b2bf_7bf2e4683d7b); -impl std::ops::Deref for ITfIntegratableCandidateListUIElement { +impl core::ops::Deref for ITfIntegratableCandidateListUIElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3612,7 +3612,7 @@ pub struct ITfIntegratableCandidateListUIElement_Vtbl { pub FinalizeExactCompositionString: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfKeyEventSink, ITfKeyEventSink_Vtbl, 0xaa80e7f5_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfKeyEventSink { +impl core::ops::Deref for ITfKeyEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3681,7 +3681,7 @@ pub struct ITfKeyEventSink_Vtbl { pub OnPreservedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfKeyTraceEventSink, ITfKeyTraceEventSink_Vtbl, 0x1cd4c13b_1c36_4191_a70a_7f3e611f367d); -impl std::ops::Deref for ITfKeyTraceEventSink { +impl core::ops::Deref for ITfKeyTraceEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3711,7 +3711,7 @@ pub struct ITfKeyTraceEventSink_Vtbl { pub OnKeyTraceUp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfKeystrokeMgr, ITfKeystrokeMgr_Vtbl, 0xaa80e7f0_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfKeystrokeMgr { +impl core::ops::Deref for ITfKeystrokeMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3816,7 +3816,7 @@ pub struct ITfKeystrokeMgr_Vtbl { pub SimulatePreservedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLMLattice, ITfLMLattice_Vtbl, 0xd4236675_a5bf_4570_9d42_5d6d7b02d59b); -impl std::ops::Deref for ITfLMLattice { +impl core::ops::Deref for ITfLMLattice { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3840,7 +3840,7 @@ pub struct ITfLMLattice_Vtbl { pub EnumLatticeElements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarEventSink, ITfLangBarEventSink_Vtbl, 0x18a4e900_e0ae_11d2_afdd_00105a2799b5); -impl std::ops::Deref for ITfLangBarEventSink { +impl core::ops::Deref for ITfLangBarEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3883,7 +3883,7 @@ pub struct ITfLangBarEventSink_Vtbl { pub GetItemFloatingRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItem, ITfLangBarItem_Vtbl, 0x73540d69_edeb_4ee9_96c9_23aa30b25916); -impl std::ops::Deref for ITfLangBarItem { +impl core::ops::Deref for ITfLangBarItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3918,7 +3918,7 @@ pub struct ITfLangBarItem_Vtbl { pub GetTooltipString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemBalloon, ITfLangBarItemBalloon_Vtbl, 0x01c2d285_d3c7_4b7b_b5b5_d97411d0c283); -impl std::ops::Deref for ITfLangBarItemBalloon { +impl core::ops::Deref for ITfLangBarItemBalloon { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3946,7 +3946,7 @@ pub struct ITfLangBarItemBalloon_Vtbl { pub GetBalloonInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TF_LBBALLOONINFO) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemBitmap, ITfLangBarItemBitmap_Vtbl, 0x73830352_d722_4179_ada5_f045c98df355); -impl std::ops::Deref for ITfLangBarItemBitmap { +impl core::ops::Deref for ITfLangBarItemBitmap { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3977,7 +3977,7 @@ pub struct ITfLangBarItemBitmap_Vtbl { DrawBitmap: usize, } windows_core::imp::define_interface!(ITfLangBarItemBitmapButton, ITfLangBarItemBitmapButton_Vtbl, 0xa26a0525_3fae_4fa0_89ee_88a964f9f1b5); -impl std::ops::Deref for ITfLangBarItemBitmapButton { +impl core::ops::Deref for ITfLangBarItemBitmapButton { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4024,7 +4024,7 @@ pub struct ITfLangBarItemBitmapButton_Vtbl { pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemButton, ITfLangBarItemButton_Vtbl, 0x28c7f1d0_de25_11d2_afdd_00105a2799b5); -impl std::ops::Deref for ITfLangBarItemButton { +impl core::ops::Deref for ITfLangBarItemButton { type Target = ITfLangBarItem; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4067,7 +4067,7 @@ pub struct ITfLangBarItemButton_Vtbl { pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemMgr, ITfLangBarItemMgr_Vtbl, 0xba468c55_9956_4fb1_a59d_52a7dd7cc6aa); -impl std::ops::Deref for ITfLangBarItemMgr { +impl core::ops::Deref for ITfLangBarItemMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4142,7 +4142,7 @@ pub struct ITfLangBarItemMgr_Vtbl { pub UnadviseItemsSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarItemSink, ITfLangBarItemSink_Vtbl, 0x57dbe1a0_de25_11d2_afdd_00105a2799b5); -impl std::ops::Deref for ITfLangBarItemSink { +impl core::ops::Deref for ITfLangBarItemSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4160,7 +4160,7 @@ pub struct ITfLangBarItemSink_Vtbl { pub OnUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLangBarMgr, ITfLangBarMgr_Vtbl, 0x87955690_e627_11d2_8ddb_00105a2799b5); -impl std::ops::Deref for ITfLangBarMgr { +impl core::ops::Deref for ITfLangBarMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4222,7 +4222,7 @@ pub struct ITfLangBarMgr_Vtbl { pub GetShowFloatingStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfLanguageProfileNotifySink, ITfLanguageProfileNotifySink_Vtbl, 0x43c9fe15_f494_4c17_9de2_b8a4ac350aa8); -impl std::ops::Deref for ITfLanguageProfileNotifySink { +impl core::ops::Deref for ITfLanguageProfileNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4245,7 +4245,7 @@ pub struct ITfLanguageProfileNotifySink_Vtbl { pub OnLanguageChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfMSAAControl, ITfMSAAControl_Vtbl, 0xb5f8fb3b_393f_4f7c_84cb_504924c2705a); -impl std::ops::Deref for ITfMSAAControl { +impl core::ops::Deref for ITfMSAAControl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4267,7 +4267,7 @@ pub struct ITfMSAAControl_Vtbl { pub SystemDisableMSAA: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfMenu, ITfMenu_Vtbl, 0x6f8a98e4_aaa0_4f15_8c5b_07e0df0a3dd8); -impl std::ops::Deref for ITfMenu { +impl core::ops::Deref for ITfMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4293,7 +4293,7 @@ pub struct ITfMenu_Vtbl { AddMenuItem: usize, } windows_core::imp::define_interface!(ITfMessagePump, ITfMessagePump_Vtbl, 0x8f1b8ad8_0b6b_4874_90c5_bd76011e8f7c); -impl std::ops::Deref for ITfMessagePump { +impl core::ops::Deref for ITfMessagePump { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4351,7 +4351,7 @@ pub struct ITfMessagePump_Vtbl { GetMessageW: usize, } windows_core::imp::define_interface!(ITfMouseSink, ITfMouseSink_Vtbl, 0xa1adaaa2_3a24_449d_ac96_5183e7f5c217); -impl std::ops::Deref for ITfMouseSink { +impl core::ops::Deref for ITfMouseSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4370,7 +4370,7 @@ pub struct ITfMouseSink_Vtbl { pub OnMouseEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfMouseTracker, ITfMouseTracker_Vtbl, 0x09d146cd_a544_4132_925b_7afa8ef322d0); -impl std::ops::Deref for ITfMouseTracker { +impl core::ops::Deref for ITfMouseTracker { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4397,7 +4397,7 @@ pub struct ITfMouseTracker_Vtbl { pub UnadviseMouseSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfMouseTrackerACP, ITfMouseTrackerACP_Vtbl, 0x3bdd78e2_c16e_47fd_b883_ce6facc1a208); -impl std::ops::Deref for ITfMouseTrackerACP { +impl core::ops::Deref for ITfMouseTrackerACP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4424,7 +4424,7 @@ pub struct ITfMouseTrackerACP_Vtbl { pub UnadviseMouseSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfPersistentPropertyLoaderACP, ITfPersistentPropertyLoaderACP_Vtbl, 0x4ef89150_0807_11d3_8df0_00105a2799b5); -impl std::ops::Deref for ITfPersistentPropertyLoaderACP { +impl core::ops::Deref for ITfPersistentPropertyLoaderACP { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4447,7 +4447,7 @@ pub struct ITfPersistentPropertyLoaderACP_Vtbl { LoadProperty: usize, } windows_core::imp::define_interface!(ITfPreservedKeyNotifySink, ITfPreservedKeyNotifySink_Vtbl, 0x6f77c993_d2b1_446e_853e_5912efc8a286); -impl std::ops::Deref for ITfPreservedKeyNotifySink { +impl core::ops::Deref for ITfPreservedKeyNotifySink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4465,7 +4465,7 @@ pub struct ITfPreservedKeyNotifySink_Vtbl { pub OnUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *const TF_PRESERVEDKEY) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfProperty, ITfProperty_Vtbl, 0xe2449660_9542_11d2_bf46_00105a2799b5); -impl std::ops::Deref for ITfProperty { +impl core::ops::Deref for ITfProperty { type Target = ITfReadOnlyProperty; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4508,7 +4508,7 @@ pub struct ITfProperty_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfPropertyStore, ITfPropertyStore_Vtbl, 0x6834b120_88cb_11d2_bf45_00105a2799b5); -impl std::ops::Deref for ITfPropertyStore { +impl core::ops::Deref for ITfPropertyStore { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4584,7 +4584,7 @@ pub struct ITfPropertyStore_Vtbl { Serialize: usize, } windows_core::imp::define_interface!(ITfQueryEmbedded, ITfQueryEmbedded_Vtbl, 0x0fab9bdb_d250_4169_84e5_6be118fdd7a8); -impl std::ops::Deref for ITfQueryEmbedded { +impl core::ops::Deref for ITfQueryEmbedded { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4607,7 +4607,7 @@ pub struct ITfQueryEmbedded_Vtbl { QueryInsertEmbedded: usize, } windows_core::imp::define_interface!(ITfRange, ITfRange_Vtbl, 0xaa80e7ff_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfRange { +impl core::ops::Deref for ITfRange { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4750,7 +4750,7 @@ pub struct ITfRange_Vtbl { pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfRangeACP, ITfRangeACP_Vtbl, 0x057a6296_029b_4154_b79a_0d461d4ea94c); -impl std::ops::Deref for ITfRangeACP { +impl core::ops::Deref for ITfRangeACP { type Target = ITfRange; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4772,7 +4772,7 @@ pub struct ITfRangeACP_Vtbl { pub SetExtent: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfRangeBackup, ITfRangeBackup_Vtbl, 0x463a506d_6992_49d2_9b88_93d55e70bb16); -impl std::ops::Deref for ITfRangeBackup { +impl core::ops::Deref for ITfRangeBackup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4793,7 +4793,7 @@ pub struct ITfRangeBackup_Vtbl { pub Restore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfReadOnlyProperty, ITfReadOnlyProperty_Vtbl, 0x17d49a3d_f8b8_4b2f_b254_52319dd64c53); -impl std::ops::Deref for ITfReadOnlyProperty { +impl core::ops::Deref for ITfReadOnlyProperty { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4832,7 +4832,7 @@ pub struct ITfReadOnlyProperty_Vtbl { pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfReadingInformationUIElement, ITfReadingInformationUIElement_Vtbl, 0xea1ea139_19df_11d7_a6d2_00065b84435c); -impl std::ops::Deref for ITfReadingInformationUIElement { +impl core::ops::Deref for ITfReadingInformationUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4876,7 +4876,7 @@ pub struct ITfReadingInformationUIElement_Vtbl { pub IsVerticalOrderPreferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfReverseConversion, ITfReverseConversion_Vtbl, 0xa415e162_157d_417d_8a8c_0ab26c7d2781); -impl std::ops::Deref for ITfReverseConversion { +impl core::ops::Deref for ITfReverseConversion { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4898,7 +4898,7 @@ pub struct ITfReverseConversion_Vtbl { pub DoReverseConversion: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfReverseConversionList, ITfReverseConversionList_Vtbl, 0x151d69f0_86f4_4674_b721_56911e797f47); -impl std::ops::Deref for ITfReverseConversionList { +impl core::ops::Deref for ITfReverseConversionList { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4922,7 +4922,7 @@ pub struct ITfReverseConversionList_Vtbl { pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfReverseConversionMgr, ITfReverseConversionMgr_Vtbl, 0xb643c236_c493_41b6_abb3_692412775cc4); -impl std::ops::Deref for ITfReverseConversionMgr { +impl core::ops::Deref for ITfReverseConversionMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4941,7 +4941,7 @@ pub struct ITfReverseConversionMgr_Vtbl { pub GetReverseConversion: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfSource, ITfSource_Vtbl, 0x4ea48a35_60ae_446f_8fd6_e6a8d82459f7); -impl std::ops::Deref for ITfSource { +impl core::ops::Deref for ITfSource { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4967,7 +4967,7 @@ pub struct ITfSource_Vtbl { pub UnadviseSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfSourceSingle, ITfSourceSingle_Vtbl, 0x73131f9c_56a9_49dd_b0ee_d046633f7528); -impl std::ops::Deref for ITfSourceSingle { +impl core::ops::Deref for ITfSourceSingle { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -4992,7 +4992,7 @@ pub struct ITfSourceSingle_Vtbl { pub UnadviseSingleSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfSpeechUIServer, ITfSpeechUIServer_Vtbl, 0x90e9a944_9244_489f_a78f_de67afc013a7); -impl std::ops::Deref for ITfSpeechUIServer { +impl core::ops::Deref for ITfSpeechUIServer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5021,7 +5021,7 @@ pub struct ITfSpeechUIServer_Vtbl { pub UpdateBalloon: unsafe extern "system" fn(*mut core::ffi::c_void, TfLBBalloonStyle, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfStatusSink, ITfStatusSink_Vtbl, 0x6b7d8d73_b267_4f69_b32e_1ca321ce4f45); -impl std::ops::Deref for ITfStatusSink { +impl core::ops::Deref for ITfStatusSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5042,7 +5042,7 @@ pub struct ITfStatusSink_Vtbl { pub OnStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfSystemDeviceTypeLangBarItem, ITfSystemDeviceTypeLangBarItem_Vtbl, 0x45672eb9_9059_46a2_838d_4530355f6a77); -impl std::ops::Deref for ITfSystemDeviceTypeLangBarItem { +impl core::ops::Deref for ITfSystemDeviceTypeLangBarItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5065,7 +5065,7 @@ pub struct ITfSystemDeviceTypeLangBarItem_Vtbl { pub GetIconMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfSystemLangBarItem, ITfSystemLangBarItem_Vtbl, 0x1e13e9ec_6b33_4d4a_b5eb_8a92f029f356); -impl std::ops::Deref for ITfSystemLangBarItem { +impl core::ops::Deref for ITfSystemLangBarItem { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5094,7 +5094,7 @@ pub struct ITfSystemLangBarItem_Vtbl { pub SetTooltipString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfSystemLangBarItemSink, ITfSystemLangBarItemSink_Vtbl, 0x1449d9ab_13cf_4687_aa3e_8d8b18574396); -impl std::ops::Deref for ITfSystemLangBarItemSink { +impl core::ops::Deref for ITfSystemLangBarItemSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5119,7 +5119,7 @@ pub struct ITfSystemLangBarItemSink_Vtbl { pub OnMenuSelect: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfSystemLangBarItemText, ITfSystemLangBarItemText_Vtbl, 0x5c4ce0e5_ba49_4b52_ac6b_3b397b4f701f); -impl std::ops::Deref for ITfSystemLangBarItemText { +impl core::ops::Deref for ITfSystemLangBarItemText { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5142,7 +5142,7 @@ pub struct ITfSystemLangBarItemText_Vtbl { pub GetItemText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTextEditSink, ITfTextEditSink_Vtbl, 0x8127d409_ccd3_4683_967a_b43d5b482bf7); -impl std::ops::Deref for ITfTextEditSink { +impl core::ops::Deref for ITfTextEditSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5164,7 +5164,7 @@ pub struct ITfTextEditSink_Vtbl { pub OnEndEdit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTextInputProcessor, ITfTextInputProcessor_Vtbl, 0xaa80e7f7_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfTextInputProcessor { +impl core::ops::Deref for ITfTextInputProcessor { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5189,7 +5189,7 @@ pub struct ITfTextInputProcessor_Vtbl { pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTextInputProcessorEx, ITfTextInputProcessorEx_Vtbl, 0x6e4e2102_f9cd_433d_b496_303ce03a6507); -impl std::ops::Deref for ITfTextInputProcessorEx { +impl core::ops::Deref for ITfTextInputProcessorEx { type Target = ITfTextInputProcessor; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5210,7 +5210,7 @@ pub struct ITfTextInputProcessorEx_Vtbl { pub ActivateEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTextLayoutSink, ITfTextLayoutSink_Vtbl, 0x2af2d06a_dd5b_4927_a0b4_54f19c91fade); -impl std::ops::Deref for ITfTextLayoutSink { +impl core::ops::Deref for ITfTextLayoutSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5232,7 +5232,7 @@ pub struct ITfTextLayoutSink_Vtbl { pub OnLayoutChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, TfLayoutCode, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfThreadFocusSink, ITfThreadFocusSink_Vtbl, 0xc0f1db0c_3a20_405c_a303_96b6010a885f); -impl std::ops::Deref for ITfThreadFocusSink { +impl core::ops::Deref for ITfThreadFocusSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5254,7 +5254,7 @@ pub struct ITfThreadFocusSink_Vtbl { pub OnKillThreadFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfThreadMgr, ITfThreadMgr_Vtbl, 0xaa80e801_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfThreadMgr { +impl core::ops::Deref for ITfThreadMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5328,7 +5328,7 @@ pub struct ITfThreadMgr_Vtbl { pub GetGlobalCompartment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfThreadMgr2, ITfThreadMgr2_Vtbl, 0x0ab198ef_6477_4ee8_8812_6780edb82d5e); -impl std::ops::Deref for ITfThreadMgr2 { +impl core::ops::Deref for ITfThreadMgr2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5410,7 +5410,7 @@ pub struct ITfThreadMgr2_Vtbl { pub ResumeKeystrokeHandling: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfThreadMgrEventSink, ITfThreadMgrEventSink_Vtbl, 0xaa80e80e_2021_11d2_93e0_0060b067b86e); -impl std::ops::Deref for ITfThreadMgrEventSink { +impl core::ops::Deref for ITfThreadMgrEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5460,7 +5460,7 @@ pub struct ITfThreadMgrEventSink_Vtbl { pub OnPopContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfThreadMgrEx, ITfThreadMgrEx_Vtbl, 0x3e90ade3_7594_4cb0_bb58_69628f5f458c); -impl std::ops::Deref for ITfThreadMgrEx { +impl core::ops::Deref for ITfThreadMgrEx { type Target = ITfThreadMgr; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5483,7 +5483,7 @@ pub struct ITfThreadMgrEx_Vtbl { pub GetActiveFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfToolTipUIElement, ITfToolTipUIElement_Vtbl, 0x52b18b5c_555d_46b2_b00a_fa680144fbdb); -impl std::ops::Deref for ITfToolTipUIElement { +impl core::ops::Deref for ITfToolTipUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5502,7 +5502,7 @@ pub struct ITfToolTipUIElement_Vtbl { pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTransitoryExtensionSink, ITfTransitoryExtensionSink_Vtbl, 0xa615096f_1c57_4813_8a15_55ee6e5a839c); -impl std::ops::Deref for ITfTransitoryExtensionSink { +impl core::ops::Deref for ITfTransitoryExtensionSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5526,7 +5526,7 @@ pub struct ITfTransitoryExtensionSink_Vtbl { pub OnTransitoryExtensionUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfTransitoryExtensionUIElement, ITfTransitoryExtensionUIElement_Vtbl, 0x858f956a_972f_42a2_a2f2_0321e1abe209); -impl std::ops::Deref for ITfTransitoryExtensionUIElement { +impl core::ops::Deref for ITfTransitoryExtensionUIElement { type Target = ITfUIElement; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5545,7 +5545,7 @@ pub struct ITfTransitoryExtensionUIElement_Vtbl { pub GetDocumentMgr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfUIElement, ITfUIElement_Vtbl, 0xea1ea137_19df_11d7_a6d2_00065b84435c); -impl std::ops::Deref for ITfUIElement { +impl core::ops::Deref for ITfUIElement { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5581,7 +5581,7 @@ pub struct ITfUIElement_Vtbl { pub IsShown: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfUIElementMgr, ITfUIElementMgr_Vtbl, 0xea1ea135_19df_11d7_a6d2_00065b84435c); -impl std::ops::Deref for ITfUIElementMgr { +impl core::ops::Deref for ITfUIElementMgr { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5620,7 +5620,7 @@ pub struct ITfUIElementMgr_Vtbl { pub EnumUIElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITfUIElementSink, ITfUIElementSink_Vtbl, 0xea1ea136_19df_11d7_a6d2_00065b84435c); -impl std::ops::Deref for ITfUIElementSink { +impl core::ops::Deref for ITfUIElementSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5646,7 +5646,7 @@ pub struct ITfUIElementSink_Vtbl { pub EndUIElement: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUIManagerEventSink, IUIManagerEventSink_Vtbl, 0xcd91d690_a7e8_4265_9b38_8bb3bbaba7de); -impl std::ops::Deref for IUIManagerEventSink { +impl core::ops::Deref for IUIManagerEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -5684,7 +5684,7 @@ pub struct IUIManagerEventSink_Vtbl { pub OnWindowClosed: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IVersionInfo, IVersionInfo_Vtbl, 0x401518ec_db00_4611_9b29_2a0e4b9afa85); -impl std::ops::Deref for IVersionInfo { +impl core::ops::Deref for IVersionInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs index 28095abfbc..cd8d34a072 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs @@ -1,5 +1,5 @@ windows_core::imp::define_interface!(IMILBitmapEffect, IMILBitmapEffect_Vtbl, 0x8a6ff321_c944_4a1b_9944_9954af301258); -impl std::ops::Deref for IMILBitmapEffect { +impl core::ops::Deref for IMILBitmapEffect { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -41,7 +41,7 @@ pub struct IMILBitmapEffect_Vtbl { SetInputSource: usize, } windows_core::imp::define_interface!(IMILBitmapEffectConnections, IMILBitmapEffectConnections_Vtbl, 0xc2b5d861_9b1a_4374_89b0_dec4874d6a81); -impl std::ops::Deref for IMILBitmapEffectConnections { +impl core::ops::Deref for IMILBitmapEffectConnections { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -65,7 +65,7 @@ pub struct IMILBitmapEffectConnections_Vtbl { pub GetOutputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectConnectionsInfo, IMILBitmapEffectConnectionsInfo_Vtbl, 0x476b538a_c765_4237_ba4a_d6a880ff0cfc); -impl std::ops::Deref for IMILBitmapEffectConnectionsInfo { +impl core::ops::Deref for IMILBitmapEffectConnectionsInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -99,7 +99,7 @@ pub struct IMILBitmapEffectConnectionsInfo_Vtbl { pub GetOutputConnectorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectConnector, IMILBitmapEffectConnector_Vtbl, 0xf59567b3_76c1_4d47_ba1e_79f955e350ef); -impl std::ops::Deref for IMILBitmapEffectConnector { +impl core::ops::Deref for IMILBitmapEffectConnector { type Target = IMILBitmapEffectConnectorInfo; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -123,7 +123,7 @@ pub struct IMILBitmapEffectConnector_Vtbl { pub GetBitmapEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnectorInfo_Vtbl, 0xf66d2e4b_b46b_42fc_859e_3da0ecdb3c43); -impl std::ops::Deref for IMILBitmapEffectConnectorInfo { +impl core::ops::Deref for IMILBitmapEffectConnectorInfo { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -157,7 +157,7 @@ pub struct IMILBitmapEffectConnectorInfo_Vtbl { pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectEvents, IMILBitmapEffectEvents_Vtbl, 0x2e880dd8_f8ce_457b_8199_d60bb3d7ef98); -impl std::ops::Deref for IMILBitmapEffectEvents { +impl core::ops::Deref for IMILBitmapEffectEvents { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -186,7 +186,7 @@ pub struct IMILBitmapEffectEvents_Vtbl { pub DirtyRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const MilRectD) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectFactory, IMILBitmapEffectFactory_Vtbl, 0x33a9df34_a403_4ec7_b07e_bc0682370845); -impl std::ops::Deref for IMILBitmapEffectFactory { +impl core::ops::Deref for IMILBitmapEffectFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -215,7 +215,7 @@ pub struct IMILBitmapEffectFactory_Vtbl { pub CreateEffectOuter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectGroup, IMILBitmapEffectGroup_Vtbl, 0x2f952360_698a_4ac6_81a1_bcfdf08eb8e8); -impl std::ops::Deref for IMILBitmapEffectGroup { +impl core::ops::Deref for IMILBitmapEffectGroup { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -246,7 +246,7 @@ pub struct IMILBitmapEffectGroup_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectGroupImpl, IMILBitmapEffectGroupImpl_Vtbl, 0x78fed518_1cfc_4807_8b85_6b6e51398f62); -impl std::ops::Deref for IMILBitmapEffectGroupImpl { +impl core::ops::Deref for IMILBitmapEffectGroupImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -277,7 +277,7 @@ pub struct IMILBitmapEffectGroupImpl_Vtbl { pub GetChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectImpl, IMILBitmapEffectImpl_Vtbl, 0xcc2468f2_9936_47be_b4af_06b5df5dbcbb); -impl std::ops::Deref for IMILBitmapEffectImpl { +impl core::ops::Deref for IMILBitmapEffectImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -350,7 +350,7 @@ pub struct IMILBitmapEffectImpl_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectInputConnector, IMILBitmapEffectInputConnector_Vtbl, 0xa9b4ecaa_7a3c_45e7_8573_f4b81b60dd6c); -impl std::ops::Deref for IMILBitmapEffectInputConnector { +impl core::ops::Deref for IMILBitmapEffectInputConnector { type Target = IMILBitmapEffectConnector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -376,7 +376,7 @@ pub struct IMILBitmapEffectInputConnector_Vtbl { pub GetConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectInteriorInputConnector, IMILBitmapEffectInteriorInputConnector_Vtbl, 0x20287e9e_86a2_4e15_953d_eb1438a5b842); -impl std::ops::Deref for IMILBitmapEffectInteriorInputConnector { +impl core::ops::Deref for IMILBitmapEffectInteriorInputConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -395,7 +395,7 @@ pub struct IMILBitmapEffectInteriorInputConnector_Vtbl { pub GetInputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectInteriorOutputConnector, IMILBitmapEffectInteriorOutputConnector_Vtbl, 0x00bbb6dc_acc9_4bfc_b344_8bee383dfefa); -impl std::ops::Deref for IMILBitmapEffectInteriorOutputConnector { +impl core::ops::Deref for IMILBitmapEffectInteriorOutputConnector { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -414,7 +414,7 @@ pub struct IMILBitmapEffectInteriorOutputConnector_Vtbl { pub GetOutputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectOutputConnector, IMILBitmapEffectOutputConnector_Vtbl, 0x92957aad_841b_4866_82ec_8752468b07fd); -impl std::ops::Deref for IMILBitmapEffectOutputConnector { +impl core::ops::Deref for IMILBitmapEffectOutputConnector { type Target = IMILBitmapEffectConnector; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -438,7 +438,7 @@ pub struct IMILBitmapEffectOutputConnector_Vtbl { pub GetConnection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectOutputConnectorImpl, IMILBitmapEffectOutputConnectorImpl_Vtbl, 0x21fae777_8b39_4bfa_9f2d_f3941ed36913); -impl std::ops::Deref for IMILBitmapEffectOutputConnectorImpl { +impl core::ops::Deref for IMILBitmapEffectOutputConnectorImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -466,7 +466,7 @@ pub struct IMILBitmapEffectOutputConnectorImpl_Vtbl { pub RemoveBackLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectPrimitive, IMILBitmapEffectPrimitive_Vtbl, 0x67e31025_3091_4dfc_98d6_dd494551461d); -impl std::ops::Deref for IMILBitmapEffectPrimitive { +impl core::ops::Deref for IMILBitmapEffectPrimitive { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -526,7 +526,7 @@ pub struct IMILBitmapEffectPrimitive_Vtbl { GetAffineMatrix: usize, } windows_core::imp::define_interface!(IMILBitmapEffectPrimitiveImpl, IMILBitmapEffectPrimitiveImpl_Vtbl, 0xce41e00b_efa6_44e7_b007_dd042e3ae126); -impl std::ops::Deref for IMILBitmapEffectPrimitiveImpl { +impl core::ops::Deref for IMILBitmapEffectPrimitiveImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -549,7 +549,7 @@ pub struct IMILBitmapEffectPrimitiveImpl_Vtbl { pub IsVolatile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectRenderContext, IMILBitmapEffectRenderContext_Vtbl, 0x12a2ec7e_2d33_44b2_b334_1abb7846e390); -impl std::ops::Deref for IMILBitmapEffectRenderContext { +impl core::ops::Deref for IMILBitmapEffectRenderContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -599,7 +599,7 @@ pub struct IMILBitmapEffectRenderContext_Vtbl { pub SetRegionOfInterest: unsafe extern "system" fn(*mut core::ffi::c_void, *const MilRectD) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffectRenderContextImpl, IMILBitmapEffectRenderContextImpl_Vtbl, 0x4d25accb_797d_4fd2_b128_dffeff84fcc3); -impl std::ops::Deref for IMILBitmapEffectRenderContextImpl { +impl core::ops::Deref for IMILBitmapEffectRenderContextImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -634,7 +634,7 @@ pub struct IMILBitmapEffectRenderContextImpl_Vtbl { pub UpdateOutputBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *const MilRectD) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMILBitmapEffects, IMILBitmapEffects_Vtbl, 0x51ac3dce_67c5_448b_9180_ad3eabddd5dd); -impl std::ops::Deref for IMILBitmapEffects { +impl core::ops::Deref for IMILBitmapEffects { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs index 3f50316c3c..62aa9fd9d9 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs @@ -465,7 +465,7 @@ where SniffStream(pinstream.param().abi(), pnformat, core::mem::transmute(ppoutstream)).ok() } windows_core::imp::define_interface!(IActiveXUIHandlerSite, IActiveXUIHandlerSite_Vtbl, 0x30510853_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for IActiveXUIHandlerSite { +impl core::ops::Deref for IActiveXUIHandlerSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -493,7 +493,7 @@ pub struct IActiveXUIHandlerSite_Vtbl { pub PickFileAndGetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveXUIHandlerSite2, IActiveXUIHandlerSite2_Vtbl, 0x7e3707b2_d087_4542_ac1f_a0d2fcd080fd); -impl std::ops::Deref for IActiveXUIHandlerSite2 { +impl core::ops::Deref for IActiveXUIHandlerSite2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -516,7 +516,7 @@ pub struct IActiveXUIHandlerSite2_Vtbl { pub RemoveSuspensionExemption: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IActiveXUIHandlerSite3, IActiveXUIHandlerSite3_Vtbl, 0x7904009a_1238_47f4_901c_871375c34608); -impl std::ops::Deref for IActiveXUIHandlerSite3 { +impl core::ops::Deref for IActiveXUIHandlerSite3 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -542,7 +542,7 @@ pub struct IActiveXUIHandlerSite3_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IAnchorClick, IAnchorClick_Vtbl, 0x13d5413b_33b9_11d2_95a7_00c04f8ecb02); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IAnchorClick { +impl core::ops::Deref for IAnchorClick { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -563,7 +563,7 @@ pub struct IAnchorClick_Vtbl { pub ProcOnClick: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IAudioSessionSite, IAudioSessionSite_Vtbl, 0xd7d8b684_d02d_4517_b6b7_19e3dfe29c45); -impl std::ops::Deref for IAudioSessionSite { +impl core::ops::Deref for IAudioSessionSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -596,7 +596,7 @@ pub struct IAudioSessionSite_Vtbl { pub OnAudioStreamDestroyed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ICaretPositionProvider, ICaretPositionProvider_Vtbl, 0x58da43a2_108e_4d5b_9f75_e5f74f93fff5); -impl std::ops::Deref for ICaretPositionProvider { +impl core::ops::Deref for ICaretPositionProvider { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -616,7 +616,7 @@ pub struct ICaretPositionProvider_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDeviceRect, IDeviceRect_Vtbl, 0x3050f6d5_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDeviceRect { +impl core::ops::Deref for IDeviceRect { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -632,7 +632,7 @@ pub struct IDeviceRect_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } windows_core::imp::define_interface!(IDithererImpl, IDithererImpl_Vtbl, 0x7c48e840_3910_11d0_86fc_00a0c913f750); -impl std::ops::Deref for IDithererImpl { +impl core::ops::Deref for IDithererImpl { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -661,7 +661,7 @@ pub struct IDithererImpl_Vtbl { pub SetEventSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IDocObjectService, IDocObjectService_Vtbl, 0x3050f801_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for IDocObjectService { +impl core::ops::Deref for IDocObjectService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -723,7 +723,7 @@ pub struct IDocObjectService_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IDownloadBehavior, IDownloadBehavior_Vtbl, 0x3050f5bd_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IDownloadBehavior { +impl core::ops::Deref for IDownloadBehavior { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -752,7 +752,7 @@ pub struct IDownloadBehavior_Vtbl { startDownload: usize, } windows_core::imp::define_interface!(IDownloadManager, IDownloadManager_Vtbl, 0x988934a4_064b_11d3_bb80_00104b35e7f9); -impl std::ops::Deref for IDownloadManager { +impl core::ops::Deref for IDownloadManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -780,7 +780,7 @@ pub struct IDownloadManager_Vtbl { Download: usize, } windows_core::imp::define_interface!(IEnumManagerFrames, IEnumManagerFrames_Vtbl, 0x3caa826a_9b1f_4a79_bc81_f0430ded1648); -impl std::ops::Deref for IEnumManagerFrames { +impl core::ops::Deref for IEnumManagerFrames { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -816,7 +816,7 @@ pub struct IEnumManagerFrames_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumOpenServiceActivity, IEnumOpenServiceActivity_Vtbl, 0xa436d7d2_17c3_4ef4_a1e8_5c86faff26c0); -impl std::ops::Deref for IEnumOpenServiceActivity { +impl core::ops::Deref for IEnumOpenServiceActivity { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -847,7 +847,7 @@ pub struct IEnumOpenServiceActivity_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumOpenServiceActivityCategory, IEnumOpenServiceActivityCategory_Vtbl, 0x33627a56_8c9a_4430_8fd1_b5f5c771afb6); -impl std::ops::Deref for IEnumOpenServiceActivityCategory { +impl core::ops::Deref for IEnumOpenServiceActivityCategory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -878,7 +878,7 @@ pub struct IEnumOpenServiceActivityCategory_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IEnumSTATURL, IEnumSTATURL_Vtbl, 0x3c374a42_bae4_11cf_bf7d_00aa006946ee); -impl std::ops::Deref for IEnumSTATURL { +impl core::ops::Deref for IEnumSTATURL { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -916,7 +916,7 @@ pub struct IEnumSTATURL_Vtbl { pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IExtensionValidation, IExtensionValidation_Vtbl, 0x7d33f73d_8525_4e0f_87db_830288baff44); -impl std::ops::Deref for IExtensionValidation { +impl core::ops::Deref for IExtensionValidation { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -936,7 +936,7 @@ pub struct IExtensionValidation_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHTMLPersistData, IHTMLPersistData_Vtbl, 0x3050f4c5_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for IHTMLPersistData { +impl core::ops::Deref for IHTMLPersistData { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -973,7 +973,7 @@ pub struct IHTMLPersistData_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHTMLPersistDataOM, IHTMLPersistDataOM_Vtbl, 0x3050f4c0_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IHTMLPersistDataOM { +impl core::ops::Deref for IHTMLPersistDataOM { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1024,7 +1024,7 @@ pub struct IHTMLPersistDataOM_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHTMLUserDataOM, IHTMLUserDataOM_Vtbl, 0x3050f48f_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IHTMLUserDataOM { +impl core::ops::Deref for IHTMLUserDataOM { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1101,7 +1101,7 @@ pub struct IHTMLUserDataOM_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHeaderFooter, IHeaderFooter_Vtbl, 0x3050f6ce_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IHeaderFooter { +impl core::ops::Deref for IHeaderFooter { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1244,7 +1244,7 @@ pub struct IHeaderFooter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHeaderFooter2, IHeaderFooter2_Vtbl, 0x305104a5_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IHeaderFooter2 { +impl core::ops::Deref for IHeaderFooter2 { type Target = IHeaderFooter; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1275,7 +1275,7 @@ pub struct IHeaderFooter2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IHomePage, IHomePage_Vtbl, 0x766bf2af_d650_11d1_9811_00c04fc31d2e); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IHomePage { +impl core::ops::Deref for IHomePage { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1311,7 +1311,7 @@ pub struct IHomePage_Vtbl { pub isHomePage: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IHomePageSetting, IHomePageSetting_Vtbl, 0xfdfc244f_18fa_4ff2_b08e_1d618f3ffbe4); -impl std::ops::Deref for IHomePageSetting { +impl core::ops::Deref for IHomePageSetting { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1348,7 +1348,7 @@ pub struct IHomePageSetting_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IIEWebDriverManager, IIEWebDriverManager_Vtbl, 0xbd1dc630_6590_4ca2_a293_6bc72b2438d8); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IIEWebDriverManager { +impl core::ops::Deref for IIEWebDriverManager { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1375,7 +1375,7 @@ pub struct IIEWebDriverManager_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IIEWebDriverSite, IIEWebDriverSite_Vtbl, 0xffb84444_453d_4fbc_9f9d_8db5c471ec75); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IIEWebDriverSite { +impl core::ops::Deref for IIEWebDriverSite { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1412,7 +1412,7 @@ pub struct IIEWebDriverSite_Vtbl { pub GetCapabilityValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageDecodeEventSink, IImageDecodeEventSink_Vtbl, 0xbaa342a0_2ded_11d0_86f4_00a0c913f750); -impl std::ops::Deref for IImageDecodeEventSink { +impl core::ops::Deref for IImageDecodeEventSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1454,7 +1454,7 @@ pub struct IImageDecodeEventSink_Vtbl { pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageDecodeEventSink2, IImageDecodeEventSink2_Vtbl, 0x8ebd8a57_8a96_48c9_84a6_962e2db9c931); -impl std::ops::Deref for IImageDecodeEventSink2 { +impl core::ops::Deref for IImageDecodeEventSink2 { type Target = IImageDecodeEventSink; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1473,7 +1473,7 @@ pub struct IImageDecodeEventSink2_Vtbl { pub IsAlphaPremultRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IImageDecodeFilter, IImageDecodeFilter_Vtbl, 0xa3ccedf3_2de2_11d0_86f4_00a0c913f750); -impl std::ops::Deref for IImageDecodeFilter { +impl core::ops::Deref for IImageDecodeFilter { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1511,7 +1511,7 @@ pub struct IImageDecodeFilter_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IIntelliForms, IIntelliForms_Vtbl, 0x9b9f68e6_1aaa_11d2_bca5_00c04fd929db); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IIntelliForms { +impl core::ops::Deref for IIntelliForms { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1540,7 +1540,7 @@ pub struct IIntelliForms_Vtbl { pub Setenabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetExplorerManager, IInternetExplorerManager_Vtbl, 0xacc84351_04ff_44f9_b23f_655ed168c6d5); -impl std::ops::Deref for IInternetExplorerManager { +impl core::ops::Deref for IInternetExplorerManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1553,7 +1553,7 @@ impl IInternetExplorerManager { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).CreateObject)(windows_core::Interface::as_raw(self), dwconfig, pszurl.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } } @@ -1563,7 +1563,7 @@ pub struct IInternetExplorerManager_Vtbl { pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IInternetExplorerManager2, IInternetExplorerManager2_Vtbl, 0xdfbb5136_9259_4895_b4a7_c1934429919a); -impl std::ops::Deref for IInternetExplorerManager2 { +impl core::ops::Deref for IInternetExplorerManager2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1584,7 +1584,7 @@ pub struct IInternetExplorerManager2_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(ILayoutRect, ILayoutRect_Vtbl, 0x3050f665_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for ILayoutRect { +impl core::ops::Deref for ILayoutRect { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1678,7 +1678,7 @@ pub struct ILayoutRect_Vtbl { contentDocument: usize, } windows_core::imp::define_interface!(IMapMIMEToCLSID, IMapMIMEToCLSID_Vtbl, 0xd9e89500_30fa_11d0_b724_00aa006c1a01); -impl std::ops::Deref for IMapMIMEToCLSID { +impl core::ops::Deref for IMapMIMEToCLSID { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1713,7 +1713,7 @@ pub struct IMapMIMEToCLSID_Vtbl { pub SetMapping: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const windows_core::GUID) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IMediaActivityNotifySite, IMediaActivityNotifySite_Vtbl, 0x8165cfef_179d_46c2_bc71_3fa726dc1f8d); -impl std::ops::Deref for IMediaActivityNotifySite { +impl core::ops::Deref for IMediaActivityNotifySite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1735,7 +1735,7 @@ pub struct IMediaActivityNotifySite_Vtbl { pub OnMediaActivityStopped: unsafe extern "system" fn(*mut core::ffi::c_void, MEDIA_ACTIVITY_NOTIFY_TYPE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenService, IOpenService_Vtbl, 0xc2952ed1_6a89_4606_925f_1ed8b4be0630); -impl std::ops::Deref for IOpenService { +impl core::ops::Deref for IOpenService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1767,7 +1767,7 @@ pub struct IOpenService_Vtbl { pub GetID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenServiceActivity, IOpenServiceActivity_Vtbl, 0x13645c88_221a_4905_8ed1_4f5112cfc108); -impl std::ops::Deref for IOpenServiceActivity { +impl core::ops::Deref for IOpenServiceActivity { type Target = IOpenService; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1897,7 +1897,7 @@ pub struct IOpenServiceActivity_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenServiceActivityCategory, IOpenServiceActivityCategory_Vtbl, 0x850af9d6_7309_40b5_bdb8_786c106b2153); -impl std::ops::Deref for IOpenServiceActivityCategory { +impl core::ops::Deref for IOpenServiceActivityCategory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1943,7 +1943,7 @@ pub struct IOpenServiceActivityCategory_Vtbl { pub GetActivityEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenServiceActivityInput, IOpenServiceActivityInput_Vtbl, 0x75cb4db9_6da0_4da3_83ce_422b6a433346); -impl std::ops::Deref for IOpenServiceActivityInput { +impl core::ops::Deref for IOpenServiceActivityInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -1980,7 +1980,7 @@ pub struct IOpenServiceActivityInput_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OpenServiceActivityContentType) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenServiceActivityManager, IOpenServiceActivityManager_Vtbl, 0x8a2d0a9d_e920_4bdc_a291_d30f650bc4f1); -impl std::ops::Deref for IOpenServiceActivityManager { +impl core::ops::Deref for IOpenServiceActivityManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2021,7 +2021,7 @@ pub struct IOpenServiceActivityManager_Vtbl { pub GetVersionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IOpenServiceActivityOutputContext, IOpenServiceActivityOutputContext_Vtbl, 0xe289deab_f709_49a9_b99e_282364074571); -impl std::ops::Deref for IOpenServiceActivityOutputContext { +impl core::ops::Deref for IOpenServiceActivityOutputContext { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2064,7 +2064,7 @@ pub struct IOpenServiceActivityOutputContext_Vtbl { CanNavigate: usize, } windows_core::imp::define_interface!(IOpenServiceManager, IOpenServiceManager_Vtbl, 0x5664125f_4e10_4e90_98e4_e4513d955a14); -impl std::ops::Deref for IOpenServiceManager { +impl core::ops::Deref for IOpenServiceManager { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2101,7 +2101,7 @@ pub struct IOpenServiceManager_Vtbl { pub GetServiceByID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPeerFactory, IPeerFactory_Vtbl, 0x6663f9d3_b482_11d1_89c6_00c04fb6bfc4); -impl std::ops::Deref for IPeerFactory { +impl core::ops::Deref for IPeerFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2116,7 +2116,7 @@ pub struct IPeerFactory_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(IPersistHistory, IPersistHistory_Vtbl, 0x91a565c1_e38f_11d0_94bf_00a0c9055cbf); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for IPersistHistory { +impl core::ops::Deref for IPersistHistory { type Target = super::super::System::Com::IPersist; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2165,7 +2165,7 @@ pub struct IPersistHistory_Vtbl { pub GetPositionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskRequestFactory, IPrintTaskRequestFactory_Vtbl, 0xbb516745_8c34_4f8b_9605_684dcb144be5); -impl std::ops::Deref for IPrintTaskRequestFactory { +impl core::ops::Deref for IPrintTaskRequestFactory { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2186,7 +2186,7 @@ pub struct IPrintTaskRequestFactory_Vtbl { pub CreatePrintTaskRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IPrintTaskRequestHandler, IPrintTaskRequestHandler_Vtbl, 0x191cd340_cf36_44ff_bd53_d1b701799d9b); -impl std::ops::Deref for IPrintTaskRequestHandler { +impl core::ops::Deref for IPrintTaskRequestHandler { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2207,7 +2207,7 @@ pub struct IPrintTaskRequestHandler_Vtbl { pub HandlePrintTaskRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScrollableContextMenu, IScrollableContextMenu_Vtbl, 0x30510854_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for IScrollableContextMenu { +impl core::ops::Deref for IScrollableContextMenu { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2233,7 +2233,7 @@ pub struct IScrollableContextMenu_Vtbl { pub ShowModal: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IScrollableContextMenu2, IScrollableContextMenu2_Vtbl, 0xf77e9056_8674_4936_924c_0e4a06fa634a); -impl std::ops::Deref for IScrollableContextMenu2 { +impl core::ops::Deref for IScrollableContextMenu2 { type Target = IScrollableContextMenu; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2255,7 +2255,7 @@ pub struct IScrollableContextMenu2_Vtbl { pub SetPlacement: unsafe extern "system" fn(*mut core::ffi::c_void, SCROLLABLECONTEXTMENU_PLACEMENT) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISniffStream, ISniffStream_Vtbl, 0x4ef17940_30e0_11d0_b724_00aa006c1a01); -impl std::ops::Deref for ISniffStream { +impl core::ops::Deref for ISniffStream { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2284,7 +2284,7 @@ pub struct ISniffStream_Vtbl { pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISurfacePresenterFlip, ISurfacePresenterFlip_Vtbl, 0x30510848_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ISurfacePresenterFlip { +impl core::ops::Deref for ISurfacePresenterFlip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2306,7 +2306,7 @@ pub struct ISurfacePresenterFlip_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ISurfacePresenterFlip2, ISurfacePresenterFlip2_Vtbl, 0x30510865_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ISurfacePresenterFlip2 { +impl core::ops::Deref for ISurfacePresenterFlip2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2328,7 +2328,7 @@ pub struct ISurfacePresenterFlip2_Vtbl { SetRotation: usize, } windows_core::imp::define_interface!(ISurfacePresenterFlipBuffer, ISurfacePresenterFlipBuffer_Vtbl, 0xe43f4a08_8bbc_4665_ac92_c55ce61fd7e7); -impl std::ops::Deref for ISurfacePresenterFlipBuffer { +impl core::ops::Deref for ISurfacePresenterFlipBuffer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2350,7 +2350,7 @@ pub struct ISurfacePresenterFlipBuffer_Vtbl { pub EndDraw: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetContainer, ITargetContainer_Vtbl, 0x7847ec01_2bec_11d0_82b4_00a0c90c29c5); -impl std::ops::Deref for ITargetContainer { +impl core::ops::Deref for ITargetContainer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2378,7 +2378,7 @@ pub struct ITargetContainer_Vtbl { GetFramesContainer: usize, } windows_core::imp::define_interface!(ITargetEmbedding, ITargetEmbedding_Vtbl, 0x548793c0_9e74_11cf_9655_00a0c9034923); -impl std::ops::Deref for ITargetEmbedding { +impl core::ops::Deref for ITargetEmbedding { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2397,7 +2397,7 @@ pub struct ITargetEmbedding_Vtbl { pub GetTargetFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetFrame, ITargetFrame_Vtbl, 0xd5f78c80_5252_11cf_90fa_00aa0042106e); -impl std::ops::Deref for ITargetFrame { +impl core::ops::Deref for ITargetFrame { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2493,7 +2493,7 @@ pub struct ITargetFrame_Vtbl { pub OnChildFrameDeactivate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetFrame2, ITargetFrame2_Vtbl, 0x86d52e11_94a8_11d0_82af_00c04fd5ae38); -impl std::ops::Deref for ITargetFrame2 { +impl core::ops::Deref for ITargetFrame2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2578,7 +2578,7 @@ pub struct ITargetFrame2_Vtbl { pub GetTargetAlias: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetFramePriv, ITargetFramePriv_Vtbl, 0x9216e421_2bf5_11d0_82b4_00a0c90c29c5); -impl std::ops::Deref for ITargetFramePriv { +impl core::ops::Deref for ITargetFramePriv { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2643,7 +2643,7 @@ pub struct ITargetFramePriv_Vtbl { pub FindBrowserByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetFramePriv2, ITargetFramePriv2_Vtbl, 0xb2c867e6_69d6_46f2_a611_ded9a4bd7fef); -impl std::ops::Deref for ITargetFramePriv2 { +impl core::ops::Deref for ITargetFramePriv2 { type Target = ITargetFramePriv; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2672,7 +2672,7 @@ pub struct ITargetFramePriv2_Vtbl { AggregatedNavigation2: usize, } windows_core::imp::define_interface!(ITargetNotify, ITargetNotify_Vtbl, 0x863a99a0_21bc_11d0_82b4_00a0c90c29c5); -impl std::ops::Deref for ITargetNotify { +impl core::ops::Deref for ITargetNotify { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2700,7 +2700,7 @@ pub struct ITargetNotify_Vtbl { pub OnReuse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITargetNotify2, ITargetNotify2_Vtbl, 0x3050f6b1_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ITargetNotify2 { +impl core::ops::Deref for ITargetNotify2 { type Target = ITargetNotify; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2718,7 +2718,7 @@ pub struct ITargetNotify2_Vtbl { pub GetOptionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimer, ITimer_Vtbl, 0x3050f360_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ITimer { +impl core::ops::Deref for ITimer { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2759,7 +2759,7 @@ pub struct ITimer_Vtbl { pub GetTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimerEx, ITimerEx_Vtbl, 0x30510414_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ITimerEx { +impl core::ops::Deref for ITimerEx { type Target = ITimer; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2777,7 +2777,7 @@ pub struct ITimerEx_Vtbl { pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimerService, ITimerService_Vtbl, 0x3050f35f_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ITimerService { +impl core::ops::Deref for ITimerService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2811,7 +2811,7 @@ pub struct ITimerService_Vtbl { pub SetNamedTimerReference: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITimerSink, ITimerSink_Vtbl, 0x3050f361_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ITimerSink { +impl core::ops::Deref for ITimerSink { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2832,7 +2832,7 @@ pub struct ITimerSink_Vtbl { pub OnTimer: unsafe extern "system" fn(*mut core::ffi::c_void, core::mem::MaybeUninit) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITridentTouchInput, ITridentTouchInput_Vtbl, 0x30510850_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ITridentTouchInput { +impl core::ops::Deref for ITridentTouchInput { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2855,7 +2855,7 @@ pub struct ITridentTouchInput_Vtbl { pub OnPointerMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } windows_core::imp::define_interface!(ITridentTouchInputSite, ITridentTouchInputSite_Vtbl, 0x30510849_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for ITridentTouchInputSite { +impl core::ops::Deref for ITridentTouchInputSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2876,7 +2876,7 @@ pub struct ITridentTouchInputSite_Vtbl { #[cfg(feature = "Win32_System_Ole")] windows_core::imp::define_interface!(IUrlHistoryNotify, IUrlHistoryNotify_Vtbl, 0xbc40bec1_c493_11d0_831b_00c04fd5ae38); #[cfg(feature = "Win32_System_Ole")] -impl std::ops::Deref for IUrlHistoryNotify { +impl core::ops::Deref for IUrlHistoryNotify { type Target = super::super::System::Ole::IOleCommandTarget; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2892,7 +2892,7 @@ pub struct IUrlHistoryNotify_Vtbl { pub base__: super::super::System::Ole::IOleCommandTarget_Vtbl, } windows_core::imp::define_interface!(IUrlHistoryStg, IUrlHistoryStg_Vtbl, 0x3c374a41_bae4_11cf_bf7d_00aa006946ee); -impl std::ops::Deref for IUrlHistoryStg { +impl core::ops::Deref for IUrlHistoryStg { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2924,7 +2924,7 @@ impl IUrlHistoryStg { P0: windows_core::Param, T: windows_core::Interface, { - let mut result__ = std::ptr::null_mut(); + let mut result__ = core::ptr::null_mut(); (windows_core::Interface::vtable(self).BindToObject)(windows_core::Interface::as_raw(self), pocsurl.param().abi(), &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn EnumUrls(&self) -> windows_core::Result { @@ -2942,7 +2942,7 @@ pub struct IUrlHistoryStg_Vtbl { pub EnumUrls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IUrlHistoryStg2, IUrlHistoryStg2_Vtbl, 0xafa0dc11_c313_11d0_831a_00c04fd5ae38); -impl std::ops::Deref for IUrlHistoryStg2 { +impl core::ops::Deref for IUrlHistoryStg2 { type Target = IUrlHistoryStg; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -2975,7 +2975,7 @@ pub struct IUrlHistoryStg2_Vtbl { pub ClearHistory: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewObjectPresentFlip, IViewObjectPresentFlip_Vtbl, 0x30510847_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for IViewObjectPresentFlip { +impl core::ops::Deref for IViewObjectPresentFlip { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3010,7 +3010,7 @@ pub struct IViewObjectPresentFlip_Vtbl { pub RenderObjectToSharedBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewObjectPresentFlip2, IViewObjectPresentFlip2_Vtbl, 0x30510856_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for IViewObjectPresentFlip2 { +impl core::ops::Deref for IViewObjectPresentFlip2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3028,7 +3028,7 @@ pub struct IViewObjectPresentFlip2_Vtbl { pub NotifyLeavingView: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewObjectPresentFlipSite, IViewObjectPresentFlipSite_Vtbl, 0x30510846_98b5_11cf_bb82_00aa00bdce0b); -impl std::ops::Deref for IViewObjectPresentFlipSite { +impl core::ops::Deref for IViewObjectPresentFlipSite { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3075,7 +3075,7 @@ pub struct IViewObjectPresentFlipSite_Vtbl { pub GetFullScreenSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IViewObjectPresentFlipSite2, IViewObjectPresentFlipSite2_Vtbl, 0xaad0cbf1_e7fd_4f12_8902_c78132a8e01d); -impl std::ops::Deref for IViewObjectPresentFlipSite2 { +impl core::ops::Deref for IViewObjectPresentFlipSite2 { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3098,7 +3098,7 @@ pub struct IViewObjectPresentFlipSite2_Vtbl { GetRotationForCurrentOutput: usize, } windows_core::imp::define_interface!(IWebBrowserEventsService, IWebBrowserEventsService_Vtbl, 0x54a8f188_9ebd_4795_ad16_9b4945119636); -impl std::ops::Deref for IWebBrowserEventsService { +impl core::ops::Deref for IWebBrowserEventsService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3133,7 +3133,7 @@ pub struct IWebBrowserEventsService_Vtbl { pub FireDocumentCompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } windows_core::imp::define_interface!(IWebBrowserEventsUrlService, IWebBrowserEventsUrlService_Vtbl, 0x87cc5d04_eafa_4833_9820_8f986530cc00); -impl std::ops::Deref for IWebBrowserEventsUrlService { +impl core::ops::Deref for IWebBrowserEventsUrlService { type Target = windows_core::IUnknown; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) } @@ -3154,7 +3154,7 @@ pub struct IWebBrowserEventsUrlService_Vtbl { #[cfg(feature = "Win32_System_Com")] windows_core::imp::define_interface!(Iwfolders, Iwfolders_Vtbl, 0xbae31f98_1b81_11d2_a97a_00c04f8ecb02); #[cfg(feature = "Win32_System_Com")] -impl std::ops::Deref for Iwfolders { +impl core::ops::Deref for Iwfolders { type Target = super::super::System::Com::IDispatch; fn deref(&self) -> &Self::Target { unsafe { core::mem::transmute(self) }